Skip to content

Commit 4a68c3a

Browse files
1 parent 006dba8 commit 4a68c3a

File tree

36 files changed

+3740
-30
lines changed

36 files changed

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

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

Lines changed: 316 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 352 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.retail.v2.model;
18+
19+
/**
20+
* This field specifies all conversational filtering related parameters addition to conversational
21+
* retail search.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Vertex AI Search for commerce API. For a detailed
25+
* explanation see:
26+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class GoogleCloudRetailV2ConversationalSearchRequestConversationalFilteringSpec extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Optional. Mode to control Conversational Filtering. Defaults to Mode.DISABLED if it's unset.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String conversationalFilteringMode;
40+
41+
/**
42+
* Optional. This field is deprecated. Please use
43+
* ConversationalFilteringSpec.conversational_filtering_mode instead.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.Boolean enableConversationalFiltering;
48+
49+
/**
50+
* Optional. This field specifies the current user answer during the conversational filtering
51+
* search. It can be either user selected from suggested answers or user input plain text.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private GoogleCloudRetailV2ConversationalSearchRequestUserAnswer userAnswer;
56+
57+
/**
58+
* Optional. Mode to control Conversational Filtering. Defaults to Mode.DISABLED if it's unset.
59+
* @return value or {@code null} for none
60+
*/
61+
public java.lang.String getConversationalFilteringMode() {
62+
return conversationalFilteringMode;
63+
}
64+
65+
/**
66+
* Optional. Mode to control Conversational Filtering. Defaults to Mode.DISABLED if it's unset.
67+
* @param conversationalFilteringMode conversationalFilteringMode or {@code null} for none
68+
*/
69+
public GoogleCloudRetailV2ConversationalSearchRequestConversationalFilteringSpec setConversationalFilteringMode(java.lang.String conversationalFilteringMode) {
70+
this.conversationalFilteringMode = conversationalFilteringMode;
71+
return this;
72+
}
73+
74+
/**
75+
* Optional. This field is deprecated. Please use
76+
* ConversationalFilteringSpec.conversational_filtering_mode instead.
77+
* @return value or {@code null} for none
78+
*/
79+
public java.lang.Boolean getEnableConversationalFiltering() {
80+
return enableConversationalFiltering;
81+
}
82+
83+
/**
84+
* Optional. This field is deprecated. Please use
85+
* ConversationalFilteringSpec.conversational_filtering_mode instead.
86+
* @param enableConversationalFiltering enableConversationalFiltering or {@code null} for none
87+
*/
88+
public GoogleCloudRetailV2ConversationalSearchRequestConversationalFilteringSpec setEnableConversationalFiltering(java.lang.Boolean enableConversationalFiltering) {
89+
this.enableConversationalFiltering = enableConversationalFiltering;
90+
return this;
91+
}
92+
93+
/**
94+
* Optional. This field specifies the current user answer during the conversational filtering
95+
* search. It can be either user selected from suggested answers or user input plain text.
96+
* @return value or {@code null} for none
97+
*/
98+
public GoogleCloudRetailV2ConversationalSearchRequestUserAnswer getUserAnswer() {
99+
return userAnswer;
100+
}
101+
102+
/**
103+
* Optional. This field specifies the current user answer during the conversational filtering
104+
* search. It can be either user selected from suggested answers or user input plain text.
105+
* @param userAnswer userAnswer or {@code null} for none
106+
*/
107+
public GoogleCloudRetailV2ConversationalSearchRequestConversationalFilteringSpec setUserAnswer(GoogleCloudRetailV2ConversationalSearchRequestUserAnswer userAnswer) {
108+
this.userAnswer = userAnswer;
109+
return this;
110+
}
111+
112+
@Override
113+
public GoogleCloudRetailV2ConversationalSearchRequestConversationalFilteringSpec set(String fieldName, Object value) {
114+
return (GoogleCloudRetailV2ConversationalSearchRequestConversationalFilteringSpec) super.set(fieldName, value);
115+
}
116+
117+
@Override
118+
public GoogleCloudRetailV2ConversationalSearchRequestConversationalFilteringSpec clone() {
119+
return (GoogleCloudRetailV2ConversationalSearchRequestConversationalFilteringSpec) super.clone();
120+
}
121+
122+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.retail.v2.model;
18+
19+
/**
20+
* Search parameters.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Vertex AI Search for commerce API. For a detailed
24+
* explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleCloudRetailV2ConversationalSearchRequestSearchParams extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. The boost spec to specify the boosting of search results. The syntax of the boost
35+
* spec is the same as SearchRequest.boost_spec.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private GoogleCloudRetailV2SearchRequestBoostSpec boostSpec;
40+
41+
/**
42+
* Optional. The canonical filter string to restrict search results. The syntax of the canonical
43+
* filter string is the same as SearchRequest.canonical_filter.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String canonicalFilter;
48+
49+
/**
50+
* Optional. The filter string to restrict search results. The syntax of the filter string is the
51+
* same as SearchRequest.filter.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private java.lang.String filter;
56+
57+
/**
58+
* Optional. The sort string to specify the sorting of search results. The syntax of the sort
59+
* string is the same as SearchRequest.sort.
60+
* The value may be {@code null}.
61+
*/
62+
@com.google.api.client.util.Key
63+
private java.lang.String sortBy;
64+
65+
/**
66+
* Optional. The boost spec to specify the boosting of search results. The syntax of the boost
67+
* spec is the same as SearchRequest.boost_spec.
68+
* @return value or {@code null} for none
69+
*/
70+
public GoogleCloudRetailV2SearchRequestBoostSpec getBoostSpec() {
71+
return boostSpec;
72+
}
73+
74+
/**
75+
* Optional. The boost spec to specify the boosting of search results. The syntax of the boost
76+
* spec is the same as SearchRequest.boost_spec.
77+
* @param boostSpec boostSpec or {@code null} for none
78+
*/
79+
public GoogleCloudRetailV2ConversationalSearchRequestSearchParams setBoostSpec(GoogleCloudRetailV2SearchRequestBoostSpec boostSpec) {
80+
this.boostSpec = boostSpec;
81+
return this;
82+
}
83+
84+
/**
85+
* Optional. The canonical filter string to restrict search results. The syntax of the canonical
86+
* filter string is the same as SearchRequest.canonical_filter.
87+
* @return value or {@code null} for none
88+
*/
89+
public java.lang.String getCanonicalFilter() {
90+
return canonicalFilter;
91+
}
92+
93+
/**
94+
* Optional. The canonical filter string to restrict search results. The syntax of the canonical
95+
* filter string is the same as SearchRequest.canonical_filter.
96+
* @param canonicalFilter canonicalFilter or {@code null} for none
97+
*/
98+
public GoogleCloudRetailV2ConversationalSearchRequestSearchParams setCanonicalFilter(java.lang.String canonicalFilter) {
99+
this.canonicalFilter = canonicalFilter;
100+
return this;
101+
}
102+
103+
/**
104+
* Optional. The filter string to restrict search results. The syntax of the filter string is the
105+
* same as SearchRequest.filter.
106+
* @return value or {@code null} for none
107+
*/
108+
public java.lang.String getFilter() {
109+
return filter;
110+
}
111+
112+
/**
113+
* Optional. The filter string to restrict search results. The syntax of the filter string is the
114+
* same as SearchRequest.filter.
115+
* @param filter filter or {@code null} for none
116+
*/
117+
public GoogleCloudRetailV2ConversationalSearchRequestSearchParams setFilter(java.lang.String filter) {
118+
this.filter = filter;
119+
return this;
120+
}
121+
122+
/**
123+
* Optional. The sort string to specify the sorting of search results. The syntax of the sort
124+
* string is the same as SearchRequest.sort.
125+
* @return value or {@code null} for none
126+
*/
127+
public java.lang.String getSortBy() {
128+
return sortBy;
129+
}
130+
131+
/**
132+
* Optional. The sort string to specify the sorting of search results. The syntax of the sort
133+
* string is the same as SearchRequest.sort.
134+
* @param sortBy sortBy or {@code null} for none
135+
*/
136+
public GoogleCloudRetailV2ConversationalSearchRequestSearchParams setSortBy(java.lang.String sortBy) {
137+
this.sortBy = sortBy;
138+
return this;
139+
}
140+
141+
@Override
142+
public GoogleCloudRetailV2ConversationalSearchRequestSearchParams set(String fieldName, Object value) {
143+
return (GoogleCloudRetailV2ConversationalSearchRequestSearchParams) super.set(fieldName, value);
144+
}
145+
146+
@Override
147+
public GoogleCloudRetailV2ConversationalSearchRequestSearchParams clone() {
148+
return (GoogleCloudRetailV2ConversationalSearchRequestSearchParams) super.clone();
149+
}
150+
151+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.retail.v2.model;
18+
19+
/**
20+
* This field specifies the current user answer during the conversational filtering search. This can
21+
* be either user selected from suggested answers or user input plain text.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Vertex AI Search for commerce API. For a detailed
25+
* explanation see:
26+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class GoogleCloudRetailV2ConversationalSearchRequestUserAnswer extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Optional. This field specifies the selected answer during the conversational search. This
36+
* should be a subset of ConversationalSearchResponse.followup_question.suggested_answers.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private GoogleCloudRetailV2ConversationalSearchRequestUserAnswerSelectedAnswer selectedAnswer;
41+
42+
/**
43+
* This field specifies the incremental input text from the user during the conversational search.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String textAnswer;
48+
49+
/**
50+
* Optional. This field specifies the selected answer during the conversational search. This
51+
* should be a subset of ConversationalSearchResponse.followup_question.suggested_answers.
52+
* @return value or {@code null} for none
53+
*/
54+
public GoogleCloudRetailV2ConversationalSearchRequestUserAnswerSelectedAnswer getSelectedAnswer() {
55+
return selectedAnswer;
56+
}
57+
58+
/**
59+
* Optional. This field specifies the selected answer during the conversational search. This
60+
* should be a subset of ConversationalSearchResponse.followup_question.suggested_answers.
61+
* @param selectedAnswer selectedAnswer or {@code null} for none
62+
*/
63+
public GoogleCloudRetailV2ConversationalSearchRequestUserAnswer setSelectedAnswer(GoogleCloudRetailV2ConversationalSearchRequestUserAnswerSelectedAnswer selectedAnswer) {
64+
this.selectedAnswer = selectedAnswer;
65+
return this;
66+
}
67+
68+
/**
69+
* This field specifies the incremental input text from the user during the conversational search.
70+
* @return value or {@code null} for none
71+
*/
72+
public java.lang.String getTextAnswer() {
73+
return textAnswer;
74+
}
75+
76+
/**
77+
* This field specifies the incremental input text from the user during the conversational search.
78+
* @param textAnswer textAnswer or {@code null} for none
79+
*/
80+
public GoogleCloudRetailV2ConversationalSearchRequestUserAnswer setTextAnswer(java.lang.String textAnswer) {
81+
this.textAnswer = textAnswer;
82+
return this;
83+
}
84+
85+
@Override
86+
public GoogleCloudRetailV2ConversationalSearchRequestUserAnswer set(String fieldName, Object value) {
87+
return (GoogleCloudRetailV2ConversationalSearchRequestUserAnswer) super.set(fieldName, value);
88+
}
89+
90+
@Override
91+
public GoogleCloudRetailV2ConversationalSearchRequestUserAnswer clone() {
92+
return (GoogleCloudRetailV2ConversationalSearchRequestUserAnswer) super.clone();
93+
}
94+
95+
}

0 commit comments

Comments
 (0)