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

Contents

Description

Create 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.create.

Synopsis

REST Resource

type RoomsCreateResource = "games" :> ("v1" :> ("rooms" :> ("create" :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RoomCreateRequest :> Post '[JSON] Room)))))) Source #

A resource alias for games.rooms.create method which the RoomsCreate request conforms to.

Creating a Request

roomsCreate Source #

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

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

data RoomsCreate Source #

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

See: roomsCreate smart constructor.

Instances
Eq RoomsCreate Source # 
Instance details

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

Data RoomsCreate Source # 
Instance details

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

Methods

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

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

toConstr :: RoomsCreate -> Constr #

dataTypeOf :: RoomsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RoomsCreate Source # 
Instance details

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

Generic RoomsCreate Source # 
Instance details

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

Associated Types

type Rep RoomsCreate :: Type -> Type #

GoogleRequest RoomsCreate Source # 
Instance details

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

Associated Types

type Rs RoomsCreate :: Type #

type Scopes RoomsCreate :: [Symbol] #

type Rep RoomsCreate Source # 
Instance details

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

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

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

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

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

Request Lenses

rcPayload :: Lens' RoomsCreate RoomCreateRequest Source #

Multipart request metadata.

rcLanguage :: Lens' RoomsCreate (Maybe Text) Source #

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