public class Dataflow.Projects.Jobs.GetMetrics extends DataflowRequest<JobMetrics>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
GetMetrics(String projectId,
String jobId)
Request the job status.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getJobId()
The job to get metrics for.
|
String |
getLocation()
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
contains the job specified by job_id.
|
String |
getProjectId()
A project id.
|
String |
getStartTime()
Return only metric data that has changed since this time.
|
Dataflow.Projects.Jobs.GetMetrics |
set(String parameterName,
Object value) |
Dataflow.Projects.Jobs.GetMetrics |
set$Xgafv(String $Xgafv)
V1 error format.
|
Dataflow.Projects.Jobs.GetMetrics |
setAccessToken(String accessToken)
OAuth access token.
|
Dataflow.Projects.Jobs.GetMetrics |
setAlt(String alt)
Data format for response.
|
Dataflow.Projects.Jobs.GetMetrics |
setCallback(String callback)
JSONP
|
Dataflow.Projects.Jobs.GetMetrics |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Dataflow.Projects.Jobs.GetMetrics |
setJobId(String jobId)
The job to get metrics for.
|
Dataflow.Projects.Jobs.GetMetrics |
setKey(String key)
API key.
|
Dataflow.Projects.Jobs.GetMetrics |
setLocation(String location)
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-
endpoints) that contains the job specified by job_id.
|
Dataflow.Projects.Jobs.GetMetrics |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Dataflow.Projects.Jobs.GetMetrics |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Dataflow.Projects.Jobs.GetMetrics |
setProjectId(String projectId)
A project id.
|
Dataflow.Projects.Jobs.GetMetrics |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Dataflow.Projects.Jobs.GetMetrics |
setStartTime(String startTime)
Return only metric data that has changed since this time.
|
Dataflow.Projects.Jobs.GetMetrics |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Dataflow.Projects.Jobs.GetMetrics |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected GetMetrics(String projectId, String jobId)
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation. Dataflow.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
projectId
- A project id.jobId
- The job to get metrics for.public HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<JobMetrics>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<JobMetrics>
IOException
public Dataflow.Projects.Jobs.GetMetrics set$Xgafv(String $Xgafv)
DataflowRequest
set$Xgafv
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setAccessToken(String accessToken)
DataflowRequest
setAccessToken
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setAlt(String alt)
DataflowRequest
setAlt
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setCallback(String callback)
DataflowRequest
setCallback
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setFields(String fields)
DataflowRequest
setFields
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setKey(String key)
DataflowRequest
setKey
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setOauthToken(String oauthToken)
DataflowRequest
setOauthToken
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setPrettyPrint(Boolean prettyPrint)
DataflowRequest
setPrettyPrint
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setQuotaUser(String quotaUser)
DataflowRequest
setQuotaUser
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setUploadType(String uploadType)
DataflowRequest
setUploadType
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setUploadProtocol(String uploadProtocol)
DataflowRequest
setUploadProtocol
in class DataflowRequest<JobMetrics>
public String getProjectId()
public Dataflow.Projects.Jobs.GetMetrics setProjectId(String projectId)
public String getJobId()
public Dataflow.Projects.Jobs.GetMetrics setJobId(String jobId)
public String getLocation()
public Dataflow.Projects.Jobs.GetMetrics setLocation(String location)
public String getStartTime()
public Dataflow.Projects.Jobs.GetMetrics setStartTime(String startTime)
public Dataflow.Projects.Jobs.GetMetrics set(String parameterName, Object value)
set
in class DataflowRequest<JobMetrics>
Copyright © 2011–2020 Google. All rights reserved.