Class: Google::Apis::GamesManagementV1management::EventsResetMultipleForAllRequest

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

Overview

This is a JSON template for multiple events reset all request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ EventsResetMultipleForAllRequest

Returns a new instance of EventsResetMultipleForAllRequest.



136
137
138
# File 'generated/google/apis/games_management_v1management/classes.rb', line 136

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#event_idsArray<String>

The IDs of events to reset. Corresponds to the JSON property event_ids

Returns:

  • (Array<String>)


128
129
130
# File 'generated/google/apis/games_management_v1management/classes.rb', line 128

def event_ids
  @event_ids
end

#kindString

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

Returns:

  • (String)


134
135
136
# File 'generated/google/apis/games_management_v1management/classes.rb', line 134

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



141
142
143
144
# File 'generated/google/apis/games_management_v1management/classes.rb', line 141

def update!(**args)
  @event_ids = args[:event_ids] if args.key?(:event_ids)
  @kind = args[:kind] if args.key?(:kind)
end