public class Dataflow.Projects.Locations.Jobs.GetMetrics extends DataflowRequest<JobMetrics>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Dataflow.Projects.Locations.Jobs.GetMetrics(java.lang.String projectId,
java.lang.String location,
java.lang.String jobId)
Request the job status.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getJobId()
The job to get messages for.
|
java.lang.String |
getLocation()
The location which contains the job specified by job_id.
|
java.lang.String |
getProjectId()
A project id.
|
java.lang.String |
getStartTime()
Return only metric data that has changed since this time.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
set(java.lang.String parameterName,
java.lang.Object value) |
Dataflow.Projects.Locations.Jobs.GetMetrics |
set$Xgafv(java.lang.String $Xgafv)
V1 error format.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setAccessToken(java.lang.String accessToken)
OAuth access token.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setAlt(java.lang.String alt)
Data format for response.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setBearerToken(java.lang.String bearerToken)
OAuth bearer token.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setCallback(java.lang.String callback)
JSONP
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setJobId(java.lang.String jobId)
The job to get messages for.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setKey(java.lang.String key)
API key.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setLocation(java.lang.String location)
The location which contains the job specified by job_id.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setPp(java.lang.Boolean pp)
Pretty-print response.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setProjectId(java.lang.String projectId)
A project id.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setStartTime(java.lang.String startTime)
Return only metric data that has changed since this time.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setUploadProtocol(java.lang.String uploadProtocol)
Upload protocol for media (e.g.
|
Dataflow.Projects.Locations.Jobs.GetMetrics |
setUploadType(java.lang.String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getBearerToken, getCallback, getFields, getKey, getOauthToken, getPp, 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, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
protected Dataflow.Projects.Locations.Jobs.GetMetrics(java.lang.String projectId, java.lang.String location, java.lang.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 location which contains the job specified by job_id.jobId
- The job to get messages for.public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<JobMetrics>
java.io.IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<JobMetrics>
java.io.IOException
public Dataflow.Projects.Locations.Jobs.GetMetrics set$Xgafv(java.lang.String $Xgafv)
DataflowRequest
set$Xgafv
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Locations.Jobs.GetMetrics setAccessToken(java.lang.String accessToken)
DataflowRequest
setAccessToken
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Locations.Jobs.GetMetrics setAlt(java.lang.String alt)
DataflowRequest
setAlt
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Locations.Jobs.GetMetrics setBearerToken(java.lang.String bearerToken)
DataflowRequest
setBearerToken
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Locations.Jobs.GetMetrics setCallback(java.lang.String callback)
DataflowRequest
setCallback
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Locations.Jobs.GetMetrics setFields(java.lang.String fields)
DataflowRequest
setFields
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Locations.Jobs.GetMetrics setKey(java.lang.String key)
DataflowRequest
setKey
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Locations.Jobs.GetMetrics setOauthToken(java.lang.String oauthToken)
DataflowRequest
setOauthToken
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Locations.Jobs.GetMetrics setPp(java.lang.Boolean pp)
DataflowRequest
setPp
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Locations.Jobs.GetMetrics setPrettyPrint(java.lang.Boolean prettyPrint)
DataflowRequest
setPrettyPrint
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Locations.Jobs.GetMetrics setQuotaUser(java.lang.String quotaUser)
DataflowRequest
setQuotaUser
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Locations.Jobs.GetMetrics setUploadType(java.lang.String uploadType)
DataflowRequest
setUploadType
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Locations.Jobs.GetMetrics setUploadProtocol(java.lang.String uploadProtocol)
DataflowRequest
setUploadProtocol
in class DataflowRequest<JobMetrics>
public java.lang.String getProjectId()
public Dataflow.Projects.Locations.Jobs.GetMetrics setProjectId(java.lang.String projectId)
public java.lang.String getLocation()
public Dataflow.Projects.Locations.Jobs.GetMetrics setLocation(java.lang.String location)
public java.lang.String getJobId()
public Dataflow.Projects.Locations.Jobs.GetMetrics setJobId(java.lang.String jobId)
public java.lang.String getStartTime()
public Dataflow.Projects.Locations.Jobs.GetMetrics setStartTime(java.lang.String startTime)
public Dataflow.Projects.Locations.Jobs.GetMetrics set(java.lang.String parameterName, java.lang.Object value)
set
in class DataflowRequest<JobMetrics>