Class: Google::Apis::SheetsV4::AddDimensionGroupResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/sheets_v4/classes.rb,
lib/google/apis/sheets_v4/representations.rb,
lib/google/apis/sheets_v4/representations.rb

Overview

The result of adding a group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AddDimensionGroupResponse

Returns a new instance of AddDimensionGroupResponse.



224
225
226
# File 'lib/google/apis/sheets_v4/classes.rb', line 224

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dimension_groupsArray<Google::Apis::SheetsV4::DimensionGroup>

All groups of a dimension after adding a group to that dimension. Corresponds to the JSON property dimensionGroups



222
223
224
# File 'lib/google/apis/sheets_v4/classes.rb', line 222

def dimension_groups
  @dimension_groups
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



229
230
231
# File 'lib/google/apis/sheets_v4/classes.rb', line 229

def update!(**args)
  @dimension_groups = args[:dimension_groups] if args.key?(:dimension_groups)
end