public class Dataflow.Projects.Jobs.GetMetrics extends DataflowRequest<JobMetrics>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Dataflow.Projects.Jobs.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 messages for.
|
String |
getLocation()
The location which 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 |
setBearerToken(String bearerToken)
OAuth bearer token.
|
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 messages for.
|
Dataflow.Projects.Jobs.GetMetrics |
setKey(String key)
API key.
|
Dataflow.Projects.Jobs.GetMetrics |
setLocation(String location)
The location which 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 |
setPp(Boolean pp)
Pretty-print response.
|
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, 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
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Dataflow.Projects.Jobs.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 messages 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 setBearerToken(String bearerToken)
DataflowRequest
setBearerToken
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 setPp(Boolean pp)
DataflowRequest
setPp
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 getStartTime()
public Dataflow.Projects.Jobs.GetMetrics setStartTime(String startTime)
public String getLocation()
public Dataflow.Projects.Jobs.GetMetrics setLocation(String location)
public Dataflow.Projects.Jobs.GetMetrics set(String parameterName, Object value)
set
in class DataflowRequest<JobMetrics>