public class Dataproc.Projects.Regions.Jobs.Cancel extends DataprocRequest<Job>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
Cancel(String projectId,
String region,
String jobId,
CancelJobRequest content)
Starts a job cancellation request.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, 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, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Cancel(String projectId, String region, String jobId, CancelJobRequest content)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Dataproc.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
projectId
- Required. The ID of the Google Cloud Platform project that the job belongs to.region
- Required. The Dataproc region in which to handle the request.jobId
- Required. The job ID.content
- the CancelJobRequest
public Dataproc.Projects.Regions.Jobs.Cancel set$Xgafv(String $Xgafv)
DataprocRequest
set$Xgafv
in class DataprocRequest<Job>
public Dataproc.Projects.Regions.Jobs.Cancel setAccessToken(String accessToken)
DataprocRequest
setAccessToken
in class DataprocRequest<Job>
public Dataproc.Projects.Regions.Jobs.Cancel setAlt(String alt)
DataprocRequest
setAlt
in class DataprocRequest<Job>
public Dataproc.Projects.Regions.Jobs.Cancel setCallback(String callback)
DataprocRequest
setCallback
in class DataprocRequest<Job>
public Dataproc.Projects.Regions.Jobs.Cancel setFields(String fields)
DataprocRequest
setFields
in class DataprocRequest<Job>
public Dataproc.Projects.Regions.Jobs.Cancel setKey(String key)
DataprocRequest
setKey
in class DataprocRequest<Job>
public Dataproc.Projects.Regions.Jobs.Cancel setOauthToken(String oauthToken)
DataprocRequest
setOauthToken
in class DataprocRequest<Job>
public Dataproc.Projects.Regions.Jobs.Cancel setPrettyPrint(Boolean prettyPrint)
DataprocRequest
setPrettyPrint
in class DataprocRequest<Job>
public Dataproc.Projects.Regions.Jobs.Cancel setQuotaUser(String quotaUser)
DataprocRequest
setQuotaUser
in class DataprocRequest<Job>
public Dataproc.Projects.Regions.Jobs.Cancel setUploadType(String uploadType)
DataprocRequest
setUploadType
in class DataprocRequest<Job>
public Dataproc.Projects.Regions.Jobs.Cancel setUploadProtocol(String uploadProtocol)
DataprocRequest
setUploadProtocol
in class DataprocRequest<Job>
public String getProjectId()
public Dataproc.Projects.Regions.Jobs.Cancel setProjectId(String projectId)
public String getRegion()
public Dataproc.Projects.Regions.Jobs.Cancel setRegion(String region)
public String getJobId()
public Dataproc.Projects.Regions.Jobs.Cancel setJobId(String jobId)
public Dataproc.Projects.Regions.Jobs.Cancel set(String parameterName, Object value)
set
in class DataprocRequest<Job>
Copyright © 2011–2021 Google. All rights reserved.