Class: Google::Analytics::Data::V1alpha::Dimension

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

Overview

Dimensions are attributes of your data. For example, the dimension city indicates the city from which an event originates. Dimension values in report responses are strings; for example, city could be "Paris" or "New York". Requests are allowed up to 8 dimensions.

Instance Attribute Summary collapse

Instance Attribute Details

#dimension_expression::Google::Analytics::Data::V1alpha::DimensionExpression

Returns One dimension can be the result of an expression of multiple dimensions. For example, dimension "country, city": concatenate(country, ", ", city).

Returns:



80
81
82
83
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 80

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

#name::String

Returns The name of the dimension. See the API Dimensions for the list of dimension names.

If dimensionExpression is specified, name can be any string that you would like. For example if a dimensionExpression concatenates country and city, you could call that dimension countryAndCity.

Dimensions are referenced by name in dimensionFilter, orderBys, dimensionExpression, and pivots.

Returns:

  • (::String)

    The name of the dimension. See the API Dimensions for the list of dimension names.

    If dimensionExpression is specified, name can be any string that you would like. For example if a dimensionExpression concatenates country and city, you could call that dimension countryAndCity.

    Dimensions are referenced by name in dimensionFilter, orderBys, dimensionExpression, and pivots.



80
81
82
83
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 80

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