Class: Google::Apis::ContentV2::Row

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Row

Returns a new instance of Row



9964
9965
9966
# File 'generated/google/apis/content_v2/classes.rb', line 9964

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

Instance Attribute Details

#cellsArray<Google::Apis::ContentV2::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

Returns:



9962
9963
9964
# File 'generated/google/apis/content_v2/classes.rb', line 9962

def cells
  @cells
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9969
9970
9971
# File 'generated/google/apis/content_v2/classes.rb', line 9969

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