Skip to content

Commit 267d226

Browse files
1 parent b95c197 commit 267d226

File tree

48 files changed

+3768
-18
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+3768
-18
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-rev20240822-2.0.0</version>
25+
<version>v2-rev20240912-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-rev20240822-2.0.0'
38+
implementation 'com.google.apis:google-api-services-retail:v2-rev20240912-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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+
* Product attribute name and numeric interval.
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 Retail 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 GoogleCloudRetailV2ProductAttributeInterval extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The numeric interval (e.g. [10, 20))
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GoogleCloudRetailV2Interval interval;
39+
40+
/**
41+
* The attribute name (e.g. "length")
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String name;
46+
47+
/**
48+
* The numeric interval (e.g. [10, 20))
49+
* @return value or {@code null} for none
50+
*/
51+
public GoogleCloudRetailV2Interval getInterval() {
52+
return interval;
53+
}
54+
55+
/**
56+
* The numeric interval (e.g. [10, 20))
57+
* @param interval interval or {@code null} for none
58+
*/
59+
public GoogleCloudRetailV2ProductAttributeInterval setInterval(GoogleCloudRetailV2Interval interval) {
60+
this.interval = interval;
61+
return this;
62+
}
63+
64+
/**
65+
* The attribute name (e.g. "length")
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getName() {
69+
return name;
70+
}
71+
72+
/**
73+
* The attribute name (e.g. "length")
74+
* @param name name or {@code null} for none
75+
*/
76+
public GoogleCloudRetailV2ProductAttributeInterval setName(java.lang.String name) {
77+
this.name = name;
78+
return this;
79+
}
80+
81+
@Override
82+
public GoogleCloudRetailV2ProductAttributeInterval set(String fieldName, Object value) {
83+
return (GoogleCloudRetailV2ProductAttributeInterval) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public GoogleCloudRetailV2ProductAttributeInterval clone() {
88+
return (GoogleCloudRetailV2ProductAttributeInterval) super.clone();
89+
}
90+
91+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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+
* Product attribute which structured by an attribute name and value. This structure is used in
21+
* conversational search filters and answers. For example, if we have `name=color` and `value=red`,
22+
* this means that the color is `red`.
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Vertex AI Search for Retail API. For a detailed
26+
* explanation see:
27+
* <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>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class GoogleCloudRetailV2ProductAttributeValue extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* The attribute name.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String name;
41+
42+
/**
43+
* The attribute value.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String value;
48+
49+
/**
50+
* The attribute name.
51+
* @return value or {@code null} for none
52+
*/
53+
public java.lang.String getName() {
54+
return name;
55+
}
56+
57+
/**
58+
* The attribute name.
59+
* @param name name or {@code null} for none
60+
*/
61+
public GoogleCloudRetailV2ProductAttributeValue setName(java.lang.String name) {
62+
this.name = name;
63+
return this;
64+
}
65+
66+
/**
67+
* The attribute value.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.String getValue() {
71+
return value;
72+
}
73+
74+
/**
75+
* The attribute value.
76+
* @param value value or {@code null} for none
77+
*/
78+
public GoogleCloudRetailV2ProductAttributeValue setValue(java.lang.String value) {
79+
this.value = value;
80+
return this;
81+
}
82+
83+
@Override
84+
public GoogleCloudRetailV2ProductAttributeValue set(String fieldName, Object value) {
85+
return (GoogleCloudRetailV2ProductAttributeValue) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public GoogleCloudRetailV2ProductAttributeValue clone() {
90+
return (GoogleCloudRetailV2ProductAttributeValue) super.clone();
91+
}
92+
93+
}

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

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ public final class GoogleCloudRetailV2SearchRequest extends com.google.api.clien
6363
@com.google.api.client.util.Key
6464
private java.lang.String canonicalFilter;
6565

66+
/**
67+
* Optional. This field specifies all conversational related parameters addition to traditional
68+
* retail search.
69+
* The value may be {@code null}.
70+
*/
71+
@com.google.api.client.util.Key
72+
private GoogleCloudRetailV2SearchRequestConversationalSearchSpec conversationalSearchSpec;
73+
6674
/**
6775
* Deprecated. Refer to https://cloud.google.com/retail/docs/configs#dynamic to enable dynamic
6876
* facets. Do not set this field. The specification for dynamically generated facets. Notice that
@@ -208,6 +216,13 @@ public final class GoogleCloudRetailV2SearchRequest extends com.google.api.clien
208216
@com.google.api.client.util.Key
209217
private GoogleCloudRetailV2SearchRequestSpellCorrectionSpec spellCorrectionSpec;
210218

219+
/**
220+
* Optional. This field specifies tile navigation related parameters.
221+
* The value may be {@code null}.
222+
*/
223+
@com.google.api.client.util.Key
224+
private GoogleCloudRetailV2SearchRequestTileNavigationSpec tileNavigationSpec;
225+
211226
/**
212227
* User information.
213228
* The value may be {@code null}.
@@ -330,6 +345,25 @@ public GoogleCloudRetailV2SearchRequest setCanonicalFilter(java.lang.String cano
330345
return this;
331346
}
332347

348+
/**
349+
* Optional. This field specifies all conversational related parameters addition to traditional
350+
* retail search.
351+
* @return value or {@code null} for none
352+
*/
353+
public GoogleCloudRetailV2SearchRequestConversationalSearchSpec getConversationalSearchSpec() {
354+
return conversationalSearchSpec;
355+
}
356+
357+
/**
358+
* Optional. This field specifies all conversational related parameters addition to traditional
359+
* retail search.
360+
* @param conversationalSearchSpec conversationalSearchSpec or {@code null} for none
361+
*/
362+
public GoogleCloudRetailV2SearchRequest setConversationalSearchSpec(GoogleCloudRetailV2SearchRequestConversationalSearchSpec conversationalSearchSpec) {
363+
this.conversationalSearchSpec = conversationalSearchSpec;
364+
return this;
365+
}
366+
333367
/**
334368
* Deprecated. Refer to https://cloud.google.com/retail/docs/configs#dynamic to enable dynamic
335369
* facets. Do not set this field. The specification for dynamically generated facets. Notice that
@@ -665,6 +699,23 @@ public GoogleCloudRetailV2SearchRequest setSpellCorrectionSpec(GoogleCloudRetail
665699
return this;
666700
}
667701

702+
/**
703+
* Optional. This field specifies tile navigation related parameters.
704+
* @return value or {@code null} for none
705+
*/
706+
public GoogleCloudRetailV2SearchRequestTileNavigationSpec getTileNavigationSpec() {
707+
return tileNavigationSpec;
708+
}
709+
710+
/**
711+
* Optional. This field specifies tile navigation related parameters.
712+
* @param tileNavigationSpec tileNavigationSpec or {@code null} for none
713+
*/
714+
public GoogleCloudRetailV2SearchRequest setTileNavigationSpec(GoogleCloudRetailV2SearchRequestTileNavigationSpec tileNavigationSpec) {
715+
this.tileNavigationSpec = tileNavigationSpec;
716+
return this;
717+
}
718+
668719
/**
669720
* User information.
670721
* @return value or {@code null} for none

0 commit comments

Comments
 (0)