Skip to content

Commit 5d3f3d9

Browse files
1 parent 5adc384 commit 5d3f3d9

30 files changed

+354
-237
lines changed

clients/google-api-services-retail/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-retail</artifactId>
25-
<version>v2-rev20241024-2.0.0</version>
25+
<version>v2-rev20241114-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-retail:v2-rev20241024-2.0.0'
38+
implementation 'com.google.apis:google-api-services-retail:v2-rev20241114-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-retail/v2/2.0.0/com/google/api/services/retail/v2/model/GoogleCloudRetailV2BigQuerySource.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ public final class GoogleCloudRetailV2BigQuerySource extends com.google.api.clie
6464
private java.lang.String gcsStagingDir;
6565

6666
/**
67-
* BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. Only supported in
68-
* ImportProductsRequest.
67+
* BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
6968
* The value may be {@code null}.
7069
*/
7170
@com.google.api.client.util.Key
@@ -162,17 +161,15 @@ public GoogleCloudRetailV2BigQuerySource setGcsStagingDir(java.lang.String gcsSt
162161
}
163162

164163
/**
165-
* BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. Only supported in
166-
* ImportProductsRequest.
164+
* BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
167165
* @return value or {@code null} for none
168166
*/
169167
public GoogleTypeDate getPartitionDate() {
170168
return partitionDate;
171169
}
172170

173171
/**
174-
* BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. Only supported in
175-
* ImportProductsRequest.
172+
* BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
176173
* @param partitionDate partitionDate or {@code null} for none
177174
*/
178175
public GoogleCloudRetailV2BigQuerySource setPartitionDate(GoogleTypeDate partitionDate) {

clients/google-api-services-retail/v2/2.0.0/com/google/api/services/retail/v2/model/GoogleCloudRetailV2CatalogAttribute.java

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ public final class GoogleCloudRetailV2CatalogAttribute extends com.google.api.cl
6060
/**
6161
* Output only. Indicates whether this attribute has been used by any products. `True` if at least
6262
* one Product is using this attribute in Product.attributes. Otherwise, this field is `False`.
63-
* CatalogAttribute can be pre-loaded by using CatalogService.AddCatalogAttribute,
64-
* CatalogService.ImportCatalogAttributes, or CatalogService.UpdateAttributesConfig APIs. This
65-
* field is `False` for pre-loaded CatalogAttributes. Only pre-loaded catalog attributes that are
66-
* neither in use by products nor predefined can be deleted. Catalog attributes that are either in
67-
* use by products or are predefined attributes cannot be deleted; however, their configuration
68-
* properties will reset to default values upon removal request. After catalog changes, it takes
69-
* about 10 minutes for this field to update.
63+
* CatalogAttribute can be pre-loaded by using CatalogService.AddCatalogAttribute or
64+
* CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-loaded
65+
* CatalogAttributes. Only pre-loaded catalog attributes that are neither in use by products nor
66+
* predefined can be deleted. Catalog attributes that are either in use by products or are
67+
* predefined attributes cannot be deleted; however, their configuration properties will reset to
68+
* default values upon removal request. After catalog changes, it takes about 10 minutes for this
69+
* field to update.
7070
* The value may be {@code null}.
7171
*/
7272
@com.google.api.client.util.Key
@@ -186,13 +186,13 @@ public GoogleCloudRetailV2CatalogAttribute setFacetConfig(GoogleCloudRetailV2Cat
186186
/**
187187
* Output only. Indicates whether this attribute has been used by any products. `True` if at least
188188
* one Product is using this attribute in Product.attributes. Otherwise, this field is `False`.
189-
* CatalogAttribute can be pre-loaded by using CatalogService.AddCatalogAttribute,
190-
* CatalogService.ImportCatalogAttributes, or CatalogService.UpdateAttributesConfig APIs. This
191-
* field is `False` for pre-loaded CatalogAttributes. Only pre-loaded catalog attributes that are
192-
* neither in use by products nor predefined can be deleted. Catalog attributes that are either in
193-
* use by products or are predefined attributes cannot be deleted; however, their configuration
194-
* properties will reset to default values upon removal request. After catalog changes, it takes
195-
* about 10 minutes for this field to update.
189+
* CatalogAttribute can be pre-loaded by using CatalogService.AddCatalogAttribute or
190+
* CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-loaded
191+
* CatalogAttributes. Only pre-loaded catalog attributes that are neither in use by products nor
192+
* predefined can be deleted. Catalog attributes that are either in use by products or are
193+
* predefined attributes cannot be deleted; however, their configuration properties will reset to
194+
* default values upon removal request. After catalog changes, it takes about 10 minutes for this
195+
* field to update.
196196
* @return value or {@code null} for none
197197
*/
198198
public java.lang.Boolean getInUse() {
@@ -202,13 +202,13 @@ public java.lang.Boolean getInUse() {
202202
/**
203203
* Output only. Indicates whether this attribute has been used by any products. `True` if at least
204204
* one Product is using this attribute in Product.attributes. Otherwise, this field is `False`.
205-
* CatalogAttribute can be pre-loaded by using CatalogService.AddCatalogAttribute,
206-
* CatalogService.ImportCatalogAttributes, or CatalogService.UpdateAttributesConfig APIs. This
207-
* field is `False` for pre-loaded CatalogAttributes. Only pre-loaded catalog attributes that are
208-
* neither in use by products nor predefined can be deleted. Catalog attributes that are either in
209-
* use by products or are predefined attributes cannot be deleted; however, their configuration
210-
* properties will reset to default values upon removal request. After catalog changes, it takes
211-
* about 10 minutes for this field to update.
205+
* CatalogAttribute can be pre-loaded by using CatalogService.AddCatalogAttribute or
206+
* CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-loaded
207+
* CatalogAttributes. Only pre-loaded catalog attributes that are neither in use by products nor
208+
* predefined can be deleted. Catalog attributes that are either in use by products or are
209+
* predefined attributes cannot be deleted; however, their configuration properties will reset to
210+
* default values upon removal request. After catalog changes, it takes about 10 minutes for this
211+
* field to update.
212212
* @param inUse inUse or {@code null} for none
213213
*/
214214
public GoogleCloudRetailV2CatalogAttribute setInUse(java.lang.Boolean inUse) {

clients/google-api-services-retail/v2/2.0.0/com/google/api/services/retail/v2/model/GoogleCloudRetailV2ExperimentInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.retail.v2.model;
1818

1919
/**
20-
* Metadata for active A/B testing Experiment.
20+
* Metadata for active A/B testing experiment.
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 Vertex AI Search for Retail API. For a detailed

clients/google-api-services-retail/v2/2.0.0/com/google/api/services/retail/v2/model/GoogleCloudRetailV2ExperimentInfoServingConfigExperiment.java

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

3333
/**
34-
* The fully qualified resource name of the serving config Experiment.VariantArm.serving_config_id
35-
* responsible for generating the search response. For example:
36-
* `projects/locations/catalogs/servingConfigs`.
34+
* The fully qualified resource name of the serving config
35+
* `Experiment.VariantArm.serving_config_id` responsible for generating the search response. For
36+
* example: `projects/locations/catalogs/servingConfigs`.
3737
* The value may be {@code null}.
3838
*/
3939
@com.google.api.client.util.Key
@@ -49,19 +49,19 @@ public final class GoogleCloudRetailV2ExperimentInfoServingConfigExperiment exte
4949
private java.lang.String originalServingConfig;
5050

5151
/**
52-
* The fully qualified resource name of the serving config Experiment.VariantArm.serving_config_id
53-
* responsible for generating the search response. For example:
54-
* `projects/locations/catalogs/servingConfigs`.
52+
* The fully qualified resource name of the serving config
53+
* `Experiment.VariantArm.serving_config_id` responsible for generating the search response. For
54+
* example: `projects/locations/catalogs/servingConfigs`.
5555
* @return value or {@code null} for none
5656
*/
5757
public java.lang.String getExperimentServingConfig() {
5858
return experimentServingConfig;
5959
}
6060

6161
/**
62-
* The fully qualified resource name of the serving config Experiment.VariantArm.serving_config_id
63-
* responsible for generating the search response. For example:
64-
* `projects/locations/catalogs/servingConfigs`.
62+
* The fully qualified resource name of the serving config
63+
* `Experiment.VariantArm.serving_config_id` responsible for generating the search response. For
64+
* example: `projects/locations/catalogs/servingConfigs`.
6565
* @param experimentServingConfig experimentServingConfig or {@code null} for none
6666
*/
6767
public GoogleCloudRetailV2ExperimentInfoServingConfigExperiment setExperimentServingConfig(java.lang.String experimentServingConfig) {

clients/google-api-services-retail/v2/2.0.0/com/google/api/services/retail/v2/model/GoogleCloudRetailV2LocalInventory.java

Lines changed: 66 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
public final class GoogleCloudRetailV2LocalInventory extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Additional local inventory attributes, for example, store name, promotion tags, etc. This field
35-
* needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * At most 30
36-
* attributes are allowed. * The key must be a UTF-8 encoded string with a length limit of 32
37-
* characters. * The key must match the pattern: `a-zA-Z0-9*`. For example, key0LikeThis or
34+
* Optional. Additional local inventory attributes, for example, store name, promotion tags, etc.
35+
* This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: *
36+
* At most 30 attributes are allowed. * The key must be a UTF-8 encoded string with a length limit
37+
* of 32 characters. * The key must match the pattern: `a-zA-Z0-9*`. For example, key0LikeThis or
3838
* KEY_1_LIKE_THIS. * The attribute values must be of the same type (text or number). * Only 1
3939
* value is allowed for each attribute. * For text values, the length limit is 256 UTF-8
4040
* characters. * The attribute does not support search. The `searchable` field should be unset or
@@ -52,7 +52,21 @@ public final class GoogleCloudRetailV2LocalInventory extends com.google.api.clie
5252
}
5353

5454
/**
55-
* Input only. Supported fulfillment types. Valid fulfillment type values include commonly used
55+
* Optional. The availability of the Product at this place_id. Default to Availability.IN_STOCK.
56+
* For primary products with variants set the availability of the primary as
57+
* Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the
58+
* primary product will be considered "in stock" as long as it has at least one variant in stock.
59+
* For primary products with no variants set the true availability at the primary level.
60+
* Corresponding properties: Google Merchant Center property
61+
* [availability](https://support.google.com/merchants/answer/6324448). Schema.org property
62+
* [Offer.availability](https://schema.org/availability).
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private java.lang.String availability;
67+
68+
/**
69+
* Optional. Supported fulfillment types. Valid fulfillment type values include commonly used
5670
* types (such as pickup in store and same day delivery), and custom types. Customers have to map
5771
* custom types to their display names before rendering UI. Supported values: * "pickup-in-store"
5872
* * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-
@@ -65,25 +79,25 @@ public final class GoogleCloudRetailV2LocalInventory extends com.google.api.clie
6579
private java.util.List<java.lang.String> fulfillmentTypes;
6680

6781
/**
68-
* The place ID for the current set of inventory information.
82+
* Required. The place ID for the current set of inventory information.
6983
* The value may be {@code null}.
7084
*/
7185
@com.google.api.client.util.Key
7286
private java.lang.String placeId;
7387

7488
/**
75-
* Product price and cost information. Google Merchant Center property
89+
* Optional. Product price and cost information. Google Merchant Center property
7690
* [price](https://support.google.com/merchants/answer/6324371).
7791
* The value may be {@code null}.
7892
*/
7993
@com.google.api.client.util.Key
8094
private GoogleCloudRetailV2PriceInfo priceInfo;
8195

8296
/**
83-
* Additional local inventory attributes, for example, store name, promotion tags, etc. This field
84-
* needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * At most 30
85-
* attributes are allowed. * The key must be a UTF-8 encoded string with a length limit of 32
86-
* characters. * The key must match the pattern: `a-zA-Z0-9*`. For example, key0LikeThis or
97+
* Optional. Additional local inventory attributes, for example, store name, promotion tags, etc.
98+
* This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: *
99+
* At most 30 attributes are allowed. * The key must be a UTF-8 encoded string with a length limit
100+
* of 32 characters. * The key must match the pattern: `a-zA-Z0-9*`. For example, key0LikeThis or
87101
* KEY_1_LIKE_THIS. * The attribute values must be of the same type (text or number). * Only 1
88102
* value is allowed for each attribute. * For text values, the length limit is 256 UTF-8
89103
* characters. * The attribute does not support search. The `searchable` field should be unset or
@@ -96,10 +110,10 @@ public java.util.Map<String, GoogleCloudRetailV2CustomAttribute> getAttributes()
96110
}
97111

98112
/**
99-
* Additional local inventory attributes, for example, store name, promotion tags, etc. This field
100-
* needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * At most 30
101-
* attributes are allowed. * The key must be a UTF-8 encoded string with a length limit of 32
102-
* characters. * The key must match the pattern: `a-zA-Z0-9*`. For example, key0LikeThis or
113+
* Optional. Additional local inventory attributes, for example, store name, promotion tags, etc.
114+
* This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: *
115+
* At most 30 attributes are allowed. * The key must be a UTF-8 encoded string with a length limit
116+
* of 32 characters. * The key must match the pattern: `a-zA-Z0-9*`. For example, key0LikeThis or
103117
* KEY_1_LIKE_THIS. * The attribute values must be of the same type (text or number). * Only 1
104118
* value is allowed for each attribute. * For text values, the length limit is 256 UTF-8
105119
* characters. * The attribute does not support search. The `searchable` field should be unset or
@@ -113,7 +127,38 @@ public GoogleCloudRetailV2LocalInventory setAttributes(java.util.Map<String, Goo
113127
}
114128

115129
/**
116-
* Input only. Supported fulfillment types. Valid fulfillment type values include commonly used
130+
* Optional. The availability of the Product at this place_id. Default to Availability.IN_STOCK.
131+
* For primary products with variants set the availability of the primary as
132+
* Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the
133+
* primary product will be considered "in stock" as long as it has at least one variant in stock.
134+
* For primary products with no variants set the true availability at the primary level.
135+
* Corresponding properties: Google Merchant Center property
136+
* [availability](https://support.google.com/merchants/answer/6324448). Schema.org property
137+
* [Offer.availability](https://schema.org/availability).
138+
* @return value or {@code null} for none
139+
*/
140+
public java.lang.String getAvailability() {
141+
return availability;
142+
}
143+
144+
/**
145+
* Optional. The availability of the Product at this place_id. Default to Availability.IN_STOCK.
146+
* For primary products with variants set the availability of the primary as
147+
* Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the
148+
* primary product will be considered "in stock" as long as it has at least one variant in stock.
149+
* For primary products with no variants set the true availability at the primary level.
150+
* Corresponding properties: Google Merchant Center property
151+
* [availability](https://support.google.com/merchants/answer/6324448). Schema.org property
152+
* [Offer.availability](https://schema.org/availability).
153+
* @param availability availability or {@code null} for none
154+
*/
155+
public GoogleCloudRetailV2LocalInventory setAvailability(java.lang.String availability) {
156+
this.availability = availability;
157+
return this;
158+
}
159+
160+
/**
161+
* Optional. Supported fulfillment types. Valid fulfillment type values include commonly used
117162
* types (such as pickup in store and same day delivery), and custom types. Customers have to map
118163
* custom types to their display names before rendering UI. Supported values: * "pickup-in-store"
119164
* * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-
@@ -127,7 +172,7 @@ public java.util.List<java.lang.String> getFulfillmentTypes() {
127172
}
128173

129174
/**
130-
* Input only. Supported fulfillment types. Valid fulfillment type values include commonly used
175+
* Optional. Supported fulfillment types. Valid fulfillment type values include commonly used
131176
* types (such as pickup in store and same day delivery), and custom types. Customers have to map
132177
* custom types to their display names before rendering UI. Supported values: * "pickup-in-store"
133178
* * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-
@@ -142,15 +187,15 @@ public GoogleCloudRetailV2LocalInventory setFulfillmentTypes(java.util.List<java
142187
}
143188

144189
/**
145-
* The place ID for the current set of inventory information.
190+
* Required. The place ID for the current set of inventory information.
146191
* @return value or {@code null} for none
147192
*/
148193
public java.lang.String getPlaceId() {
149194
return placeId;
150195
}
151196

152197
/**
153-
* The place ID for the current set of inventory information.
198+
* Required. The place ID for the current set of inventory information.
154199
* @param placeId placeId or {@code null} for none
155200
*/
156201
public GoogleCloudRetailV2LocalInventory setPlaceId(java.lang.String placeId) {
@@ -159,7 +204,7 @@ public GoogleCloudRetailV2LocalInventory setPlaceId(java.lang.String placeId) {
159204
}
160205

161206
/**
162-
* Product price and cost information. Google Merchant Center property
207+
* Optional. Product price and cost information. Google Merchant Center property
163208
* [price](https://support.google.com/merchants/answer/6324371).
164209
* @return value or {@code null} for none
165210
*/
@@ -168,7 +213,7 @@ public GoogleCloudRetailV2PriceInfo getPriceInfo() {
168213
}
169214

170215
/**
171-
* Product price and cost information. Google Merchant Center property
216+
* Optional. Product price and cost information. Google Merchant Center property
172217
* [price](https://support.google.com/merchants/answer/6324371).
173218
* @param priceInfo priceInfo or {@code null} for none
174219
*/

0 commit comments

Comments
 (0)