📄 Source: AppendDimensionRequest.php
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Sheets;
class AppendDimensionRequest extends \Google\Model
{
/**
* The default value, do not use.
*/
public const DIMENSION_DIMENSION_UNSPECIFIED = 'DIMENSION_UNSPECIFIED';
/**
* Operates on the rows of a sheet.
*/
public const DIMENSION_ROWS = 'ROWS';
/**
* Operates on the columns of a sheet.
*/
public const DIMENSION_COLUMNS = 'COLUMNS';
/**
* Whether rows or columns should be appended.
*
* @var string
*/
public $dimension;
/**
* The number of rows or columns to append.
*
* @var int
*/
public $length;
/**
* The sheet to append rows or columns to.
*
* @var int
*/
public $sheetId;
/**
* Whether rows or columns should be appended.
*
* Accepted values: DIMENSION_UNSPECIFIED, ROWS, COLUMNS
*
* @param self::DIMENSION_* $dimension
*/
public function setDimension($dimension)
{
$this->dimension = $dimension;
}
/**
* @return self::DIMENSION_*
*/
public function getDimension()
{
return $this->dimension;
}
/**
* The number of rows or columns to append.
*
* @param int $length
*/
public function setLength($length)
{
$this->length = $length;
}
/**
* @return int
*/
public function getLength()
{
return $this->length;
}
/**
* The sheet to append rows or columns to.
*
* @param int $sheetId
*/
public function setSheetId($sheetId)
{
$this->sheetId = $sheetId;
}
/**
* @return int
*/
public function getSheetId()
{
return $this->sheetId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppendDimensionRequest::class, 'Google_Service_Sheets_AppendDimensionRequest');
← Back