public class Storage.Projects.HmacKeys.Delete extends StorageRequest<Void>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Delete(String projectId,
String accessId)
Deletes an HMAC key.
|
Modifier and Type | Method and Description |
---|---|
String |
getAccessId()
Name of the HMAC key to be deleted.
|
String |
getProjectId()
Project ID owning the requested key
|
String |
getUserProject()
The project to be billed for this request.
|
Storage.Projects.HmacKeys.Delete |
set(String parameterName,
Object value) |
Storage.Projects.HmacKeys.Delete |
setAccessId(String accessId)
Name of the HMAC key to be deleted.
|
Storage.Projects.HmacKeys.Delete |
setAlt(String alt)
Data format for the response.
|
Storage.Projects.HmacKeys.Delete |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Storage.Projects.HmacKeys.Delete |
setKey(String key)
API key.
|
Storage.Projects.HmacKeys.Delete |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Storage.Projects.HmacKeys.Delete |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Storage.Projects.HmacKeys.Delete |
setProjectId(String projectId)
Project ID owning the requested key
|
Storage.Projects.HmacKeys.Delete |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Storage.Projects.HmacKeys.Delete |
setUserIp(String userIp)
Deprecated.
|
Storage.Projects.HmacKeys.Delete |
setUserProject(String userProject)
The project to be billed for this request.
|
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
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Delete(String projectId, String accessId)
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.
projectId
- Project ID owning the requested keyaccessId
- Name of the HMAC key to be deleted.public Storage.Projects.HmacKeys.Delete setAlt(String alt)
StorageRequest
setAlt
in class StorageRequest<Void>
public Storage.Projects.HmacKeys.Delete setFields(String fields)
StorageRequest
setFields
in class StorageRequest<Void>
public Storage.Projects.HmacKeys.Delete setKey(String key)
StorageRequest
setKey
in class StorageRequest<Void>
public Storage.Projects.HmacKeys.Delete setOauthToken(String oauthToken)
StorageRequest
setOauthToken
in class StorageRequest<Void>
public Storage.Projects.HmacKeys.Delete setPrettyPrint(Boolean prettyPrint)
StorageRequest
setPrettyPrint
in class StorageRequest<Void>
public Storage.Projects.HmacKeys.Delete setQuotaUser(String quotaUser)
StorageRequest
setQuotaUser
in class StorageRequest<Void>
public Storage.Projects.HmacKeys.Delete setUserIp(String userIp)
StorageRequest
setUserIp
in class StorageRequest<Void>
public String getProjectId()
public Storage.Projects.HmacKeys.Delete setProjectId(String projectId)
public String getAccessId()
public Storage.Projects.HmacKeys.Delete setAccessId(String accessId)
public String getUserProject()
public Storage.Projects.HmacKeys.Delete setUserProject(String userProject)
public Storage.Projects.HmacKeys.Delete set(String parameterName, Object value)
set
in class StorageRequest<Void>