class Google::Apis::GamesV1::MetagameConfig

This is a JSON template for the metagame config resource

Attributes

current_version[RW]

Current version of the metagame configuration data. When this data is updated, the version number will be increased by one. Corresponds to the JSON property `currentVersion` @return [Fixnum]

kind[RW]

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

player_levels[RW]

The list of player levels. Corresponds to the JSON property `playerLevels` @return [Array<Google::Apis::GamesV1::PlayerLevel>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 1714
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 1719
def update!(**args)
  @current_version = args[:current_version] if args.key?(:current_version)
  @kind = args[:kind] if args.key?(:kind)
  @player_levels = args[:player_levels] if args.key?(:player_levels)
end