gogol-games-0.4.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 "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 # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.Get

Data RoomsGet Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.Get

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 # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.Get

Generic RoomsGet Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.Get

Associated Types

type Rep RoomsGet :: Type -> Type #

Methods

from :: RoomsGet -> Rep RoomsGet x #

to :: Rep RoomsGet x -> RoomsGet #

GoogleRequest RoomsGet Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.Get

Associated Types

type Rs RoomsGet :: Type #

type Scopes RoomsGet :: [Symbol] #

type Rep RoomsGet Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.Get

type Rep RoomsGet = D1 (MetaData "RoomsGet" "Network.Google.Resource.Games.Rooms.Get" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "RoomsGet'" PrefixI True) (S1 (MetaSel (Just "_rgRoomId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rgLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))
type Scopes RoomsGet Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.Get

type Scopes RoomsGet = "https://www.googleapis.com/auth/games" ': ([] :: [Symbol])
type Rs RoomsGet Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.Get

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.