public class Storage.Objects.WatchAll extends StorageRequest<Channel>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
WatchAll(java.lang.String bucket,
Channel content)
Watch for changes on all objects in a bucket.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBucket()
Name of the bucket in which to look for objects.
|
java.lang.String |
getDelimiter()
Returns results in a directory-like mode.
|
java.lang.Long |
getMaxResults()
Maximum number of items plus prefixes to return.
|
java.lang.String |
getPageToken()
A previously-returned page token representing part of the larger set of results to view.
|
java.lang.String |
getPrefix()
Filter results to objects whose names begin with this prefix.
|
java.lang.String |
getProjection()
Set of properties to return.
|
java.lang.Boolean |
getVersions()
If true, lists all versions of a file as distinct results.
|
Storage.Objects.WatchAll |
set(java.lang.String parameterName,
java.lang.Object value) |
Storage.Objects.WatchAll |
setAlt(java.lang.String alt)
Data format for the response.
|
Storage.Objects.WatchAll |
setBucket(java.lang.String bucket)
Name of the bucket in which to look for objects.
|
Storage.Objects.WatchAll |
setDelimiter(java.lang.String delimiter)
Returns results in a directory-like mode.
|
Storage.Objects.WatchAll |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Storage.Objects.WatchAll |
setKey(java.lang.String key)
API key.
|
Storage.Objects.WatchAll |
setMaxResults(java.lang.Long maxResults)
Maximum number of items plus prefixes to return.
|
Storage.Objects.WatchAll |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Storage.Objects.WatchAll |
setPageToken(java.lang.String pageToken)
A previously-returned page token representing part of the larger set of results to view.
|
Storage.Objects.WatchAll |
setPrefix(java.lang.String prefix)
Filter results to objects whose names begin with this prefix.
|
Storage.Objects.WatchAll |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Storage.Objects.WatchAll |
setProjection(java.lang.String projection)
Set of properties to return.
|
Storage.Objects.WatchAll |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
Storage.Objects.WatchAll |
setUserIp(java.lang.String userIp)
Deprecated.
|
Storage.Objects.WatchAll |
setVersions(java.lang.Boolean versions)
If true, lists all versions of a file as distinct results.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected WatchAll(java.lang.String bucket, Channel content)
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 bucket in which to look for objects.content
- the Channel
public Storage.Objects.WatchAll setAlt(java.lang.String alt)
StorageRequest
setAlt
in class StorageRequest<Channel>
public Storage.Objects.WatchAll setFields(java.lang.String fields)
StorageRequest
setFields
in class StorageRequest<Channel>
public Storage.Objects.WatchAll setKey(java.lang.String key)
StorageRequest
setKey
in class StorageRequest<Channel>
public Storage.Objects.WatchAll setOauthToken(java.lang.String oauthToken)
StorageRequest
setOauthToken
in class StorageRequest<Channel>
public Storage.Objects.WatchAll setPrettyPrint(java.lang.Boolean prettyPrint)
StorageRequest
setPrettyPrint
in class StorageRequest<Channel>
public Storage.Objects.WatchAll setQuotaUser(java.lang.String quotaUser)
StorageRequest
setQuotaUser
in class StorageRequest<Channel>
public Storage.Objects.WatchAll setUserIp(java.lang.String userIp)
StorageRequest
setUserIp
in class StorageRequest<Channel>
public java.lang.String getBucket()
public Storage.Objects.WatchAll setBucket(java.lang.String bucket)
public java.lang.String getDelimiter()
public Storage.Objects.WatchAll setDelimiter(java.lang.String delimiter)
public java.lang.Long getMaxResults()
public Storage.Objects.WatchAll setMaxResults(java.lang.Long maxResults)
public java.lang.String getPageToken()
public Storage.Objects.WatchAll setPageToken(java.lang.String pageToken)
public java.lang.String getPrefix()
public Storage.Objects.WatchAll setPrefix(java.lang.String prefix)
public java.lang.String getProjection()
public Storage.Objects.WatchAll setProjection(java.lang.String projection)
public java.lang.Boolean getVersions()
public Storage.Objects.WatchAll setVersions(java.lang.Boolean versions)
public Storage.Objects.WatchAll set(java.lang.String parameterName, java.lang.Object value)
set
in class StorageRequest<Channel>