Class: Google::Apis::GamesV1::UpdateEventResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GamesV1::UpdateEventResponse
 
- 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
This is a JSON template for an event period update resource.
Instance Attribute Summary collapse
- 
  
    
      #batch_failures  ⇒ Array<Google::Apis::GamesV1::EventBatchRecordFailure> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Any batch-wide failures which occurred applying updates. 
- 
  
    
      #event_failures  ⇒ Array<Google::Apis::GamesV1::EventRecordFailure> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Any failures updating a particular event. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Uniquely identifies the type of this resource. 
- 
  
    
      #player_events  ⇒ Array<Google::Apis::GamesV1::PlayerEvent> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The current status of any updated events Corresponds to the JSON property playerEvents.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UpdateEventResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of UpdateEventResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdateEventResponse
Returns a new instance of UpdateEventResponse
| 1112 1113 1114 | # File 'generated/google/apis/games_v1/classes.rb', line 1112 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#batch_failures ⇒ Array<Google::Apis::GamesV1::EventBatchRecordFailure>
Any batch-wide failures which occurred applying updates.
Corresponds to the JSON property batchFailures
| 1094 1095 1096 | # File 'generated/google/apis/games_v1/classes.rb', line 1094 def batch_failures @batch_failures end | 
#event_failures ⇒ Array<Google::Apis::GamesV1::EventRecordFailure>
Any failures updating a particular event.
Corresponds to the JSON property eventFailures
| 1099 1100 1101 | # File 'generated/google/apis/games_v1/classes.rb', line 1099 def event_failures @event_failures end | 
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#eventUpdateResponse.
Corresponds to the JSON property kind
| 1105 1106 1107 | # File 'generated/google/apis/games_v1/classes.rb', line 1105 def kind @kind end | 
#player_events ⇒ Array<Google::Apis::GamesV1::PlayerEvent>
The current status of any updated events
Corresponds to the JSON property playerEvents
| 1110 1111 1112 | # File 'generated/google/apis/games_v1/classes.rb', line 1110 def player_events @player_events end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1117 1118 1119 1120 1121 1122 | # File 'generated/google/apis/games_v1/classes.rb', line 1117 def update!(**args) @batch_failures = args[:batch_failures] if args.key?(:batch_failures) @event_failures = args[:event_failures] if args.key?(:event_failures) @kind = args[:kind] if args.key?(:kind) @player_events = args[:player_events] if args.key?(:player_events) end |