Class: Google::Apis::GamesManagementV1management::AchievementResetMultipleForAllRequest

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idsArray<String>

The IDs of achievements to reset. Corresponds to the JSON property achievement_ids

Returns:

  • (Array<String>)


58
59
60
# File 'generated/google/apis/games_management_v1management/classes.rb', line 58

def achievement_ids
  @achievement_ids
end

#kindString

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

Returns:

  • (String)


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