public class Storage.Notifications.List extends StorageRequest<Notifications>
GenericData.Flags
AbstractMap.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, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
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 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>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<Notifications>
IOException
public Storage.Notifications.List setAlt(String alt)
StorageRequest
setAlt
in class StorageRequest<Notifications>
public Storage.Notifications.List setFields(String fields)
StorageRequest
setFields
in class StorageRequest<Notifications>
public Storage.Notifications.List setKey(String key)
StorageRequest
setKey
in class StorageRequest<Notifications>
public Storage.Notifications.List setOauthToken(String oauthToken)
StorageRequest
setOauthToken
in class StorageRequest<Notifications>
public Storage.Notifications.List setPrettyPrint(Boolean prettyPrint)
StorageRequest
setPrettyPrint
in class StorageRequest<Notifications>
public Storage.Notifications.List setQuotaUser(String quotaUser)
StorageRequest
setQuotaUser
in class StorageRequest<Notifications>
public Storage.Notifications.List setUserIp(String userIp)
StorageRequest
setUserIp
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.