Class: Google::Apis::GamesV1::RoomClientAddress
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::RoomClientAddress
- 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 the client address when setting up a room.
Instance Attribute Summary collapse
-
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#xmpp_address ⇒ String
The XMPP address of the client on the Google Games XMPP network.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RoomClientAddress
constructor
A new instance of RoomClientAddress.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RoomClientAddress
Returns a new instance of RoomClientAddress.
3013 3014 3015 |
# File 'generated/google/apis/games_v1/classes.rb', line 3013 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#roomClientAddress.
Corresponds to the JSON property kind
3006 3007 3008 |
# File 'generated/google/apis/games_v1/classes.rb', line 3006 def kind @kind end |
#xmpp_address ⇒ String
The XMPP address of the client on the Google Games XMPP network.
Corresponds to the JSON property xmppAddress
3011 3012 3013 |
# File 'generated/google/apis/games_v1/classes.rb', line 3011 def xmpp_address @xmpp_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3018 3019 3020 3021 |
# File 'generated/google/apis/games_v1/classes.rb', line 3018 def update!(**args) @kind = args[:kind] if args.key?(:kind) @xmpp_address = args[:xmpp_address] if args.key?(:xmpp_address) end |