Class: Google::Analytics::Data::V1alpha::DimensionExpression

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/analytics/data/v1alpha/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

Instance Attribute Details

#concatenate::Google::Analytics::Data::V1alpha::DimensionExpression::ConcatenateExpression

Returns Used to combine dimension values to a single dimension. For example, dimension "country, city": concatenate(country, ", ", city).

Returns:



99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 99

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::V1alpha::DimensionExpression::CaseExpression

Returns Used to convert a dimension value to lower case.

Returns:



99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 99

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::V1alpha::DimensionExpression::CaseExpression

Returns Used to convert a dimension value to upper case.

Returns:



99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 99

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