Class: Google::Apis::ContentV2_1::Row

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Row

Returns a new instance of Row.



13083
13084
13085
# File 'lib/google/apis/content_v2_1/classes.rb', line 13083

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

Instance Attribute Details

#cellsArray<Google::Apis::ContentV2_1::Value>

The list of cells that constitute the row. Must have the same length as columnHeaders for two-dimensional tables, a length of 1 for one-dimensional tables. Required. Corresponds to the JSON property cells



13081
13082
13083
# File 'lib/google/apis/content_v2_1/classes.rb', line 13081

def cells
  @cells
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13088
13089
13090
# File 'lib/google/apis/content_v2_1/classes.rb', line 13088

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