Class: Google::Apis::GamesV1::UpdateEventRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GamesV1::UpdateEventRequest
 
- 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
- 
  
    
      #definition_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID of the event being modified in this update. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Uniquely identifies the type of this resource. 
- 
  
    
      #update_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of times this event occurred in this time period. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UpdateEventRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of UpdateEventRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdateEventRequest
Returns a new instance of UpdateEventRequest
| 1075 1076 1077 | # File 'generated/google/apis/games_v1/classes.rb', line 1075 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#definition_id ⇒ String
The ID of the event being modified in this update.
Corresponds to the JSON property definitionId
| 1062 1063 1064 | # File 'generated/google/apis/games_v1/classes.rb', line 1062 def definition_id @definition_id end | 
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#eventUpdateRequest.
Corresponds to the JSON property kind
| 1068 1069 1070 | # File 'generated/google/apis/games_v1/classes.rb', line 1068 def kind @kind end | 
#update_count ⇒ Fixnum
The number of times this event occurred in this time period.
Corresponds to the JSON property updateCount
| 1073 1074 1075 | # File 'generated/google/apis/games_v1/classes.rb', line 1073 def update_count @update_count end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1080 1081 1082 1083 1084 | # File 'generated/google/apis/games_v1/classes.rb', line 1080 def update!(**args) @definition_id = args[:definition_id] if args.key?(:definition_id) @kind = args[:kind] if args.key?(:kind) @update_count = args[:update_count] if args.key?(:update_count) end |