Class: Google::Apis::AnalyticsreportingV4::ColumnHeader
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsreportingV4::ColumnHeader
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsreporting_v4/classes.rb,
generated/google/apis/analyticsreporting_v4/representations.rb,
generated/google/apis/analyticsreporting_v4/representations.rb
Overview
Column headers.
Instance Attribute Summary collapse
-
#dimensions ⇒ Array<String>
The dimension names in the response.
-
#metric_header ⇒ Google::Apis::AnalyticsreportingV4::MetricHeader
The headers for the metrics.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ColumnHeader
constructor
A new instance of ColumnHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ColumnHeader
Returns a new instance of ColumnHeader
1239 1240 1241 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1239 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimensions ⇒ Array<String>
The dimension names in the response.
Corresponds to the JSON property dimensions
1232 1233 1234 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1232 def dimensions @dimensions end |
#metric_header ⇒ Google::Apis::AnalyticsreportingV4::MetricHeader
The headers for the metrics.
Corresponds to the JSON property metricHeader
1237 1238 1239 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1237 def metric_header @metric_header end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1244 1245 1246 1247 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1244 def update!(**args) @dimensions = args[:dimensions] if args.key?(:dimensions) @metric_header = args[:metric_header] if args.key?(:metric_header) end |