public class Storage.Notifications.List extends StorageRequest<Notifications>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
List(String bucket)
Retrieves a list of notification subscriptions for a given bucket.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getBucket()
Name of a Google Cloud Storage bucket.
|
String |
getUserProject()
The project to be billed for this request.
|
Storage.Notifications.List |
set(String parameterName,
Object value) |
Storage.Notifications.List |
setAlt(String alt)
Data format for the response.
|
Storage.Notifications.List |
setBucket(String bucket)
Name of a Google Cloud Storage bucket.
|
Storage.Notifications.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Storage.Notifications.List |
setKey(String key)
API key.
|
Storage.Notifications.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Storage.Notifications.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Storage.Notifications.List |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Storage.Notifications.List |
setUploadType(String uploadType)
Upload protocol for media (e.g.
|
Storage.Notifications.List |
setUserIp(String userIp)
Deprecated.
|
Storage.Notifications.List |
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 List(String bucket)
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 a Google Cloud Storage bucket.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Notifications>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Notifications>IOExceptionpublic Storage.Notifications.List setAlt(String alt)
StorageRequestsetAlt in class StorageRequest<Notifications>public Storage.Notifications.List setFields(String fields)
StorageRequestsetFields in class StorageRequest<Notifications>public Storage.Notifications.List setKey(String key)
StorageRequestsetKey in class StorageRequest<Notifications>public Storage.Notifications.List setOauthToken(String oauthToken)
StorageRequestsetOauthToken in class StorageRequest<Notifications>public Storage.Notifications.List setPrettyPrint(Boolean prettyPrint)
StorageRequestsetPrettyPrint in class StorageRequest<Notifications>public Storage.Notifications.List setQuotaUser(String quotaUser)
StorageRequestsetQuotaUser in class StorageRequest<Notifications>public Storage.Notifications.List setUploadType(String uploadType)
StorageRequestsetUploadType in class StorageRequest<Notifications>public Storage.Notifications.List setUserIp(String userIp)
StorageRequestsetUserIp in class StorageRequest<Notifications>public String getBucket()
public Storage.Notifications.List setBucket(String bucket)
public String getUserProject()
public Storage.Notifications.List setUserProject(String userProject)
public Storage.Notifications.List set(String parameterName, Object value)
set in class StorageRequest<Notifications>Copyright © 2011–2025 Google. All rights reserved.