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



173
174
175
# File 'generated/google/apis/sheets_v4/classes.rb', line 173

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



171
172
173
# File 'generated/google/apis/sheets_v4/classes.rb', line 171

def dimension_groups
  @dimension_groups
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



178
179
180
# File 'generated/google/apis/sheets_v4/classes.rb', line 178

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