class Google::Apis::AnalyticsdataV1alpha::RunPivotReportResponse
The response pivot report table corresponding to a pivot request.
Attributes
Aggregation of metric values. Can be totals, minimums, or maximums. The returned aggregations are controlled by the metric_aggregations in the pivot. The type of aggregation returned in each row is shown by the dimension_values which are set to “RESERVED_”. Corresponds to the JSON property `aggregates` @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows. Corresponds to the JSON property `dimensionHeaders` @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionHeader>]
Identifies what kind of resource this message is. This `kind` is always the fixed string “analyticsData#runPivotReport”. Useful to distinguish between response types in JSON. Corresponds to the JSON property `kind` @return [String]
Response's metadata carrying additional information about the report content. Corresponds to the JSON property `metadata` @return [Google::Apis::AnalyticsdataV1alpha::ResponseMetaData]
Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows. Corresponds to the JSON property `metricHeaders` @return [Array<Google::Apis::AnalyticsdataV1alpha::MetricHeader>]
Summarizes the columns and rows created by a pivot. Each pivot in the request produces one header in the response. If we have a request like this: “pivots”:
- ` “fieldNames”: [“country”, “city”
-
`, ` “fieldNames”: “eventName” `] We will
have the following `pivotHeaders` in the response: “pivotHeaders” : [` “ dimensionHeaders”: [` “dimensionValues”: [ ` “value”: “United Kingdom” `, ` “ value”: “London” ` ] `, ` “dimensionValues”: [ ` “value”: “Japan” `, ` “value”: “Osaka” ` ] `] `, ` “dimensionHeaders”: [` “dimensionValues”: [` “value”: “ session_start” `] `, ` “dimensionValues”: [` “value”: “scroll” `] `] `] Corresponds to the JSON property `pivotHeaders` @return [Array<Google::Apis::AnalyticsdataV1alpha::PivotHeader>]
Current state of all quotas for this Analytics Property. If any quota for a property is exhausted, all requests to that property will return Resource Exhausted errors. Corresponds to the JSON property `propertyQuota` @return [Google::Apis::AnalyticsdataV1alpha::PropertyQuota]
Rows of dimension value combinations and metric values in the report. Corresponds to the JSON property `rows` @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
Public Class Methods
# File lib/google/apis/analyticsdata_v1alpha/classes.rb, line 1474 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/analyticsdata_v1alpha/classes.rb, line 1479 def update!(**args) @aggregates = args[:aggregates] if args.key?(:aggregates) @dimension_headers = args[:dimension_headers] if args.key?(:dimension_headers) @kind = args[:kind] if args.key?(:kind) @metadata = args[:metadata] if args.key?(:metadata) @metric_headers = args[:metric_headers] if args.key?(:metric_headers) @pivot_headers = args[:pivot_headers] if args.key?(:pivot_headers) @property_quota = args[:property_quota] if args.key?(:property_quota) @rows = args[:rows] if args.key?(:rows) end