Class: Google::Analytics::Admin::V1alpha::AccessOrderBy
- Inherits:
-
Object
- Object
- Google::Analytics::Admin::V1alpha::AccessOrderBy
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/analytics/admin/v1alpha/access_report.rb
Overview
Order bys define how rows will be sorted in the response. For example, ordering rows by descending access count is one ordering, and ordering rows by the country string is a different ordering.
Defined Under Namespace
Classes: DimensionOrderBy, MetricOrderBy
Instance Attribute Summary collapse
-
#desc ⇒ ::Boolean
If true, sorts by descending order.
-
#dimension ⇒ ::Google::Analytics::Admin::V1alpha::AccessOrderBy::DimensionOrderBy
Sorts results by a dimension's values.
-
#metric ⇒ ::Google::Analytics::Admin::V1alpha::AccessOrderBy::MetricOrderBy
Sorts results by a metric's values.
Instance Attribute Details
#desc ⇒ ::Boolean
Returns If true, sorts by descending order. If false or unspecified, sorts in ascending order.
242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 |
# File 'proto_docs/google/analytics/admin/v1alpha/access_report.rb', line 242 class AccessOrderBy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Sorts by metric values. # @!attribute [rw] metric_name # @return [::String] # A metric name in the request to order by. class MetricOrderBy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Sorts by dimension values. # @!attribute [rw] dimension_name # @return [::String] # A dimension name in the request to order by. # @!attribute [rw] order_type # @return [::Google::Analytics::Admin::V1alpha::AccessOrderBy::DimensionOrderBy::OrderType] # Controls the rule for dimension value ordering. 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 end |
#dimension ⇒ ::Google::Analytics::Admin::V1alpha::AccessOrderBy::DimensionOrderBy
Returns Sorts results by a dimension's values.
242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 |
# File 'proto_docs/google/analytics/admin/v1alpha/access_report.rb', line 242 class AccessOrderBy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Sorts by metric values. # @!attribute [rw] metric_name # @return [::String] # A metric name in the request to order by. class MetricOrderBy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Sorts by dimension values. # @!attribute [rw] dimension_name # @return [::String] # A dimension name in the request to order by. # @!attribute [rw] order_type # @return [::Google::Analytics::Admin::V1alpha::AccessOrderBy::DimensionOrderBy::OrderType] # Controls the rule for dimension value ordering. 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 end |
#metric ⇒ ::Google::Analytics::Admin::V1alpha::AccessOrderBy::MetricOrderBy
Returns Sorts results by a metric's values.
242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 |
# File 'proto_docs/google/analytics/admin/v1alpha/access_report.rb', line 242 class AccessOrderBy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Sorts by metric values. # @!attribute [rw] metric_name # @return [::String] # A metric name in the request to order by. class MetricOrderBy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Sorts by dimension values. # @!attribute [rw] dimension_name # @return [::String] # A dimension name in the request to order by. # @!attribute [rw] order_type # @return [::Google::Analytics::Admin::V1alpha::AccessOrderBy::DimensionOrderBy::OrderType] # Controls the rule for dimension value ordering. 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 end |