class Google::Apis::ContentV2_1::Table
Attributes
A non-empty list of row or column headers for a table. Exactly one of `prices`, `weights`, `numItems`, `postalCodeGroupNames`, or `location` must be set. Corresponds to the JSON property `columnHeaders` @return [Google::Apis::ContentV2_1::Headers]
Name of the table. Required for subtables, ignored for the main table. Corresponds to the JSON property `name` @return [String]
A non-empty list of row or column headers for a table. Exactly one of `prices`, `weights`, `numItems`, `postalCodeGroupNames`, or `location` must be set. Corresponds to the JSON property `rowHeaders` @return [Google::Apis::ContentV2_1::Headers]
The list of rows that constitute the table. Must have the same length as ` rowHeaders`. Required. Corresponds to the JSON property `rows` @return [Array<Google::Apis::ContentV2_1::Row>]
Public Class Methods
# File lib/google/apis/content_v2_1/classes.rb, line 14981 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 14986 def update!(**args) @column_headers = args[:column_headers] if args.key?(:column_headers) @name = args[:name] if args.key?(:name) @row_headers = args[:row_headers] if args.key?(:row_headers) @rows = args[:rows] if args.key?(:rows) end