class Google::Apis::SheetsV4::UpdateDimensionGroupRequest

Updates the state of the specified group.

Attributes

dimension_group[RW]

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]

fields[RW]

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]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 10604
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sheets_v4/classes.rb, line 10609
def update!(**args)
  @dimension_group = args[:dimension_group] if args.key?(:dimension_group)
  @fields = args[:fields] if args.key?(:fields)
end