Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-chromewebstore</artifactId>
<version>v2-rev20251026-2.0.0</version>
<version>v2-rev20260517-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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<Warning> 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<Warning> getWarnings() {
return warnings;
}

/**
* All warnings encountered during the request.
* @param warnings warnings or {@code null} for none
*/
public WarningsInfo setWarnings(java.util.List<Warning> 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();
}

}
4 changes: 2 additions & 2 deletions clients/google-api-services-chromewebstore/v2/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-chromewebstore</artifactId>
<version>v2-rev20251026-2.0.0</version>
<name>Chrome Web Store API v2-rev20251026-2.0.0</name>
<version>v2-rev20260517-2.0.0</version>
<name>Chrome Web Store API v2-rev20260517-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-chromewebstore/v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-chromewebstore</artifactId>
<version>v2-rev20251026-2.0.0</version>
<version>v2-rev20260517-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down