Class: Google::Apis::GamesManagementV1management::AchievementResetMultipleForAllRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GamesManagementV1management::AchievementResetMultipleForAllRequest
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/games_management_v1management/classes.rb,
 generated/google/apis/games_management_v1management/representations.rb,
 generated/google/apis/games_management_v1management/representations.rb
Overview
This is a JSON template for multiple achievements reset all request.
Instance Attribute Summary collapse
- 
  
    
      #achievement_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The IDs of achievements to reset. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Uniquely identifies the type of this resource. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AchievementResetMultipleForAllRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AchievementResetMultipleForAllRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AchievementResetMultipleForAllRequest
Returns a new instance of AchievementResetMultipleForAllRequest
| 66 67 68 | # File 'generated/google/apis/games_management_v1management/classes.rb', line 66 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#achievement_ids ⇒ Array<String>
The IDs of achievements to reset.
Corresponds to the JSON property achievement_ids
| 58 59 60 | # File 'generated/google/apis/games_management_v1management/classes.rb', line 58 def achievement_ids @achievement_ids end | 
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string gamesManagement#achievementResetMultipleForAllRequest.
Corresponds to the JSON property kind
| 64 65 66 | # File 'generated/google/apis/games_management_v1management/classes.rb', line 64 def kind @kind end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 71 72 73 74 | # File 'generated/google/apis/games_management_v1management/classes.rb', line 71 def update!(**args) @achievement_ids = args[:achievement_ids] if args.key?(:achievement_ids) @kind = args[:kind] if args.key?(:kind) end |