Google Analytics Data V1alpha API - Class Google::Analytics::Data::V1alpha::Dimension (v0.8.3)

Reference documentation and code samples for the Google Analytics Data V1alpha API class Google::Analytics::Data::V1alpha::Dimension.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#dimension_expression

def dimension_expression() -> ::Google::Analytics::Data::V1alpha::DimensionExpression
Returns

#dimension_expression=

def dimension_expression=(value) -> ::Google::Analytics::Data::V1alpha::DimensionExpression
Parameter
Returns

#name

def name() -> ::String
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.

#name=

def name=(value) -> ::String
Parameter
  • value (::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.

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.