Autogenerated update (2018-05-08)

Update:
- sheets_v4
This commit is contained in:
Google APIs 2018-05-08 00:35:49 +00:00
parent 0f8256e2dd
commit 1db02b4256
4 changed files with 467 additions and 1 deletions

View File

@ -67046,6 +67046,11 @@
"/sheets:v4/AddConditionalFormatRuleRequest": add_conditional_format_rule_request "/sheets:v4/AddConditionalFormatRuleRequest": add_conditional_format_rule_request
"/sheets:v4/AddConditionalFormatRuleRequest/index": index "/sheets:v4/AddConditionalFormatRuleRequest/index": index
"/sheets:v4/AddConditionalFormatRuleRequest/rule": rule "/sheets:v4/AddConditionalFormatRuleRequest/rule": rule
"/sheets:v4/AddDimensionGroupRequest": add_dimension_group_request
"/sheets:v4/AddDimensionGroupRequest/range": range
"/sheets:v4/AddDimensionGroupResponse": add_dimension_group_response
"/sheets:v4/AddDimensionGroupResponse/dimensionGroups": dimension_groups
"/sheets:v4/AddDimensionGroupResponse/dimensionGroups/dimension_group": dimension_group
"/sheets:v4/AddFilterViewRequest": add_filter_view_request "/sheets:v4/AddFilterViewRequest": add_filter_view_request
"/sheets:v4/AddFilterViewRequest/filter": filter "/sheets:v4/AddFilterViewRequest/filter": filter
"/sheets:v4/AddFilterViewResponse": add_filter_view_response "/sheets:v4/AddFilterViewResponse": add_filter_view_response
@ -67336,6 +67341,8 @@
"/sheets:v4/DataValidationRule/inputMessage": input_message "/sheets:v4/DataValidationRule/inputMessage": input_message
"/sheets:v4/DataValidationRule/showCustomUi": show_custom_ui "/sheets:v4/DataValidationRule/showCustomUi": show_custom_ui
"/sheets:v4/DataValidationRule/strict": strict "/sheets:v4/DataValidationRule/strict": strict
"/sheets:v4/DateTimeRule": date_time_rule
"/sheets:v4/DateTimeRule/type": type
"/sheets:v4/DeleteBandingRequest": delete_banding_request "/sheets:v4/DeleteBandingRequest": delete_banding_request
"/sheets:v4/DeleteBandingRequest/bandedRangeId": banded_range_id "/sheets:v4/DeleteBandingRequest/bandedRangeId": banded_range_id
"/sheets:v4/DeleteConditionalFormatRuleRequest": delete_conditional_format_rule_request "/sheets:v4/DeleteConditionalFormatRuleRequest": delete_conditional_format_rule_request
@ -67348,6 +67355,11 @@
"/sheets:v4/DeleteDeveloperMetadataResponse": delete_developer_metadata_response "/sheets:v4/DeleteDeveloperMetadataResponse": delete_developer_metadata_response
"/sheets:v4/DeleteDeveloperMetadataResponse/deletedDeveloperMetadata": deleted_developer_metadata "/sheets:v4/DeleteDeveloperMetadataResponse/deletedDeveloperMetadata": deleted_developer_metadata
"/sheets:v4/DeleteDeveloperMetadataResponse/deletedDeveloperMetadata/deleted_developer_metadatum": deleted_developer_metadatum "/sheets:v4/DeleteDeveloperMetadataResponse/deletedDeveloperMetadata/deleted_developer_metadatum": deleted_developer_metadatum
"/sheets:v4/DeleteDimensionGroupRequest": delete_dimension_group_request
"/sheets:v4/DeleteDimensionGroupRequest/range": range
"/sheets:v4/DeleteDimensionGroupResponse": delete_dimension_group_response
"/sheets:v4/DeleteDimensionGroupResponse/dimensionGroups": dimension_groups
"/sheets:v4/DeleteDimensionGroupResponse/dimensionGroups/dimension_group": dimension_group
"/sheets:v4/DeleteDimensionRequest": delete_dimension_request "/sheets:v4/DeleteDimensionRequest": delete_dimension_request
"/sheets:v4/DeleteDimensionRequest/range": range "/sheets:v4/DeleteDimensionRequest/range": range
"/sheets:v4/DeleteEmbeddedObjectRequest": delete_embedded_object_request "/sheets:v4/DeleteEmbeddedObjectRequest": delete_embedded_object_request
@ -67382,6 +67394,10 @@
"/sheets:v4/DeveloperMetadataLookup/metadataLocation": metadata_location "/sheets:v4/DeveloperMetadataLookup/metadataLocation": metadata_location
"/sheets:v4/DeveloperMetadataLookup/metadataValue": metadata_value "/sheets:v4/DeveloperMetadataLookup/metadataValue": metadata_value
"/sheets:v4/DeveloperMetadataLookup/visibility": visibility "/sheets:v4/DeveloperMetadataLookup/visibility": visibility
"/sheets:v4/DimensionGroup": dimension_group
"/sheets:v4/DimensionGroup/collapsed": collapsed
"/sheets:v4/DimensionGroup/depth": depth
"/sheets:v4/DimensionGroup/range": range
"/sheets:v4/DimensionProperties": dimension_properties "/sheets:v4/DimensionProperties": dimension_properties
"/sheets:v4/DimensionProperties/developerMetadata": developer_metadata "/sheets:v4/DimensionProperties/developerMetadata": developer_metadata
"/sheets:v4/DimensionProperties/developerMetadata/developer_metadatum": developer_metadatum "/sheets:v4/DimensionProperties/developerMetadata/developer_metadatum": developer_metadatum
@ -67479,10 +67495,12 @@
"/sheets:v4/GridData/startRow": start_row "/sheets:v4/GridData/startRow": start_row
"/sheets:v4/GridProperties": grid_properties "/sheets:v4/GridProperties": grid_properties
"/sheets:v4/GridProperties/columnCount": column_count "/sheets:v4/GridProperties/columnCount": column_count
"/sheets:v4/GridProperties/columnGroupControlAfter": column_group_control_after
"/sheets:v4/GridProperties/frozenColumnCount": frozen_column_count "/sheets:v4/GridProperties/frozenColumnCount": frozen_column_count
"/sheets:v4/GridProperties/frozenRowCount": frozen_row_count "/sheets:v4/GridProperties/frozenRowCount": frozen_row_count
"/sheets:v4/GridProperties/hideGridlines": hide_gridlines "/sheets:v4/GridProperties/hideGridlines": hide_gridlines
"/sheets:v4/GridProperties/rowCount": row_count "/sheets:v4/GridProperties/rowCount": row_count
"/sheets:v4/GridProperties/rowGroupControlAfter": row_group_control_after
"/sheets:v4/GridRange": grid_range "/sheets:v4/GridRange": grid_range
"/sheets:v4/GridRange/endColumnIndex": end_column_index "/sheets:v4/GridRange/endColumnIndex": end_column_index
"/sheets:v4/GridRange/endRowIndex": end_row_index "/sheets:v4/GridRange/endRowIndex": end_row_index
@ -67591,6 +67609,7 @@
"/sheets:v4/PivotGroup/valueMetadata": value_metadata "/sheets:v4/PivotGroup/valueMetadata": value_metadata
"/sheets:v4/PivotGroup/valueMetadata/value_metadatum": value_metadatum "/sheets:v4/PivotGroup/valueMetadata/value_metadatum": value_metadatum
"/sheets:v4/PivotGroupRule": pivot_group_rule "/sheets:v4/PivotGroupRule": pivot_group_rule
"/sheets:v4/PivotGroupRule/dateTimeRule": date_time_rule
"/sheets:v4/PivotGroupRule/histogramRule": histogram_rule "/sheets:v4/PivotGroupRule/histogramRule": histogram_rule
"/sheets:v4/PivotGroupRule/manualRule": manual_rule "/sheets:v4/PivotGroupRule/manualRule": manual_rule
"/sheets:v4/PivotGroupSortValueBucket": pivot_group_sort_value_bucket "/sheets:v4/PivotGroupSortValueBucket": pivot_group_sort_value_bucket
@ -67637,6 +67656,7 @@
"/sheets:v4/Request/addBanding": add_banding "/sheets:v4/Request/addBanding": add_banding
"/sheets:v4/Request/addChart": add_chart "/sheets:v4/Request/addChart": add_chart
"/sheets:v4/Request/addConditionalFormatRule": add_conditional_format_rule "/sheets:v4/Request/addConditionalFormatRule": add_conditional_format_rule
"/sheets:v4/Request/addDimensionGroup": add_dimension_group
"/sheets:v4/Request/addFilterView": add_filter_view "/sheets:v4/Request/addFilterView": add_filter_view
"/sheets:v4/Request/addNamedRange": add_named_range "/sheets:v4/Request/addNamedRange": add_named_range
"/sheets:v4/Request/addProtectedRange": add_protected_range "/sheets:v4/Request/addProtectedRange": add_protected_range
@ -67653,6 +67673,7 @@
"/sheets:v4/Request/deleteConditionalFormatRule": delete_conditional_format_rule "/sheets:v4/Request/deleteConditionalFormatRule": delete_conditional_format_rule
"/sheets:v4/Request/deleteDeveloperMetadata": delete_developer_metadata "/sheets:v4/Request/deleteDeveloperMetadata": delete_developer_metadata
"/sheets:v4/Request/deleteDimension": delete_dimension "/sheets:v4/Request/deleteDimension": delete_dimension
"/sheets:v4/Request/deleteDimensionGroup": delete_dimension_group
"/sheets:v4/Request/deleteEmbeddedObject": delete_embedded_object "/sheets:v4/Request/deleteEmbeddedObject": delete_embedded_object
"/sheets:v4/Request/deleteFilterView": delete_filter_view "/sheets:v4/Request/deleteFilterView": delete_filter_view
"/sheets:v4/Request/deleteNamedRange": delete_named_range "/sheets:v4/Request/deleteNamedRange": delete_named_range
@ -67680,6 +67701,7 @@
"/sheets:v4/Request/updateChartSpec": update_chart_spec "/sheets:v4/Request/updateChartSpec": update_chart_spec
"/sheets:v4/Request/updateConditionalFormatRule": update_conditional_format_rule "/sheets:v4/Request/updateConditionalFormatRule": update_conditional_format_rule
"/sheets:v4/Request/updateDeveloperMetadata": update_developer_metadata "/sheets:v4/Request/updateDeveloperMetadata": update_developer_metadata
"/sheets:v4/Request/updateDimensionGroup": update_dimension_group
"/sheets:v4/Request/updateDimensionProperties": update_dimension_properties "/sheets:v4/Request/updateDimensionProperties": update_dimension_properties
"/sheets:v4/Request/updateEmbeddedObjectPosition": update_embedded_object_position "/sheets:v4/Request/updateEmbeddedObjectPosition": update_embedded_object_position
"/sheets:v4/Request/updateFilterView": update_filter_view "/sheets:v4/Request/updateFilterView": update_filter_view
@ -67690,6 +67712,7 @@
"/sheets:v4/Response": response "/sheets:v4/Response": response
"/sheets:v4/Response/addBanding": add_banding "/sheets:v4/Response/addBanding": add_banding
"/sheets:v4/Response/addChart": add_chart "/sheets:v4/Response/addChart": add_chart
"/sheets:v4/Response/addDimensionGroup": add_dimension_group
"/sheets:v4/Response/addFilterView": add_filter_view "/sheets:v4/Response/addFilterView": add_filter_view
"/sheets:v4/Response/addNamedRange": add_named_range "/sheets:v4/Response/addNamedRange": add_named_range
"/sheets:v4/Response/addProtectedRange": add_protected_range "/sheets:v4/Response/addProtectedRange": add_protected_range
@ -67697,6 +67720,7 @@
"/sheets:v4/Response/createDeveloperMetadata": create_developer_metadata "/sheets:v4/Response/createDeveloperMetadata": create_developer_metadata
"/sheets:v4/Response/deleteConditionalFormatRule": delete_conditional_format_rule "/sheets:v4/Response/deleteConditionalFormatRule": delete_conditional_format_rule
"/sheets:v4/Response/deleteDeveloperMetadata": delete_developer_metadata "/sheets:v4/Response/deleteDeveloperMetadata": delete_developer_metadata
"/sheets:v4/Response/deleteDimensionGroup": delete_dimension_group
"/sheets:v4/Response/duplicateFilterView": duplicate_filter_view "/sheets:v4/Response/duplicateFilterView": duplicate_filter_view
"/sheets:v4/Response/duplicateSheet": duplicate_sheet "/sheets:v4/Response/duplicateSheet": duplicate_sheet
"/sheets:v4/Response/findReplace": find_replace "/sheets:v4/Response/findReplace": find_replace
@ -67723,6 +67747,8 @@
"/sheets:v4/Sheet/basicFilter": basic_filter "/sheets:v4/Sheet/basicFilter": basic_filter
"/sheets:v4/Sheet/charts": charts "/sheets:v4/Sheet/charts": charts
"/sheets:v4/Sheet/charts/chart": chart "/sheets:v4/Sheet/charts/chart": chart
"/sheets:v4/Sheet/columnGroups": column_groups
"/sheets:v4/Sheet/columnGroups/column_group": column_group
"/sheets:v4/Sheet/conditionalFormats": conditional_formats "/sheets:v4/Sheet/conditionalFormats": conditional_formats
"/sheets:v4/Sheet/conditionalFormats/conditional_format": conditional_format "/sheets:v4/Sheet/conditionalFormats/conditional_format": conditional_format
"/sheets:v4/Sheet/data": data "/sheets:v4/Sheet/data": data
@ -67736,6 +67762,8 @@
"/sheets:v4/Sheet/properties": properties "/sheets:v4/Sheet/properties": properties
"/sheets:v4/Sheet/protectedRanges": protected_ranges "/sheets:v4/Sheet/protectedRanges": protected_ranges
"/sheets:v4/Sheet/protectedRanges/protected_range": protected_range "/sheets:v4/Sheet/protectedRanges/protected_range": protected_range
"/sheets:v4/Sheet/rowGroups": row_groups
"/sheets:v4/Sheet/rowGroups/row_group": row_group
"/sheets:v4/SheetProperties": sheet_properties "/sheets:v4/SheetProperties": sheet_properties
"/sheets:v4/SheetProperties/gridProperties": grid_properties "/sheets:v4/SheetProperties/gridProperties": grid_properties
"/sheets:v4/SheetProperties/hidden": hidden "/sheets:v4/SheetProperties/hidden": hidden
@ -67851,6 +67879,9 @@
"/sheets:v4/UpdateDeveloperMetadataResponse": update_developer_metadata_response "/sheets:v4/UpdateDeveloperMetadataResponse": update_developer_metadata_response
"/sheets:v4/UpdateDeveloperMetadataResponse/developerMetadata": developer_metadata "/sheets:v4/UpdateDeveloperMetadataResponse/developerMetadata": developer_metadata
"/sheets:v4/UpdateDeveloperMetadataResponse/developerMetadata/developer_metadatum": developer_metadatum "/sheets:v4/UpdateDeveloperMetadataResponse/developerMetadata/developer_metadatum": developer_metadatum
"/sheets:v4/UpdateDimensionGroupRequest": update_dimension_group_request
"/sheets:v4/UpdateDimensionGroupRequest/dimensionGroup": dimension_group
"/sheets:v4/UpdateDimensionGroupRequest/fields": fields
"/sheets:v4/UpdateDimensionPropertiesRequest": update_dimension_properties_request "/sheets:v4/UpdateDimensionPropertiesRequest": update_dimension_properties_request
"/sheets:v4/UpdateDimensionPropertiesRequest/fields": fields "/sheets:v4/UpdateDimensionPropertiesRequest/fields": fields
"/sheets:v4/UpdateDimensionPropertiesRequest/properties": properties "/sheets:v4/UpdateDimensionPropertiesRequest/properties": properties

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/sheets/ # @see https://developers.google.com/sheets/
module SheetsV4 module SheetsV4
VERSION = 'V4' VERSION = 'V4'
REVISION = '20180405' REVISION = '20180503'
# View and manage the files in your Google Drive # View and manage the files in your Google Drive
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -124,6 +124,62 @@ module Google
end end
end end
# Creates a group over the specified range.
# If the requested range is a superset of the range of an existing group G,
# then the depth of G will be incremented and this new group G' will have the
# depth of that group. For example, a group [C:D, depth 1] + [B:E] results in
# groups [B:E, depth 1] and [C:D, depth 2].
# If the requested range is a subset of the range of an existing group G,
# then the depth of the new group G' will be one greater than the depth of G.
# For example, a group [B:E, depth 1] + [C:D] results in groups [B:E, depth 1]
# and [C:D, depth 2].
# If the requested range starts before and ends within, or starts within and
# ends after, the range of an existing group G, then the range of the existing
# group G will become the union of the ranges, and the new group G' will have
# depth one greater than the depth of G and range as the intersection of the
# ranges. For example, a group [B:D, depth 1] + [C:E] results in groups [B:E,
# depth 1] and [C:D, depth 2].
class AddDimensionGroupRequest
include Google::Apis::Core::Hashable
# A range along a single dimension on a sheet.
# All indexes are zero-based.
# Indexes are half open: the start index is inclusive
# and the end index is exclusive.
# Missing indexes indicate the range is unbounded on that side.
# Corresponds to the JSON property `range`
# @return [Google::Apis::SheetsV4::DimensionRange]
attr_accessor :range
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@range = args[:range] if args.key?(:range)
end
end
# The result of adding a group.
class AddDimensionGroupResponse
include Google::Apis::Core::Hashable
# All groups of a dimension after adding a group to that dimension.
# Corresponds to the JSON property `dimensionGroups`
# @return [Array<Google::Apis::SheetsV4::DimensionGroup>]
attr_accessor :dimension_groups
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@dimension_groups = args[:dimension_groups] if args.key?(:dimension_groups)
end
end
# Adds a filter view. # Adds a filter view.
class AddFilterViewRequest class AddFilterViewRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3531,6 +3587,45 @@ module Google
end end
end end
# Allows you to organize the date-time values in a source data column into
# buckets based on selected parts of their date or time values. For example,
# consider a pivot table showing sales transactions by date:
# +----------+--------------+
# | Date | SUM of Sales |
# +----------+--------------+
# | 1/1/2017 | $621.14 |
# | 2/3/2017 | $708.84 |
# | 5/8/2017 | $326.84 |
# ...
# +----------+--------------+
# Applying a date-time group rule with a DateTimeRuleType of YEAR_MONTH
# results in the following pivot table.
# +--------------+--------------+
# | Grouped Date | SUM of Sales |
# +--------------+--------------+
# | 2017-Jan | $53,731.78 |
# | 2017-Feb | $83,475.32 |
# | 2017-Mar | $94,385.05 |
# ...
# +--------------+--------------+
class DateTimeRule
include Google::Apis::Core::Hashable
# The type of date-time grouping to apply.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@type = args[:type] if args.key?(:type)
end
end
# Removes the banded range with the given ID from the spreadsheet. # Removes the banded range with the given ID from the spreadsheet.
class DeleteBandingRequest class DeleteBandingRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3634,6 +3729,52 @@ module Google
end end
end end
# Deletes a group over the specified range by decrementing the depth of the
# dimensions in the range.
# For example, assume the sheet has a depth-1 group over B:E and a depth-2
# group over C:D. Deleting a group over D:E would leave the sheet with a
# depth-1 group over B:D and a depth-2 group over C:C.
class DeleteDimensionGroupRequest
include Google::Apis::Core::Hashable
# A range along a single dimension on a sheet.
# All indexes are zero-based.
# Indexes are half open: the start index is inclusive
# and the end index is exclusive.
# Missing indexes indicate the range is unbounded on that side.
# Corresponds to the JSON property `range`
# @return [Google::Apis::SheetsV4::DimensionRange]
attr_accessor :range
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@range = args[:range] if args.key?(:range)
end
end
# The result of deleting a group.
class DeleteDimensionGroupResponse
include Google::Apis::Core::Hashable
# All groups of a dimension after deleting a group from that dimension.
# Corresponds to the JSON property `dimensionGroups`
# @return [Array<Google::Apis::SheetsV4::DimensionGroup>]
attr_accessor :dimension_groups
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@dimension_groups = args[:dimension_groups] if args.key?(:dimension_groups)
end
end
# Deletes the dimensions from the sheet. # Deletes the dimensions from the sheet.
class DeleteDimensionRequest class DeleteDimensionRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3984,6 +4125,51 @@ module Google
end end
end end
# A group over an interval of rows or columns on a sheet, which can contain or
# be contained within other groups. A group can be collapsed or expanded as a
# unit on the sheet.
class DimensionGroup
include Google::Apis::Core::Hashable
# True if this group is collapsed. A collapsed group will remain collapsed if
# an overlapping group at a shallower depth is expanded.
# collapsed == true does not imply that all dimensions within the group are
# hidden, since a dimension's visibility can change independently from this
# group property. However, when this property is updated, all dimensions
# within it will be set to hidden if collapsed == true, or set to visible if
# collapsed == false.
# Corresponds to the JSON property `collapsed`
# @return [Boolean]
attr_accessor :collapsed
alias_method :collapsed?, :collapsed
# The depth of the group, representing how many groups have a range that
# wholly contains the range of this group.
# Corresponds to the JSON property `depth`
# @return [Fixnum]
attr_accessor :depth
# A range along a single dimension on a sheet.
# All indexes are zero-based.
# Indexes are half open: the start index is inclusive
# and the end index is exclusive.
# Missing indexes indicate the range is unbounded on that side.
# Corresponds to the JSON property `range`
# @return [Google::Apis::SheetsV4::DimensionRange]
attr_accessor :range
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@collapsed = args[:collapsed] if args.key?(:collapsed)
@depth = args[:depth] if args.key?(:depth)
@range = args[:range] if args.key?(:range)
end
end
# Properties about a dimension. # Properties about a dimension.
class DimensionProperties class DimensionProperties
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -4740,6 +4926,12 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :column_count attr_accessor :column_count
# True if the column grouping control toggle is shown after the group.
# Corresponds to the JSON property `columnGroupControlAfter`
# @return [Boolean]
attr_accessor :column_group_control_after
alias_method :column_group_control_after?, :column_group_control_after
# The number of columns that are frozen in the grid. # The number of columns that are frozen in the grid.
# Corresponds to the JSON property `frozenColumnCount` # Corresponds to the JSON property `frozenColumnCount`
# @return [Fixnum] # @return [Fixnum]
@ -4761,6 +4953,12 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :row_count attr_accessor :row_count
# True if the row grouping control toggle is shown after the group.
# Corresponds to the JSON property `rowGroupControlAfter`
# @return [Boolean]
attr_accessor :row_group_control_after
alias_method :row_group_control_after?, :row_group_control_after
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -4768,10 +4966,12 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@column_count = args[:column_count] if args.key?(:column_count) @column_count = args[:column_count] if args.key?(:column_count)
@column_group_control_after = args[:column_group_control_after] if args.key?(:column_group_control_after)
@frozen_column_count = args[:frozen_column_count] if args.key?(:frozen_column_count) @frozen_column_count = args[:frozen_column_count] if args.key?(:frozen_column_count)
@frozen_row_count = args[:frozen_row_count] if args.key?(:frozen_row_count) @frozen_row_count = args[:frozen_row_count] if args.key?(:frozen_row_count)
@hide_gridlines = args[:hide_gridlines] if args.key?(:hide_gridlines) @hide_gridlines = args[:hide_gridlines] if args.key?(:hide_gridlines)
@row_count = args[:row_count] if args.key?(:row_count) @row_count = args[:row_count] if args.key?(:row_count)
@row_group_control_after = args[:row_group_control_after] if args.key?(:row_group_control_after)
end end
end end
@ -6213,6 +6413,31 @@ module Google
class PivotGroupRule class PivotGroupRule
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Allows you to organize the date-time values in a source data column into
# buckets based on selected parts of their date or time values. For example,
# consider a pivot table showing sales transactions by date:
# +----------+--------------+
# | Date | SUM of Sales |
# +----------+--------------+
# | 1/1/2017 | $621.14 |
# | 2/3/2017 | $708.84 |
# | 5/8/2017 | $326.84 |
# ...
# +----------+--------------+
# Applying a date-time group rule with a DateTimeRuleType of YEAR_MONTH
# results in the following pivot table.
# +--------------+--------------+
# | Grouped Date | SUM of Sales |
# +--------------+--------------+
# | 2017-Jan | $53,731.78 |
# | 2017-Feb | $83,475.32 |
# | 2017-Mar | $94,385.05 |
# ...
# +--------------+--------------+
# Corresponds to the JSON property `dateTimeRule`
# @return [Google::Apis::SheetsV4::DateTimeRule]
attr_accessor :date_time_rule
# Allows you to organize the numeric values in a source data column into # Allows you to organize the numeric values in a source data column into
# buckets of a constant size. All values from HistogramRule.start to # buckets of a constant size. All values from HistogramRule.start to
# HistogramRule.end will be placed into groups of size # HistogramRule.end will be placed into groups of size
@ -6283,6 +6508,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@date_time_rule = args[:date_time_rule] if args.key?(:date_time_rule)
@histogram_rule = args[:histogram_rule] if args.key?(:histogram_rule) @histogram_rule = args[:histogram_rule] if args.key?(:histogram_rule)
@manual_rule = args[:manual_rule] if args.key?(:manual_rule) @manual_rule = args[:manual_rule] if args.key?(:manual_rule)
end end
@ -6701,6 +6927,25 @@ module Google
# @return [Google::Apis::SheetsV4::AddConditionalFormatRuleRequest] # @return [Google::Apis::SheetsV4::AddConditionalFormatRuleRequest]
attr_accessor :add_conditional_format_rule attr_accessor :add_conditional_format_rule
# Creates a group over the specified range.
# If the requested range is a superset of the range of an existing group G,
# then the depth of G will be incremented and this new group G' will have the
# depth of that group. For example, a group [C:D, depth 1] + [B:E] results in
# groups [B:E, depth 1] and [C:D, depth 2].
# If the requested range is a subset of the range of an existing group G,
# then the depth of the new group G' will be one greater than the depth of G.
# For example, a group [B:E, depth 1] + [C:D] results in groups [B:E, depth 1]
# and [C:D, depth 2].
# If the requested range starts before and ends within, or starts within and
# ends after, the range of an existing group G, then the range of the existing
# group G will become the union of the ranges, and the new group G' will have
# depth one greater than the depth of G and range as the intersection of the
# ranges. For example, a group [B:D, depth 1] + [C:E] results in groups [B:E,
# depth 1] and [C:D, depth 2].
# Corresponds to the JSON property `addDimensionGroup`
# @return [Google::Apis::SheetsV4::AddDimensionGroupRequest]
attr_accessor :add_dimension_group
# Adds a filter view. # Adds a filter view.
# Corresponds to the JSON property `addFilterView` # Corresponds to the JSON property `addFilterView`
# @return [Google::Apis::SheetsV4::AddFilterViewRequest] # @return [Google::Apis::SheetsV4::AddFilterViewRequest]
@ -6789,6 +7034,15 @@ module Google
# @return [Google::Apis::SheetsV4::DeleteDimensionRequest] # @return [Google::Apis::SheetsV4::DeleteDimensionRequest]
attr_accessor :delete_dimension attr_accessor :delete_dimension
# Deletes a group over the specified range by decrementing the depth of the
# dimensions in the range.
# For example, assume the sheet has a depth-1 group over B:E and a depth-2
# group over C:D. Deleting a group over D:E would leave the sheet with a
# depth-1 group over B:D and a depth-2 group over C:C.
# Corresponds to the JSON property `deleteDimensionGroup`
# @return [Google::Apis::SheetsV4::DeleteDimensionGroupRequest]
attr_accessor :delete_dimension_group
# Deletes the embedded object with the given ID. # Deletes the embedded object with the given ID.
# Corresponds to the JSON property `deleteEmbeddedObject` # Corresponds to the JSON property `deleteEmbeddedObject`
# @return [Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest] # @return [Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest]
@ -6952,6 +7206,11 @@ module Google
# @return [Google::Apis::SheetsV4::UpdateDeveloperMetadataRequest] # @return [Google::Apis::SheetsV4::UpdateDeveloperMetadataRequest]
attr_accessor :update_developer_metadata attr_accessor :update_developer_metadata
# Updates the state of the specified group.
# Corresponds to the JSON property `updateDimensionGroup`
# @return [Google::Apis::SheetsV4::UpdateDimensionGroupRequest]
attr_accessor :update_dimension_group
# Updates properties of dimensions within the specified range. # Updates properties of dimensions within the specified range.
# Corresponds to the JSON property `updateDimensionProperties` # Corresponds to the JSON property `updateDimensionProperties`
# @return [Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest] # @return [Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest]
@ -7000,6 +7259,7 @@ module Google
@add_banding = args[:add_banding] if args.key?(:add_banding) @add_banding = args[:add_banding] if args.key?(:add_banding)
@add_chart = args[:add_chart] if args.key?(:add_chart) @add_chart = args[:add_chart] if args.key?(:add_chart)
@add_conditional_format_rule = args[:add_conditional_format_rule] if args.key?(:add_conditional_format_rule) @add_conditional_format_rule = args[:add_conditional_format_rule] if args.key?(:add_conditional_format_rule)
@add_dimension_group = args[:add_dimension_group] if args.key?(:add_dimension_group)
@add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view) @add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view)
@add_named_range = args[:add_named_range] if args.key?(:add_named_range) @add_named_range = args[:add_named_range] if args.key?(:add_named_range)
@add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range) @add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range)
@ -7016,6 +7276,7 @@ module Google
@delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule) @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule)
@delete_developer_metadata = args[:delete_developer_metadata] if args.key?(:delete_developer_metadata) @delete_developer_metadata = args[:delete_developer_metadata] if args.key?(:delete_developer_metadata)
@delete_dimension = args[:delete_dimension] if args.key?(:delete_dimension) @delete_dimension = args[:delete_dimension] if args.key?(:delete_dimension)
@delete_dimension_group = args[:delete_dimension_group] if args.key?(:delete_dimension_group)
@delete_embedded_object = args[:delete_embedded_object] if args.key?(:delete_embedded_object) @delete_embedded_object = args[:delete_embedded_object] if args.key?(:delete_embedded_object)
@delete_filter_view = args[:delete_filter_view] if args.key?(:delete_filter_view) @delete_filter_view = args[:delete_filter_view] if args.key?(:delete_filter_view)
@delete_named_range = args[:delete_named_range] if args.key?(:delete_named_range) @delete_named_range = args[:delete_named_range] if args.key?(:delete_named_range)
@ -7043,6 +7304,7 @@ module Google
@update_chart_spec = args[:update_chart_spec] if args.key?(:update_chart_spec) @update_chart_spec = args[:update_chart_spec] if args.key?(:update_chart_spec)
@update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule) @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule)
@update_developer_metadata = args[:update_developer_metadata] if args.key?(:update_developer_metadata) @update_developer_metadata = args[:update_developer_metadata] if args.key?(:update_developer_metadata)
@update_dimension_group = args[:update_dimension_group] if args.key?(:update_dimension_group)
@update_dimension_properties = args[:update_dimension_properties] if args.key?(:update_dimension_properties) @update_dimension_properties = args[:update_dimension_properties] if args.key?(:update_dimension_properties)
@update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position) @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position)
@update_filter_view = args[:update_filter_view] if args.key?(:update_filter_view) @update_filter_view = args[:update_filter_view] if args.key?(:update_filter_view)
@ -7067,6 +7329,11 @@ module Google
# @return [Google::Apis::SheetsV4::AddChartResponse] # @return [Google::Apis::SheetsV4::AddChartResponse]
attr_accessor :add_chart attr_accessor :add_chart
# The result of adding a group.
# Corresponds to the JSON property `addDimensionGroup`
# @return [Google::Apis::SheetsV4::AddDimensionGroupResponse]
attr_accessor :add_dimension_group
# The result of adding a filter view. # The result of adding a filter view.
# Corresponds to the JSON property `addFilterView` # Corresponds to the JSON property `addFilterView`
# @return [Google::Apis::SheetsV4::AddFilterViewResponse] # @return [Google::Apis::SheetsV4::AddFilterViewResponse]
@ -7102,6 +7369,11 @@ module Google
# @return [Google::Apis::SheetsV4::DeleteDeveloperMetadataResponse] # @return [Google::Apis::SheetsV4::DeleteDeveloperMetadataResponse]
attr_accessor :delete_developer_metadata attr_accessor :delete_developer_metadata
# The result of deleting a group.
# Corresponds to the JSON property `deleteDimensionGroup`
# @return [Google::Apis::SheetsV4::DeleteDimensionGroupResponse]
attr_accessor :delete_dimension_group
# The result of a filter view being duplicated. # The result of a filter view being duplicated.
# Corresponds to the JSON property `duplicateFilterView` # Corresponds to the JSON property `duplicateFilterView`
# @return [Google::Apis::SheetsV4::DuplicateFilterViewResponse] # @return [Google::Apis::SheetsV4::DuplicateFilterViewResponse]
@ -7140,6 +7412,7 @@ module Google
def update!(**args) def update!(**args)
@add_banding = args[:add_banding] if args.key?(:add_banding) @add_banding = args[:add_banding] if args.key?(:add_banding)
@add_chart = args[:add_chart] if args.key?(:add_chart) @add_chart = args[:add_chart] if args.key?(:add_chart)
@add_dimension_group = args[:add_dimension_group] if args.key?(:add_dimension_group)
@add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view) @add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view)
@add_named_range = args[:add_named_range] if args.key?(:add_named_range) @add_named_range = args[:add_named_range] if args.key?(:add_named_range)
@add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range) @add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range)
@ -7147,6 +7420,7 @@ module Google
@create_developer_metadata = args[:create_developer_metadata] if args.key?(:create_developer_metadata) @create_developer_metadata = args[:create_developer_metadata] if args.key?(:create_developer_metadata)
@delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule) @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule)
@delete_developer_metadata = args[:delete_developer_metadata] if args.key?(:delete_developer_metadata) @delete_developer_metadata = args[:delete_developer_metadata] if args.key?(:delete_developer_metadata)
@delete_dimension_group = args[:delete_dimension_group] if args.key?(:delete_dimension_group)
@duplicate_filter_view = args[:duplicate_filter_view] if args.key?(:duplicate_filter_view) @duplicate_filter_view = args[:duplicate_filter_view] if args.key?(:duplicate_filter_view)
@duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet) @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet)
@find_replace = args[:find_replace] if args.key?(:find_replace) @find_replace = args[:find_replace] if args.key?(:find_replace)
@ -7301,6 +7575,12 @@ module Google
# @return [Array<Google::Apis::SheetsV4::EmbeddedChart>] # @return [Array<Google::Apis::SheetsV4::EmbeddedChart>]
attr_accessor :charts attr_accessor :charts
# All column groups on this sheet, ordered by increasing range start index,
# then by group depth.
# Corresponds to the JSON property `columnGroups`
# @return [Array<Google::Apis::SheetsV4::DimensionGroup>]
attr_accessor :column_groups
# The conditional format rules in this sheet. # The conditional format rules in this sheet.
# Corresponds to the JSON property `conditionalFormats` # Corresponds to the JSON property `conditionalFormats`
# @return [Array<Google::Apis::SheetsV4::ConditionalFormatRule>] # @return [Array<Google::Apis::SheetsV4::ConditionalFormatRule>]
@ -7343,6 +7623,12 @@ module Google
# @return [Array<Google::Apis::SheetsV4::ProtectedRange>] # @return [Array<Google::Apis::SheetsV4::ProtectedRange>]
attr_accessor :protected_ranges attr_accessor :protected_ranges
# All row groups on this sheet, ordered by increasing range start index, then
# by group depth.
# Corresponds to the JSON property `rowGroups`
# @return [Array<Google::Apis::SheetsV4::DimensionGroup>]
attr_accessor :row_groups
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -7352,6 +7638,7 @@ module Google
@banded_ranges = args[:banded_ranges] if args.key?(:banded_ranges) @banded_ranges = args[:banded_ranges] if args.key?(:banded_ranges)
@basic_filter = args[:basic_filter] if args.key?(:basic_filter) @basic_filter = args[:basic_filter] if args.key?(:basic_filter)
@charts = args[:charts] if args.key?(:charts) @charts = args[:charts] if args.key?(:charts)
@column_groups = args[:column_groups] if args.key?(:column_groups)
@conditional_formats = args[:conditional_formats] if args.key?(:conditional_formats) @conditional_formats = args[:conditional_formats] if args.key?(:conditional_formats)
@data = args[:data] if args.key?(:data) @data = args[:data] if args.key?(:data)
@developer_metadata = args[:developer_metadata] if args.key?(:developer_metadata) @developer_metadata = args[:developer_metadata] if args.key?(:developer_metadata)
@ -7359,6 +7646,7 @@ module Google
@merges = args[:merges] if args.key?(:merges) @merges = args[:merges] if args.key?(:merges)
@properties = args[:properties] if args.key?(:properties) @properties = args[:properties] if args.key?(:properties)
@protected_ranges = args[:protected_ranges] if args.key?(:protected_ranges) @protected_ranges = args[:protected_ranges] if args.key?(:protected_ranges)
@row_groups = args[:row_groups] if args.key?(:row_groups)
end end
end end
@ -9072,6 +9360,35 @@ module Google
end end
end end
# Updates the state of the specified group.
class UpdateDimensionGroupRequest
include Google::Apis::Core::Hashable
# A group over an interval of rows or columns on a sheet, which can contain or
# be contained within other groups. A group can be collapsed or expanded as a
# unit on the sheet.
# Corresponds to the JSON property `dimensionGroup`
# @return [Google::Apis::SheetsV4::DimensionGroup]
attr_accessor :dimension_group
# The fields that should be updated. At least one field must be specified.
# The root `dimensionGroup` is implied and should not be specified.
# A single `"*"` can be used as short-hand for listing every field.
# Corresponds to the JSON property `fields`
# @return [String]
attr_accessor :fields
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@dimension_group = args[:dimension_group] if args.key?(:dimension_group)
@fields = args[:fields] if args.key?(:fields)
end
end
# Updates properties of dimensions within the specified range. # Updates properties of dimensions within the specified range.
class UpdateDimensionPropertiesRequest class UpdateDimensionPropertiesRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -52,6 +52,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class AddDimensionGroupRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AddDimensionGroupResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AddFilterViewRequest class AddFilterViewRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -418,6 +430,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class DateTimeRule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DeleteBandingRequest class DeleteBandingRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -448,6 +466,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class DeleteDimensionGroupRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DeleteDimensionGroupResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DeleteDimensionRequest class DeleteDimensionRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -508,6 +538,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class DimensionGroup
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DimensionProperties class DimensionProperties
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1000,6 +1036,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class UpdateDimensionGroupRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UpdateDimensionPropertiesRequest class UpdateDimensionPropertiesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1137,6 +1179,22 @@ module Google
end end
end end
class AddDimensionGroupRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :range, as: 'range', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation
end
end
class AddDimensionGroupResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :dimension_groups, as: 'dimensionGroups', class: Google::Apis::SheetsV4::DimensionGroup, decorator: Google::Apis::SheetsV4::DimensionGroup::Representation
end
end
class AddFilterViewRequest class AddFilterViewRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1816,6 +1874,13 @@ module Google
end end
end end
class DateTimeRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :type, as: 'type'
end
end
class DeleteBandingRequest class DeleteBandingRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1855,6 +1920,22 @@ module Google
end end
end end
class DeleteDimensionGroupRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :range, as: 'range', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation
end
end
class DeleteDimensionGroupResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :dimension_groups, as: 'dimensionGroups', class: Google::Apis::SheetsV4::DimensionGroup, decorator: Google::Apis::SheetsV4::DimensionGroup::Representation
end
end
class DeleteDimensionRequest class DeleteDimensionRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1944,6 +2025,16 @@ module Google
end end
end end
class DimensionGroup
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :collapsed, as: 'collapsed'
property :depth, as: 'depth'
property :range, as: 'range', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation
end
end
class DimensionProperties class DimensionProperties
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -2147,10 +2238,12 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :column_count, as: 'columnCount' property :column_count, as: 'columnCount'
property :column_group_control_after, as: 'columnGroupControlAfter'
property :frozen_column_count, as: 'frozenColumnCount' property :frozen_column_count, as: 'frozenColumnCount'
property :frozen_row_count, as: 'frozenRowCount' property :frozen_row_count, as: 'frozenRowCount'
property :hide_gridlines, as: 'hideGridlines' property :hide_gridlines, as: 'hideGridlines'
property :row_count, as: 'rowCount' property :row_count, as: 'rowCount'
property :row_group_control_after, as: 'rowGroupControlAfter'
end end
end end
@ -2405,6 +2498,8 @@ module Google
class PivotGroupRule class PivotGroupRule
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :date_time_rule, as: 'dateTimeRule', class: Google::Apis::SheetsV4::DateTimeRule, decorator: Google::Apis::SheetsV4::DateTimeRule::Representation
property :histogram_rule, as: 'histogramRule', class: Google::Apis::SheetsV4::HistogramRule, decorator: Google::Apis::SheetsV4::HistogramRule::Representation property :histogram_rule, as: 'histogramRule', class: Google::Apis::SheetsV4::HistogramRule, decorator: Google::Apis::SheetsV4::HistogramRule::Representation
property :manual_rule, as: 'manualRule', class: Google::Apis::SheetsV4::ManualRule, decorator: Google::Apis::SheetsV4::ManualRule::Representation property :manual_rule, as: 'manualRule', class: Google::Apis::SheetsV4::ManualRule, decorator: Google::Apis::SheetsV4::ManualRule::Representation
@ -2503,6 +2598,8 @@ module Google
property :add_conditional_format_rule, as: 'addConditionalFormatRule', class: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest::Representation property :add_conditional_format_rule, as: 'addConditionalFormatRule', class: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest::Representation
property :add_dimension_group, as: 'addDimensionGroup', class: Google::Apis::SheetsV4::AddDimensionGroupRequest, decorator: Google::Apis::SheetsV4::AddDimensionGroupRequest::Representation
property :add_filter_view, as: 'addFilterView', class: Google::Apis::SheetsV4::AddFilterViewRequest, decorator: Google::Apis::SheetsV4::AddFilterViewRequest::Representation property :add_filter_view, as: 'addFilterView', class: Google::Apis::SheetsV4::AddFilterViewRequest, decorator: Google::Apis::SheetsV4::AddFilterViewRequest::Representation
property :add_named_range, as: 'addNamedRange', class: Google::Apis::SheetsV4::AddNamedRangeRequest, decorator: Google::Apis::SheetsV4::AddNamedRangeRequest::Representation property :add_named_range, as: 'addNamedRange', class: Google::Apis::SheetsV4::AddNamedRangeRequest, decorator: Google::Apis::SheetsV4::AddNamedRangeRequest::Representation
@ -2535,6 +2632,8 @@ module Google
property :delete_dimension, as: 'deleteDimension', class: Google::Apis::SheetsV4::DeleteDimensionRequest, decorator: Google::Apis::SheetsV4::DeleteDimensionRequest::Representation property :delete_dimension, as: 'deleteDimension', class: Google::Apis::SheetsV4::DeleteDimensionRequest, decorator: Google::Apis::SheetsV4::DeleteDimensionRequest::Representation
property :delete_dimension_group, as: 'deleteDimensionGroup', class: Google::Apis::SheetsV4::DeleteDimensionGroupRequest, decorator: Google::Apis::SheetsV4::DeleteDimensionGroupRequest::Representation
property :delete_embedded_object, as: 'deleteEmbeddedObject', class: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest, decorator: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest::Representation property :delete_embedded_object, as: 'deleteEmbeddedObject', class: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest, decorator: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest::Representation
property :delete_filter_view, as: 'deleteFilterView', class: Google::Apis::SheetsV4::DeleteFilterViewRequest, decorator: Google::Apis::SheetsV4::DeleteFilterViewRequest::Representation property :delete_filter_view, as: 'deleteFilterView', class: Google::Apis::SheetsV4::DeleteFilterViewRequest, decorator: Google::Apis::SheetsV4::DeleteFilterViewRequest::Representation
@ -2589,6 +2688,8 @@ module Google
property :update_developer_metadata, as: 'updateDeveloperMetadata', class: Google::Apis::SheetsV4::UpdateDeveloperMetadataRequest, decorator: Google::Apis::SheetsV4::UpdateDeveloperMetadataRequest::Representation property :update_developer_metadata, as: 'updateDeveloperMetadata', class: Google::Apis::SheetsV4::UpdateDeveloperMetadataRequest, decorator: Google::Apis::SheetsV4::UpdateDeveloperMetadataRequest::Representation
property :update_dimension_group, as: 'updateDimensionGroup', class: Google::Apis::SheetsV4::UpdateDimensionGroupRequest, decorator: Google::Apis::SheetsV4::UpdateDimensionGroupRequest::Representation
property :update_dimension_properties, as: 'updateDimensionProperties', class: Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest::Representation property :update_dimension_properties, as: 'updateDimensionProperties', class: Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest::Representation
property :update_embedded_object_position, as: 'updateEmbeddedObjectPosition', class: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest, decorator: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest::Representation property :update_embedded_object_position, as: 'updateEmbeddedObjectPosition', class: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest, decorator: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest::Representation
@ -2613,6 +2714,8 @@ module Google
property :add_chart, as: 'addChart', class: Google::Apis::SheetsV4::AddChartResponse, decorator: Google::Apis::SheetsV4::AddChartResponse::Representation property :add_chart, as: 'addChart', class: Google::Apis::SheetsV4::AddChartResponse, decorator: Google::Apis::SheetsV4::AddChartResponse::Representation
property :add_dimension_group, as: 'addDimensionGroup', class: Google::Apis::SheetsV4::AddDimensionGroupResponse, decorator: Google::Apis::SheetsV4::AddDimensionGroupResponse::Representation
property :add_filter_view, as: 'addFilterView', class: Google::Apis::SheetsV4::AddFilterViewResponse, decorator: Google::Apis::SheetsV4::AddFilterViewResponse::Representation property :add_filter_view, as: 'addFilterView', class: Google::Apis::SheetsV4::AddFilterViewResponse, decorator: Google::Apis::SheetsV4::AddFilterViewResponse::Representation
property :add_named_range, as: 'addNamedRange', class: Google::Apis::SheetsV4::AddNamedRangeResponse, decorator: Google::Apis::SheetsV4::AddNamedRangeResponse::Representation property :add_named_range, as: 'addNamedRange', class: Google::Apis::SheetsV4::AddNamedRangeResponse, decorator: Google::Apis::SheetsV4::AddNamedRangeResponse::Representation
@ -2627,6 +2730,8 @@ module Google
property :delete_developer_metadata, as: 'deleteDeveloperMetadata', class: Google::Apis::SheetsV4::DeleteDeveloperMetadataResponse, decorator: Google::Apis::SheetsV4::DeleteDeveloperMetadataResponse::Representation property :delete_developer_metadata, as: 'deleteDeveloperMetadata', class: Google::Apis::SheetsV4::DeleteDeveloperMetadataResponse, decorator: Google::Apis::SheetsV4::DeleteDeveloperMetadataResponse::Representation
property :delete_dimension_group, as: 'deleteDimensionGroup', class: Google::Apis::SheetsV4::DeleteDimensionGroupResponse, decorator: Google::Apis::SheetsV4::DeleteDimensionGroupResponse::Representation
property :duplicate_filter_view, as: 'duplicateFilterView', class: Google::Apis::SheetsV4::DuplicateFilterViewResponse, decorator: Google::Apis::SheetsV4::DuplicateFilterViewResponse::Representation property :duplicate_filter_view, as: 'duplicateFilterView', class: Google::Apis::SheetsV4::DuplicateFilterViewResponse, decorator: Google::Apis::SheetsV4::DuplicateFilterViewResponse::Representation
property :duplicate_sheet, as: 'duplicateSheet', class: Google::Apis::SheetsV4::DuplicateSheetResponse, decorator: Google::Apis::SheetsV4::DuplicateSheetResponse::Representation property :duplicate_sheet, as: 'duplicateSheet', class: Google::Apis::SheetsV4::DuplicateSheetResponse, decorator: Google::Apis::SheetsV4::DuplicateSheetResponse::Representation
@ -2693,6 +2798,8 @@ module Google
collection :charts, as: 'charts', class: Google::Apis::SheetsV4::EmbeddedChart, decorator: Google::Apis::SheetsV4::EmbeddedChart::Representation collection :charts, as: 'charts', class: Google::Apis::SheetsV4::EmbeddedChart, decorator: Google::Apis::SheetsV4::EmbeddedChart::Representation
collection :column_groups, as: 'columnGroups', class: Google::Apis::SheetsV4::DimensionGroup, decorator: Google::Apis::SheetsV4::DimensionGroup::Representation
collection :conditional_formats, as: 'conditionalFormats', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation collection :conditional_formats, as: 'conditionalFormats', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation
collection :data, as: 'data', class: Google::Apis::SheetsV4::GridData, decorator: Google::Apis::SheetsV4::GridData::Representation collection :data, as: 'data', class: Google::Apis::SheetsV4::GridData, decorator: Google::Apis::SheetsV4::GridData::Representation
@ -2707,6 +2814,8 @@ module Google
collection :protected_ranges, as: 'protectedRanges', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation collection :protected_ranges, as: 'protectedRanges', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation
collection :row_groups, as: 'rowGroups', class: Google::Apis::SheetsV4::DimensionGroup, decorator: Google::Apis::SheetsV4::DimensionGroup::Representation
end end
end end
@ -2972,6 +3081,15 @@ module Google
end end
end end
class UpdateDimensionGroupRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dimension_group, as: 'dimensionGroup', class: Google::Apis::SheetsV4::DimensionGroup, decorator: Google::Apis::SheetsV4::DimensionGroup::Representation
property :fields, as: 'fields'
end
end
class UpdateDimensionPropertiesRequest class UpdateDimensionPropertiesRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation