From 4e4077200447e207a963c32b40d5de90322b237e Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Tue, 30 Jun 2026 18:38:47 -0700 Subject: [PATCH] chore: regenerate storage client --- .../v1/2.0.0/README.md | 4 +- .../google/api/services/storage/Storage.java | 326 ------------------ .../v1/2.0.0/pom.xml | 4 +- .../google-api-services-storage/v1/README.md | 4 +- 4 files changed, 6 insertions(+), 332 deletions(-) diff --git a/clients/google-api-services-storage/v1/2.0.0/README.md b/clients/google-api-services-storage/v1/2.0.0/README.md index 6fa8d24041c..7ad16339638 100644 --- a/clients/google-api-services-storage/v1/2.0.0/README.md +++ b/clients/google-api-services-storage/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-storage - v1-rev20260524-2.0.0 + v1-rev20260625-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-storage:v1-rev20260524-2.0.0' + implementation 'com.google.apis:google-api-services-storage:v1-rev20260625-2.0.0' } ``` diff --git a/clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/Storage.java b/clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/Storage.java index 38ada246029..7c8c6b1d4cf 100644 --- a/clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/Storage.java +++ b/clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/Storage.java @@ -13933,332 +13933,6 @@ public Update set(String parameterName, Object value) { return (Update) super.set(parameterName, value); } } - /** - * Watch for changes on all objects in a bucket. - * - * Create a request for the method "objects.watchAll". - * - * This request holds the parameters needed by the storage server. After setting any optional - * parameters, call the {@link WatchAll#execute()} method to invoke the remote operation. - * - * @param bucket Name of the bucket in which to look for objects. - * @param content the {@link com.google.api.services.storage.model.Channel} - * @return the request - */ - public WatchAll watchAll(java.lang.String bucket, com.google.api.services.storage.model.Channel content) throws java.io.IOException { - WatchAll result = new WatchAll(bucket, content); - initialize(result); - return result; - } - - public class WatchAll extends StorageRequest { - - private static final String REST_PATH = "b/{bucket}/o/watch"; - - /** - * Watch for changes on all objects in a bucket. - * - * Create a request for the method "objects.watchAll". - * - * This request holds the parameters needed by the the storage server. After setting any optional - * parameters, call the {@link WatchAll#execute()} method to invoke the remote operation.

- * {@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 @@ com.google.apis google-api-services-storage - v1-rev20260524-2.0.0 - Cloud Storage JSON API v1-rev20260524-2.0.0 + v1-rev20260625-2.0.0 + Cloud Storage JSON API v1-rev20260625-2.0.0 jar 2011 diff --git a/clients/google-api-services-storage/v1/README.md b/clients/google-api-services-storage/v1/README.md index 6fa8d24041c..7ad16339638 100644 --- a/clients/google-api-services-storage/v1/README.md +++ b/clients/google-api-services-storage/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-storage - v1-rev20260524-2.0.0 + v1-rev20260625-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-storage:v1-rev20260524-2.0.0' + implementation 'com.google.apis:google-api-services-storage:v1-rev20260625-2.0.0' } ```