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- (::Google::Analytics::Data::V1alpha::DimensionExpression) — One dimension can be the result of an expression of multiple dimensions. For example, dimension "country, city": concatenate(country, ", ", city).
#dimension_expression=
def dimension_expression=(value) -> ::Google::Analytics::Data::V1alpha::DimensionExpression- value (::Google::Analytics::Data::V1alpha::DimensionExpression) — One dimension can be the result of an expression of multiple dimensions. For example, dimension "country, city": concatenate(country, ", ", city).
- (::Google::Analytics::Data::V1alpha::DimensionExpression) — One dimension can be the result of an expression of multiple dimensions. For example, dimension "country, city": concatenate(country, ", ", city).
#name
def name() -> ::String-
(::String) — The name of the dimension. See the API
Dimensions
for the list of dimension names.
If
dimensionExpressionis specified,namecan be any string that you would like. For example if adimensionExpressionconcatenatescountryandcity, you could call that dimensioncountryAndCity.Dimensions are referenced by
nameindimensionFilter,orderBys,dimensionExpression, andpivots.
#name=
def name=(value) -> ::String-
value (::String) — The name of the dimension. See the API
Dimensions
for the list of dimension names.
If
dimensionExpressionis specified,namecan be any string that you would like. For example if adimensionExpressionconcatenatescountryandcity, you could call that dimensioncountryAndCity.Dimensions are referenced by
nameindimensionFilter,orderBys,dimensionExpression, andpivots.
-
(::String) — The name of the dimension. See the API
Dimensions
for the list of dimension names.
If
dimensionExpressionis specified,namecan be any string that you would like. For example if adimensionExpressionconcatenatescountryandcity, you could call that dimensioncountryAndCity.Dimensions are referenced by
nameindimensionFilter,orderBys,dimensionExpression, andpivots.