public class Storage.Operations.Cancel extends StorageRequest<Void>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Cancel(String bucket,
String operationId)
Starts asynchronous cancellation on a long-running operation.
|
Modifier and Type | Method and Description |
---|---|
String |
getBucket()
The parent bucket of the operation resource.
|
String |
getOperationId()
The ID of the operation resource.
|
Storage.Operations.Cancel |
set(String parameterName,
Object value) |
Storage.Operations.Cancel |
setAlt(String alt)
Data format for the response.
|
Storage.Operations.Cancel |
setBucket(String bucket)
The parent bucket of the operation resource.
|
Storage.Operations.Cancel |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Storage.Operations.Cancel |
setKey(String key)
API key.
|
Storage.Operations.Cancel |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Storage.Operations.Cancel |
setOperationId(String operationId)
The ID of the operation resource.
|
Storage.Operations.Cancel |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Storage.Operations.Cancel |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Storage.Operations.Cancel |
setUploadType(String uploadType)
Upload protocol for media (e.g.
|
Storage.Operations.Cancel |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadType, 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, 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 bucket, String operationId)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation. Storage.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
bucket
- The parent bucket of the operation resource.operationId
- The ID of the operation resource.public Storage.Operations.Cancel setAlt(String alt)
StorageRequest
setAlt
in class StorageRequest<Void>
public Storage.Operations.Cancel setFields(String fields)
StorageRequest
setFields
in class StorageRequest<Void>
public Storage.Operations.Cancel setKey(String key)
StorageRequest
setKey
in class StorageRequest<Void>
public Storage.Operations.Cancel setOauthToken(String oauthToken)
StorageRequest
setOauthToken
in class StorageRequest<Void>
public Storage.Operations.Cancel setPrettyPrint(Boolean prettyPrint)
StorageRequest
setPrettyPrint
in class StorageRequest<Void>
public Storage.Operations.Cancel setQuotaUser(String quotaUser)
StorageRequest
setQuotaUser
in class StorageRequest<Void>
public Storage.Operations.Cancel setUploadType(String uploadType)
StorageRequest
setUploadType
in class StorageRequest<Void>
public Storage.Operations.Cancel setUserIp(String userIp)
StorageRequest
setUserIp
in class StorageRequest<Void>
public String getBucket()
public Storage.Operations.Cancel setBucket(String bucket)
public String getOperationId()
public Storage.Operations.Cancel setOperationId(String operationId)
public Storage.Operations.Cancel set(String parameterName, Object value)
set
in class StorageRequest<Void>
Copyright © 2011–2024 Google. All rights reserved.