Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Request the job status.
See: Dataflow API Reference for dataflow.projects.locations.jobs.getMetrics
.
Synopsis
- type ProjectsLocationsJobsGetMetricsResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" Text :> ("jobs" :> (Capture "jobId" Text :> ("metrics" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "startTime" DateTime' :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] JobMetrics))))))))))))))
- projectsLocationsJobsGetMetrics :: Text -> Text -> Text -> ProjectsLocationsJobsGetMetrics
- data ProjectsLocationsJobsGetMetrics
- pljgmXgafv :: Lens' ProjectsLocationsJobsGetMetrics (Maybe Xgafv)
- pljgmJobId :: Lens' ProjectsLocationsJobsGetMetrics Text
- pljgmUploadProtocol :: Lens' ProjectsLocationsJobsGetMetrics (Maybe Text)
- pljgmLocation :: Lens' ProjectsLocationsJobsGetMetrics Text
- pljgmStartTime :: Lens' ProjectsLocationsJobsGetMetrics (Maybe UTCTime)
- pljgmAccessToken :: Lens' ProjectsLocationsJobsGetMetrics (Maybe Text)
- pljgmUploadType :: Lens' ProjectsLocationsJobsGetMetrics (Maybe Text)
- pljgmProjectId :: Lens' ProjectsLocationsJobsGetMetrics Text
- pljgmCallback :: Lens' ProjectsLocationsJobsGetMetrics (Maybe Text)
REST Resource
type ProjectsLocationsJobsGetMetricsResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" Text :> ("jobs" :> (Capture "jobId" Text :> ("metrics" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" 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.locations.jobs.getMetrics
method which the
ProjectsLocationsJobsGetMetrics
request conforms to.
Creating a Request
projectsLocationsJobsGetMetrics Source #
Creates a value of ProjectsLocationsJobsGetMetrics
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsJobsGetMetrics Source #
Request the job status.
See: projectsLocationsJobsGetMetrics
smart constructor.
Instances
Request Lenses
pljgmXgafv :: Lens' ProjectsLocationsJobsGetMetrics (Maybe Xgafv) Source #
V1 error format.
pljgmJobId :: Lens' ProjectsLocationsJobsGetMetrics Text Source #
The job to get messages for.
pljgmUploadProtocol :: Lens' ProjectsLocationsJobsGetMetrics (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pljgmLocation :: Lens' ProjectsLocationsJobsGetMetrics Text Source #
The location which contains the job specified by job_id.
pljgmStartTime :: Lens' ProjectsLocationsJobsGetMetrics (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.
pljgmAccessToken :: Lens' ProjectsLocationsJobsGetMetrics (Maybe Text) Source #
OAuth access token.
pljgmUploadType :: Lens' ProjectsLocationsJobsGetMetrics (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pljgmProjectId :: Lens' ProjectsLocationsJobsGetMetrics Text Source #
A project id.