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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Row

Returns a new instance of Row.



10093
10094
10095
# File 'lib/google/apis/content_v2/classes.rb', line 10093

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:



10091
10092
10093
# File 'lib/google/apis/content_v2/classes.rb', line 10091

def cells
  @cells
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10098
10099
10100
# File 'lib/google/apis/content_v2/classes.rb', line 10098

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