gogol-dataflow-0.4.0: Google Dataflow 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.Dataflow.Projects.Jobs.GetMetrics

Contents

Description

Request the job status.

See: Dataflow API Reference for dataflow.projects.jobs.getMetrics.

Synopsis

REST Resource

type ProjectsJobsGetMetricsResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (Capture "jobId" Text :> ("metrics" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "location" Text :> (QueryParam "startTime" DateTime' :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] JobMetrics))))))))))))) Source #

A resource alias for dataflow.projects.jobs.getMetrics method which the ProjectsJobsGetMetrics request conforms to.

Creating a Request

projectsJobsGetMetrics Source #

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

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

data ProjectsJobsGetMetrics Source #

Request the job status.

See: projectsJobsGetMetrics smart constructor.

Instances
Eq ProjectsJobsGetMetrics Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Jobs.GetMetrics

Data ProjectsJobsGetMetrics Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Jobs.GetMetrics

Methods

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

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

toConstr :: ProjectsJobsGetMetrics -> Constr #

dataTypeOf :: ProjectsJobsGetMetrics -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsJobsGetMetrics Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Jobs.GetMetrics

Generic ProjectsJobsGetMetrics Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Jobs.GetMetrics

Associated Types

type Rep ProjectsJobsGetMetrics :: Type -> Type #

GoogleRequest ProjectsJobsGetMetrics Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Jobs.GetMetrics

type Rep ProjectsJobsGetMetrics Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Jobs.GetMetrics

type Rep ProjectsJobsGetMetrics = D1 (MetaData "ProjectsJobsGetMetrics" "Network.Google.Resource.Dataflow.Projects.Jobs.GetMetrics" "gogol-dataflow-0.4.0-3JQL14p7A16KlOtsdaG1RC" False) (C1 (MetaCons "ProjectsJobsGetMetrics'" PrefixI True) (((S1 (MetaSel (Just "_pjgmXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pjgmJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_pjgmUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pjgmLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pjgmStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_pjgmAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pjgmUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pjgmProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pjgmCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsJobsGetMetrics Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Jobs.GetMetrics

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

Defined in Network.Google.Resource.Dataflow.Projects.Jobs.GetMetrics

Request Lenses

pjgmJobId :: Lens' ProjectsJobsGetMetrics Text Source #

The job to get messages for.

pjgmUploadProtocol :: Lens' ProjectsJobsGetMetrics (Maybe Text) Source #

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

pjgmLocation :: Lens' ProjectsJobsGetMetrics (Maybe Text) Source #

The location which contains the job specified by job_id.

pjgmStartTime :: Lens' ProjectsJobsGetMetrics (Maybe UTCTime) Source #

Return only metric data that has changed since this time. Default is to return all information about all metrics for the job.

pjgmUploadType :: Lens' ProjectsJobsGetMetrics (Maybe Text) Source #

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