Skip to content

Commit a70dbe2

Browse files
Regenerate sheets client (#6577)
1 parent 2d63fad commit a70dbe2

19 files changed

Lines changed: 722 additions & 1 deletion

src/Sheets.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
102102
'type' => 'string',
103103
'required' => true,
104104
],
105+
'excludeTablesInBandedRanges' => [
106+
'location' => 'query',
107+
'type' => 'boolean',
108+
],
105109
'includeGridData' => [
106110
'location' => 'query',
107111
'type' => 'boolean',

src/Sheets/AddTableRequest.php

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\Sheets;
19+
20+
class AddTableRequest extends \Google\Model
21+
{
22+
protected $tableType = Table::class;
23+
protected $tableDataType = '';
24+
25+
/**
26+
* @param Table
27+
*/
28+
public function setTable(Table $table)
29+
{
30+
$this->table = $table;
31+
}
32+
/**
33+
* @return Table
34+
*/
35+
public function getTable()
36+
{
37+
return $this->table;
38+
}
39+
}
40+
41+
// Adding a class alias for backwards compatibility with the previous class name.
42+
class_alias(AddTableRequest::class, 'Google_Service_Sheets_AddTableRequest');

src/Sheets/AddTableResponse.php

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\Sheets;
19+
20+
class AddTableResponse extends \Google\Model
21+
{
22+
protected $tableType = Table::class;
23+
protected $tableDataType = '';
24+
25+
/**
26+
* @param Table
27+
*/
28+
public function setTable(Table $table)
29+
{
30+
$this->table = $table;
31+
}
32+
/**
33+
* @return Table
34+
*/
35+
public function getTable()
36+
{
37+
return $this->table;
38+
}
39+
}
40+
41+
// Adding a class alias for backwards compatibility with the previous class name.
42+
class_alias(AddTableResponse::class, 'Google_Service_Sheets_AddTableResponse');

src/Sheets/AppendCellsRequest.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ class AppendCellsRequest extends \Google\Collection
3030
* @var int
3131
*/
3232
public $sheetId;
33+
/**
34+
* @var string
35+
*/
36+
public $tableId;
3337

3438
/**
3539
* @param string
@@ -73,6 +77,20 @@ public function getSheetId()
7377
{
7478
return $this->sheetId;
7579
}
80+
/**
81+
* @param string
82+
*/
83+
public function setTableId($tableId)
84+
{
85+
$this->tableId = $tableId;
86+
}
87+
/**
88+
* @return string
89+
*/
90+
public function getTableId()
91+
{
92+
return $this->tableId;
93+
}
7694
}
7795

7896
// Adding a class alias for backwards compatibility with the previous class name.

src/Sheets/BandedRange.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ class BandedRange extends \Google\Model
2323
* @var int
2424
*/
2525
public $bandedRangeId;
26+
/**
27+
* @var string
28+
*/
29+
public $bandedRangeReference;
2630
protected $columnPropertiesType = BandingProperties::class;
2731
protected $columnPropertiesDataType = '';
2832
protected $rangeType = GridRange::class;
@@ -44,6 +48,20 @@ public function getBandedRangeId()
4448
{
4549
return $this->bandedRangeId;
4650
}
51+
/**
52+
* @param string
53+
*/
54+
public function setBandedRangeReference($bandedRangeReference)
55+
{
56+
$this->bandedRangeReference = $bandedRangeReference;
57+
}
58+
/**
59+
* @return string
60+
*/
61+
public function getBandedRangeReference()
62+
{
63+
return $this->bandedRangeReference;
64+
}
4765
/**
4866
* @param BandingProperties
4967
*/

src/Sheets/BasicFilter.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ class BasicFilter extends \Google\Collection
2828
protected $rangeDataType = '';
2929
protected $sortSpecsType = SortSpec::class;
3030
protected $sortSpecsDataType = 'array';
31+
/**
32+
* @var string
33+
*/
34+
public $tableId;
3135

3236
/**
3337
* @param FilterCriteria[]
@@ -85,6 +89,20 @@ public function getSortSpecs()
8589
{
8690
return $this->sortSpecs;
8791
}
92+
/**
93+
* @param string
94+
*/
95+
public function setTableId($tableId)
96+
{
97+
$this->tableId = $tableId;
98+
}
99+
/**
100+
* @return string
101+
*/
102+
public function getTableId()
103+
{
104+
return $this->tableId;
105+
}
88106
}
89107

90108
// Adding a class alias for backwards compatibility with the previous class name.

src/Sheets/DeleteTableRequest.php

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\Sheets;
19+
20+
class DeleteTableRequest extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $tableId;
26+
27+
/**
28+
* @param string
29+
*/
30+
public function setTableId($tableId)
31+
{
32+
$this->tableId = $tableId;
33+
}
34+
/**
35+
* @return string
36+
*/
37+
public function getTableId()
38+
{
39+
return $this->tableId;
40+
}
41+
}
42+
43+
// Adding a class alias for backwards compatibility with the previous class name.
44+
class_alias(DeleteTableRequest::class, 'Google_Service_Sheets_DeleteTableRequest');

src/Sheets/FilterView.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ class FilterView extends \Google\Collection
3636
protected $rangeDataType = '';
3737
protected $sortSpecsType = SortSpec::class;
3838
protected $sortSpecsDataType = 'array';
39+
/**
40+
* @var string
41+
*/
42+
public $tableId;
3943
/**
4044
* @var string
4145
*/
@@ -125,6 +129,20 @@ public function getSortSpecs()
125129
{
126130
return $this->sortSpecs;
127131
}
132+
/**
133+
* @param string
134+
*/
135+
public function setTableId($tableId)
136+
{
137+
$this->tableId = $tableId;
138+
}
139+
/**
140+
* @return string
141+
*/
142+
public function getTableId()
143+
{
144+
return $this->tableId;
145+
}
128146
/**
129147
* @param string
130148
*/

src/Sheets/GetSpreadsheetByDataFilterRequest.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ class GetSpreadsheetByDataFilterRequest extends \Google\Collection
2222
protected $collection_key = 'dataFilters';
2323
protected $dataFiltersType = DataFilter::class;
2424
protected $dataFiltersDataType = 'array';
25+
/**
26+
* @var bool
27+
*/
28+
public $excludeTablesInBandedRanges;
2529
/**
2630
* @var bool
2731
*/
@@ -41,6 +45,20 @@ public function getDataFilters()
4145
{
4246
return $this->dataFilters;
4347
}
48+
/**
49+
* @param bool
50+
*/
51+
public function setExcludeTablesInBandedRanges($excludeTablesInBandedRanges)
52+
{
53+
$this->excludeTablesInBandedRanges = $excludeTablesInBandedRanges;
54+
}
55+
/**
56+
* @return bool
57+
*/
58+
public function getExcludeTablesInBandedRanges()
59+
{
60+
return $this->excludeTablesInBandedRanges;
61+
}
4462
/**
4563
* @param bool
4664
*/

src/Sheets/ProtectedRange.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ class ProtectedRange extends \Google\Collection
4040
* @var bool
4141
*/
4242
public $requestingUserCanEdit;
43+
/**
44+
* @var string
45+
*/
46+
public $tableId;
4347
protected $unprotectedRangesType = GridRange::class;
4448
protected $unprotectedRangesDataType = 'array';
4549
/**
@@ -131,6 +135,20 @@ public function getRequestingUserCanEdit()
131135
{
132136
return $this->requestingUserCanEdit;
133137
}
138+
/**
139+
* @param string
140+
*/
141+
public function setTableId($tableId)
142+
{
143+
$this->tableId = $tableId;
144+
}
145+
/**
146+
* @return string
147+
*/
148+
public function getTableId()
149+
{
150+
return $this->tableId;
151+
}
134152
/**
135153
* @param GridRange[]
136154
*/

0 commit comments

Comments
 (0)