Class: Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle

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 localized string bundle resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LocalizedStringBundle

Returns a new instance of LocalizedStringBundle.



478
479
480
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 478

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

Instance Attribute Details

#kindString

Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle. Corresponds to the JSON property kind

Returns:

  • (String)


471
472
473
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 471

def kind
  @kind
end

#translationsArray<Google::Apis::GamesConfigurationV1configuration::LocalizedString>

The locale strings. Corresponds to the JSON property translations



476
477
478
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 476

def translations
  @translations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



483
484
485
486
# File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 483

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