Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderBy
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderBy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/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::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy
Sorts by dimension values.
-
#metric ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy
Sorts by metric values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessOrderBy
constructor
A new instance of GoogleAnalyticsAdminV1alphaAccessOrderBy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessOrderBy
Returns a new instance of GoogleAnalyticsAdminV1alphaAccessOrderBy.
424 425 426 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 424 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
411 412 413 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 411 def desc @desc end |
#dimension ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy
Sorts by dimension values.
Corresponds to the JSON property dimension
417 418 419 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 417 def dimension @dimension end |
#metric ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy
Sorts by metric values.
Corresponds to the JSON property metric
422 423 424 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 422 def metric @metric end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
429 430 431 432 433 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 429 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 |