Class: Google::Apis::SheetsV4::GridData
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SheetsV4::GridData
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/sheets_v4/classes.rb,
generated/google/apis/sheets_v4/representations.rb,
generated/google/apis/sheets_v4/representations.rb 
Overview
Data in the grid, as well as metadata about the dimensions.
Instance Attribute Summary collapse
- 
  
    
      #column_metadata  ⇒ Array<Google::Apis::SheetsV4::DimensionProperties> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Metadata about the requested columns in the grid, starting with the column in start_column.
 - 
  
    
      #row_data  ⇒ Array<Google::Apis::SheetsV4::RowData> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The data in the grid, one entry per row, starting with the row in startRow.
 - 
  
    
      #row_metadata  ⇒ Array<Google::Apis::SheetsV4::DimensionProperties> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Metadata about the requested rows in the grid, starting with the row in start_row.
 - 
  
    
      #start_column  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The first column this GridData refers to, zero-based.
 - 
  
    
      #start_row  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The first row this GridData refers to, zero-based.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GridData 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GridData.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GridData
Returns a new instance of GridData
      4906 4907 4908  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 4906 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#column_metadata ⇒ Array<Google::Apis::SheetsV4::DimensionProperties>
Metadata about the requested columns in the grid, starting with the column
in start_column.
Corresponds to the JSON property columnMetadata
      4880 4881 4882  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 4880 def @column_metadata end  | 
  
#row_data ⇒ Array<Google::Apis::SheetsV4::RowData>
The data in the grid, one entry per row,
starting with the row in startRow.
The values in RowData will correspond to columns starting
at start_column.
Corresponds to the JSON property rowData
      4888 4889 4890  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 4888 def row_data @row_data end  | 
  
#row_metadata ⇒ Array<Google::Apis::SheetsV4::DimensionProperties>
Metadata about the requested rows in the grid, starting with the row
in start_row.
Corresponds to the JSON property rowMetadata
      4894 4895 4896  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 4894 def @row_metadata end  | 
  
#start_column ⇒ Fixnum
The first column this GridData refers to, zero-based.
Corresponds to the JSON property startColumn
      4899 4900 4901  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 4899 def start_column @start_column end  | 
  
#start_row ⇒ Fixnum
The first row this GridData refers to, zero-based.
Corresponds to the JSON property startRow
      4904 4905 4906  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 4904 def start_row @start_row end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      4911 4912 4913 4914 4915 4916 4917  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 4911 def update!(**args) @column_metadata = args[:column_metadata] if args.key?(:column_metadata) @row_data = args[:row_data] if args.key?(:row_data) @row_metadata = args[:row_metadata] if args.key?(:row_metadata) @start_column = args[:start_column] if args.key?(:start_column) @start_row = args[:start_row] if args.key?(:start_row) end  |