Skip to content

Commit fbe4642

Browse files
1 parent bf24379 commit fbe4642

File tree

4 files changed

+111
-6
lines changed

4 files changed

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

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

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,20 @@ public final class GoogleCloudRetailV2alphaConversationalSearchResponse extends
4747
@com.google.api.client.util.Key
4848
private GoogleCloudRetailV2alphaConversationalSearchResponseConversationalFilteringResult conversationalFilteringResult;
4949

50+
/**
51+
* The conversational answer-based text response generated by the Server.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private java.lang.String conversationalTextResponse;
56+
57+
/**
58+
* The conversational followup question generated for Intent refinement.
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestion followupQuestion;
63+
5064
/**
5165
* The proposed refined search queries. They can be used to fetch the relevant search results.
5266
* When using CONVERSATIONAL_FILTER_ONLY mode, the refined_query from search response will be
@@ -56,6 +70,23 @@ public final class GoogleCloudRetailV2alphaConversationalSearchResponse extends
5670
@com.google.api.client.util.Key
5771
private java.util.List<GoogleCloudRetailV2alphaConversationalSearchResponseRefinedSearch> refinedSearch;
5872

73+
/**
74+
* Output only. The state of the response generation.
75+
* The value may be {@code null}.
76+
*/
77+
@com.google.api.client.util.Key
78+
private java.lang.String state;
79+
80+
/**
81+
* The types Retail classifies the search query as. Supported values are: - "ADVERSARIAL" -
82+
* "CHITCHAT" - "JAILBREAK" - "ORDER_SUPPORT" - "SIMPLE_PRODUCT_SEARCH" - "INTENT_REFINEMENT" -
83+
* "PRODUCT_DETAILS" - "PRODUCT_COMPARISON" - "DEALS_AND_COUPONS" - "STORE_RELEVANT" -
84+
* "BLOCKLISTED" - "BEST_PRODUCT" - "RETAIL_SUPPORT" - "DISABLED" clang-format off clang-format on
85+
* The value may be {@code null}.
86+
*/
87+
@com.google.api.client.util.Key
88+
private java.util.List<java.lang.String> userQueryTypes;
89+
5990
/**
6091
* Conversation UUID. This field will be stored in client side storage to maintain the
6192
* conversation session with server and will be used for next search request's
@@ -96,6 +127,40 @@ public GoogleCloudRetailV2alphaConversationalSearchResponse setConversationalFil
96127
return this;
97128
}
98129

130+
/**
131+
* The conversational answer-based text response generated by the Server.
132+
* @return value or {@code null} for none
133+
*/
134+
public java.lang.String getConversationalTextResponse() {
135+
return conversationalTextResponse;
136+
}
137+
138+
/**
139+
* The conversational answer-based text response generated by the Server.
140+
* @param conversationalTextResponse conversationalTextResponse or {@code null} for none
141+
*/
142+
public GoogleCloudRetailV2alphaConversationalSearchResponse setConversationalTextResponse(java.lang.String conversationalTextResponse) {
143+
this.conversationalTextResponse = conversationalTextResponse;
144+
return this;
145+
}
146+
147+
/**
148+
* The conversational followup question generated for Intent refinement.
149+
* @return value or {@code null} for none
150+
*/
151+
public GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestion getFollowupQuestion() {
152+
return followupQuestion;
153+
}
154+
155+
/**
156+
* The conversational followup question generated for Intent refinement.
157+
* @param followupQuestion followupQuestion or {@code null} for none
158+
*/
159+
public GoogleCloudRetailV2alphaConversationalSearchResponse setFollowupQuestion(GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestion followupQuestion) {
160+
this.followupQuestion = followupQuestion;
161+
return this;
162+
}
163+
99164
/**
100165
* The proposed refined search queries. They can be used to fetch the relevant search results.
101166
* When using CONVERSATIONAL_FILTER_ONLY mode, the refined_query from search response will be
@@ -117,6 +182,46 @@ public GoogleCloudRetailV2alphaConversationalSearchResponse setRefinedSearch(jav
117182
return this;
118183
}
119184

185+
/**
186+
* Output only. The state of the response generation.
187+
* @return value or {@code null} for none
188+
*/
189+
public java.lang.String getState() {
190+
return state;
191+
}
192+
193+
/**
194+
* Output only. The state of the response generation.
195+
* @param state state or {@code null} for none
196+
*/
197+
public GoogleCloudRetailV2alphaConversationalSearchResponse setState(java.lang.String state) {
198+
this.state = state;
199+
return this;
200+
}
201+
202+
/**
203+
* The types Retail classifies the search query as. Supported values are: - "ADVERSARIAL" -
204+
* "CHITCHAT" - "JAILBREAK" - "ORDER_SUPPORT" - "SIMPLE_PRODUCT_SEARCH" - "INTENT_REFINEMENT" -
205+
* "PRODUCT_DETAILS" - "PRODUCT_COMPARISON" - "DEALS_AND_COUPONS" - "STORE_RELEVANT" -
206+
* "BLOCKLISTED" - "BEST_PRODUCT" - "RETAIL_SUPPORT" - "DISABLED" clang-format off clang-format on
207+
* @return value or {@code null} for none
208+
*/
209+
public java.util.List<java.lang.String> getUserQueryTypes() {
210+
return userQueryTypes;
211+
}
212+
213+
/**
214+
* The types Retail classifies the search query as. Supported values are: - "ADVERSARIAL" -
215+
* "CHITCHAT" - "JAILBREAK" - "ORDER_SUPPORT" - "SIMPLE_PRODUCT_SEARCH" - "INTENT_REFINEMENT" -
216+
* "PRODUCT_DETAILS" - "PRODUCT_COMPARISON" - "DEALS_AND_COUPONS" - "STORE_RELEVANT" -
217+
* "BLOCKLISTED" - "BEST_PRODUCT" - "RETAIL_SUPPORT" - "DISABLED" clang-format off clang-format on
218+
* @param userQueryTypes userQueryTypes or {@code null} for none
219+
*/
220+
public GoogleCloudRetailV2alphaConversationalSearchResponse setUserQueryTypes(java.util.List<java.lang.String> userQueryTypes) {
221+
this.userQueryTypes = userQueryTypes;
222+
return this;
223+
}
224+
120225
@Override
121226
public GoogleCloudRetailV2alphaConversationalSearchResponse set(String fieldName, Object value) {
122227
return (GoogleCloudRetailV2alphaConversationalSearchResponse) super.set(fieldName, value);

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-rev20250717-2.0.0</version>
12-
<name>Vertex AI Search for commerce API v2alpha-rev20250717-2.0.0</name>
11+
<version>v2alpha-rev20250724-2.0.0</version>
12+
<name>Vertex AI Search for commerce API v2alpha-rev20250724-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-rev20250717-2.0.0</version>
25+
<version>v2alpha-rev20250724-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-rev20250717-2.0.0'
38+
implementation 'com.google.apis:google-api-services-retail:v2alpha-rev20250724-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)