Class: Google::Apis::SheetsV4::DataSourceColumnReference

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataSourceColumnReference

Returns a new instance of DataSourceColumnReference.



3957
3958
3959
# File 'lib/google/apis/sheets_v4/classes.rb', line 3957

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

Instance Attribute Details

#nameString

The display name of the column. It should be unique within a data source. Corresponds to the JSON property name

Returns:

  • (String)


3955
3956
3957
# File 'lib/google/apis/sheets_v4/classes.rb', line 3955

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3962
3963
3964
# File 'lib/google/apis/sheets_v4/classes.rb', line 3962

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