gogol-cloudfunctions-0.4.0: Google Cloud Functions 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.CloudFunctions.Operations.Get

Contents

Description

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

See: Cloud Functions API Reference for cloudfunctions.operations.get.

Synopsis

REST Resource

type OperationsGetResource = "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] Operation))))))) Source #

A resource alias for cloudfunctions.operations.get method which the OperationsGet request conforms to.

Creating a Request

operationsGet Source #

Arguments

:: Text

ogName

-> OperationsGet 

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

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

data OperationsGet Source #

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

See: operationsGet smart constructor.

Instances
Eq OperationsGet Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Operations.Get

Data OperationsGet Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Operations.Get

Methods

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

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

toConstr :: OperationsGet -> Constr #

dataTypeOf :: OperationsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OperationsGet Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Operations.Get

Generic OperationsGet Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Operations.Get

Associated Types

type Rep OperationsGet :: Type -> Type #

GoogleRequest OperationsGet Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Operations.Get

Associated Types

type Rs OperationsGet :: Type #

type Scopes OperationsGet :: [Symbol] #

type Rep OperationsGet Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Operations.Get

type Rep OperationsGet = D1 (MetaData "OperationsGet" "Network.Google.Resource.CloudFunctions.Operations.Get" "gogol-cloudfunctions-0.4.0-6sCZoOCvrpODwDOeEfObaJ" False) (C1 (MetaCons "OperationsGet'" PrefixI True) ((S1 (MetaSel (Just "_ogXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ogUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ogAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_ogUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ogName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ogCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OperationsGet Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Operations.Get

type Scopes OperationsGet = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs OperationsGet Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Operations.Get

Request Lenses

ogUploadProtocol :: Lens' OperationsGet (Maybe Text) Source #

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

ogUploadType :: Lens' OperationsGet (Maybe Text) Source #

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

ogName :: Lens' OperationsGet Text Source #

The name of the operation resource.