Class: Google::Apis::GamesV1::BatchRecordEventsResponse
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::BatchRecordEventsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/games_v1/classes.rb,
lib/google/apis/games_v1/representations.rb,
lib/google/apis/games_v1/representations.rb
Overview
A successful response indicates that the batch of events has been processed.
Instance Attribute Summary collapse
-
#failed_requests ⇒ Hash<String,Google::Apis::GamesV1::Status>
Map of failed events, keyed by their zero-based index in
BatchRecordEventsRequest.events.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchRecordEventsResponse
constructor
A new instance of BatchRecordEventsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchRecordEventsResponse
Returns a new instance of BatchRecordEventsResponse.
671 672 673 |
# File 'lib/google/apis/games_v1/classes.rb', line 671 def initialize(**args) update!(**args) end |
Instance Attribute Details
#failed_requests ⇒ Hash<String,Google::Apis::GamesV1::Status>
Map of failed events, keyed by their zero-based index in
BatchRecordEventsRequest.events. Omitted keys indicate successful recording.
Corresponds to the JSON property failedRequests
669 670 671 |
# File 'lib/google/apis/games_v1/classes.rb', line 669 def failed_requests @failed_requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
676 677 678 |
# File 'lib/google/apis/games_v1/classes.rb', line 676 def update!(**args) @failed_requests = args[:failed_requests] if args.key?(:failed_requests) end |