Skip to content

Commit 9b25e06

Browse files
1 parent 2297e25 commit 9b25e06

File tree

75 files changed

+6284
-128
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+6284
-128
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-rev20241004-2.0.0</version>
25+
<version>accounts_v1beta-rev20241023-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-rev20241004-2.0.0'
38+
implementation 'com.google.apis:google-api-services-merchantapi:accounts_v1beta-rev20241023-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: 77 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,17 +1066,26 @@ public Patch setName(java.lang.String name) {
10661066
return this;
10671067
}
10681068

1069-
/** Required. List of fields being updated. */
1069+
/**
1070+
* Optional. List of fields being updated. The following fields are supported (in both
1071+
* `snake_case` and `lowerCamelCase`): - `account_name` - `adult_content` - `language_code` -
1072+
* `time_zone`
1073+
*/
10701074
@com.google.api.client.util.Key
10711075
private String updateMask;
10721076

1073-
/** Required. List of fields being updated.
1077+
/** Optional. List of fields being updated. The following fields are supported (in both `snake_case`
1078+
and `lowerCamelCase`): - `account_name` - `adult_content` - `language_code` - `time_zone`
10741079
*/
10751080
public String getUpdateMask() {
10761081
return updateMask;
10771082
}
10781083

1079-
/** Required. List of fields being updated. */
1084+
/**
1085+
* Optional. List of fields being updated. The following fields are supported (in both
1086+
* `snake_case` and `lowerCamelCase`): - `account_name` - `adult_content` - `language_code` -
1087+
* `time_zone`
1088+
*/
10801089
public Patch setUpdateMask(String updateMask) {
10811090
this.updateMask = updateMask;
10821091
return this;
@@ -1713,17 +1722,27 @@ public UpdateBusinessIdentity setName(java.lang.String name) {
17131722
return this;
17141723
}
17151724

1716-
/** Required. List of fields being updated. */
1725+
/**
1726+
* Optional. List of fields being updated. The following fields are supported (in both
1727+
* `snake_case` and `lowerCamelCase`): - `black_owned` - `latino_owned` -
1728+
* `promotions_consent` - `small_business` - `veteran_owned` - `women_owned`
1729+
*/
17171730
@com.google.api.client.util.Key
17181731
private String updateMask;
17191732

1720-
/** Required. List of fields being updated.
1733+
/** Optional. List of fields being updated. The following fields are supported (in both `snake_case`
1734+
and `lowerCamelCase`): - `black_owned` - `latino_owned` - `promotions_consent` - `small_business` -
1735+
`veteran_owned` - `women_owned`
17211736
*/
17221737
public String getUpdateMask() {
17231738
return updateMask;
17241739
}
17251740

1726-
/** Required. List of fields being updated. */
1741+
/**
1742+
* Optional. List of fields being updated. The following fields are supported (in both
1743+
* `snake_case` and `lowerCamelCase`): - `black_owned` - `latino_owned` -
1744+
* `promotions_consent` - `small_business` - `veteran_owned` - `women_owned`
1745+
*/
17271746
public UpdateBusinessIdentity setUpdateMask(String updateMask) {
17281747
this.updateMask = updateMask;
17291748
return this;
@@ -2033,17 +2052,26 @@ public UpdateBusinessInfo setName(java.lang.String name) {
20332052
return this;
20342053
}
20352054

2036-
/** Required. List of fields being updated. */
2055+
/**
2056+
* Optional. List of fields being updated. The following fields are supported (in both
2057+
* `snake_case` and `lowerCamelCase`): - `address` - `customer_service` -
2058+
* `korean_business_registration_number`
2059+
*/
20372060
@com.google.api.client.util.Key
20382061
private String updateMask;
20392062

2040-
/** Required. List of fields being updated.
2063+
/** Optional. List of fields being updated. The following fields are supported (in both `snake_case`
2064+
and `lowerCamelCase`): - `address` - `customer_service` - `korean_business_registration_number`
20412065
*/
20422066
public String getUpdateMask() {
20432067
return updateMask;
20442068
}
20452069

2046-
/** Required. List of fields being updated. */
2070+
/**
2071+
* Optional. List of fields being updated. The following fields are supported (in both
2072+
* `snake_case` and `lowerCamelCase`): - `address` - `customer_service` -
2073+
* `korean_business_registration_number`
2074+
*/
20472075
public UpdateBusinessInfo setUpdateMask(String updateMask) {
20482076
this.updateMask = updateMask;
20492077
return this;
@@ -2077,7 +2105,8 @@ public EmailPreferences emailPreferences() {
20772105
public class EmailPreferences {
20782106

20792107
/**
2080-
* Returns the email preferences for a Merchant Center account user. Use the
2108+
* Returns the email preferences for a Merchant Center account user. This service only permits
2109+
* retrieving and updating email preferences for the authenticated user. Use the
20812110
* name=accounts/users/me/emailPreferences alias to get preferences for the authenticated user.
20822111
*
20832112
* Create a request for the method "emailPreferences.getEmailPreferences".
@@ -2103,7 +2132,8 @@ public class GetEmailPreferences extends MerchantRequest<com.google.api.services
21032132
java.util.regex.Pattern.compile("^accounts/[^/]+/users/[^/]+/emailPreferences$");
21042133

21052134
/**
2106-
* Returns the email preferences for a Merchant Center account user. Use the
2135+
* Returns the email preferences for a Merchant Center account user. This service only permits
2136+
* retrieving and updating email preferences for the authenticated user. Use the
21072137
* name=accounts/users/me/emailPreferences alias to get preferences for the authenticated user.
21082138
*
21092139
* Create a request for the method "emailPreferences.getEmailPreferences".
@@ -2370,17 +2400,24 @@ public UpdateEmailPreferences setName(java.lang.String name) {
23702400
return this;
23712401
}
23722402

2373-
/** Required. List of fields being updated. */
2403+
/**
2404+
* Required. List of fields being updated. The following fields are supported (in both
2405+
* `snake_case` and `lowerCamelCase`): - `news_and_tips`
2406+
*/
23742407
@com.google.api.client.util.Key
23752408
private String updateMask;
23762409

2377-
/** Required. List of fields being updated.
2410+
/** Required. List of fields being updated. The following fields are supported (in both `snake_case`
2411+
and `lowerCamelCase`): - `news_and_tips`
23782412
*/
23792413
public String getUpdateMask() {
23802414
return updateMask;
23812415
}
23822416

2383-
/** Required. List of fields being updated. */
2417+
/**
2418+
* Required. List of fields being updated. The following fields are supported (in both
2419+
* `snake_case` and `lowerCamelCase`): - `news_and_tips`
2420+
*/
23842421
public UpdateEmailPreferences setUpdateMask(String updateMask) {
23852422
this.updateMask = updateMask;
23862423
return this;
@@ -2964,17 +3001,24 @@ public UpdateHomepage setName(java.lang.String name) {
29643001
return this;
29653002
}
29663003

2967-
/** Required. List of fields being updated. */
3004+
/**
3005+
* Optional. List of fields being updated. The following fields are supported (in both
3006+
* `snake_case` and `lowerCamelCase`): - `uri`
3007+
*/
29683008
@com.google.api.client.util.Key
29693009
private String updateMask;
29703010

2971-
/** Required. List of fields being updated.
3011+
/** Optional. List of fields being updated. The following fields are supported (in both `snake_case`
3012+
and `lowerCamelCase`): - `uri`
29723013
*/
29733014
public String getUpdateMask() {
29743015
return updateMask;
29753016
}
29763017

2977-
/** Required. List of fields being updated. */
3018+
/**
3019+
* Optional. List of fields being updated. The following fields are supported (in both
3020+
* `snake_case` and `lowerCamelCase`): - `uri`
3021+
*/
29783022
public UpdateHomepage setUpdateMask(String updateMask) {
29793023
this.updateMask = updateMask;
29803024
return this;
@@ -5877,7 +5921,9 @@ public Create set(String parameterName, Object value) {
58775921
}
58785922
}
58795923
/**
5880-
* Deletes a Merchant Center account user. Executing this method requires admin access.
5924+
* Deletes a Merchant Center account user. Executing this method requires admin access. The user to
5925+
* be deleted can't be the last admin user of that account. Also a user is protected from deletion
5926+
* if it is managed by Business Manager"
58815927
*
58825928
* Create a request for the method "users.delete".
58835929
*
@@ -5903,7 +5949,9 @@ public class Delete extends MerchantRequest<com.google.api.services.merchantapi.
59035949
java.util.regex.Pattern.compile("^accounts/[^/]+/users/[^/]+$");
59045950

59055951
/**
5906-
* Deletes a Merchant Center account user. Executing this method requires admin access.
5952+
* Deletes a Merchant Center account user. Executing this method requires admin access. The user
5953+
* to be deleted can't be the last admin user of that account. Also a user is protected from
5954+
* deletion if it is managed by Business Manager"
59075955
*
59085956
* Create a request for the method "users.delete".
59095957
*
@@ -6500,17 +6548,24 @@ public Patch setName(java.lang.String name) {
65006548
return this;
65016549
}
65026550

6503-
/** Required. List of fields being updated. */
6551+
/**
6552+
* Optional. List of fields being updated. The following fields are supported (in both
6553+
* `snake_case` and `lowerCamelCase`): - `access_rights`
6554+
*/
65046555
@com.google.api.client.util.Key
65056556
private String updateMask;
65066557

6507-
/** Required. List of fields being updated.
6558+
/** Optional. List of fields being updated. The following fields are supported (in both `snake_case`
6559+
and `lowerCamelCase`): - `access_rights`
65086560
*/
65096561
public String getUpdateMask() {
65106562
return updateMask;
65116563
}
65126564

6513-
/** Required. List of fields being updated. */
6565+
/**
6566+
* Optional. List of fields being updated. The following fields are supported (in both
6567+
* `snake_case` and `lowerCamelCase`): - `access_rights`
6568+
*/
65146569
public Patch setUpdateMask(String updateMask) {
65156570
this.updateMask = updateMask;
65166571
return this;

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public final class AddAccountService extends com.google.api.client.json.GenericJ
3838
private AccountAggregation accountAggregation;
3939

4040
/**
41-
* Optional. The provider of the service. Format: `accounts/{account}`
41+
* Required. The provider of the service. Format: `accounts/{account}`
4242
* The value may be {@code null}.
4343
*/
4444
@com.google.api.client.util.Key
@@ -64,15 +64,15 @@ public AddAccountService setAccountAggregation(AccountAggregation accountAggrega
6464
}
6565

6666
/**
67-
* Optional. The provider of the service. Format: `accounts/{account}`
67+
* Required. The provider of the service. Format: `accounts/{account}`
6868
* @return value or {@code null} for none
6969
*/
7070
public java.lang.String getProvider() {
7171
return provider;
7272
}
7373

7474
/**
75-
* Optional. The provider of the service. Format: `accounts/{account}`
75+
* Required. The provider of the service. Format: `accounts/{account}`
7676
* @param provider provider or {@code null} for none
7777
*/
7878
public AddAccountService setProvider(java.lang.String provider) {

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

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

32+
/**
33+
* Optional. When set to `true`, this option removes any existing claim on the requested website
34+
* and replaces it with a claim from the account that makes the request.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Boolean overwrite;
39+
40+
/**
41+
* Optional. When set to `true`, this option removes any existing claim on the requested website
42+
* and replaces it with a claim from the account that makes the request.
43+
* @return value or {@code null} for none
44+
*/
45+
public java.lang.Boolean getOverwrite() {
46+
return overwrite;
47+
}
48+
49+
/**
50+
* Optional. When set to `true`, this option removes any existing claim on the requested website
51+
* and replaces it with a claim from the account that makes the request.
52+
* @param overwrite overwrite or {@code null} for none
53+
*/
54+
public ClaimHomepageRequest setOverwrite(java.lang.Boolean overwrite) {
55+
this.overwrite = overwrite;
56+
return this;
57+
}
58+
3259
@Override
3360
public ClaimHomepageRequest set(String fieldName, Object value) {
3461
return (ClaimHomepageRequest) super.set(fieldName, value);

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ public final class ProductStatusChangeMessage extends com.google.api.client.json
5656
com.google.api.client.util.Data.nullOf(ProductChange.class);
5757
}
5858

59+
/**
60+
* The product expiration time.
61+
* The value may be {@code null}.
62+
*/
63+
@com.google.api.client.util.Key
64+
private String expirationTime;
65+
5966
/**
6067
* The account that manages the merchant's account. can be the same as merchant id if it is
6168
* standalone account. Format : `accounts/{service_provider_id}`
@@ -136,6 +143,23 @@ public ProductStatusChangeMessage setChanges(java.util.List<ProductChange> chang
136143
return this;
137144
}
138145

146+
/**
147+
* The product expiration time.
148+
* @return value or {@code null} for none
149+
*/
150+
public String getExpirationTime() {
151+
return expirationTime;
152+
}
153+
154+
/**
155+
* The product expiration time.
156+
* @param expirationTime expirationTime or {@code null} for none
157+
*/
158+
public ProductStatusChangeMessage setExpirationTime(String expirationTime) {
159+
this.expirationTime = expirationTime;
160+
return this;
161+
}
162+
139163
/**
140164
* The account that manages the merchant's account. can be the same as merchant id if it is
141165
* standalone account. Format : `accounts/{service_provider_id}`

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-rev20241004-2.0.0</version>
12-
<name>Merchant API accounts_v1beta-rev20241004-2.0.0</name>
11+
<version>accounts_v1beta-rev20241023-2.0.0</version>
12+
<name>Merchant API accounts_v1beta-rev20241023-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-rev20241004-2.0.0</version>
25+
<version>accounts_v1beta-rev20241023-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-rev20241004-2.0.0'
38+
implementation 'com.google.apis:google-api-services-merchantapi:accounts_v1beta-rev20241023-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-merchantapi/conversions_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>conversions_v1beta-rev20241001-2.0.0</version>
25+
<version>conversions_v1beta-rev20241023-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:conversions_v1beta-rev20241001-2.0.0'
38+
implementation 'com.google.apis:google-api-services-merchantapi:conversions_v1beta-rev20241023-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)