public class Storage.AnywhereCaches.Get extends StorageRequest<AnywhereCache>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Get(String bucket,
String anywhereCacheId)
Returns the metadata of an Anywhere Cache instance.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getAnywhereCacheId()
The ID of requested Anywhere Cache instance.
|
String |
getBucket()
Name of the parent bucket.
|
Storage.AnywhereCaches.Get |
set(String parameterName,
Object value) |
Storage.AnywhereCaches.Get |
setAlt(String alt)
Data format for the response.
|
Storage.AnywhereCaches.Get |
setAnywhereCacheId(String anywhereCacheId)
The ID of requested Anywhere Cache instance.
|
Storage.AnywhereCaches.Get |
setBucket(String bucket)
Name of the parent bucket.
|
Storage.AnywhereCaches.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Storage.AnywhereCaches.Get |
setKey(String key)
API key.
|
Storage.AnywhereCaches.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Storage.AnywhereCaches.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Storage.AnywhereCaches.Get |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Storage.AnywhereCaches.Get |
setUploadType(String uploadType)
Upload protocol for media (e.g.
|
Storage.AnywhereCaches.Get |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadType, getUserIp, 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, 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 Get(String bucket, String anywhereCacheId)
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
- Name of the parent bucket.anywhereCacheId
- The ID of requested Anywhere Cache instance.public com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<AnywhereCache>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<AnywhereCache>
IOException
public Storage.AnywhereCaches.Get setAlt(String alt)
StorageRequest
setAlt
in class StorageRequest<AnywhereCache>
public Storage.AnywhereCaches.Get setFields(String fields)
StorageRequest
setFields
in class StorageRequest<AnywhereCache>
public Storage.AnywhereCaches.Get setKey(String key)
StorageRequest
setKey
in class StorageRequest<AnywhereCache>
public Storage.AnywhereCaches.Get setOauthToken(String oauthToken)
StorageRequest
setOauthToken
in class StorageRequest<AnywhereCache>
public Storage.AnywhereCaches.Get setPrettyPrint(Boolean prettyPrint)
StorageRequest
setPrettyPrint
in class StorageRequest<AnywhereCache>
public Storage.AnywhereCaches.Get setQuotaUser(String quotaUser)
StorageRequest
setQuotaUser
in class StorageRequest<AnywhereCache>
public Storage.AnywhereCaches.Get setUploadType(String uploadType)
StorageRequest
setUploadType
in class StorageRequest<AnywhereCache>
public Storage.AnywhereCaches.Get setUserIp(String userIp)
StorageRequest
setUserIp
in class StorageRequest<AnywhereCache>
public String getBucket()
public Storage.AnywhereCaches.Get setBucket(String bucket)
public String getAnywhereCacheId()
public Storage.AnywhereCaches.Get setAnywhereCacheId(String anywhereCacheId)
public Storage.AnywhereCaches.Get set(String parameterName, Object value)
set
in class StorageRequest<AnywhereCache>
Copyright © 2011–2024 Google. All rights reserved.