class Google::Apis::PartnersV2::Rank

Information related to ranking of results.

Attributes

type[RW]

The type of rank. Corresponds to the JSON property `type` @return [String]

value[RW]

The numerical value of the rank. Corresponds to the JSON property `value` @return [Float]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/partners_v2/classes.rb, line 808
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/partners_v2/classes.rb, line 813
def update!(**args)
  @type = args[:type] if args.key?(:type)
  @value = args[:value] if args.key?(:value)
end