public class Bigquery.Jobs.Cancel extends BigqueryRequest<JobCancelResponse>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Bigquery.Jobs.Cancel(java.lang.String projectId,
java.lang.String jobId)
Requests that a job be cancelled.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getJobId()
Job ID of the job to cancel
|
java.lang.String |
getProjectId()
Project ID of the job to cancel
|
Bigquery.Jobs.Cancel |
set(java.lang.String parameterName,
java.lang.Object value) |
Bigquery.Jobs.Cancel |
setAlt(java.lang.String alt)
Data format for the response.
|
Bigquery.Jobs.Cancel |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Bigquery.Jobs.Cancel |
setJobId(java.lang.String jobId)
Job ID of the job to cancel
|
Bigquery.Jobs.Cancel |
setKey(java.lang.String key)
API key.
|
Bigquery.Jobs.Cancel |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Bigquery.Jobs.Cancel |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Bigquery.Jobs.Cancel |
setProjectId(java.lang.String projectId)
Project ID of the job to cancel
|
Bigquery.Jobs.Cancel |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Bigquery.Jobs.Cancel |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
protected Bigquery.Jobs.Cancel(java.lang.String projectId, java.lang.String jobId)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Bigquery.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
projectId
- Project ID of the job to canceljobId
- Job ID of the job to cancelpublic Bigquery.Jobs.Cancel setAlt(java.lang.String alt)
BigqueryRequest
setAlt
in class BigqueryRequest<JobCancelResponse>
public Bigquery.Jobs.Cancel setFields(java.lang.String fields)
BigqueryRequest
setFields
in class BigqueryRequest<JobCancelResponse>
public Bigquery.Jobs.Cancel setKey(java.lang.String key)
BigqueryRequest
setKey
in class BigqueryRequest<JobCancelResponse>
public Bigquery.Jobs.Cancel setOauthToken(java.lang.String oauthToken)
BigqueryRequest
setOauthToken
in class BigqueryRequest<JobCancelResponse>
public Bigquery.Jobs.Cancel setPrettyPrint(java.lang.Boolean prettyPrint)
BigqueryRequest
setPrettyPrint
in class BigqueryRequest<JobCancelResponse>
public Bigquery.Jobs.Cancel setQuotaUser(java.lang.String quotaUser)
BigqueryRequest
setQuotaUser
in class BigqueryRequest<JobCancelResponse>
public Bigquery.Jobs.Cancel setUserIp(java.lang.String userIp)
BigqueryRequest
setUserIp
in class BigqueryRequest<JobCancelResponse>
public java.lang.String getProjectId()
public Bigquery.Jobs.Cancel setProjectId(java.lang.String projectId)
public java.lang.String getJobId()
public Bigquery.Jobs.Cancel setJobId(java.lang.String jobId)
public Bigquery.Jobs.Cancel set(java.lang.String parameterName, java.lang.Object value)
set
in class BigqueryRequest<JobCancelResponse>