- * {@link - * WatchAll#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.
- * - * @param bucket Name of the bucket in which to look for objects. - * @param content the {@link com.google.api.services.storage.model.Channel} - * @since 1.13 - */ - protected WatchAll(java.lang.String bucket, com.google.api.services.storage.model.Channel content) { - super(Storage.this, "POST", REST_PATH, content, com.google.api.services.storage.model.Channel.class); - this.bucket = com.google.api.client.util.Preconditions.checkNotNull(bucket, "Required parameter bucket must be specified."); - } - - @Override - public WatchAll setAlt(java.lang.String alt) { - return (WatchAll) super.setAlt(alt); - } - - @Override - public WatchAll setFields(java.lang.String fields) { - return (WatchAll) super.setFields(fields); - } - - @Override - public WatchAll setKey(java.lang.String key) { - return (WatchAll) super.setKey(key); - } - - @Override - public WatchAll setOauthToken(java.lang.String oauthToken) { - return (WatchAll) super.setOauthToken(oauthToken); - } - - @Override - public WatchAll setPrettyPrint(java.lang.Boolean prettyPrint) { - return (WatchAll) super.setPrettyPrint(prettyPrint); - } - - @Override - public WatchAll setQuotaUser(java.lang.String quotaUser) { - return (WatchAll) super.setQuotaUser(quotaUser); - } - - @Override - public WatchAll setUploadType(java.lang.String uploadType) { - return (WatchAll) super.setUploadType(uploadType); - } - - @Override - public WatchAll setUserIp(java.lang.String userIp) { - return (WatchAll) super.setUserIp(userIp); - } - - /** Name of the bucket in which to look for objects. */ - @com.google.api.client.util.Key - private java.lang.String bucket; - - /** Name of the bucket in which to look for objects. - */ - public java.lang.String getBucket() { - return bucket; - } - - /** Name of the bucket in which to look for objects. */ - public WatchAll setBucket(java.lang.String bucket) { - this.bucket = bucket; - return this; - } - - /** - * Returns results in a directory-like mode. items will contain only objects whose names, - * aside from the prefix, do not contain delimiter. Objects whose names, aside from the - * prefix, contain delimiter will have their name, truncated after the delimiter, returned in - * prefixes. Duplicate prefixes are omitted. - */ - @com.google.api.client.util.Key - private java.lang.String delimiter; - - /** Returns results in a directory-like mode. items will contain only objects whose names, aside from - the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimiter - will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are - omitted. - */ - public java.lang.String getDelimiter() { - return delimiter; - } - - /** - * Returns results in a directory-like mode. items will contain only objects whose names, - * aside from the prefix, do not contain delimiter. Objects whose names, aside from the - * prefix, contain delimiter will have their name, truncated after the delimiter, returned in - * prefixes. Duplicate prefixes are omitted. - */ - public WatchAll setDelimiter(java.lang.String delimiter) { - this.delimiter = delimiter; - return this; - } - - /** - * Filter results to objects whose names are lexicographically before endOffset. If - * startOffset is also set, the objects listed will have names between startOffset (inclusive) - * and endOffset (exclusive). - */ - @com.google.api.client.util.Key - private java.lang.String endOffset; - - /** Filter results to objects whose names are lexicographically before endOffset. If startOffset is - also set, the objects listed will have names between startOffset (inclusive) and endOffset - (exclusive). - */ - public java.lang.String getEndOffset() { - return endOffset; - } - - /** - * Filter results to objects whose names are lexicographically before endOffset. If - * startOffset is also set, the objects listed will have names between startOffset (inclusive) - * and endOffset (exclusive). - */ - public WatchAll setEndOffset(java.lang.String endOffset) { - this.endOffset = endOffset; - return this; - } - - /** - * If true, objects that end in exactly one instance of delimiter will have their metadata - * included in items in addition to prefixes. - */ - @com.google.api.client.util.Key - private java.lang.Boolean includeTrailingDelimiter; - - /** If true, objects that end in exactly one instance of delimiter will have their metadata included in - items in addition to prefixes. - */ - public java.lang.Boolean getIncludeTrailingDelimiter() { - return includeTrailingDelimiter; - } - - /** - * If true, objects that end in exactly one instance of delimiter will have their metadata - * included in items in addition to prefixes. - */ - public WatchAll setIncludeTrailingDelimiter(java.lang.Boolean includeTrailingDelimiter) { - this.includeTrailingDelimiter = includeTrailingDelimiter; - return this; - } - - /** - * Maximum number of items plus prefixes to return in a single page of responses. As duplicate - * prefixes are omitted, fewer total results may be returned than requested. The service will - * use this parameter or 1,000 items, whichever is smaller. - */ - @com.google.api.client.util.Key - private java.lang.Long maxResults; - - /** Maximum number of items plus prefixes to return in a single page of responses. As duplicate - prefixes are omitted, fewer total results may be returned than requested. The service will use this - parameter or 1,000 items, whichever is smaller. [default: 1000] [minimum: 0] - */ - public java.lang.Long getMaxResults() { - return maxResults; - } - - /** - * Maximum number of items plus prefixes to return in a single page of responses. As duplicate - * prefixes are omitted, fewer total results may be returned than requested. The service will - * use this parameter or 1,000 items, whichever is smaller. - */ - public WatchAll setMaxResults(java.lang.Long maxResults) { - this.maxResults = maxResults; - return this; - } - - /** - * A previously-returned page token representing part of the larger set of results to view. - */ - @com.google.api.client.util.Key - private java.lang.String pageToken; - - /** A previously-returned page token representing part of the larger set of results to view. - */ - public java.lang.String getPageToken() { - return pageToken; - } - - /** - * A previously-returned page token representing part of the larger set of results to view. - */ - public WatchAll setPageToken(java.lang.String pageToken) { - this.pageToken = pageToken; - return this; - } - - /** Filter results to objects whose names begin with this prefix. */ - @com.google.api.client.util.Key - private java.lang.String prefix; - - /** Filter results to objects whose names begin with this prefix. - */ - public java.lang.String getPrefix() { - return prefix; - } - - /** Filter results to objects whose names begin with this prefix. */ - public WatchAll setPrefix(java.lang.String prefix) { - this.prefix = prefix; - return this; - } - - /** Set of properties to return. Defaults to noAcl. */ - @com.google.api.client.util.Key - private java.lang.String projection; - - /** Set of properties to return. Defaults to noAcl. - */ - public java.lang.String getProjection() { - return projection; - } - - /** Set of properties to return. Defaults to noAcl. */ - public WatchAll setProjection(java.lang.String projection) { - this.projection = projection; - return this; - } - - /** - * Filter results to objects whose names are lexicographically equal to or after startOffset. - * If endOffset is also set, the objects listed will have names between startOffset - * (inclusive) and endOffset (exclusive). - */ - @com.google.api.client.util.Key - private java.lang.String startOffset; - - /** Filter results to objects whose names are lexicographically equal to or after startOffset. If - endOffset is also set, the objects listed will have names between startOffset (inclusive) and - endOffset (exclusive). - */ - public java.lang.String getStartOffset() { - return startOffset; - } - - /** - * Filter results to objects whose names are lexicographically equal to or after startOffset. - * If endOffset is also set, the objects listed will have names between startOffset - * (inclusive) and endOffset (exclusive). - */ - public WatchAll setStartOffset(java.lang.String startOffset) { - this.startOffset = startOffset; - return this; - } - - /** The project to be billed for this request. Required for Requester Pays buckets. */ - @com.google.api.client.util.Key - private java.lang.String userProject; - - /** The project to be billed for this request. Required for Requester Pays buckets. - */ - public java.lang.String getUserProject() { - return userProject; - } - - /** The project to be billed for this request. Required for Requester Pays buckets. */ - public WatchAll setUserProject(java.lang.String userProject) { - this.userProject = userProject; - return this; - } - - /** - * If true, lists all versions of an object as distinct results. The default is false. For - * more information, see [Object Versioning](https://cloud.google.com/storage/docs/object- - * versioning). - */ - @com.google.api.client.util.Key - private java.lang.Boolean versions; - - /** If true, lists all versions of an object as distinct results. The default is false. For more - information, see [Object Versioning](https://cloud.google.com/storage/docs/object-versioning). - */ - public java.lang.Boolean getVersions() { - return versions; - } - - /** - * If true, lists all versions of an object as distinct results. The default is false. For - * more information, see [Object Versioning](https://cloud.google.com/storage/docs/object- - * versioning). - */ - public WatchAll setVersions(java.lang.Boolean versions) { - this.versions = versions; - return this; - } - - @Override - public WatchAll set(String parameterName, Object value) { - return (WatchAll) super.set(parameterName, value); - } - } } diff --git a/clients/google-api-services-storage/v1/2.0.0/pom.xml b/clients/google-api-services-storage/v1/2.0.0/pom.xml index f758d7da86d..6b30cff7e41 100644 --- a/clients/google-api-services-storage/v1/2.0.0/pom.xml +++ b/clients/google-api-services-storage/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@