Class: Google::Apis::AnalyticsV3::Column
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::Column
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analytics_v3/classes.rb,
generated/google/apis/analytics_v3/representations.rb,
generated/google/apis/analytics_v3/representations.rb
Overview
JSON template for a metadata column.
Instance Attribute Summary collapse
-
#attributes ⇒ Hash<String,String>
Map of attribute name and value for this column.
-
#id ⇒ String
Column id.
-
#kind ⇒ String
Resource type for Analytics column.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Column
constructor
A new instance of Column.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Column
Returns a new instance of Column
571 572 573 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 571 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attributes ⇒ Hash<String,String>
Map of attribute name and value for this column.
Corresponds to the JSON property attributes
559 560 561 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 559 def attributes @attributes end |
#id ⇒ String
Column id.
Corresponds to the JSON property id
564 565 566 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 564 def id @id end |
#kind ⇒ String
Resource type for Analytics column.
Corresponds to the JSON property kind
569 570 571 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 569 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
576 577 578 579 580 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 576 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) end |