Skip to content

Commit c936f3d

Browse files
1 parent bed04f6 commit c936f3d

File tree

16 files changed

+790
-54
lines changed

16 files changed

+790
-54
lines changed

clients/google-api-services-merchantapi/accounts_v1beta/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-merchantapi</artifactId>
25-
<version>accounts_v1beta-rev20250628-2.0.0</version>
25+
<version>accounts_v1beta-rev20250710-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-merchantapi:accounts_v1beta-rev20250628-2.0.0'
38+
implementation 'com.google.apis:google-api-services-merchantapi:accounts_v1beta-rev20250710-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/Merchant.java

Lines changed: 454 additions & 12 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
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.merchantapi.accounts_v1beta.model;
18+
19+
/**
20+
* Represents a developer registration owned by a Merchant account.
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 Merchant 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 DeveloperRegistration extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Output only. The GCP ids attached to this developer registration
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<java.lang.String> gcpIds;
38+
39+
/**
40+
* Identifier. The `name` (ID) of the developer registration. Generated by the Content API upon
41+
* creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the
42+
* merchant that owns the registration.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String name;
47+
48+
/**
49+
* Output only. The GCP ids attached to this developer registration
50+
* @return value or {@code null} for none
51+
*/
52+
public java.util.List<java.lang.String> getGcpIds() {
53+
return gcpIds;
54+
}
55+
56+
/**
57+
* Output only. The GCP ids attached to this developer registration
58+
* @param gcpIds gcpIds or {@code null} for none
59+
*/
60+
public DeveloperRegistration setGcpIds(java.util.List<java.lang.String> gcpIds) {
61+
this.gcpIds = gcpIds;
62+
return this;
63+
}
64+
65+
/**
66+
* Identifier. The `name` (ID) of the developer registration. Generated by the Content API upon
67+
* creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the
68+
* merchant that owns the registration.
69+
* @return value or {@code null} for none
70+
*/
71+
public java.lang.String getName() {
72+
return name;
73+
}
74+
75+
/**
76+
* Identifier. The `name` (ID) of the developer registration. Generated by the Content API upon
77+
* creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the
78+
* merchant that owns the registration.
79+
* @param name name or {@code null} for none
80+
*/
81+
public DeveloperRegistration setName(java.lang.String name) {
82+
this.name = name;
83+
return this;
84+
}
85+
86+
@Override
87+
public DeveloperRegistration set(String fieldName, Object value) {
88+
return (DeveloperRegistration) super.set(fieldName, value);
89+
}
90+
91+
@Override
92+
public DeveloperRegistration clone() {
93+
return (DeveloperRegistration) super.clone();
94+
}
95+
96+
}

clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/OnlineReturnPolicy.java

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ public final class OnlineReturnPolicy extends com.google.api.client.json.Generic
6161
private java.util.List<java.lang.String> itemConditions;
6262

6363
/**
64-
* Required. Immutable. This field represents the unique user-defined label of the return policy.
65-
* It is important to note that the same label cannot be used in different return policies for the
66-
* same country. Unless a product specifies a specific label attribute, policies will be
67-
* automatically labeled as 'default'. To assign a custom return policy to certain product groups,
68-
* follow the instructions provided in the [Return policy label]
69-
* (https://support.google.com/merchants/answer/9445425). The label can contain up to 50
70-
* characters.
64+
* Optional. Immutable. This field represents the unique user-defined label of the return policy
65+
* for the given country. It is important to note that the same label cannot be used in different
66+
* return policies for the same country. If not given, policies will be automatically treated as
67+
* the 'default' for the country. When using label, you are creating an exception policy in that
68+
* country to assign a custom return policy to certain product groups, follow the instructions
69+
* provided in the [Return policy label] (https://support.google.com/merchants/answer/9445425).
70+
* The label can contain up to 50 characters.
7171
* The value may be {@code null}.
7272
*/
7373
@com.google.api.client.util.Key
@@ -222,27 +222,27 @@ public OnlineReturnPolicy setItemConditions(java.util.List<java.lang.String> ite
222222
}
223223

224224
/**
225-
* Required. Immutable. This field represents the unique user-defined label of the return policy.
226-
* It is important to note that the same label cannot be used in different return policies for the
227-
* same country. Unless a product specifies a specific label attribute, policies will be
228-
* automatically labeled as 'default'. To assign a custom return policy to certain product groups,
229-
* follow the instructions provided in the [Return policy label]
230-
* (https://support.google.com/merchants/answer/9445425). The label can contain up to 50
231-
* characters.
225+
* Optional. Immutable. This field represents the unique user-defined label of the return policy
226+
* for the given country. It is important to note that the same label cannot be used in different
227+
* return policies for the same country. If not given, policies will be automatically treated as
228+
* the 'default' for the country. When using label, you are creating an exception policy in that
229+
* country to assign a custom return policy to certain product groups, follow the instructions
230+
* provided in the [Return policy label] (https://support.google.com/merchants/answer/9445425).
231+
* The label can contain up to 50 characters.
232232
* @return value or {@code null} for none
233233
*/
234234
public java.lang.String getLabel() {
235235
return label;
236236
}
237237

238238
/**
239-
* Required. Immutable. This field represents the unique user-defined label of the return policy.
240-
* It is important to note that the same label cannot be used in different return policies for the
241-
* same country. Unless a product specifies a specific label attribute, policies will be
242-
* automatically labeled as 'default'. To assign a custom return policy to certain product groups,
243-
* follow the instructions provided in the [Return policy label]
244-
* (https://support.google.com/merchants/answer/9445425). The label can contain up to 50
245-
* characters.
239+
* Optional. Immutable. This field represents the unique user-defined label of the return policy
240+
* for the given country. It is important to note that the same label cannot be used in different
241+
* return policies for the same country. If not given, policies will be automatically treated as
242+
* the 'default' for the country. When using label, you are creating an exception policy in that
243+
* country to assign a custom return policy to certain product groups, follow the instructions
244+
* provided in the [Return policy label] (https://support.google.com/merchants/answer/9445425).
245+
* The label can contain up to 50 characters.
246246
* @param label label or {@code null} for none
247247
*/
248248
public OnlineReturnPolicy setLabel(java.lang.String label) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
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.merchantapi.accounts_v1beta.model;
18+
19+
/**
20+
* Request message for the RegisterGCP method.
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 Merchant 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 RegisterGCPRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Immutable. If the developer email provided is associated with a user in the merchant account
34+
* provided, the user will be updated to have "API developer" access type and the email preference
35+
* corresponding to that user will be updated to have the new "API notifications" preference. If
36+
* the developer email provided is not associated with any user we will just add it as a contact.
37+
* The email preference corresponding to that contact will have the new "API notifications"
38+
* preference
39+
* The value may be {@code null}.
40+
*/
41+
@com.google.api.client.util.Key
42+
private java.lang.String developerEmail;
43+
44+
/**
45+
* Immutable. If the developer email provided is associated with a user in the merchant account
46+
* provided, the user will be updated to have "API developer" access type and the email preference
47+
* corresponding to that user will be updated to have the new "API notifications" preference. If
48+
* the developer email provided is not associated with any user we will just add it as a contact.
49+
* The email preference corresponding to that contact will have the new "API notifications"
50+
* preference
51+
* @return value or {@code null} for none
52+
*/
53+
public java.lang.String getDeveloperEmail() {
54+
return developerEmail;
55+
}
56+
57+
/**
58+
* Immutable. If the developer email provided is associated with a user in the merchant account
59+
* provided, the user will be updated to have "API developer" access type and the email preference
60+
* corresponding to that user will be updated to have the new "API notifications" preference. If
61+
* the developer email provided is not associated with any user we will just add it as a contact.
62+
* The email preference corresponding to that contact will have the new "API notifications"
63+
* preference
64+
* @param developerEmail developerEmail or {@code null} for none
65+
*/
66+
public RegisterGCPRequest setDeveloperEmail(java.lang.String developerEmail) {
67+
this.developerEmail = developerEmail;
68+
return this;
69+
}
70+
71+
@Override
72+
public RegisterGCPRequest set(String fieldName, Object value) {
73+
return (RegisterGCPRequest) super.set(fieldName, value);
74+
}
75+
76+
@Override
77+
public RegisterGCPRequest clone() {
78+
return (RegisterGCPRequest) super.clone();
79+
}
80+
81+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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.merchantapi.accounts_v1beta.model;
18+
19+
/**
20+
* Request message for the UnregisterGCP method.
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 Merchant 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 UnregisterGCPRequest extends com.google.api.client.json.GenericJson {
31+
32+
@Override
33+
public UnregisterGCPRequest set(String fieldName, Object value) {
34+
return (UnregisterGCPRequest) super.set(fieldName, value);
35+
}
36+
37+
@Override
38+
public UnregisterGCPRequest clone() {
39+
return (UnregisterGCPRequest) super.clone();
40+
}
41+
42+
}

clients/google-api-services-merchantapi/accounts_v1beta/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-merchantapi</artifactId>
11-
<version>accounts_v1beta-rev20250628-2.0.0</version>
12-
<name>Merchant API accounts_v1beta-rev20250628-2.0.0</name>
11+
<version>accounts_v1beta-rev20250710-2.0.0</version>
12+
<name>Merchant API accounts_v1beta-rev20250710-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-merchantapi/accounts_v1beta/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-merchantapi</artifactId>
25-
<version>accounts_v1beta-rev20250628-2.0.0</version>
25+
<version>accounts_v1beta-rev20250710-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-merchantapi:accounts_v1beta-rev20250628-2.0.0'
38+
implementation 'com.google.apis:google-api-services-merchantapi:accounts_v1beta-rev20250710-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-merchantapi/products_v1beta/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-merchantapi</artifactId>
25-
<version>products_v1beta-rev20250621-2.0.0</version>
25+
<version>products_v1beta-rev20250710-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-merchantapi:products_v1beta-rev20250621-2.0.0'
38+
implementation 'com.google.apis:google-api-services-merchantapi:products_v1beta-rev20250710-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)