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

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

Overview

The result of adding a group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AddDimensionGroupResponse

Returns a new instance of AddDimensionGroupResponse.



216
217
218
# File 'generated/google/apis/sheets_v4/classes.rb', line 216

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



214
215
216
# File 'generated/google/apis/sheets_v4/classes.rb', line 214

def dimension_groups
  @dimension_groups
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



221
222
223
# File 'generated/google/apis/sheets_v4/classes.rb', line 221

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