Skip to content

Commit 67bdad1

Browse files
1 parent b9c8f3a commit 67bdad1

File tree

5 files changed

+81
-6
lines changed

5 files changed

+81
-6
lines changed

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

clients/google-api-services-retail/v2alpha/2.0.0/com/google/api/services/retail/v2alpha/model/GoogleCloudRetailV2alphaConversationalSearchRequest.java

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,22 @@ public final class GoogleCloudRetailV2alphaConversationalSearchRequest extends c
8989
@com.google.api.client.util.Key
9090
private GoogleCloudRetailV2alphaUserInfo userInfo;
9191

92+
/**
93+
* Optional. The user labels applied to a resource must meet the following requirements: * Each
94+
* resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value
95+
* pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and
96+
* cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and
97+
* values can contain only lowercase letters, numeric characters, underscores, and dashes. All
98+
* characters must use UTF-8 encoding, and international characters are allowed. * The key portion
99+
* of a label must be unique. However, you can use the same key with multiple resources. * Keys
100+
* must start with a lowercase letter or international character. See [Google Cloud
101+
* Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements)
102+
* for more details.
103+
* The value may be {@code null}.
104+
*/
105+
@com.google.api.client.util.Key
106+
private java.util.Map<String, java.lang.String> userLabels;
107+
92108
/**
93109
* Required. A unique identifier for tracking visitors. For example, this could be implemented
94110
* with an HTTP cookie, which should be able to uniquely identify a visitor on a single device.
@@ -239,6 +255,41 @@ public GoogleCloudRetailV2alphaConversationalSearchRequest setUserInfo(GoogleClo
239255
return this;
240256
}
241257

258+
/**
259+
* Optional. The user labels applied to a resource must meet the following requirements: * Each
260+
* resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value
261+
* pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and
262+
* cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and
263+
* values can contain only lowercase letters, numeric characters, underscores, and dashes. All
264+
* characters must use UTF-8 encoding, and international characters are allowed. * The key portion
265+
* of a label must be unique. However, you can use the same key with multiple resources. * Keys
266+
* must start with a lowercase letter or international character. See [Google Cloud
267+
* Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements)
268+
* for more details.
269+
* @return value or {@code null} for none
270+
*/
271+
public java.util.Map<String, java.lang.String> getUserLabels() {
272+
return userLabels;
273+
}
274+
275+
/**
276+
* Optional. The user labels applied to a resource must meet the following requirements: * Each
277+
* resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value
278+
* pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and
279+
* cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and
280+
* values can contain only lowercase letters, numeric characters, underscores, and dashes. All
281+
* characters must use UTF-8 encoding, and international characters are allowed. * The key portion
282+
* of a label must be unique. However, you can use the same key with multiple resources. * Keys
283+
* must start with a lowercase letter or international character. See [Google Cloud
284+
* Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements)
285+
* for more details.
286+
* @param userLabels userLabels or {@code null} for none
287+
*/
288+
public GoogleCloudRetailV2alphaConversationalSearchRequest setUserLabels(java.util.Map<String, java.lang.String> userLabels) {
289+
this.userLabels = userLabels;
290+
return this;
291+
}
292+
242293
/**
243294
* Required. A unique identifier for tracking visitors. For example, this could be implemented
244295
* with an HTTP cookie, which should be able to uniquely identify a visitor on a single device.

clients/google-api-services-retail/v2alpha/2.0.0/com/google/api/services/retail/v2alpha/model/GoogleCloudRetailV2alphaSearchRequest.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@ public final class GoogleCloudRetailV2alphaSearchRequest extends com.google.api.
9090
@com.google.api.client.util.Key
9191
private java.lang.String entity;
9292

93+
/**
94+
* Optional. An ID for the experiment group this search belongs to.
95+
* The value may be {@code null}.
96+
*/
97+
@com.google.api.client.util.Key
98+
private java.lang.String experimentId;
99+
93100
/**
94101
* Facet specifications for faceted search. If empty, no facets are returned. A maximum of 200
95102
* values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.
@@ -458,6 +465,23 @@ public GoogleCloudRetailV2alphaSearchRequest setEntity(java.lang.String entity)
458465
return this;
459466
}
460467

468+
/**
469+
* Optional. An ID for the experiment group this search belongs to.
470+
* @return value or {@code null} for none
471+
*/
472+
public java.lang.String getExperimentId() {
473+
return experimentId;
474+
}
475+
476+
/**
477+
* Optional. An ID for the experiment group this search belongs to.
478+
* @param experimentId experimentId or {@code null} for none
479+
*/
480+
public GoogleCloudRetailV2alphaSearchRequest setExperimentId(java.lang.String experimentId) {
481+
this.experimentId = experimentId;
482+
return this;
483+
}
484+
461485
/**
462486
* Facet specifications for faceted search. If empty, no facets are returned. A maximum of 200
463487
* values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.

clients/google-api-services-retail/v2alpha/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-retail</artifactId>
11-
<version>v2alpha-rev20250522-2.0.0</version>
12-
<name>Vertex AI Search for commerce API v2alpha-rev20250522-2.0.0</name>
11+
<version>v2alpha-rev20250605-2.0.0</version>
12+
<name>Vertex AI Search for commerce API v2alpha-rev20250605-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)