gogol-games-0.0.1: Google Play Game Services SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Games.Rooms.Join

Contents

Description

Join a room. For internal use by the Games SDK only. Calling this method directly is unsupported.

See: Google Play Game Services API Reference for games.rooms.join.

Synopsis

REST Resource

type RoomsJoinResource = "games" :> ("v1" :> ("rooms" :> (Capture "roomId" Text :> ("join" :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` RoomJoinRequest :> Post `[JSON]` Room))))))) Source

A resource alias for games.rooms.join method which the RoomsJoin request conforms to.

Creating a Request

roomsJoin Source

Creates a value of RoomsJoin with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data RoomsJoin Source

Join a room. For internal use by the Games SDK only. Calling this method directly is unsupported.

See: roomsJoin smart constructor.

Request Lenses

rjPayload :: Lens' RoomsJoin RoomJoinRequest Source

Multipart request metadata.

rjRoomId :: Lens' RoomsJoin Text Source

The ID of the room.

rjLanguage :: Lens' RoomsJoin (Maybe Text) Source

The preferred language to use for strings returned by this method.