Class: Google::Apis::AnalyticsdataV1alpha::DimensionHeader
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1alpha::DimensionHeader
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsdata_v1alpha/classes.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb
Overview
Describes a dimension column in the report. Dimensions requested in a report produce column entries within rows and DimensionHeaders. However, dimensions used exclusively within filters or expressions do not produce columns in a report; correspondingly, those dimensions do not produce headers.
Instance Attribute Summary collapse
-
#name ⇒ String
The dimension's name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DimensionHeader
constructor
A new instance of DimensionHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DimensionHeader
Returns a new instance of DimensionHeader.
463 464 465 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 463 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The dimension's name.
Corresponds to the JSON property name
461 462 463 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 461 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
468 469 470 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 468 def update!(**args) @name = args[:name] if args.key?(:name) end |