Copyright | (c) 2015-2025 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <[email protected]> Toni Cebrián <[email protected]> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | GHC2021 |
Gogol.Dataflow.Projects.Locations.Jobs.GetMetrics
Contents
Description
Request the job status. To request the status of a job, we recommend using projects.locations.jobs.getMetrics
with a regional endpoint. Using projects.jobs.getMetrics
is not recommended, as you can only request the status of jobs that are running in us-central1
.
See: Dataflow API Reference for dataflow.projects.locations.jobs.getMetrics
.
Synopsis
- type DataflowProjectsLocationsJobsGetMetricsResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" Text :> ("jobs" :> (Capture "jobId" Text :> ("metrics" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "access_token" Text :> (QueryParam "callback" Text :> (QueryParam "startTime" DateTime :> (QueryParam "uploadType" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] JobMetrics))))))))))))))
- data DataflowProjectsLocationsJobsGetMetrics = DataflowProjectsLocationsJobsGetMetrics {}
- newDataflowProjectsLocationsJobsGetMetrics :: Text -> Text -> Text -> DataflowProjectsLocationsJobsGetMetrics
Resource
type DataflowProjectsLocationsJobsGetMetricsResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" Text :> ("jobs" :> (Capture "jobId" Text :> ("metrics" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "access_token" Text :> (QueryParam "callback" Text :> (QueryParam "startTime" DateTime :> (QueryParam "uploadType" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] JobMetrics)))))))))))))) Source #
A resource alias for dataflow.projects.locations.jobs.getMetrics
method which the
DataflowProjectsLocationsJobsGetMetrics
request conforms to.
Constructing a Request
data DataflowProjectsLocationsJobsGetMetrics Source #
Request the job status. To request the status of a job, we recommend using projects.locations.jobs.getMetrics
with a regional endpoint. Using projects.jobs.getMetrics
is not recommended, as you can only request the status of jobs that are running in us-central1
.
See: newDataflowProjectsLocationsJobsGetMetrics
smart constructor.
Constructors
DataflowProjectsLocationsJobsGetMetrics | |
Fields
|
Instances
newDataflowProjectsLocationsJobsGetMetrics Source #
Arguments
:: Text | The job to get metrics for. See |
-> Text | The regional endpoint that contains the job specified by job_id. See |
-> Text | A project id. See |
-> DataflowProjectsLocationsJobsGetMetrics |
Creates a value of DataflowProjectsLocationsJobsGetMetrics
with the minimum fields required to make a request.