Class: Google::Apis::ContentV2::Table
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ContentV2::Table
 
- 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
- 
  
    
      #column_headers  ⇒ Google::Apis::ContentV2::Headers 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A non-empty list of row or column headers for a table. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name of the table. 
- 
  
    
      #row_headers  ⇒ Google::Apis::ContentV2::Headers 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A non-empty list of row or column headers for a table. 
- 
  
    
      #rows  ⇒ Array<Google::Apis::ContentV2::Row> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The list of rows that constitute the table. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Table 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Table. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Table
Returns a new instance of Table
| 8581 8582 8583 | # File 'generated/google/apis/content_v2/classes.rb', line 8581 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#column_headers ⇒ Google::Apis::ContentV2::Headers
A non-empty list of row or column headers for a table. Exactly one of prices,
weights, numItems, postalCodeGroupNames, or locations must be set.
Corresponds to the JSON property columnHeaders
| 8562 8563 8564 | # File 'generated/google/apis/content_v2/classes.rb', line 8562 def column_headers @column_headers end | 
#name ⇒ String
Name of the table. Required for subtables, ignored for the main table.
Corresponds to the JSON property name
| 8567 8568 8569 | # File 'generated/google/apis/content_v2/classes.rb', line 8567 def name @name end | 
#row_headers ⇒ Google::Apis::ContentV2::Headers
A non-empty list of row or column headers for a table. Exactly one of prices,
weights, numItems, postalCodeGroupNames, or locations must be set.
Corresponds to the JSON property rowHeaders
| 8573 8574 8575 | # File 'generated/google/apis/content_v2/classes.rb', line 8573 def row_headers @row_headers end | 
#rows ⇒ Array<Google::Apis::ContentV2::Row>
The list of rows that constitute the table. Must have the same length as
rowHeaders. Required.
Corresponds to the JSON property rows
| 8579 8580 8581 | # File 'generated/google/apis/content_v2/classes.rb', line 8579 def rows @rows end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 8586 8587 8588 8589 8590 8591 | # File 'generated/google/apis/content_v2/classes.rb', line 8586 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 |