Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy

Inherits:
Object
  • Object
show all
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

Sorts by dimension values.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy

Returns a new instance of GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy.



450
451
452
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 450

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dimension_nameString

A dimension name in the request to order by. Corresponds to the JSON property dimensionName

Returns:

  • (String)


443
444
445
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 443

def dimension_name
  @dimension_name
end

#order_typeString

Controls the rule for dimension value ordering. Corresponds to the JSON property orderType

Returns:

  • (String)


448
449
450
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 448

def order_type
  @order_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



455
456
457
458
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 455

def update!(**args)
  @dimension_name = args[:dimension_name] if args.key?(:dimension_name)
  @order_type = args[:order_type] if args.key?(:order_type)
end