Class: Google::Apis::GamesConfigurationV1configuration::LocalizedString
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GamesConfigurationV1configuration::LocalizedString
 
- 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 resource.
Instance Attribute Summary collapse
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Uniquely identifies the type of this resource. 
- 
  
    
      #locale  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The locale string. 
- 
  
    
      #value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The string value. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ LocalizedString 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of LocalizedString. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LocalizedString
Returns a new instance of LocalizedString
| 467 468 469 | # File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 467 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#localizedString.
Corresponds to the JSON property kind
| 455 456 457 | # File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 455 def kind @kind end | 
#locale ⇒ String
The locale string.
Corresponds to the JSON property locale
| 460 461 462 | # File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 460 def locale @locale end | 
#value ⇒ String
The string value.
Corresponds to the JSON property value
| 465 466 467 | # File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 465 def value @value end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 472 473 474 475 476 | # File 'generated/google/apis/games_configuration_v1configuration/classes.rb', line 472 def update!(**args) @kind = args[:kind] if args.key?(:kind) @locale = args[:locale] if args.key?(:locale) @value = args[:value] if args.key?(:value) end |