Skip to content

Commit 1775971

Browse files
1 parent fbe82f1 commit 1775971

File tree

57 files changed

+528
-315
lines changed

Some content is hidden

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

57 files changed

+528
-315
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-rev20250219-2.0.0</version>
25+
<version>accounts_v1beta-rev20250301-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-rev20250219-2.0.0'
38+
implementation 'com.google.apis:google-api-services-merchantapi:accounts_v1beta-rev20250301-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,43 +31,50 @@
3131
public final class ProductChange extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* The new value of the changed resource or attribute.
34+
* The new value of the changed resource or attribute. If empty, it means that the product was
35+
* deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
3536
* The value may be {@code null}.
3637
*/
3738
@com.google.api.client.util.Key
3839
private java.lang.String newValue;
3940

4041
/**
41-
* The old value of the changed resource or attribute.
42+
* The old value of the changed resource or attribute. If empty, it means that the product was
43+
* created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
4244
* The value may be {@code null}.
4345
*/
4446
@com.google.api.client.util.Key
4547
private java.lang.String oldValue;
4648

4749
/**
48-
* Countries that have the change (if applicable)
50+
* Countries that have the change (if applicable). Represented in the ISO 3166 format.
4951
* The value may be {@code null}.
5052
*/
5153
@com.google.api.client.util.Key
5254
private java.lang.String regionCode;
5355

5456
/**
55-
* Reporting contexts that have the change (if applicable)
57+
* Reporting contexts that have the change (if applicable). Currently this field supports only
58+
* (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`,
59+
* `YOUTUBE_AFFILIATE`) from the enum value
60+
* [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
5661
* The value may be {@code null}.
5762
*/
5863
@com.google.api.client.util.Key
5964
private java.lang.String reportingContext;
6065

6166
/**
62-
* The new value of the changed resource or attribute.
67+
* The new value of the changed resource or attribute. If empty, it means that the product was
68+
* deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
6369
* @return value or {@code null} for none
6470
*/
6571
public java.lang.String getNewValue() {
6672
return newValue;
6773
}
6874

6975
/**
70-
* The new value of the changed resource or attribute.
76+
* The new value of the changed resource or attribute. If empty, it means that the product was
77+
* deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
7178
* @param newValue newValue or {@code null} for none
7279
*/
7380
public ProductChange setNewValue(java.lang.String newValue) {
@@ -76,15 +83,17 @@ public ProductChange setNewValue(java.lang.String newValue) {
7683
}
7784

7885
/**
79-
* The old value of the changed resource or attribute.
86+
* The old value of the changed resource or attribute. If empty, it means that the product was
87+
* created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
8088
* @return value or {@code null} for none
8189
*/
8290
public java.lang.String getOldValue() {
8391
return oldValue;
8492
}
8593

8694
/**
87-
* The old value of the changed resource or attribute.
95+
* The old value of the changed resource or attribute. If empty, it means that the product was
96+
* created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
8897
* @param oldValue oldValue or {@code null} for none
8998
*/
9099
public ProductChange setOldValue(java.lang.String oldValue) {
@@ -93,15 +102,15 @@ public ProductChange setOldValue(java.lang.String oldValue) {
93102
}
94103

95104
/**
96-
* Countries that have the change (if applicable)
105+
* Countries that have the change (if applicable). Represented in the ISO 3166 format.
97106
* @return value or {@code null} for none
98107
*/
99108
public java.lang.String getRegionCode() {
100109
return regionCode;
101110
}
102111

103112
/**
104-
* Countries that have the change (if applicable)
113+
* Countries that have the change (if applicable). Represented in the ISO 3166 format.
105114
* @param regionCode regionCode or {@code null} for none
106115
*/
107116
public ProductChange setRegionCode(java.lang.String regionCode) {
@@ -110,15 +119,21 @@ public ProductChange setRegionCode(java.lang.String regionCode) {
110119
}
111120

112121
/**
113-
* Reporting contexts that have the change (if applicable)
122+
* Reporting contexts that have the change (if applicable). Currently this field supports only
123+
* (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`,
124+
* `YOUTUBE_AFFILIATE`) from the enum value
125+
* [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
114126
* @return value or {@code null} for none
115127
*/
116128
public java.lang.String getReportingContext() {
117129
return reportingContext;
118130
}
119131

120132
/**
121-
* Reporting contexts that have the change (if applicable)
133+
* Reporting contexts that have the change (if applicable). Currently this field supports only
134+
* (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`,
135+
* `YOUTUBE_AFFILIATE`) from the enum value
136+
* [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
122137
* @param reportingContext reportingContext or {@code null} for none
123138
*/
124139
public ProductChange setReportingContext(java.lang.String reportingContext) {

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ public final class ProductStatusChangeMessage extends com.google.api.client.json
6464
private String eventTime;
6565

6666
/**
67-
* The product expiration time. This field will not bet set if the notification is sent for a
68-
* product deletion event.
67+
* Optional. The product expiration time. This field will not bet set if the notification is sent
68+
* for a product deletion event.
6969
* The value may be {@code null}.
7070
*/
7171
@com.google.api.client.util.Key
@@ -80,7 +80,7 @@ public final class ProductStatusChangeMessage extends com.google.api.client.json
8080
private java.lang.String managingAccount;
8181

8282
/**
83-
* The product name. Format: `{product.name=accounts/{account}/products/{product}}`
83+
* The product name. Format: `accounts/{account}/products/{product}`
8484
* The value may be {@code null}.
8585
*/
8686
@com.google.api.client.util.Key
@@ -169,17 +169,17 @@ public ProductStatusChangeMessage setEventTime(String eventTime) {
169169
}
170170

171171
/**
172-
* The product expiration time. This field will not bet set if the notification is sent for a
173-
* product deletion event.
172+
* Optional. The product expiration time. This field will not bet set if the notification is sent
173+
* for a product deletion event.
174174
* @return value or {@code null} for none
175175
*/
176176
public String getExpirationTime() {
177177
return expirationTime;
178178
}
179179

180180
/**
181-
* The product expiration time. This field will not bet set if the notification is sent for a
182-
* product deletion event.
181+
* Optional. The product expiration time. This field will not bet set if the notification is sent
182+
* for a product deletion event.
183183
* @param expirationTime expirationTime or {@code null} for none
184184
*/
185185
public ProductStatusChangeMessage setExpirationTime(String expirationTime) {
@@ -207,15 +207,15 @@ public ProductStatusChangeMessage setManagingAccount(java.lang.String managingAc
207207
}
208208

209209
/**
210-
* The product name. Format: `{product.name=accounts/{account}/products/{product}}`
210+
* The product name. Format: `accounts/{account}/products/{product}`
211211
* @return value or {@code null} for none
212212
*/
213213
public java.lang.String getResource() {
214214
return resource;
215215
}
216216

217217
/**
218-
* The product name. Format: `{product.name=accounts/{account}/products/{product}}`
218+
* The product name. Format: `accounts/{account}/products/{product}`
219219
* @param resource resource or {@code null} for none
220220
*/
221221
public ProductStatusChangeMessage setResource(java.lang.String resource) {

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

Lines changed: 52 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.merchantapi.accounts_v1beta.model;
1818

1919
/**
20-
* Next: 5
20+
* Model definition for SeasonalOverride.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Merchant API. For a detailed explanation see:
@@ -53,12 +53,26 @@ public final class SeasonalOverride extends com.google.api.client.json.GenericJs
5353
private java.lang.String label;
5454

5555
/**
56-
* Required. The return policy for the given date range.
56+
* The return policy for the given date range.
5757
* The value may be {@code null}.
5858
*/
5959
@com.google.api.client.util.Key
6060
private Policy policy;
6161

62+
/**
63+
* Number of days (from the delivery date) that the product can be returned.
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private java.lang.Integer returnDays;
68+
69+
/**
70+
* Fixed end date until which the product can be returned.
71+
* The value may be {@code null}.
72+
*/
73+
@com.google.api.client.util.Key
74+
private Date returnUntilDate;
75+
6276
/**
6377
* Required. Defines the date range when this seasonal override applies. Both begin and end are
6478
* inclusive and should be in date decimal format, example 20250115. The dates of the seasonal
@@ -115,22 +129,56 @@ public SeasonalOverride setLabel(java.lang.String label) {
115129
}
116130

117131
/**
118-
* Required. The return policy for the given date range.
132+
* The return policy for the given date range.
119133
* @return value or {@code null} for none
120134
*/
121135
public Policy getPolicy() {
122136
return policy;
123137
}
124138

125139
/**
126-
* Required. The return policy for the given date range.
140+
* The return policy for the given date range.
127141
* @param policy policy or {@code null} for none
128142
*/
129143
public SeasonalOverride setPolicy(Policy policy) {
130144
this.policy = policy;
131145
return this;
132146
}
133147

148+
/**
149+
* Number of days (from the delivery date) that the product can be returned.
150+
* @return value or {@code null} for none
151+
*/
152+
public java.lang.Integer getReturnDays() {
153+
return returnDays;
154+
}
155+
156+
/**
157+
* Number of days (from the delivery date) that the product can be returned.
158+
* @param returnDays returnDays or {@code null} for none
159+
*/
160+
public SeasonalOverride setReturnDays(java.lang.Integer returnDays) {
161+
this.returnDays = returnDays;
162+
return this;
163+
}
164+
165+
/**
166+
* Fixed end date until which the product can be returned.
167+
* @return value or {@code null} for none
168+
*/
169+
public Date getReturnUntilDate() {
170+
return returnUntilDate;
171+
}
172+
173+
/**
174+
* Fixed end date until which the product can be returned.
175+
* @param returnUntilDate returnUntilDate or {@code null} for none
176+
*/
177+
public SeasonalOverride setReturnUntilDate(Date returnUntilDate) {
178+
this.returnUntilDate = returnUntilDate;
179+
return this;
180+
}
181+
134182
@Override
135183
public SeasonalOverride set(String fieldName, Object value) {
136184
return (SeasonalOverride) super.set(fieldName, value);

clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/pom.xml

Lines changed: 3 additions & 3 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-rev20250219-2.0.0</version>
12-
<name>Merchant API accounts_v1beta-rev20250219-2.0.0</name>
11+
<version>accounts_v1beta-rev20250301-2.0.0</version>
12+
<name>Merchant API accounts_v1beta-rev20250301-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>
@@ -90,7 +90,7 @@
9090
<windowtitle>Merchant API ${project.version}</windowtitle>
9191
<links>
9292
<link>http://docs.oracle.com/javase/7/docs/api</link>
93-
<link>https://googleapis.dev/java/google-http-client/1.46.1/</link>
93+
<link>https://googleapis.dev/java/google-http-client/1.46.3/</link>
9494
<link>https://googleapis.dev/java/google-oauth-client/1.38.0/</link>
9595
<link>https://googleapis.dev/java/google-api-client/2.7.2/</link>
9696
</links>

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

0 commit comments

Comments
 (0)