Class: Google::Apis::GamesConfigurationV1configuration::GamesNumberAffixConfiguration

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

Overview

A number affix resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GamesNumberAffixConfiguration

Returns a new instance of GamesNumberAffixConfiguration.



203
204
205
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 203

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

Instance Attribute Details

#fewGoogle::Apis::GamesConfigurationV1configuration::LocalizedStringBundle

A localized string bundle resource. Corresponds to the JSON property few



176
177
178
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 176

def few
  @few
end

#manyGoogle::Apis::GamesConfigurationV1configuration::LocalizedStringBundle

A localized string bundle resource. Corresponds to the JSON property many



181
182
183
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 181

def many
  @many
end

#oneGoogle::Apis::GamesConfigurationV1configuration::LocalizedStringBundle

A localized string bundle resource. Corresponds to the JSON property one



186
187
188
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 186

def one
  @one
end

#otherGoogle::Apis::GamesConfigurationV1configuration::LocalizedStringBundle

A localized string bundle resource. Corresponds to the JSON property other



191
192
193
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 191

def other
  @other
end

#twoGoogle::Apis::GamesConfigurationV1configuration::LocalizedStringBundle

A localized string bundle resource. Corresponds to the JSON property two



196
197
198
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 196

def two
  @two
end

#zeroGoogle::Apis::GamesConfigurationV1configuration::LocalizedStringBundle

A localized string bundle resource. Corresponds to the JSON property zero



201
202
203
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 201

def zero
  @zero
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



208
209
210
211
212
213
214
215
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 208

def update!(**args)
  @few = args[:few] if args.key?(:few)
  @many = args[:many] if args.key?(:many)
  @one = args[:one] if args.key?(:one)
  @other = args[:other] if args.key?(:other)
  @two = args[:two] if args.key?(:two)
  @zero = args[:zero] if args.key?(:zero)
end