Class: Google::Analytics::Data::V1alpha::Pivot

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

Overview

Describes the visible dimension columns and rows in the report response.

Instance Attribute Summary collapse

Instance Attribute Details

#field_names::Array<::String>

Returns Dimension names for visible columns in the report response. Including "dateRange" produces a date range column; for each row in the response, dimension values in the date range column will indicate the corresponding date range from the request.

Returns:

  • (::Array<::String>)

    Dimension names for visible columns in the report response. Including "dateRange" produces a date range column; for each row in the response, dimension values in the date range column will indicate the corresponding date range from the request.



445
446
447
448
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 445

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

#limit::Integer

The number of rows to return in this pivot. If unspecified, 10 rows are returned. If -1, all rows are returned.

Returns:

  • (::Integer)

    The number of rows to return in this pivot. If unspecified, 10 rows are returned. If -1, all rows are returned.



445
446
447
448
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 445

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

#metric_aggregations::Array<::Google::Analytics::Data::V1alpha::MetricAggregation>

Returns Aggregate the metrics by dimensions in this pivot using the specified metric_aggregations.

Returns:



445
446
447
448
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 445

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

#offset::Integer

Returns The row count of the start row. The first row is counted as row 0.

Returns:

  • (::Integer)

    The row count of the start row. The first row is counted as row 0.



445
446
447
448
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 445

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

#order_bys::Array<::Google::Analytics::Data::V1alpha::OrderBy>

Returns Specifies how dimensions are ordered in the pivot. In the first Pivot, the OrderBys determine Row and PivotDimensionHeader ordering; in subsequent Pivots, the OrderBys determine only PivotDimensionHeader ordering. Dimensions specified in these OrderBys must be a subset of Pivot.field_names.

Returns:

  • (::Array<::Google::Analytics::Data::V1alpha::OrderBy>)

    Specifies how dimensions are ordered in the pivot. In the first Pivot, the OrderBys determine Row and PivotDimensionHeader ordering; in subsequent Pivots, the OrderBys determine only PivotDimensionHeader ordering. Dimensions specified in these OrderBys must be a subset of Pivot.field_names.



445
446
447
448
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 445

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