public class Dataflow.Projects.Jobs.GetMetrics extends DataflowRequest<JobMetrics>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Dataflow.Projects.Jobs.GetMetrics(java.lang.String projectId,
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 |
getProjectId()
A project id.
|
java.lang.String |
getStartTime()
Return only metric data that has changed since this time.
|
Dataflow.Projects.Jobs.GetMetrics |
set(java.lang.String parameterName,
java.lang.Object value) |
Dataflow.Projects.Jobs.GetMetrics |
set$Xgafv(java.lang.String $Xgafv)
V1 error format.
|
Dataflow.Projects.Jobs.GetMetrics |
setAccessToken(java.lang.String accessToken)
OAuth access token.
|
Dataflow.Projects.Jobs.GetMetrics |
setAlt(java.lang.String alt)
Data format for response.
|
Dataflow.Projects.Jobs.GetMetrics |
setBearerToken(java.lang.String bearerToken)
OAuth bearer token.
|
Dataflow.Projects.Jobs.GetMetrics |
setCallback(java.lang.String callback)
JSONP
|
Dataflow.Projects.Jobs.GetMetrics |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Dataflow.Projects.Jobs.GetMetrics |
setJobId(java.lang.String jobId)
The job to get messages for.
|
Dataflow.Projects.Jobs.GetMetrics |
setKey(java.lang.String key)
API key.
|
Dataflow.Projects.Jobs.GetMetrics |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Dataflow.Projects.Jobs.GetMetrics |
setPp(java.lang.Boolean pp)
Pretty-print response.
|
Dataflow.Projects.Jobs.GetMetrics |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Dataflow.Projects.Jobs.GetMetrics |
setProjectId(java.lang.String projectId)
A project id.
|
Dataflow.Projects.Jobs.GetMetrics |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Dataflow.Projects.Jobs.GetMetrics |
setStartTime(java.lang.String startTime)
Return only metric data that has changed since this time.
|
Dataflow.Projects.Jobs.GetMetrics |
setUploadProtocol(java.lang.String uploadProtocol)
Upload protocol for media (e.g.
|
Dataflow.Projects.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.Jobs.GetMetrics(java.lang.String projectId, 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.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.Jobs.GetMetrics set$Xgafv(java.lang.String $Xgafv)
DataflowRequest
set$Xgafv
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setAccessToken(java.lang.String accessToken)
DataflowRequest
setAccessToken
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setAlt(java.lang.String alt)
DataflowRequest
setAlt
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setBearerToken(java.lang.String bearerToken)
DataflowRequest
setBearerToken
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setCallback(java.lang.String callback)
DataflowRequest
setCallback
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setFields(java.lang.String fields)
DataflowRequest
setFields
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setKey(java.lang.String key)
DataflowRequest
setKey
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setOauthToken(java.lang.String oauthToken)
DataflowRequest
setOauthToken
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setPp(java.lang.Boolean pp)
DataflowRequest
setPp
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setPrettyPrint(java.lang.Boolean prettyPrint)
DataflowRequest
setPrettyPrint
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setQuotaUser(java.lang.String quotaUser)
DataflowRequest
setQuotaUser
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setUploadType(java.lang.String uploadType)
DataflowRequest
setUploadType
in class DataflowRequest<JobMetrics>
public Dataflow.Projects.Jobs.GetMetrics setUploadProtocol(java.lang.String uploadProtocol)
DataflowRequest
setUploadProtocol
in class DataflowRequest<JobMetrics>
public java.lang.String getProjectId()
public Dataflow.Projects.Jobs.GetMetrics setProjectId(java.lang.String projectId)
public java.lang.String getJobId()
public Dataflow.Projects.Jobs.GetMetrics setJobId(java.lang.String jobId)
public java.lang.String getStartTime()
public Dataflow.Projects.Jobs.GetMetrics setStartTime(java.lang.String startTime)
public Dataflow.Projects.Jobs.GetMetrics set(java.lang.String parameterName, java.lang.Object value)
set
in class DataflowRequest<JobMetrics>