Class: Google::Apis::DfareportingV2_6::SortedDimension

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v2_6/classes.rb,
generated/google/apis/dfareporting_v2_6/representations.rb,
generated/google/apis/dfareporting_v2_6/representations.rb

Overview

Represents a sorted dimension.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SortedDimension

Returns a new instance of SortedDimension



10631
10632
10633
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10631

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

Instance Attribute Details

#kindString

The kind of resource this is, in this case dfareporting#sortedDimension. Corresponds to the JSON property kind

Returns:

  • (String)


10619
10620
10621
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10619

def kind
  @kind
end

#nameString

The name of the dimension. Corresponds to the JSON property name

Returns:

  • (String)


10624
10625
10626
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10624

def name
  @name
end

#sort_orderString

An optional sort order for the dimension column. Corresponds to the JSON property sortOrder

Returns:

  • (String)


10629
10630
10631
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10629

def sort_order
  @sort_order
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10636
10637
10638
10639
10640
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 10636

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @sort_order = args[:sort_order] if args.key?(:sort_order)
end