gogol-chat-0.4.0: Google Hangouts Chat 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.Chat.Spaces.Get

Contents

Description

Returns a space.

See: Hangouts Chat API Reference for chat.spaces.get.

Synopsis

REST Resource

type SpacesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Space))))))) Source #

A resource alias for chat.spaces.get method which the SpacesGet request conforms to.

Creating a Request

spacesGet Source #

Arguments

:: Text

sgName

-> SpacesGet 

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

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

data SpacesGet Source #

Returns a space.

See: spacesGet smart constructor.

Instances
Eq SpacesGet Source # 
Instance details

Defined in Network.Google.Resource.Chat.Spaces.Get

Data SpacesGet Source # 
Instance details

Defined in Network.Google.Resource.Chat.Spaces.Get

Methods

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

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

toConstr :: SpacesGet -> Constr #

dataTypeOf :: SpacesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SpacesGet Source # 
Instance details

Defined in Network.Google.Resource.Chat.Spaces.Get

Generic SpacesGet Source # 
Instance details

Defined in Network.Google.Resource.Chat.Spaces.Get

Associated Types

type Rep SpacesGet :: Type -> Type #

GoogleRequest SpacesGet Source # 
Instance details

Defined in Network.Google.Resource.Chat.Spaces.Get

Associated Types

type Rs SpacesGet :: Type #

type Scopes SpacesGet :: [Symbol] #

type Rep SpacesGet Source # 
Instance details

Defined in Network.Google.Resource.Chat.Spaces.Get

type Rep SpacesGet = D1 (MetaData "SpacesGet" "Network.Google.Resource.Chat.Spaces.Get" "gogol-chat-0.4.0-Hx9iuEakGYJtTWKZeZRZC" False) (C1 (MetaCons "SpacesGet'" PrefixI True) ((S1 (MetaSel (Just "_sgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_sgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_sgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SpacesGet Source # 
Instance details

Defined in Network.Google.Resource.Chat.Spaces.Get

type Scopes SpacesGet = ([] :: [Symbol])
type Rs SpacesGet Source # 
Instance details

Defined in Network.Google.Resource.Chat.Spaces.Get

Request Lenses

sgXgafv :: Lens' SpacesGet (Maybe Xgafv) Source #

V1 error format.

sgUploadProtocol :: Lens' SpacesGet (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

sgAccessToken :: Lens' SpacesGet (Maybe Text) Source #

OAuth access token.

sgUploadType :: Lens' SpacesGet (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

sgName :: Lens' SpacesGet Text Source #

Required. Resource name of the space, in the form "spaces/*". Example: spaces/AAAAMpdlehY