From c00b3466aa5e455df89f7b576965f3724309248f Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 20 May 2026 18:34:47 -0700 Subject: [PATCH] chore: regenerate chromewebstore client --- .../v2/2.0.0/README.md | 4 +- .../v2/model/PublishItemRequest.java | 33 +++++++ .../v2/model/PublishItemResponse.java | 24 +++++ .../chromewebstore/v2/model/Warning.java | 99 +++++++++++++++++++ .../chromewebstore/v2/model/WarningsInfo.java | 72 ++++++++++++++ .../v2/2.0.0/pom.xml | 4 +- .../v2/README.md | 4 +- 7 files changed, 234 insertions(+), 6 deletions(-) create mode 100644 clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/Warning.java create mode 100644 clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/WarningsInfo.java diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/README.md b/clients/google-api-services-chromewebstore/v2/2.0.0/README.md index 81bd5509724..3570ac2d51e 100644 --- a/clients/google-api-services-chromewebstore/v2/2.0.0/README.md +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-chromewebstore - v2-rev20251026-2.0.0 + v2-rev20260517-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-chromewebstore:v2-rev20251026-2.0.0' + implementation 'com.google.apis:google-api-services-chromewebstore:v2-rev20260517-2.0.0' } ``` diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/PublishItemRequest.java b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/PublishItemRequest.java index ccd6e6e5dda..441877fa37b 100644 --- a/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/PublishItemRequest.java +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/PublishItemRequest.java @@ -29,6 +29,16 @@ @SuppressWarnings("javadoc") public final class PublishItemRequest extends com.google.api.client.json.GenericJson { + /** + * Optional. When set to true the request will fail if there are any warnings during validation + * and the details will be included in the error_details. Otherwise warnings are treated as non- + * blocking and will be ignored for validation but will be included in the response for + * inspection. Defaults to `false` if unset. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean blockOnWarnings; + /** * Optional. Additional deploy information including the desired initial percentage rollout. * Defaults to the current value saved in the developer dashboard if unset. @@ -59,6 +69,29 @@ public final class PublishItemRequest extends com.google.api.client.json.Generic @com.google.api.client.util.Key private java.lang.Boolean skipReview; + /** + * Optional. When set to true the request will fail if there are any warnings during validation + * and the details will be included in the error_details. Otherwise warnings are treated as non- + * blocking and will be ignored for validation but will be included in the response for + * inspection. Defaults to `false` if unset. + * @return value or {@code null} for none + */ + public java.lang.Boolean getBlockOnWarnings() { + return blockOnWarnings; + } + + /** + * Optional. When set to true the request will fail if there are any warnings during validation + * and the details will be included in the error_details. Otherwise warnings are treated as non- + * blocking and will be ignored for validation but will be included in the response for + * inspection. Defaults to `false` if unset. + * @param blockOnWarnings blockOnWarnings or {@code null} for none + */ + public PublishItemRequest setBlockOnWarnings(java.lang.Boolean blockOnWarnings) { + this.blockOnWarnings = blockOnWarnings; + return this; + } + /** * Optional. Additional deploy information including the desired initial percentage rollout. * Defaults to the current value saved in the developer dashboard if unset. diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/PublishItemResponse.java b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/PublishItemResponse.java index 2dd770983ec..f598c0a742c 100644 --- a/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/PublishItemResponse.java +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/PublishItemResponse.java @@ -50,6 +50,13 @@ public final class PublishItemResponse extends com.google.api.client.json.Generi @com.google.api.client.util.Key private java.lang.String state; + /** + * Output only. Non-blocking warnings encountered during the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private WarningsInfo warningInfo; + /** * Output only. The ID of the item. * @return value or {@code null} for none @@ -101,6 +108,23 @@ public PublishItemResponse setState(java.lang.String state) { return this; } + /** + * Output only. Non-blocking warnings encountered during the request. + * @return value or {@code null} for none + */ + public WarningsInfo getWarningInfo() { + return warningInfo; + } + + /** + * Output only. Non-blocking warnings encountered during the request. + * @param warningInfo warningInfo or {@code null} for none + */ + public PublishItemResponse setWarningInfo(WarningsInfo warningInfo) { + this.warningInfo = warningInfo; + return this; + } + @Override public PublishItemResponse set(String fieldName, Object value) { return (PublishItemResponse) super.set(fieldName, value); diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/Warning.java b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/Warning.java new file mode 100644 index 00000000000..3b288ca7db7 --- /dev/null +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/Warning.java @@ -0,0 +1,99 @@ +/* + * 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.chromewebstore.v2.model; + +/** + * Represents a single warning encountered during the request. + * + *

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 Chrome Web Store 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 Warning extends com.google.api.client.json.GenericJson { + + /** + * A description of the warning. Developers should use this message to understand the warning and + * take appropriate action to resolve the issue. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * The reason for the warning. This is a constant value that identifies the proximate cause of the + * warning. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, + * which represents UPPER_SNAKE_CASE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String reason; + + /** + * A description of the warning. Developers should use this message to understand the warning and + * take appropriate action to resolve the issue. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * A description of the warning. Developers should use this message to understand the warning and + * take appropriate action to resolve the issue. + * @param description description or {@code null} for none + */ + public Warning setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * The reason for the warning. This is a constant value that identifies the proximate cause of the + * warning. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, + * which represents UPPER_SNAKE_CASE. + * @return value or {@code null} for none + */ + public java.lang.String getReason() { + return reason; + } + + /** + * The reason for the warning. This is a constant value that identifies the proximate cause of the + * warning. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, + * which represents UPPER_SNAKE_CASE. + * @param reason reason or {@code null} for none + */ + public Warning setReason(java.lang.String reason) { + this.reason = reason; + return this; + } + + @Override + public Warning set(String fieldName, Object value) { + return (Warning) super.set(fieldName, value); + } + + @Override + public Warning clone() { + return (Warning) super.clone(); + } + +} diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/WarningsInfo.java b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/WarningsInfo.java new file mode 100644 index 00000000000..2446533f8f1 --- /dev/null +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/WarningsInfo.java @@ -0,0 +1,72 @@ +/* + * 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.chromewebstore.v2.model; + +/** + * Message containing details on warnings encountered during PublishItem. + * + *

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 Chrome Web Store 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 WarningsInfo extends com.google.api.client.json.GenericJson { + + /** + * All warnings encountered during the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List warnings; + + static { + // hack to force ProGuard to consider Warning used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(Warning.class); + } + + /** + * All warnings encountered during the request. + * @return value or {@code null} for none + */ + public java.util.List getWarnings() { + return warnings; + } + + /** + * All warnings encountered during the request. + * @param warnings warnings or {@code null} for none + */ + public WarningsInfo setWarnings(java.util.List warnings) { + this.warnings = warnings; + return this; + } + + @Override + public WarningsInfo set(String fieldName, Object value) { + return (WarningsInfo) super.set(fieldName, value); + } + + @Override + public WarningsInfo clone() { + return (WarningsInfo) super.clone(); + } + +} diff --git a/clients/google-api-services-chromewebstore/v2/2.0.0/pom.xml b/clients/google-api-services-chromewebstore/v2/2.0.0/pom.xml index 232322fd07d..7af1d77167c 100644 --- a/clients/google-api-services-chromewebstore/v2/2.0.0/pom.xml +++ b/clients/google-api-services-chromewebstore/v2/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-chromewebstore - v2-rev20251026-2.0.0 - Chrome Web Store API v2-rev20251026-2.0.0 + v2-rev20260517-2.0.0 + Chrome Web Store API v2-rev20260517-2.0.0 jar 2011 diff --git a/clients/google-api-services-chromewebstore/v2/README.md b/clients/google-api-services-chromewebstore/v2/README.md index 81bd5509724..3570ac2d51e 100644 --- a/clients/google-api-services-chromewebstore/v2/README.md +++ b/clients/google-api-services-chromewebstore/v2/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-chromewebstore - v2-rev20251026-2.0.0 + v2-rev20260517-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-chromewebstore:v2-rev20251026-2.0.0' + implementation 'com.google.apis:google-api-services-chromewebstore:v2-rev20260517-2.0.0' } ```