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.Get

Contents

Description

Get the data for a room.

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

Synopsis

REST Resource

type RoomsGetResource = "games" :> ("v1" :> ("rooms" :> (Capture "roomId" Text :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` Room))))) Source

A resource alias for games.rooms.get method which the RoomsGet request conforms to.

Creating a Request

roomsGet Source

Arguments

:: Text

rgRoomId

-> RoomsGet 

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

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

Request Lenses

rgRoomId :: Lens' RoomsGet Text Source

The ID of the room.

rgLanguage :: Lens' RoomsGet (Maybe Text) Source

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