Class: Google::Analytics::Data::V1alpha::OrderBy::DimensionOrderBy

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

Overview

Sorts by dimension values.

Defined Under Namespace

Modules: OrderType

Instance Attribute Summary collapse

Instance Attribute Details

#dimension_name::String

Returns A dimension name in the request to order by.

Returns:

  • (::String)

    A dimension name in the request to order by.



351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 351

class DimensionOrderBy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Rule to order the string dimension values by.
  module OrderType
    # Unspecified.
    ORDER_TYPE_UNSPECIFIED = 0

    # Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" <
    # "b" < "z".
    ALPHANUMERIC = 1

    # Case insensitive alphanumeric sort by lower case Unicode code point.
    # For example, "2" < "A" < "b" < "X" < "z".
    CASE_INSENSITIVE_ALPHANUMERIC = 2

    # Dimension values are converted to numbers before sorting. For example
    # in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" <
    # "25". Non-numeric dimension values all have equal ordering value below
    # all numeric values.
    NUMERIC = 3
  end
end

#order_type::Google::Analytics::Data::V1alpha::OrderBy::DimensionOrderBy::OrderType

Returns Controls the rule for dimension value ordering.

Returns:



351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 351

class DimensionOrderBy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Rule to order the string dimension values by.
  module OrderType
    # Unspecified.
    ORDER_TYPE_UNSPECIFIED = 0

    # Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" <
    # "b" < "z".
    ALPHANUMERIC = 1

    # Case insensitive alphanumeric sort by lower case Unicode code point.
    # For example, "2" < "A" < "b" < "X" < "z".
    CASE_INSENSITIVE_ALPHANUMERIC = 2

    # Dimension values are converted to numbers before sorting. For example
    # in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" <
    # "25". Non-numeric dimension values all have equal ordering value below
    # all numeric values.
    NUMERIC = 3
  end
end