public class Dataflow.Projects.Locations.Jobs.GetMetrics extends DataflowRequest<JobMetrics>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
GetMetrics(String projectId,
String location,
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.Locations.Jobs.GetMetrics |
set(String parameterName,
Object value) |
Dataflow.Projects.Locations.Jobs.GetMetrics |
set$Xgafv(String $Xgafv)
V1 error format.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setAccessToken(String accessToken)
OAuth access token.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setAlt(String alt)
Data format for response.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setCallback(String callback)
JSONP
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setJobId(String jobId)
The job to get metrics for.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setKey(String key)
API key.
|
Dataflow.Projects.Locations.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.Locations.Jobs.GetMetrics |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setProjectId(String projectId)
A project id.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setStartTime(String startTime)
Return only metric data that has changed since this time.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Dataflow.Projects.Locations.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, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected GetMetrics(String projectId, String location, 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.location - The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that
contains the job specified by job_id.jobId - The job to get metrics for.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<JobMetrics>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<JobMetrics>IOExceptionpublic Dataflow.Projects.Locations.Jobs.GetMetrics set$Xgafv(String $Xgafv)
DataflowRequestset$Xgafv in class DataflowRequest<JobMetrics>public Dataflow.Projects.Locations.Jobs.GetMetrics setAccessToken(String accessToken)
DataflowRequestsetAccessToken in class DataflowRequest<JobMetrics>public Dataflow.Projects.Locations.Jobs.GetMetrics setAlt(String alt)
DataflowRequestsetAlt in class DataflowRequest<JobMetrics>public Dataflow.Projects.Locations.Jobs.GetMetrics setCallback(String callback)
DataflowRequestsetCallback in class DataflowRequest<JobMetrics>public Dataflow.Projects.Locations.Jobs.GetMetrics setFields(String fields)
DataflowRequestsetFields in class DataflowRequest<JobMetrics>public Dataflow.Projects.Locations.Jobs.GetMetrics setKey(String key)
DataflowRequestsetKey in class DataflowRequest<JobMetrics>public Dataflow.Projects.Locations.Jobs.GetMetrics setOauthToken(String oauthToken)
DataflowRequestsetOauthToken in class DataflowRequest<JobMetrics>public Dataflow.Projects.Locations.Jobs.GetMetrics setPrettyPrint(Boolean prettyPrint)
DataflowRequestsetPrettyPrint in class DataflowRequest<JobMetrics>public Dataflow.Projects.Locations.Jobs.GetMetrics setQuotaUser(String quotaUser)
DataflowRequestsetQuotaUser in class DataflowRequest<JobMetrics>public Dataflow.Projects.Locations.Jobs.GetMetrics setUploadType(String uploadType)
DataflowRequestsetUploadType in class DataflowRequest<JobMetrics>public Dataflow.Projects.Locations.Jobs.GetMetrics setUploadProtocol(String uploadProtocol)
DataflowRequestsetUploadProtocol in class DataflowRequest<JobMetrics>public String getProjectId()
public Dataflow.Projects.Locations.Jobs.GetMetrics setProjectId(String projectId)
public String getLocation()
public Dataflow.Projects.Locations.Jobs.GetMetrics setLocation(String location)
public String getJobId()
public Dataflow.Projects.Locations.Jobs.GetMetrics setJobId(String jobId)
public String getStartTime()
public Dataflow.Projects.Locations.Jobs.GetMetrics setStartTime(String startTime)
public Dataflow.Projects.Locations.Jobs.GetMetrics set(String parameterName, Object value)
set in class DataflowRequest<JobMetrics>Copyright © 2011–2021 Google. All rights reserved.