public class Storage.Notifications.Get extends StorageRequest<Notification>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(String bucket,
String notification)
View a notification configuration.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getBucket()
The parent bucket of the notification.
|
String |
getNotification()
Notification ID
|
String |
getUserProject()
The project to be billed for this request.
|
Storage.Notifications.Get |
set(String parameterName,
Object value) |
Storage.Notifications.Get |
setAlt(String alt)
Data format for the response.
|
Storage.Notifications.Get |
setBucket(String bucket)
The parent bucket of the notification.
|
Storage.Notifications.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Storage.Notifications.Get |
setKey(String key)
API key.
|
Storage.Notifications.Get |
setNotification(String notification)
Notification ID
|
Storage.Notifications.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Storage.Notifications.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Storage.Notifications.Get |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Storage.Notifications.Get |
setUploadType(String uploadType)
Upload protocol for media (e.g.
|
Storage.Notifications.Get |
setUserIp(String userIp)
Deprecated.
|
Storage.Notifications.Get |
setUserProject(String userProject)
The project to be billed for this request.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadType, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Get(String bucket, String notification)
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 notification.notification - Notification IDpublic com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Notification>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Notification>IOExceptionpublic Storage.Notifications.Get setAlt(String alt)
StorageRequestsetAlt in class StorageRequest<Notification>public Storage.Notifications.Get setFields(String fields)
StorageRequestsetFields in class StorageRequest<Notification>public Storage.Notifications.Get setKey(String key)
StorageRequestsetKey in class StorageRequest<Notification>public Storage.Notifications.Get setOauthToken(String oauthToken)
StorageRequestsetOauthToken in class StorageRequest<Notification>public Storage.Notifications.Get setPrettyPrint(Boolean prettyPrint)
StorageRequestsetPrettyPrint in class StorageRequest<Notification>public Storage.Notifications.Get setQuotaUser(String quotaUser)
StorageRequestsetQuotaUser in class StorageRequest<Notification>public Storage.Notifications.Get setUploadType(String uploadType)
StorageRequestsetUploadType in class StorageRequest<Notification>public Storage.Notifications.Get setUserIp(String userIp)
StorageRequestsetUserIp in class StorageRequest<Notification>public String getBucket()
public Storage.Notifications.Get setBucket(String bucket)
public String getNotification()
public Storage.Notifications.Get setNotification(String notification)
public String getUserProject()
public Storage.Notifications.Get setUserProject(String userProject)
public Storage.Notifications.Get set(String parameterName, Object value)
set in class StorageRequest<Notification>Copyright © 2011–2025 Google. All rights reserved.