public class Storage.Objects.WatchAll extends StorageRequest<Channel>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Storage.Objects.WatchAll(String bucket,
Channel content)
Watch for changes on all objects in a bucket.
|
Modifier and Type | Method and Description |
---|---|
String |
getBucket()
Name of the bucket in which to look for objects.
|
String |
getDelimiter()
Returns results in a directory-like mode.
|
Long |
getMaxResults()
Maximum number of items plus prefixes to return.
|
String |
getPageToken()
A previously-returned page token representing part of the larger set of results to view.
|
String |
getPrefix()
Filter results to objects whose names begin with this prefix.
|
String |
getProjection()
Set of properties to return.
|
Boolean |
getVersions()
If true, lists all versions of a file as distinct results.
|
Storage.Objects.WatchAll |
set(String parameterName,
Object value) |
Storage.Objects.WatchAll |
setAlt(String alt)
Data format for the response.
|
Storage.Objects.WatchAll |
setBucket(String bucket)
Name of the bucket in which to look for objects.
|
Storage.Objects.WatchAll |
setDelimiter(String delimiter)
Returns results in a directory-like mode.
|
Storage.Objects.WatchAll |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Storage.Objects.WatchAll |
setKey(String key)
API key.
|
Storage.Objects.WatchAll |
setMaxResults(Long maxResults)
Maximum number of items plus prefixes to return.
|
Storage.Objects.WatchAll |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Storage.Objects.WatchAll |
setPageToken(String pageToken)
A previously-returned page token representing part of the larger set of results to view.
|
Storage.Objects.WatchAll |
setPrefix(String prefix)
Filter results to objects whose names begin with this prefix.
|
Storage.Objects.WatchAll |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Storage.Objects.WatchAll |
setProjection(String projection)
Set of properties to return.
|
Storage.Objects.WatchAll |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Storage.Objects.WatchAll |
setUserIp(String userIp)
IP address of the site where the request originates.
|
Storage.Objects.WatchAll |
setVersions(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 Storage.Objects.WatchAll(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(String alt)
StorageRequest
setAlt
in class StorageRequest<Channel>
public Storage.Objects.WatchAll setFields(String fields)
StorageRequest
setFields
in class StorageRequest<Channel>
public Storage.Objects.WatchAll setKey(String key)
StorageRequest
setKey
in class StorageRequest<Channel>
public Storage.Objects.WatchAll setOauthToken(String oauthToken)
StorageRequest
setOauthToken
in class StorageRequest<Channel>
public Storage.Objects.WatchAll setPrettyPrint(Boolean prettyPrint)
StorageRequest
setPrettyPrint
in class StorageRequest<Channel>
public Storage.Objects.WatchAll setQuotaUser(String quotaUser)
StorageRequest
setQuotaUser
in class StorageRequest<Channel>
public Storage.Objects.WatchAll setUserIp(String userIp)
StorageRequest
setUserIp
in class StorageRequest<Channel>
public String getBucket()
public Storage.Objects.WatchAll setBucket(String bucket)
public String getProjection()
public Storage.Objects.WatchAll setProjection(String projection)
public Boolean getVersions()
public Storage.Objects.WatchAll setVersions(Boolean versions)
public String getPrefix()
public Storage.Objects.WatchAll setPrefix(String prefix)
public Long getMaxResults()
public Storage.Objects.WatchAll setMaxResults(Long maxResults)
public String getPageToken()
public Storage.Objects.WatchAll setPageToken(String pageToken)
public String getDelimiter()
public Storage.Objects.WatchAll setDelimiter(String delimiter)
public Storage.Objects.WatchAll set(String parameterName, Object value)
set
in class StorageRequest<Channel>