Class Google::Analytics::Data::V1beta::RunPivotReportResponse

The response pivot report table corresponding to a pivot request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#aggregates

defaggregates()->::Array<::Google::Analytics::Data::V1beta::Row>
Returns
  • (::Array<::Google::Analytics::Data::V1beta::Row>) — 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_

#aggregates=

defaggregates=(value)->::Array<::Google::Analytics::Data::V1beta::Row>
Parameter
  • value (::Array<::Google::Analytics::Data::V1beta::Row>) — 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_
Returns
  • (::Array<::Google::Analytics::Data::V1beta::Row>) — 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_

#dimension_headers

defdimension_headers()->::Array<::Google::Analytics::Data::V1beta::DimensionHeader>
Returns

#dimension_headers=

defdimension_headers=(value)->::Array<::Google::Analytics::Data::V1beta::DimensionHeader>
Parameter
Returns

#kind

defkind()->::String
Returns
  • (::String) — 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.

#kind=

defkind=(value)->::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#metadata

defmetadata()->::Google::Analytics::Data::V1beta::ResponseMetaData
Returns

#metadata=

defmetadata=(value)->::Google::Analytics::Data::V1beta::ResponseMetaData
Parameter
Returns

#metric_headers

defmetric_headers()->::Array<::Google::Analytics::Data::V1beta::MetricHeader>
Returns

#metric_headers=

defmetric_headers=(value)->::Array<::Google::Analytics::Data::V1beta::MetricHeader>
Parameter
Returns

#pivot_headers

defpivot_headers()->::Array<::Google::Analytics::Data::V1beta::PivotHeader>
Returns
  • (::Array<::Google::Analytics::Data::V1beta::PivotHeader>) —

    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" }]
     }]
    }]
    

#pivot_headers=

defpivot_headers=(value)->::Array<::Google::Analytics::Data::V1beta::PivotHeader>
Parameter
  • value (::Array<::Google::Analytics::Data::V1beta::PivotHeader>) —

    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" }]
     }]
    }]
    
Returns
  • (::Array<::Google::Analytics::Data::V1beta::PivotHeader>) —

    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" }]
     }]
    }]
    

#property_quota

defproperty_quota()->::Google::Analytics::Data::V1beta::PropertyQuota
Returns

#property_quota=

defproperty_quota=(value)->::Google::Analytics::Data::V1beta::PropertyQuota
Parameter
Returns

#rows

defrows()->::Array<::Google::Analytics::Data::V1beta::Row>
Returns

#rows=

defrows=(value)->::Array<::Google::Analytics::Data::V1beta::Row>
Parameter
Returns

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.