Class: Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle
 
- 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
This is a JSON template for a localized string bundle resource.
Instance Attribute Summary collapse
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Uniquely identifies the type of this resource. 
- 
  
    
      #translations  ⇒ Array<Google::Apis::GamesConfigurationV1configuration::LocalizedString> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The locale strings. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ LocalizedStringBundle 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of LocalizedStringBundle. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LocalizedStringBundle
Returns a new instance of LocalizedStringBundle
| 494 495 496 | # File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 494 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string gamesConfiguration#localizedStringBundle.
Corresponds to the JSON property kind
| 487 488 489 | # File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 487 def kind @kind end | 
#translations ⇒ Array<Google::Apis::GamesConfigurationV1configuration::LocalizedString>
The locale strings.
Corresponds to the JSON property translations
| 492 493 494 | # File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 492 def translations @translations end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 499 500 501 502 | # File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 499 def update!(**args) @kind = args[:kind] if args.key?(:kind) @translations = args[:translations] if args.key?(:translations) end |