Skip to content

Commit 4fd96c6

Browse files
1 parent 4e7d87b commit 4fd96c6

12 files changed

Lines changed: 64 additions & 55 deletions

src/Sheets/AddFilterViewRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ class AddFilterViewRequest extends \Google\Model
2323
protected $filterDataType = '';
2424

2525
/**
26-
* The filter to add. The filterViewId field is optional; if one is not set,
27-
* an id will be randomly generated. (It is an error to specify the ID of a
26+
* The filter to add. The filterViewId field is optional. If one is not set,
27+
* an ID will be randomly generated. (It is an error to specify the ID of a
2828
* filter that already exists.)
2929
*
3030
* @param FilterView $filter

src/Sheets/BatchClearValuesByDataFilterResponse.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ class BatchClearValuesByDataFilterResponse extends \Google\Collection
2323
/**
2424
* The ranges that were cleared, in [A1 notation](https://developers.google.co
2525
* m/workspace/sheets/api/guides/concepts#cell). If the requests are for an
26-
* unbounded range or a ranger larger than the bounds of the sheet, this is
27-
* the actual ranges that were cleared, bounded to the sheet's limits.
26+
* unbounded range or a range larger than the bounds of the sheet, this is the
27+
* actual ranges that were cleared, bounded to the sheet's limits.
2828
*
2929
* @var string[]
3030
*/
@@ -39,8 +39,8 @@ class BatchClearValuesByDataFilterResponse extends \Google\Collection
3939
/**
4040
* The ranges that were cleared, in [A1 notation](https://developers.google.co
4141
* m/workspace/sheets/api/guides/concepts#cell). If the requests are for an
42-
* unbounded range or a ranger larger than the bounds of the sheet, this is
43-
* the actual ranges that were cleared, bounded to the sheet's limits.
42+
* unbounded range or a range larger than the bounds of the sheet, this is the
43+
* actual ranges that were cleared, bounded to the sheet's limits.
4444
*
4545
* @param string[] $clearedRanges
4646
*/

src/Sheets/BatchClearValuesResponse.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ class BatchClearValuesResponse extends \Google\Collection
2222
protected $collection_key = 'clearedRanges';
2323
/**
2424
* The ranges that were cleared, in A1 notation. If the requests are for an
25-
* unbounded range or a ranger larger than the bounds of the sheet, this is
26-
* the actual ranges that were cleared, bounded to the sheet's limits.
25+
* unbounded range or a range larger than the bounds of the sheet, this is the
26+
* actual ranges that were cleared, bounded to the sheet's limits.
2727
*
2828
* @var string[]
2929
*/
@@ -37,8 +37,8 @@ class BatchClearValuesResponse extends \Google\Collection
3737

3838
/**
3939
* The ranges that were cleared, in A1 notation. If the requests are for an
40-
* unbounded range or a ranger larger than the bounds of the sheet, this is
41-
* the actual ranges that were cleared, bounded to the sheet's limits.
40+
* unbounded range or a range larger than the bounds of the sheet, this is the
41+
* actual ranges that were cleared, bounded to the sheet's limits.
4242
*
4343
* @param string[] $clearedRanges
4444
*/

src/Sheets/ClearValuesResponse.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ClearValuesResponse extends \Google\Model
2121
{
2222
/**
2323
* The range (in A1 notation) that was cleared. (If the request was for an
24-
* unbounded range or a ranger larger than the bounds of the sheet, this will
24+
* unbounded range or a range larger than the bounds of the sheet, this will
2525
* be the actual range that was cleared, bounded to the sheet's limits.)
2626
*
2727
* @var string
@@ -36,7 +36,7 @@ class ClearValuesResponse extends \Google\Model
3636

3737
/**
3838
* The range (in A1 notation) that was cleared. (If the request was for an
39-
* unbounded range or a ranger larger than the bounds of the sheet, this will
39+
* unbounded range or a range larger than the bounds of the sheet, this will
4040
* be the actual range that was cleared, bounded to the sheet's limits.)
4141
*
4242
* @param string $clearedRange

src/Sheets/DeveloperMetadata.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class DeveloperMetadata extends \Google\Model
5757
*/
5858
public $metadataValue;
5959
/**
60-
* The metadata visibility. Developer metadata must always have a visibility
60+
* The metadata visibility. Developer metadata must always have visibility
6161
* specified.
6262
*
6363
* @var string
@@ -132,7 +132,7 @@ public function getMetadataValue()
132132
return $this->metadataValue;
133133
}
134134
/**
135-
* The metadata visibility. Developer metadata must always have a visibility
135+
* The metadata visibility. Developer metadata must always have visibility
136136
* specified.
137137
*
138138
* Accepted values: DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED, DOCUMENT,

src/Sheets/DeveloperMetadataLocation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class DeveloperMetadataLocation extends \Google\Model
6262

6363
/**
6464
* Represents the row or column when metadata is associated with a dimension.
65-
* The specified DimensionRange must represent a single row or column; it
65+
* The specified DimensionRange must represent a single row or column. It
6666
* cannot be unbounded or span multiple rows or columns.
6767
*
6868
* @param DimensionRange $dimensionRange

src/Sheets/DeveloperMetadataLookup.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class DeveloperMetadataLookup extends \Google\Model
9292
* associated on rows. If the field is left unspecified, all location types
9393
* are considered. This field cannot be specified as SPREADSHEET when the
9494
* locationMatchingStrategy is specified as INTERSECTING or when the
95-
* metadataLocation is specified as a non-spreadsheet location: spreadsheet
95+
* metadataLocation is specified as a non-spreadsheet location. Spreadsheet
9696
* metadata cannot intersect any other developer metadata location. This field
9797
* also must be left unspecified when the locationMatchingStrategy is
9898
* specified as EXACT.
@@ -163,7 +163,7 @@ public function getLocationMatchingStrategy()
163163
* associated on rows. If the field is left unspecified, all location types
164164
* are considered. This field cannot be specified as SPREADSHEET when the
165165
* locationMatchingStrategy is specified as INTERSECTING or when the
166-
* metadataLocation is specified as a non-spreadsheet location: spreadsheet
166+
* metadataLocation is specified as a non-spreadsheet location. Spreadsheet
167167
* metadata cannot intersect any other developer metadata location. This field
168168
* also must be left unspecified when the locationMatchingStrategy is
169169
* specified as EXACT.

src/Sheets/FilterCriteria.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class FilterCriteria extends \Google\Collection
3838
protected $visibleForegroundColorStyleDataType = '';
3939

4040
/**
41-
* A condition that must be true for values to be shown. (This does not
41+
* A condition that must be `true` for values to be shown. (This does not
4242
* override hidden_values -- if a value is listed there, it will still be
4343
* hidden.)
4444
*

src/Sheets/FilterView.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class FilterView extends \Google\Collection
3232
public $filterViewId;
3333
/**
3434
* The named range this filter view is backed by, if any. When writing, only
35-
* one of range or named_range_id or table_id may be set.
35+
* one of range, named_range_id, or table_id may be set.
3636
*
3737
* @var string
3838
*/
@@ -43,7 +43,7 @@ class FilterView extends \Google\Collection
4343
protected $sortSpecsDataType = 'array';
4444
/**
4545
* The table this filter view is backed by, if any. When writing, only one of
46-
* range or named_range_id or table_id may be set.
46+
* range, named_range_id, or table_id may be set.
4747
*
4848
* @var string
4949
*/
@@ -76,9 +76,9 @@ public function getCriteria()
7676
return $this->criteria;
7777
}
7878
/**
79-
* The filter criteria for showing/hiding values per column. Both criteria and
80-
* filter_specs are populated in responses. If both fields are specified in an
81-
* update request, this field takes precedence.
79+
* The filter criteria for showing or hiding values per column. Both criteria
80+
* and filter_specs are populated in responses. If both fields are specified
81+
* in an update request, this field takes precedence.
8282
*
8383
* @param FilterSpec[] $filterSpecs
8484
*/
@@ -111,7 +111,7 @@ public function getFilterViewId()
111111
}
112112
/**
113113
* The named range this filter view is backed by, if any. When writing, only
114-
* one of range or named_range_id or table_id may be set.
114+
* one of range, named_range_id, or table_id may be set.
115115
*
116116
* @param string $namedRangeId
117117
*/
@@ -127,8 +127,8 @@ public function getNamedRangeId()
127127
return $this->namedRangeId;
128128
}
129129
/**
130-
* The range this filter view covers. When writing, only one of range or
131-
* named_range_id or table_id may be set.
130+
* The range this filter view covers. When writing, only one of range,
131+
* named_range_id, or table_id may be set.
132132
*
133133
* @param GridRange $range
134134
*/
@@ -162,7 +162,7 @@ public function getSortSpecs()
162162
}
163163
/**
164164
* The table this filter view is backed by, if any. When writing, only one of
165-
* range or named_range_id or table_id may be set.
165+
* range, named_range_id, or table_id may be set.
166166
*
167167
* @param string $tableId
168168
*/

src/Sheets/Resource/Spreadsheets.php

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,18 @@ public function get($spreadsheetId, $optParams = [])
111111
}
112112
/**
113113
* Returns the spreadsheet at the given ID. The caller must specify the
114-
* spreadsheet ID. This method differs from GetSpreadsheet in that it allows
115-
* selecting which subsets of spreadsheet data to return by specifying a
116-
* dataFilters parameter. Multiple DataFilters can be specified. Specifying one
117-
* or more data filters returns the portions of the spreadsheet that intersect
118-
* ranges matched by any of the filters. By default, data within grids is not
119-
* returned. You can include grid data one of 2 ways: * Specify a [field
114+
* spreadsheet ID. For more information, see [Read, write, and search metadata](
115+
* https://developers.google.com/workspace/sheets/api/guides/metadata). This
116+
* method differs from GetSpreadsheet in that it allows selecting which subsets
117+
* of spreadsheet data to return by specifying a dataFilters parameter. Multiple
118+
* DataFilters can be specified. Specifying one or more data filters returns the
119+
* portions of the spreadsheet that intersect ranges matched by any of the
120+
* filters. By default, data within grids is not returned. You can include grid
121+
* data in one of two ways: * Specify a [field
120122
* mask](https://developers.google.com/workspace/sheets/api/guides/field-masks)
121-
* listing your desired fields using the `fields` URL parameter in HTTP * Set
122-
* the includeGridData parameter to true. If a field mask is set, the
123-
* `includeGridData` parameter is ignored For large spreadsheets, as a best
123+
* listing your desired fields using the `fields` URL parameter in HTTP. * Set
124+
* the includeGridData parameter to `true`. If a field mask is set, the
125+
* `includeGridData` parameter is ignored. For large spreadsheets, as a best
124126
* practice, retrieve only the specific spreadsheet fields that you want.
125127
* (spreadsheets.getByDataFilter)
126128
*

0 commit comments

Comments
 (0)