gogol-ml-0.4.0: Google Cloud Machine Learning Engine 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.Ml.Projects.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 Machine Learning Engine Reference for ml.projects.operations.get.

Synopsis

REST Resource

type ProjectsOperationsGetResource = "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] GoogleLongrunning__Operation))))))) Source #

A resource alias for ml.projects.operations.get method which the ProjectsOperationsGet request conforms to.

Creating a Request

projectsOperationsGet Source #

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

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

data ProjectsOperationsGet 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: projectsOperationsGet smart constructor.

Instances
Eq ProjectsOperationsGet Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Operations.Get

Data ProjectsOperationsGet Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Operations.Get

Methods

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

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

toConstr :: ProjectsOperationsGet -> Constr #

dataTypeOf :: ProjectsOperationsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsOperationsGet Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Operations.Get

Generic ProjectsOperationsGet Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Operations.Get

Associated Types

type Rep ProjectsOperationsGet :: Type -> Type #

GoogleRequest ProjectsOperationsGet Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Operations.Get

type Rep ProjectsOperationsGet Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Operations.Get

type Rep ProjectsOperationsGet = D1 (MetaData "ProjectsOperationsGet" "Network.Google.Resource.Ml.Projects.Operations.Get" "gogol-ml-0.4.0-E5tHTl2V6ffJIUGt4f8uUo" False) (C1 (MetaCons "ProjectsOperationsGet'" PrefixI True) ((S1 (MetaSel (Just "_pogXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pogUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pogAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pogUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pogName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pogCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsOperationsGet Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Operations.Get

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

Defined in Network.Google.Resource.Ml.Projects.Operations.Get

Request Lenses

pogUploadProtocol :: Lens' ProjectsOperationsGet (Maybe Text) Source #

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

pogUploadType :: Lens' ProjectsOperationsGet (Maybe Text) Source #

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

pogName :: Lens' ProjectsOperationsGet Text Source #

The name of the operation resource.