Class: Google::Apis::AnalyticsreportingV4::MetricHeader
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsreportingV4::MetricHeader
- 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
The headers for the metrics.
Instance Attribute Summary collapse
-
#metric_header_entries ⇒ Array<Google::Apis::AnalyticsreportingV4::MetricHeaderEntry>
Headers for the metrics in the response.
-
#pivot_headers ⇒ Array<Google::Apis::AnalyticsreportingV4::PivotHeader>
Headers for the pivots in the response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MetricHeader
constructor
A new instance of MetricHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MetricHeader
Returns a new instance of MetricHeader
570 571 572 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 570 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metric_header_entries ⇒ Array<Google::Apis::AnalyticsreportingV4::MetricHeaderEntry>
Headers for the metrics in the response.
Corresponds to the JSON property metricHeaderEntries
563 564 565 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 563 def metric_header_entries @metric_header_entries end |
#pivot_headers ⇒ Array<Google::Apis::AnalyticsreportingV4::PivotHeader>
Headers for the pivots in the response.
Corresponds to the JSON property pivotHeaders
568 569 570 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 568 def pivot_headers @pivot_headers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
575 576 577 578 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 575 def update!(**args) @metric_header_entries = args[:metric_header_entries] if args.key?(:metric_header_entries) @pivot_headers = args[:pivot_headers] if args.key?(:pivot_headers) end |