class Google::Apis::GamesV1::QuestContribution

This is a JSON template for a Quest Criterion Contribution resource.

Attributes

formatted_value[RW]

The formatted value of the contribution as a string. Format depends on the configuration for the associated event definition in the Play Games Developer Console. Corresponds to the JSON property `formattedValue` @return [String]

kind[RW]

Uniquely identifies the type of this resource. Value is always the fixed string games#questContribution. Corresponds to the JSON property `kind` @return [String]

value[RW]

The value of the contribution. Corresponds to the JSON property `value` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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