Class: Google::Apis::GamesV1::AchievementUpdateMultipleResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GamesV1::AchievementUpdateMultipleResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/games_v1/classes.rb,
 generated/google/apis/games_v1/representations.rb,
 generated/google/apis/games_v1/representations.rb
Overview
This is a JSON template for an achievement unlock response.
Instance Attribute Summary collapse
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Uniquely identifies the type of this resource. 
- 
  
    
      #updated_achievements  ⇒ Array<Google::Apis::GamesV1::UpdateAchievementResponse> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The updated state of the achievements. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AchievementUpdateMultipleResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AchievementUpdateMultipleResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AchievementUpdateMultipleResponse
Returns a new instance of AchievementUpdateMultipleResponse
| 327 328 329 | # File 'generated/google/apis/games_v1/classes.rb', line 327 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#achievementUpdateListResponse.
Corresponds to the JSON property kind
| 320 321 322 | # File 'generated/google/apis/games_v1/classes.rb', line 320 def kind @kind end | 
#updated_achievements ⇒ Array<Google::Apis::GamesV1::UpdateAchievementResponse>
The updated state of the achievements.
Corresponds to the JSON property updatedAchievements
| 325 326 327 | # File 'generated/google/apis/games_v1/classes.rb', line 325 def updated_achievements @updated_achievements end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 332 333 334 335 | # File 'generated/google/apis/games_v1/classes.rb', line 332 def update!(**args) @kind = args[:kind] if args.key?(:kind) @updated_achievements = args[:updated_achievements] if args.key?(:updated_achievements) end |