Class: Google::Apis::GamesV1::EventBatchRecordFailure
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::EventBatchRecordFailure
- 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
A batch update failure resource.
Instance Attribute Summary collapse
-
#failure_cause ⇒ String
The cause for the update failure.
-
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#range ⇒ Google::Apis::GamesV1::EventPeriodRange
An event period time range.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventBatchRecordFailure
constructor
A new instance of EventBatchRecordFailure.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EventBatchRecordFailure
Returns a new instance of EventBatchRecordFailure.
716 717 718 |
# File 'generated/google/apis/games_v1/classes.rb', line 716 def initialize(**args) update!(**args) end |
Instance Attribute Details
#failure_cause ⇒ String
The cause for the update failure.
Corresponds to the JSON property failureCause
703 704 705 |
# File 'generated/google/apis/games_v1/classes.rb', line 703 def failure_cause @failure_cause end |
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#eventBatchRecordFailure
.
Corresponds to the JSON property kind
709 710 711 |
# File 'generated/google/apis/games_v1/classes.rb', line 709 def kind @kind end |
#range ⇒ Google::Apis::GamesV1::EventPeriodRange
An event period time range.
Corresponds to the JSON property range
714 715 716 |
# File 'generated/google/apis/games_v1/classes.rb', line 714 def range @range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
721 722 723 724 725 |
# File 'generated/google/apis/games_v1/classes.rb', line 721 def update!(**args) @failure_cause = args[:failure_cause] if args.key?(:failure_cause) @kind = args[:kind] if args.key?(:kind) @range = args[:range] if args.key?(:range) end |