Class: Google::Apis::DocsV1::TableCellLocation
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DocsV1::TableCellLocation
 
 
- 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
Location of a single cell within a table.
Instance Attribute Summary collapse
- 
  
    
      #column_index  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The zero-based column index.
 - 
  
    
      #row_index  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The zero-based row index.
 - 
  
    
      #table_start_location  ⇒ Google::Apis::DocsV1::Location 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A particular location in the document.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TableCellLocation 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of TableCellLocation.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ TableCellLocation
Returns a new instance of TableCellLocation.
      5758 5759 5760  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 5758 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#column_index ⇒ Fixnum
The zero-based column index. For example, the second column in the table has a
column index of 1.
Corresponds to the JSON property columnIndex
      5745 5746 5747  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 5745 def column_index @column_index end  | 
  
#row_index ⇒ Fixnum
The zero-based row index. For example, the second row in the table has a row
index of 1.
Corresponds to the JSON property rowIndex
      5751 5752 5753  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 5751 def row_index @row_index end  | 
  
#table_start_location ⇒ Google::Apis::DocsV1::Location
A particular location in the document.
Corresponds to the JSON property tableStartLocation
      5756 5757 5758  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 5756 def table_start_location @table_start_location end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      5763 5764 5765 5766 5767  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 5763 def update!(**args) @column_index = args[:column_index] if args.key?(:column_index) @row_index = args[:row_index] if args.key?(:row_index) @table_start_location = args[:table_start_location] if args.key?(:table_start_location) end  |