Class: Google::Apis::GamesV1::RoomAutoMatchStatus
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::RoomAutoMatchStatus
- 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 status of room automatching that is in progress.
Instance Attribute Summary collapse
-
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#wait_estimate_seconds ⇒ Fixnum
An estimate for the amount of time (in seconds) that auto-matching is expected to take to complete.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RoomAutoMatchStatus
constructor
A new instance of RoomAutoMatchStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RoomAutoMatchStatus
Returns a new instance of RoomAutoMatchStatus.
3230 3231 3232 |
# File 'generated/google/apis/games_v1/classes.rb', line 3230 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#roomAutoMatchStatus.
Corresponds to the JSON property kind
3222 3223 3224 |
# File 'generated/google/apis/games_v1/classes.rb', line 3222 def kind @kind end |
#wait_estimate_seconds ⇒ Fixnum
An estimate for the amount of time (in seconds) that auto-matching is expected
to take to complete.
Corresponds to the JSON property waitEstimateSeconds
3228 3229 3230 |
# File 'generated/google/apis/games_v1/classes.rb', line 3228 def wait_estimate_seconds @wait_estimate_seconds end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3235 3236 3237 3238 |
# File 'generated/google/apis/games_v1/classes.rb', line 3235 def update!(**args) @kind = args[:kind] if args.key?(:kind) @wait_estimate_seconds = args[:wait_estimate_seconds] if args.key?(:wait_estimate_seconds) end |