From cc48a9675fdc3d4f89ab3b6633176c4973af4dc0 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Tue, 13 Oct 2026 18:13:00 -0700 Subject: [PATCH] chore: regenerate storage client --- .../v1/2.0.0/README.md | 4 +- .../google/api/services/storage/Storage.java | 106 ------- .../api/services/storage/model/Channel.java | 295 ------------------ .../v1/2.0.0/pom.xml | 4 +- .../google-api-services-storage/v1/README.md | 4 +- 5 files changed, 6 insertions(+), 407 deletions(-) delete mode 100644 clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/model/Channel.java 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 3f1ca838ba5..b24c6084c9a 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-rev20260930-2.0.0 + v1-rev20261009-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-storage:v1-rev20260930-2.0.0' + implementation 'com.google.apis:google-api-services-storage:v1-rev20261009-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 c1878c73cc2..8cee51a9a82 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 @@ -4121,112 +4121,6 @@ public Update set(String parameterName, Object value) { } - /** - * An accessor for creating requests from the Channels collection. - * - *

The typical use is:

- *
-   *   {@code Storage storage = new Storage(...);}
-   *   {@code Storage.Channels.List request = storage.channels().list(parameters ...)}
-   * 
- * - * @return the resource collection - */ - public Channels channels() { - return new Channels(); - } - - /** - * The "channels" collection of methods. - */ - public class Channels { - - /** - * Stop watching resources through this channel - * - * Create a request for the method "channels.stop". - * - * This request holds the parameters needed by the storage server. After setting any optional - * parameters, call the {@link Stop#execute()} method to invoke the remote operation. - * - * @param content the {@link com.google.api.services.storage.model.Channel} - * @return the request - */ - public Stop stop(com.google.api.services.storage.model.Channel content) throws java.io.IOException { - Stop result = new Stop(content); - initialize(result); - return result; - } - - public class Stop extends StorageRequest { - - private static final String REST_PATH = "channels/stop"; - - /** - * Stop watching resources through this channel - * - * Create a request for the method "channels.stop". - * - * This request holds the parameters needed by the the storage server. After setting any optional - * parameters, call the {@link Stop#execute()} method to invoke the remote operation.

{@link - * Stop#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be - * called to initialize this instance immediately after invoking the constructor.

- * - * @param content the {@link com.google.api.services.storage.model.Channel} - * @since 1.13 - */ - protected Stop(com.google.api.services.storage.model.Channel content) { - super(Storage.this, "POST", REST_PATH, content, Void.class); - } - - @Override - public Stop setAlt(java.lang.String alt) { - return (Stop) super.setAlt(alt); - } - - @Override - public Stop setFields(java.lang.String fields) { - return (Stop) super.setFields(fields); - } - - @Override - public Stop setKey(java.lang.String key) { - return (Stop) super.setKey(key); - } - - @Override - public Stop setOauthToken(java.lang.String oauthToken) { - return (Stop) super.setOauthToken(oauthToken); - } - - @Override - public Stop setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Stop) super.setPrettyPrint(prettyPrint); - } - - @Override - public Stop setQuotaUser(java.lang.String quotaUser) { - return (Stop) super.setQuotaUser(quotaUser); - } - - @Override - public Stop setUploadType(java.lang.String uploadType) { - return (Stop) super.setUploadType(uploadType); - } - - @Override - public Stop setUserIp(java.lang.String userIp) { - return (Stop) super.setUserIp(userIp); - } - - @Override - public Stop set(String parameterName, Object value) { - return (Stop) super.set(parameterName, value); - } - } - - } - /** * An accessor for creating requests from the DefaultObjectAccessControls collection. * diff --git a/clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/model/Channel.java b/clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/model/Channel.java deleted file mode 100644 index e65e6d245ec..00000000000 --- a/clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/model/Channel.java +++ /dev/null @@ -1,295 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.storage.model; - -/** - * An notification channel used to watch for resource changes. - * - *

This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Cloud Storage JSON API. For a detailed explanation - * see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *

- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class Channel extends com.google.api.client.json.GenericJson { - - /** - * The address where notifications are delivered for this channel. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String address; - - /** - * Date and time of notification channel expiration, expressed as a Unix timestamp, in - * milliseconds. Optional. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key @com.google.api.client.json.JsonString - private java.lang.Long expiration; - - /** - * A UUID or similar unique string that identifies this channel. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String id; - - /** - * Identifies this as a notification channel used to watch for changes to a resource, which is - * "api#channel". - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String kind; - - /** - * Additional parameters controlling delivery channel behavior. Optional. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.Map params; - - /** - * A Boolean value to indicate whether payload is wanted. Optional. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.Boolean payload; - - /** - * An opaque ID that identifies the resource being watched on this channel. Stable across - * different API versions. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String resourceId; - - /** - * A version-specific identifier for the watched resource. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String resourceUri; - - /** - * An arbitrary string delivered to the target address with each notification delivered over this - * channel. Optional. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String token; - - /** - * The type of delivery mechanism used for this channel. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String type; - - /** - * The address where notifications are delivered for this channel. - * @return value or {@code null} for none - */ - public java.lang.String getAddress() { - return address; - } - - /** - * The address where notifications are delivered for this channel. - * @param address address or {@code null} for none - */ - public Channel setAddress(java.lang.String address) { - this.address = address; - return this; - } - - /** - * Date and time of notification channel expiration, expressed as a Unix timestamp, in - * milliseconds. Optional. - * @return value or {@code null} for none - */ - public java.lang.Long getExpiration() { - return expiration; - } - - /** - * Date and time of notification channel expiration, expressed as a Unix timestamp, in - * milliseconds. Optional. - * @param expiration expiration or {@code null} for none - */ - public Channel setExpiration(java.lang.Long expiration) { - this.expiration = expiration; - return this; - } - - /** - * A UUID or similar unique string that identifies this channel. - * @return value or {@code null} for none - */ - public java.lang.String getId() { - return id; - } - - /** - * A UUID or similar unique string that identifies this channel. - * @param id id or {@code null} for none - */ - public Channel setId(java.lang.String id) { - this.id = id; - return this; - } - - /** - * Identifies this as a notification channel used to watch for changes to a resource, which is - * "api#channel". - * @return value or {@code null} for none - */ - public java.lang.String getKind() { - return kind; - } - - /** - * Identifies this as a notification channel used to watch for changes to a resource, which is - * "api#channel". - * @param kind kind or {@code null} for none - */ - public Channel setKind(java.lang.String kind) { - this.kind = kind; - return this; - } - - /** - * Additional parameters controlling delivery channel behavior. Optional. - * @return value or {@code null} for none - */ - public java.util.Map getParams() { - return params; - } - - /** - * Additional parameters controlling delivery channel behavior. Optional. - * @param params params or {@code null} for none - */ - public Channel setParams(java.util.Map params) { - this.params = params; - return this; - } - - /** - * A Boolean value to indicate whether payload is wanted. Optional. - * @return value or {@code null} for none - */ - public java.lang.Boolean getPayload() { - return payload; - } - - /** - * A Boolean value to indicate whether payload is wanted. Optional. - * @param payload payload or {@code null} for none - */ - public Channel setPayload(java.lang.Boolean payload) { - this.payload = payload; - return this; - } - - /** - * An opaque ID that identifies the resource being watched on this channel. Stable across - * different API versions. - * @return value or {@code null} for none - */ - public java.lang.String getResourceId() { - return resourceId; - } - - /** - * An opaque ID that identifies the resource being watched on this channel. Stable across - * different API versions. - * @param resourceId resourceId or {@code null} for none - */ - public Channel setResourceId(java.lang.String resourceId) { - this.resourceId = resourceId; - return this; - } - - /** - * A version-specific identifier for the watched resource. - * @return value or {@code null} for none - */ - public java.lang.String getResourceUri() { - return resourceUri; - } - - /** - * A version-specific identifier for the watched resource. - * @param resourceUri resourceUri or {@code null} for none - */ - public Channel setResourceUri(java.lang.String resourceUri) { - this.resourceUri = resourceUri; - return this; - } - - /** - * An arbitrary string delivered to the target address with each notification delivered over this - * channel. Optional. - * @return value or {@code null} for none - */ - public java.lang.String getToken() { - return token; - } - - /** - * An arbitrary string delivered to the target address with each notification delivered over this - * channel. Optional. - * @param token token or {@code null} for none - */ - public Channel setToken(java.lang.String token) { - this.token = token; - return this; - } - - /** - * The type of delivery mechanism used for this channel. - * @return value or {@code null} for none - */ - public java.lang.String getType() { - return type; - } - - /** - * The type of delivery mechanism used for this channel. - * @param type type or {@code null} for none - */ - public Channel setType(java.lang.String type) { - this.type = type; - return this; - } - - @Override - public Channel set(String fieldName, Object value) { - return (Channel) super.set(fieldName, value); - } - - @Override - public Channel clone() { - return (Channel) super.clone(); - } - -} 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 cb4e79333b1..e94af7e93c1 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-rev20260930-2.0.0 - Cloud Storage JSON API v1-rev20260930-2.0.0 + v1-rev20261009-2.0.0 + Cloud Storage JSON API v1-rev20261009-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 3f1ca838ba5..b24c6084c9a 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-rev20260930-2.0.0 + v1-rev20261009-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-storage:v1-rev20260930-2.0.0' + implementation 'com.google.apis:google-api-services-storage:v1-rev20261009-2.0.0' } ```