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
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.
Constructor Details
#initialize(**args) ⇒ UpdateEventRequest
Returns a new instance of UpdateEventRequest.
1006 1007 1008 |
# File 'generated/google/apis/games_v1/classes.rb', line 1006 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
993 994 995 |
# File 'generated/google/apis/games_v1/classes.rb', line 993 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
999 1000 1001 |
# File 'generated/google/apis/games_v1/classes.rb', line 999 def kind @kind end |
#update_count ⇒ Fixnum
The number of times this event occurred in this time period.
Corresponds to the JSON property updateCount
1004 1005 1006 |
# File 'generated/google/apis/games_v1/classes.rb', line 1004 def update_count @update_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1011 1012 1013 1014 1015 |
# File 'generated/google/apis/games_v1/classes.rb', line 1011 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 |