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

Copyright(c) 2015-2016 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 "consistencyToken" (Textual Int64) :> (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:

data RoomsGet Source #

Get the data for a room.

See: roomsGet smart constructor.

Instances

Eq RoomsGet Source # 
Data RoomsGet Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RoomsGet -> c RoomsGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RoomsGet #

toConstr :: RoomsGet -> Constr #

dataTypeOf :: RoomsGet -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RoomsGet) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RoomsGet) #

gmapT :: (forall b. Data b => b -> b) -> RoomsGet -> RoomsGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RoomsGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RoomsGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> RoomsGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RoomsGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RoomsGet -> m RoomsGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RoomsGet -> m RoomsGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RoomsGet -> m RoomsGet #

Show RoomsGet Source # 
Generic RoomsGet Source # 

Associated Types

type Rep RoomsGet :: * -> * #

Methods

from :: RoomsGet -> Rep RoomsGet x #

to :: Rep RoomsGet x -> RoomsGet #

GoogleRequest RoomsGet Source # 

Associated Types

type Rs RoomsGet :: * #

type Scopes RoomsGet :: [Symbol] #

type Rep RoomsGet Source # 
type Rep RoomsGet = D1 (MetaData "RoomsGet" "Network.Google.Resource.Games.Rooms.Get" "gogol-games-0.2.0-KphkSErLqFDEpZZf11weia" False) (C1 (MetaCons "RoomsGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rgConsistencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_rgRoomId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_rgLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes RoomsGet Source # 
type Scopes RoomsGet = (:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs RoomsGet Source # 

Request Lenses

rgConsistencyToken :: Lens' RoomsGet (Maybe Int64) Source #

The last-seen mutation timestamp.

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.