Class: Google::Apis::SheetsV4::DataSourceSheetDimensionRange

Inherits:
Object
  • Object
show all
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

A range along a single dimension on a DATA_SOURCE sheet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataSourceSheetDimensionRange

Returns a new instance of DataSourceSheetDimensionRange.



4169
4170
4171
# File 'generated/google/apis/sheets_v4/classes.rb', line 4169

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#column_referencesArray<Google::Apis::SheetsV4::DataSourceColumnReference>

The columns on the data source sheet. Corresponds to the JSON property columnReferences



4162
4163
4164
# File 'generated/google/apis/sheets_v4/classes.rb', line 4162

def column_references
  @column_references
end

#sheet_idFixnum

The ID of the data source sheet the range is on. Corresponds to the JSON property sheetId

Returns:

  • (Fixnum)


4167
4168
4169
# File 'generated/google/apis/sheets_v4/classes.rb', line 4167

def sheet_id
  @sheet_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4174
4175
4176
4177
# File 'generated/google/apis/sheets_v4/classes.rb', line 4174

def update!(**args)
  @column_references = args[:column_references] if args.key?(:column_references)
  @sheet_id = args[:sheet_id] if args.key?(:sheet_id)
end