Class: Google::Apis::GamesV1::JoinRoomRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::GamesV1::JoinRoomRequest
 
 
- 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 a join room request.
Instance Attribute Summary collapse
- 
  
    
      #capabilities  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The capabilities that this client supports for realtime communication.
 - 
  
    
      #client_address  ⇒ Google::Apis::GamesV1::RoomClientAddress 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
This is a JSON template for the client address when setting up a room.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Uniquely identifies the type of this resource.
 - 
  
    
      #network_diagnostics  ⇒ Google::Apis::GamesV1::NetworkDiagnostics 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
This is a JSON template for network diagnostics reported for a client.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ JoinRoomRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of JoinRoomRequest.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ JoinRoomRequest
Returns a new instance of JoinRoomRequest
      3401 3402 3403  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 3401 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#capabilities ⇒ Array<String>
The capabilities that this client supports for realtime communication.
Corresponds to the JSON property capabilities
      3383 3384 3385  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 3383 def capabilities @capabilities end  | 
  
#client_address ⇒ Google::Apis::GamesV1::RoomClientAddress
This is a JSON template for the client address when setting up a room.
Corresponds to the JSON property clientAddress
      3388 3389 3390  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 3388 def client_address @client_address end  | 
  
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#roomJoinRequest.
Corresponds to the JSON property kind
      3394 3395 3396  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 3394 def kind @kind end  | 
  
#network_diagnostics ⇒ Google::Apis::GamesV1::NetworkDiagnostics
This is a JSON template for network diagnostics reported for a client.
Corresponds to the JSON property networkDiagnostics
      3399 3400 3401  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 3399 def network_diagnostics @network_diagnostics end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3406 3407 3408 3409 3410 3411  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 3406 def update!(**args) @capabilities = args[:capabilities] if args.key?(:capabilities) @client_address = args[:client_address] if args.key?(:client_address) @kind = args[:kind] if args.key?(:kind) @network_diagnostics = args[:network_diagnostics] if args.key?(:network_diagnostics) end  |