Class: Google::Analytics::Data::V1alpha::RunPivotReportResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/analytics/data/v1alpha/analytics_data_api.rb

Overview

The response pivot report table corresponding to a pivot request.

Instance Attribute Summary collapse

Instance Attribute Details

#aggregates::Array<::Google::Analytics::Data::V1alpha::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::V1alpha::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_".



269
270
271
272
# File 'proto_docs/google/analytics/data/v1alpha/analytics_data_api.rb', line 269

class RunPivotReportResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#dimension_headers::Array<::Google::Analytics::Data::V1alpha::DimensionHeader>

Returns Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.

Returns:



269
270
271
272
# File 'proto_docs/google/analytics/data/v1alpha/analytics_data_api.rb', line 269

class RunPivotReportResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#metadata::Google::Analytics::Data::V1alpha::ResponseMetaData

Returns Metadata for the report.

Returns:



269
270
271
272
# File 'proto_docs/google/analytics/data/v1alpha/analytics_data_api.rb', line 269

class RunPivotReportResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#metric_headers::Array<::Google::Analytics::Data::V1alpha::MetricHeader>

Returns Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.

Returns:



269
270
271
272
# File 'proto_docs/google/analytics/data/v1alpha/analytics_data_api.rb', line 269

class RunPivotReportResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#pivot_headers::Array<::Google::Analytics::Data::V1alpha::PivotHeader>

Returns 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::V1alpha::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" }]
      }]
    }]
    


269
270
271
272
# File 'proto_docs/google/analytics/data/v1alpha/analytics_data_api.rb', line 269

class RunPivotReportResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#property_quota::Google::Analytics::Data::V1alpha::PropertyQuota

Returns This Analytics Property's quota state including this request.

Returns:



269
270
271
272
# File 'proto_docs/google/analytics/data/v1alpha/analytics_data_api.rb', line 269

class RunPivotReportResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#rows::Array<::Google::Analytics::Data::V1alpha::Row>

Returns Rows of dimension value combinations and metric values in the report.

Returns:



269
270
271
272
# File 'proto_docs/google/analytics/data/v1alpha/analytics_data_api.rb', line 269

class RunPivotReportResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end