Skip to content

Commit 3b72b46

Browse files
1 parent 78af251 commit 3b72b46

8 files changed

Lines changed: 120 additions & 12 deletions

File tree

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

clients/google-api-services-merchantapi/promotions_v1/2.0.0/com/google/api/services/merchantapi/promotions_v1/model/Attributes.java

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

32+
/**
33+
* Optional. This field defines the audience a promotion will be visible to.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String audience;
38+
3239
/**
3340
* The value may be {@code null}.
3441
*/
@@ -289,6 +296,15 @@ public final class Attributes extends com.google.api.client.json.GenericJson {
289296
@com.google.api.client.util.Key
290297
private java.lang.String redemptionRestriction;
291298

299+
/**
300+
* Optional. A list of [regions](https://support.google.com/merchants/answer/15406457?hl=en&sjid=8
301+
* 815806704218720187-NC#howregionswork) where the promotion is applicable. Must be set if
302+
* `audience` is set to `LOCATION`.
303+
* The value may be {@code null}.
304+
*/
305+
@com.google.api.client.util.Key
306+
private java.util.List<java.lang.String> regionIdInclusion;
307+
292308
/**
293309
* Optional. Whether the promotion applies to [all stores, or only specified
294310
* stores](https://support.google.com/merchants/answer/13857563?sjid=17642868584668136159-NC).
@@ -319,6 +335,23 @@ public final class Attributes extends com.google.api.client.json.GenericJson {
319335
@com.google.api.client.util.Key
320336
private java.util.List<java.lang.String> storeCodesInclusion;
321337

338+
/**
339+
* Optional. This field defines the audience a promotion will be visible to.
340+
* @return value or {@code null} for none
341+
*/
342+
public java.lang.String getAudience() {
343+
return audience;
344+
}
345+
346+
/**
347+
* Optional. This field defines the audience a promotion will be visible to.
348+
* @param audience audience or {@code null} for none
349+
*/
350+
public Attributes setAudience(java.lang.String audience) {
351+
this.audience = audience;
352+
return this;
353+
}
354+
322355
/**
323356
* @return value or {@code null} for none
324357
*/
@@ -935,6 +968,27 @@ public Attributes setRedemptionRestriction(java.lang.String redemptionRestrictio
935968
return this;
936969
}
937970

971+
/**
972+
* Optional. A list of [regions](https://support.google.com/merchants/answer/15406457?hl=en&sjid=8
973+
* 815806704218720187-NC#howregionswork) where the promotion is applicable. Must be set if
974+
* `audience` is set to `LOCATION`.
975+
* @return value or {@code null} for none
976+
*/
977+
public java.util.List<java.lang.String> getRegionIdInclusion() {
978+
return regionIdInclusion;
979+
}
980+
981+
/**
982+
* Optional. A list of [regions](https://support.google.com/merchants/answer/15406457?hl=en&sjid=8
983+
* 815806704218720187-NC#howregionswork) where the promotion is applicable. Must be set if
984+
* `audience` is set to `LOCATION`.
985+
* @param regionIdInclusion regionIdInclusion or {@code null} for none
986+
*/
987+
public Attributes setRegionIdInclusion(java.util.List<java.lang.String> regionIdInclusion) {
988+
this.regionIdInclusion = regionIdInclusion;
989+
return this;
990+
}
991+
938992
/**
939993
* Optional. Whether the promotion applies to [all stores, or only specified
940994
* stores](https://support.google.com/merchants/answer/13857563?sjid=17642868584668136159-NC).

clients/google-api-services-merchantapi/promotions_v1/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>promotions_v1-rev20260223-2.0.0</version>
12-
<name>Merchant API promotions_v1-rev20260223-2.0.0</name>
11+
<version>promotions_v1-rev20260224-2.0.0</version>
12+
<name>Merchant API promotions_v1-rev20260224-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

clients/google-api-services-merchantapi/promotions_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>promotions_v1beta-rev20260223-2.0.0</version>
25+
<version>promotions_v1beta-rev20260224-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:promotions_v1beta-rev20260223-2.0.0'
38+
implementation 'com.google.apis:google-api-services-merchantapi:promotions_v1beta-rev20260224-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-merchantapi/promotions_v1beta/2.0.0/com/google/api/services/merchantapi/promotions_v1beta/model/Attributes.java

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

32+
/**
33+
* Optional. This field defines the audience a promotion will be visible to.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String audience;
38+
3239
/**
3340
* The value may be {@code null}.
3441
*/
@@ -289,6 +296,15 @@ public final class Attributes extends com.google.api.client.json.GenericJson {
289296
@com.google.api.client.util.Key
290297
private java.lang.String redemptionRestriction;
291298

299+
/**
300+
* Optional. A list of [regions](https://support.google.com/merchants/answer/15406457?hl=en&sjid=8
301+
* 815806704218720187-NC#howregionswork) where the promotion is applicable. Must be set if
302+
* `audience` is set to `LOCATION`.
303+
* The value may be {@code null}.
304+
*/
305+
@com.google.api.client.util.Key
306+
private java.util.List<java.lang.String> regionIdInclusion;
307+
292308
/**
293309
* Optional. Whether the promotion applies to [all stores, or only specified
294310
* stores](https://support.google.com/merchants/answer/13857563?sjid=17642868584668136159-NC).
@@ -319,6 +335,23 @@ public final class Attributes extends com.google.api.client.json.GenericJson {
319335
@com.google.api.client.util.Key
320336
private java.util.List<java.lang.String> storeCodesInclusion;
321337

338+
/**
339+
* Optional. This field defines the audience a promotion will be visible to.
340+
* @return value or {@code null} for none
341+
*/
342+
public java.lang.String getAudience() {
343+
return audience;
344+
}
345+
346+
/**
347+
* Optional. This field defines the audience a promotion will be visible to.
348+
* @param audience audience or {@code null} for none
349+
*/
350+
public Attributes setAudience(java.lang.String audience) {
351+
this.audience = audience;
352+
return this;
353+
}
354+
322355
/**
323356
* @return value or {@code null} for none
324357
*/
@@ -935,6 +968,27 @@ public Attributes setRedemptionRestriction(java.lang.String redemptionRestrictio
935968
return this;
936969
}
937970

971+
/**
972+
* Optional. A list of [regions](https://support.google.com/merchants/answer/15406457?hl=en&sjid=8
973+
* 815806704218720187-NC#howregionswork) where the promotion is applicable. Must be set if
974+
* `audience` is set to `LOCATION`.
975+
* @return value or {@code null} for none
976+
*/
977+
public java.util.List<java.lang.String> getRegionIdInclusion() {
978+
return regionIdInclusion;
979+
}
980+
981+
/**
982+
* Optional. A list of [regions](https://support.google.com/merchants/answer/15406457?hl=en&sjid=8
983+
* 815806704218720187-NC#howregionswork) where the promotion is applicable. Must be set if
984+
* `audience` is set to `LOCATION`.
985+
* @param regionIdInclusion regionIdInclusion or {@code null} for none
986+
*/
987+
public Attributes setRegionIdInclusion(java.util.List<java.lang.String> regionIdInclusion) {
988+
this.regionIdInclusion = regionIdInclusion;
989+
return this;
990+
}
991+
938992
/**
939993
* Optional. Whether the promotion applies to [all stores, or only specified
940994
* stores](https://support.google.com/merchants/answer/13857563?sjid=17642868584668136159-NC).

clients/google-api-services-merchantapi/promotions_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>promotions_v1beta-rev20260223-2.0.0</version>
12-
<name>Merchant API promotions_v1beta-rev20260223-2.0.0</name>
11+
<version>promotions_v1beta-rev20260224-2.0.0</version>
12+
<name>Merchant API promotions_v1beta-rev20260224-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-merchantapi/promotions_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>promotions_v1beta-rev20260223-2.0.0</version>
25+
<version>promotions_v1beta-rev20260224-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:promotions_v1beta-rev20260223-2.0.0'
38+
implementation 'com.google.apis:google-api-services-merchantapi:promotions_v1beta-rev20260224-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)