public class Storage.Notifications.List extends StorageRequest<Notifications>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
List(String bucket)
Retrieves a list of notification subscriptions for a given bucket.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getBucket()
Name of a Google Cloud Storage bucket.
|
String |
getProvisionalUserProject()
The project to be billed for this request if the target bucket is requester-pays 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 |
setProvisionalUserProject(String provisionalUserProject)
The project to be billed for this request if the target bucket is requester-pays bucket.
|
Storage.Notifications.List |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
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, 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 HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<Notifications>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class 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 setUserIp(String userIp)
StorageRequestsetUserIp in class StorageRequest<Notifications>public String getBucket()
public Storage.Notifications.List setBucket(String bucket)
public String getProvisionalUserProject()
public Storage.Notifications.List setProvisionalUserProject(String provisionalUserProject)
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–2019 Google. All rights reserved.