From 6d3403b7bcf931efeaa451b2c164e90a22989624 Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Sat, 7 Feb 2026 18:20:59 -0800
Subject: [PATCH] chore: regenerate storagebatchoperations client
---
.../v1/2.0.0/README.md | 4 +-
.../v1/StorageBatchOperations.java | 413 +++++++++++++++++-
.../v1/model/BucketOperation.java | 388 ++++++++++++++++
.../model/ListBucketOperationsResponse.java | 121 +++++
.../v1/2.0.0/pom.xml | 4 +-
.../v1/README.md | 4 +-
6 files changed, 926 insertions(+), 8 deletions(-)
create mode 100644 clients/google-api-services-storagebatchoperations/v1/2.0.0/com/google/api/services/storagebatchoperations/v1/model/BucketOperation.java
create mode 100644 clients/google-api-services-storagebatchoperations/v1/2.0.0/com/google/api/services/storagebatchoperations/v1/model/ListBucketOperationsResponse.java
diff --git a/clients/google-api-services-storagebatchoperations/v1/2.0.0/README.md b/clients/google-api-services-storagebatchoperations/v1/2.0.0/README.md
index 45ef00cf7d6..4a0d35748f9 100644
--- a/clients/google-api-services-storagebatchoperations/v1/2.0.0/README.md
+++ b/clients/google-api-services-storagebatchoperations/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
+ * {@code StorageBatchOperations storagebatchoperations = new StorageBatchOperations(...);}
+ * {@code StorageBatchOperations.BucketOperations.List request = storagebatchoperations.bucketOperations().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public BucketOperations bucketOperations() {
+ return new BucketOperations();
+ }
+
+ /**
+ * The "bucketOperations" collection of methods.
+ */
+ public class BucketOperations {
+
+ /**
+ * Gets a BucketOperation.
+ *
+ * Create a request for the method "bucketOperations.get".
+ *
+ * This request holds the parameters needed by the storagebatchoperations server. After setting any
+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ *
+ * @param name Required. `name` of the bucket operation to retrieve. Format:
+ * projects/{project_id}/locations/global/jobs/{job_id}/bucketOperations/{bucket_operation_id
+ * }.
+ * @return the request
+ */
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
+ initialize(result);
+ return result;
+ }
+
+ public class Get extends StorageBatchOperationsRequest{@link + * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be + * called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Required. `name` of the bucket operation to retrieve. Format: + * projects/{project_id}/locations/global/jobs/{job_id}/bucketOperations/{bucket_operation_id + * }. + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(StorageBatchOperations.this, "GET", REST_PATH, null, com.google.api.services.storagebatchoperations.v1.model.BucketOperation.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/jobs/[^/]+/bucketOperations/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. `name` of the bucket operation to retrieve. Format: projects/{project_id}/l + * ocations/global/jobs/{job_id}/bucketOperations/{bucket_operation_id}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. `name` of the bucket operation to retrieve. Format: + projects/{project_id}/locations/global/jobs/{job_id}/bucketOperations/{bucket_operation_id}. + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. `name` of the bucket operation to retrieve. Format: projects/{project_id}/l + * ocations/global/jobs/{job_id}/bucketOperations/{bucket_operation_id}. + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/jobs/[^/]+/bucketOperations/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists BucketOperations in a given project and job. + * + * Create a request for the method "bucketOperations.list". + * + * This request holds the parameters needed by the storagebatchoperations server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. Format: projects/{project_id}/locations/global/jobs/{job_id}. + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends StorageBatchOperationsRequest{@link + * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be + * called to initialize this instance immediately after invoking the constructor.
+ * + * @param parent Required. Format: projects/{project_id}/locations/global/jobs/{job_id}. + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(StorageBatchOperations.this, "GET", REST_PATH, null, com.google.api.services.storagebatchoperations.v1.model.ListBucketOperationsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/jobs/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** Required. Format: projects/{project_id}/locations/global/jobs/{job_id}. */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. Format: projects/{project_id}/locations/global/jobs/{job_id}. + */ + public java.lang.String getParent() { + return parent; + } + + /** Required. Format: projects/{project_id}/locations/global/jobs/{job_id}. */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/jobs/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** Optional. Filters results as defined by https://google.aip.dev/160. */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. Filters results as defined by https://google.aip.dev/160. + */ + public java.lang.String getFilter() { + return filter; + } + + /** Optional. Filters results as defined by https://google.aip.dev/160. */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** Optional. Field to sort by. Supported fields are name, create_time. */ + @com.google.api.client.util.Key + private java.lang.String orderBy; + + /** Optional. Field to sort by. Supported fields are name, create_time. + */ + public java.lang.String getOrderBy() { + return orderBy; + } + + /** Optional. Field to sort by. Supported fields are name, create_time. */ + public List setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; + return this; + } + + /** Optional. The list page size. Default page size is 100. */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The list page size. Default page size is 100. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** Optional. The list page size. Default page size is 100. */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** Optional. The list page token. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. The list page token. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** Optional. The list page token. */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + + } } /** * An accessor for creating requests from the Operations collection. diff --git a/clients/google-api-services-storagebatchoperations/v1/2.0.0/com/google/api/services/storagebatchoperations/v1/model/BucketOperation.java b/clients/google-api-services-storagebatchoperations/v1/2.0.0/com/google/api/services/storagebatchoperations/v1/model/BucketOperation.java new file mode 100644 index 00000000000..8f4bcd42576 --- /dev/null +++ b/clients/google-api-services-storagebatchoperations/v1/2.0.0/com/google/api/services/storagebatchoperations/v1/model/BucketOperation.java @@ -0,0 +1,388 @@ +/* + * 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.storagebatchoperations.v1.model; + +/** + * BucketOperation represents a bucket-level breakdown of a Job. + * + *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 Storage Batch Operations 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 BucketOperation extends com.google.api.client.json.GenericJson { + + /** + * The bucket name of the objects to be transformed in the BucketOperation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String bucketName; + + /** + * Output only. The time that the BucketOperation was completed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String completeTime; + + /** + * Output only. Information about the progress of the bucket operation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Counters counters; + + /** + * Output only. The time that the BucketOperation was created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Delete objects. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private DeleteObject deleteObject; + + /** + * Output only. Summarizes errors encountered with sample error log entries. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Storage Batch Operations 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 ListBucketOperationsResponse extends com.google.api.client.json.GenericJson { + + /** + * A list of storage batch bucket operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List