Skip to content

Commit 41fa5b4

Browse files
1 parent 762b97c commit 41fa5b4

7 files changed

Lines changed: 234 additions & 6 deletions

File tree

clients/google-api-services-chromewebstore/v2/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-chromewebstore</artifactId>
25-
<version>v2-rev20251026-2.0.0</version>
25+
<version>v2-rev20260517-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-chromewebstore:v2-rev20251026-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chromewebstore:v2-rev20260517-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/PublishItemRequest.java

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@
2929
@SuppressWarnings("javadoc")
3030
public final class PublishItemRequest extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Optional. When set to true the request will fail if there are any warnings during validation
34+
* and the details will be included in the error_details. Otherwise warnings are treated as non-
35+
* blocking and will be ignored for validation but will be included in the response for
36+
* inspection. Defaults to `false` if unset.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.Boolean blockOnWarnings;
41+
3242
/**
3343
* Optional. Additional deploy information including the desired initial percentage rollout.
3444
* 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
5969
@com.google.api.client.util.Key
6070
private java.lang.Boolean skipReview;
6171

72+
/**
73+
* Optional. When set to true the request will fail if there are any warnings during validation
74+
* and the details will be included in the error_details. Otherwise warnings are treated as non-
75+
* blocking and will be ignored for validation but will be included in the response for
76+
* inspection. Defaults to `false` if unset.
77+
* @return value or {@code null} for none
78+
*/
79+
public java.lang.Boolean getBlockOnWarnings() {
80+
return blockOnWarnings;
81+
}
82+
83+
/**
84+
* Optional. When set to true the request will fail if there are any warnings during validation
85+
* and the details will be included in the error_details. Otherwise warnings are treated as non-
86+
* blocking and will be ignored for validation but will be included in the response for
87+
* inspection. Defaults to `false` if unset.
88+
* @param blockOnWarnings blockOnWarnings or {@code null} for none
89+
*/
90+
public PublishItemRequest setBlockOnWarnings(java.lang.Boolean blockOnWarnings) {
91+
this.blockOnWarnings = blockOnWarnings;
92+
return this;
93+
}
94+
6295
/**
6396
* Optional. Additional deploy information including the desired initial percentage rollout.
6497
* Defaults to the current value saved in the developer dashboard if unset.

clients/google-api-services-chromewebstore/v2/2.0.0/com/google/api/services/chromewebstore/v2/model/PublishItemResponse.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ public final class PublishItemResponse extends com.google.api.client.json.Generi
5050
@com.google.api.client.util.Key
5151
private java.lang.String state;
5252

53+
/**
54+
* Output only. Non-blocking warnings encountered during the request.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private WarningsInfo warningInfo;
59+
5360
/**
5461
* Output only. The ID of the item.
5562
* @return value or {@code null} for none
@@ -101,6 +108,23 @@ public PublishItemResponse setState(java.lang.String state) {
101108
return this;
102109
}
103110

111+
/**
112+
* Output only. Non-blocking warnings encountered during the request.
113+
* @return value or {@code null} for none
114+
*/
115+
public WarningsInfo getWarningInfo() {
116+
return warningInfo;
117+
}
118+
119+
/**
120+
* Output only. Non-blocking warnings encountered during the request.
121+
* @param warningInfo warningInfo or {@code null} for none
122+
*/
123+
public PublishItemResponse setWarningInfo(WarningsInfo warningInfo) {
124+
this.warningInfo = warningInfo;
125+
return this;
126+
}
127+
104128
@Override
105129
public PublishItemResponse set(String fieldName, Object value) {
106130
return (PublishItemResponse) super.set(fieldName, value);
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.chromewebstore.v2.model;
18+
19+
/**
20+
* Represents a single warning encountered during the request.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Chrome Web Store API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class Warning extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* A description of the warning. Developers should use this message to understand the warning and
34+
* take appropriate action to resolve the issue.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String description;
39+
40+
/**
41+
* The reason for the warning. This is a constant value that identifies the proximate cause of the
42+
* warning. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`,
43+
* which represents UPPER_SNAKE_CASE.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String reason;
48+
49+
/**
50+
* A description of the warning. Developers should use this message to understand the warning and
51+
* take appropriate action to resolve the issue.
52+
* @return value or {@code null} for none
53+
*/
54+
public java.lang.String getDescription() {
55+
return description;
56+
}
57+
58+
/**
59+
* A description of the warning. Developers should use this message to understand the warning and
60+
* take appropriate action to resolve the issue.
61+
* @param description description or {@code null} for none
62+
*/
63+
public Warning setDescription(java.lang.String description) {
64+
this.description = description;
65+
return this;
66+
}
67+
68+
/**
69+
* The reason for the warning. This is a constant value that identifies the proximate cause of the
70+
* warning. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`,
71+
* which represents UPPER_SNAKE_CASE.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.String getReason() {
75+
return reason;
76+
}
77+
78+
/**
79+
* The reason for the warning. This is a constant value that identifies the proximate cause of the
80+
* warning. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`,
81+
* which represents UPPER_SNAKE_CASE.
82+
* @param reason reason or {@code null} for none
83+
*/
84+
public Warning setReason(java.lang.String reason) {
85+
this.reason = reason;
86+
return this;
87+
}
88+
89+
@Override
90+
public Warning set(String fieldName, Object value) {
91+
return (Warning) super.set(fieldName, value);
92+
}
93+
94+
@Override
95+
public Warning clone() {
96+
return (Warning) super.clone();
97+
}
98+
99+
}
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.chromewebstore.v2.model;
18+
19+
/**
20+
* Message containing details on warnings encountered during PublishItem.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Chrome Web Store API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class WarningsInfo extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* All warnings encountered during the request.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<Warning> warnings;
38+
39+
static {
40+
// hack to force ProGuard to consider Warning used, since otherwise it would be stripped out
41+
// see https://github.com/google/google-api-java-client/issues/543
42+
com.google.api.client.util.Data.nullOf(Warning.class);
43+
}
44+
45+
/**
46+
* All warnings encountered during the request.
47+
* @return value or {@code null} for none
48+
*/
49+
public java.util.List<Warning> getWarnings() {
50+
return warnings;
51+
}
52+
53+
/**
54+
* All warnings encountered during the request.
55+
* @param warnings warnings or {@code null} for none
56+
*/
57+
public WarningsInfo setWarnings(java.util.List<Warning> warnings) {
58+
this.warnings = warnings;
59+
return this;
60+
}
61+
62+
@Override
63+
public WarningsInfo set(String fieldName, Object value) {
64+
return (WarningsInfo) super.set(fieldName, value);
65+
}
66+
67+
@Override
68+
public WarningsInfo clone() {
69+
return (WarningsInfo) super.clone();
70+
}
71+
72+
}

clients/google-api-services-chromewebstore/v2/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-chromewebstore</artifactId>
11-
<version>v2-rev20251026-2.0.0</version>
12-
<name>Chrome Web Store API v2-rev20251026-2.0.0</name>
11+
<version>v2-rev20260517-2.0.0</version>
12+
<name>Chrome Web Store API v2-rev20260517-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-chromewebstore/v2/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-chromewebstore</artifactId>
25-
<version>v2-rev20251026-2.0.0</version>
25+
<version>v2-rev20260517-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-chromewebstore:v2-rev20251026-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chromewebstore:v2-rev20260517-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)