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
| 3300 3301 3302 | # File 'generated/google/apis/games_v1/classes.rb', line 3300 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
| 3293 3294 3295 | # File 'generated/google/apis/games_v1/classes.rb', line 3293 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
| 3298 3299 3300 | # File 'generated/google/apis/games_v1/classes.rb', line 3298 def xmpp_address @xmpp_address end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3305 3306 3307 3308 | # File 'generated/google/apis/games_v1/classes.rb', line 3305 def update!(**args) @kind = args[:kind] if args.key?(:kind) @xmpp_address = args[:xmpp_address] if args.key?(:xmpp_address) end |