Class: Google::Analytics::Data::V1beta::DimensionExpression
- Inherits:
-
Object
- Object
- Google::Analytics::Data::V1beta::DimensionExpression
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/analytics/data/v1beta/data.rb
Overview
Used to express a dimension which is the result of a formula of multiple dimensions. Example usages: 1) lower_case(dimension) 2) concatenate(dimension1, symbol, dimension2).
Defined Under Namespace
Classes: CaseExpression, ConcatenateExpression
Instance Attribute Summary collapse
-
#concatenate ⇒ ::Google::Analytics::Data::V1beta::DimensionExpression::ConcatenateExpression
Used to combine dimension values to a single dimension.
-
#lower_case ⇒ ::Google::Analytics::Data::V1beta::DimensionExpression::CaseExpression
Used to convert a dimension value to lower case.
-
#upper_case ⇒ ::Google::Analytics::Data::V1beta::DimensionExpression::CaseExpression
Used to convert a dimension value to upper case.
Instance Attribute Details
#concatenate ⇒ ::Google::Analytics::Data::V1beta::DimensionExpression::ConcatenateExpression
Returns Used to combine dimension values to a single dimension. For example, dimension "country, city": concatenate(country, ", ", city).
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 133 class DimensionExpression include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Used to convert a dimension value to a single case. # @!attribute [rw] dimension_name # @return [::String] # Name of a dimension. The name must refer back to a name in dimensions # field of the request. class CaseExpression include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Used to combine dimension values to a single dimension. # @!attribute [rw] dimension_names # @return [::Array<::String>] # Names of dimensions. The names must refer back to names in the dimensions # field of the request. # @!attribute [rw] delimiter # @return [::String] # The delimiter placed between dimension names. # # Delimiters are often single characters such as "|" or "," but can be # longer strings. If a dimension value contains the delimiter, both will be # present in response with no distinction. For example if dimension 1 value # = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the # response will contain "US,FR,JP". class ConcatenateExpression include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#lower_case ⇒ ::Google::Analytics::Data::V1beta::DimensionExpression::CaseExpression
Returns Used to convert a dimension value to lower case.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 133 class DimensionExpression include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Used to convert a dimension value to a single case. # @!attribute [rw] dimension_name # @return [::String] # Name of a dimension. The name must refer back to a name in dimensions # field of the request. class CaseExpression include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Used to combine dimension values to a single dimension. # @!attribute [rw] dimension_names # @return [::Array<::String>] # Names of dimensions. The names must refer back to names in the dimensions # field of the request. # @!attribute [rw] delimiter # @return [::String] # The delimiter placed between dimension names. # # Delimiters are often single characters such as "|" or "," but can be # longer strings. If a dimension value contains the delimiter, both will be # present in response with no distinction. For example if dimension 1 value # = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the # response will contain "US,FR,JP". class ConcatenateExpression include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#upper_case ⇒ ::Google::Analytics::Data::V1beta::DimensionExpression::CaseExpression
Returns Used to convert a dimension value to upper case.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 133 class DimensionExpression include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Used to convert a dimension value to a single case. # @!attribute [rw] dimension_name # @return [::String] # Name of a dimension. The name must refer back to a name in dimensions # field of the request. class CaseExpression include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Used to combine dimension values to a single dimension. # @!attribute [rw] dimension_names # @return [::Array<::String>] # Names of dimensions. The names must refer back to names in the dimensions # field of the request. # @!attribute [rw] delimiter # @return [::String] # The delimiter placed between dimension names. # # Delimiters are often single characters such as "|" or "," but can be # longer strings. If a dimension value contains the delimiter, both will be # present in response with no distinction. For example if dimension 1 value # = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the # response will contain "US,FR,JP". class ConcatenateExpression include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |