Class: Google::Analytics::Data::V1beta::OrderBy::DimensionOrderBy

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



413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 413

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::V1beta::OrderBy::DimensionOrderBy::OrderType

Returns Controls the rule for dimension value ordering.

Returns:



413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 413

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