Class: Google::Apis::GamesV1::EventBatchRecordFailure

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

Instance Method Summary collapse

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_causeString

The cause for the update failure. Corresponds to the JSON property failureCause

Returns:

  • (String)


703
704
705
# File 'generated/google/apis/games_v1/classes.rb', line 703

def failure_cause
  @failure_cause
end

#kindString

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

Returns:

  • (String)


709
710
711
# File 'generated/google/apis/games_v1/classes.rb', line 709

def kind
  @kind
end

#rangeGoogle::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