Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessOrderBy
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessOrderBy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1beta/classes.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb,
lib/google/apis/analyticsadmin_v1beta/representations.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.
Instance Attribute Summary collapse
-
#desc ⇒ Boolean
(also: #desc?)
If true, sorts by descending order.
-
#dimension ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy
Sorts by dimension values.
-
#metric ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy
Sorts by metric values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaAccessOrderBy
constructor
A new instance of GoogleAnalyticsAdminV1betaAccessOrderBy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaAccessOrderBy
Returns a new instance of GoogleAnalyticsAdminV1betaAccessOrderBy.
386 387 388 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 386 def initialize(**args) update!(**args) end |
Instance Attribute Details
#desc ⇒ Boolean Also known as: desc?
If true, sorts by descending order. If false or unspecified, sorts in
ascending order.
Corresponds to the JSON property desc
373 374 375 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 373 def desc @desc end |
#dimension ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy
Sorts by dimension values.
Corresponds to the JSON property dimension
379 380 381 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 379 def dimension @dimension end |
#metric ⇒ Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy
Sorts by metric values.
Corresponds to the JSON property metric
384 385 386 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 384 def metric @metric end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
391 392 393 394 395 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 391 def update!(**args) @desc = args[:desc] if args.key?(:desc) @dimension = args[:dimension] if args.key?(:dimension) @metric = args[:metric] if args.key?(:metric) end |