class Google::Apis::GamesV1::JoinRoomRequest

This is a JSON template for a join room request.

Attributes

capabilities[RW]

The capabilities that this client supports for realtime communication. Corresponds to the JSON property `capabilities` @return [Array<String>]

client_address[RW]

This is a JSON template for the client address when setting up a room. Corresponds to the JSON property `clientAddress` @return [Google::Apis::GamesV1::RoomClientAddress]

kind[RW]

Uniquely identifies the type of this resource. Value is always the fixed string games#roomJoinRequest. Corresponds to the JSON property `kind` @return [String]

network_diagnostics[RW]

This is a JSON template for network diagnostics reported for a client. Corresponds to the JSON property `networkDiagnostics` @return [Google::Apis::GamesV1::NetworkDiagnostics]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 3365
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/games_v1/classes.rb, line 3370
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