Class: Google::Apis::SheetsV4::DataSourceColumnReference
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::DataSourceColumnReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sheets_v4/classes.rb,
lib/google/apis/sheets_v4/representations.rb,
lib/google/apis/sheets_v4/representations.rb
Overview
An unique identifier that references a data source column.
Instance Attribute Summary collapse
-
#name ⇒ String
The display name of the column.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataSourceColumnReference
constructor
A new instance of DataSourceColumnReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataSourceColumnReference
Returns a new instance of DataSourceColumnReference.
4095 4096 4097 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 4095 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The display name of the column. It should be unique within a data source.
Corresponds to the JSON property name
4093 4094 4095 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 4093 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4100 4101 4102 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 4100 def update!(**args) @name = args[:name] if args.key?(:name) end |