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.jobs.getMetrics
.
Synopsis
- 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)))))))))))))
- projectsJobsGetMetrics :: Text -> Text -> ProjectsJobsGetMetrics
- data ProjectsJobsGetMetrics
- pjgmXgafv :: Lens' ProjectsJobsGetMetrics (Maybe Xgafv)
- pjgmJobId :: Lens' ProjectsJobsGetMetrics Text
- pjgmUploadProtocol :: Lens' ProjectsJobsGetMetrics (Maybe Text)
- pjgmLocation :: Lens' ProjectsJobsGetMetrics (Maybe Text)
- pjgmStartTime :: Lens' ProjectsJobsGetMetrics (Maybe UTCTime)
- pjgmAccessToken :: Lens' ProjectsJobsGetMetrics (Maybe Text)
- pjgmUploadType :: Lens' ProjectsJobsGetMetrics (Maybe Text)
- pjgmProjectId :: Lens' ProjectsJobsGetMetrics Text
- pjgmCallback :: Lens' ProjectsJobsGetMetrics (Maybe Text)
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
Request Lenses
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.
pjgmAccessToken :: Lens' ProjectsJobsGetMetrics (Maybe Text) Source #
OAuth access token.
pjgmUploadType :: Lens' ProjectsJobsGetMetrics (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjgmProjectId :: Lens' ProjectsJobsGetMetrics Text Source #
A project id.
pjgmCallback :: Lens' ProjectsJobsGetMetrics (Maybe Text) Source #
JSONP