Class: Google::Apis::DocsV1::TableRow
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DocsV1::TableRow
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/docs_v1/classes.rb,
lib/google/apis/docs_v1/representations.rb,
lib/google/apis/docs_v1/representations.rb 
Overview
The contents and style of a row in a Table.
Instance Attribute Summary collapse
- 
  
    
      #end_index  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The zero-based end index of this row, exclusive, in UTF-16 code units.
 - 
  
    
      #start_index  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The zero-based start index of this row, in UTF-16 code units.
 - 
  
    
      #suggested_deletion_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The suggested deletion IDs.
 - 
  
    
      #suggested_insertion_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The suggested insertion IDs.
 - 
  
    
      #suggested_table_row_style_changes  ⇒ Hash<String,Google::Apis::DocsV1::SuggestedTableRowStyle> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The suggested style changes to this row, keyed by suggestion ID.
 - 
  
    
      #table_cells  ⇒ Array<Google::Apis::DocsV1::TableCell> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The contents and style of each cell in this row.
 - 
  
    
      #table_row_style  ⇒ Google::Apis::DocsV1::TableRowStyle 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Styles that apply to a table row.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TableRow 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of TableRow.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ TableRow
Returns a new instance of TableRow.
      6098 6099 6100  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 6098 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#end_index ⇒ Fixnum
The zero-based end index of this row, exclusive, in UTF-16 code units.
Corresponds to the JSON property endIndex
      6062 6063 6064  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 6062 def end_index @end_index end  | 
  
#start_index ⇒ Fixnum
The zero-based start index of this row, in UTF-16 code units.
Corresponds to the JSON property startIndex
      6067 6068 6069  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 6067 def start_index @start_index end  | 
  
#suggested_deletion_ids ⇒ Array<String>
The suggested deletion IDs. If empty, then there are no suggested deletions of
this content.
Corresponds to the JSON property suggestedDeletionIds
      6073 6074 6075  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 6073 def suggested_deletion_ids @suggested_deletion_ids end  | 
  
#suggested_insertion_ids ⇒ Array<String>
The suggested insertion IDs. A TableRow may have multiple insertion IDs if it'
s a nested suggested change. If empty, then this is not a suggested insertion.
Corresponds to the JSON property suggestedInsertionIds
      6079 6080 6081  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 6079 def suggested_insertion_ids @suggested_insertion_ids end  | 
  
#suggested_table_row_style_changes ⇒ Hash<String,Google::Apis::DocsV1::SuggestedTableRowStyle>
The suggested style changes to this row, keyed by suggestion ID.
Corresponds to the JSON property suggestedTableRowStyleChanges
      6084 6085 6086  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 6084 def suggested_table_row_style_changes @suggested_table_row_style_changes end  | 
  
#table_cells ⇒ Array<Google::Apis::DocsV1::TableCell>
The contents and style of each cell in this row. It's possible for a table to
be non-rectangular, so some rows may have a different number of cells than
other rows in the same table.
Corresponds to the JSON property tableCells
      6091 6092 6093  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 6091 def table_cells @table_cells end  | 
  
#table_row_style ⇒ Google::Apis::DocsV1::TableRowStyle
Styles that apply to a table row.
Corresponds to the JSON property tableRowStyle
      6096 6097 6098  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 6096 def table_row_style @table_row_style end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      6103 6104 6105 6106 6107 6108 6109 6110 6111  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 6103 def update!(**args) @end_index = args[:end_index] if args.key?(:end_index) @start_index = args[:start_index] if args.key?(:start_index) @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids) @suggested_table_row_style_changes = args[:suggested_table_row_style_changes] if args.key?(:suggested_table_row_style_changes) @table_cells = args[:table_cells] if args.key?(:table_cells) @table_row_style = args[:table_row_style] if args.key?(:table_row_style) end  |