Skip to content

Commit 5fdb8c4

Browse files
1 parent a4541a4 commit 5fdb8c4

18 files changed

+330
-45
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-rev20240920-2.0.0</version>
25+
<version>v2-rev20241003-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-rev20240920-2.0.0'
38+
implementation 'com.google.apis:google-api-services-retail:v2-rev20241003-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,9 @@ public final class GoogleCloudRetailV2Product extends com.google.api.client.json
350350
* "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For
351351
* Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by
352352
* default: * name For Type.VARIANT, the following fields are always returned in by default: *
353-
* name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is
354-
* returned. Note: Returning more fields in SearchResponse can increase response payload size and
355-
* serving latency. This field is deprecated. Use the retrievable site-wide control instead.
353+
* name * color_info Note: Returning more fields in SearchResponse can increase response payload
354+
* size and serving latency. This field is deprecated. Use the retrievable site-wide control
355+
* instead.
356356
* The value may be {@code null}.
357357
*/
358358
@com.google.api.client.util.Key
@@ -1102,9 +1102,9 @@ public GoogleCloudRetailV2Product setRating(GoogleCloudRetailV2Rating rating) {
11021102
* "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For
11031103
* Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by
11041104
* default: * name For Type.VARIANT, the following fields are always returned in by default: *
1105-
* name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is
1106-
* returned. Note: Returning more fields in SearchResponse can increase response payload size and
1107-
* serving latency. This field is deprecated. Use the retrievable site-wide control instead.
1105+
* name * color_info Note: Returning more fields in SearchResponse can increase response payload
1106+
* size and serving latency. This field is deprecated. Use the retrievable site-wide control
1107+
* instead.
11081108
* @return value or {@code null} for none
11091109
*/
11101110
public String getRetrievableFields() {
@@ -1120,9 +1120,9 @@ public String getRetrievableFields() {
11201120
* "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For
11211121
* Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by
11221122
* default: * name For Type.VARIANT, the following fields are always returned in by default: *
1123-
* name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is
1124-
* returned. Note: Returning more fields in SearchResponse can increase response payload size and
1125-
* serving latency. This field is deprecated. Use the retrievable site-wide control instead.
1123+
* name * color_info Note: Returning more fields in SearchResponse can increase response payload
1124+
* size and serving latency. This field is deprecated. Use the retrievable site-wide control
1125+
* instead.
11261126
* @param retrievableFields retrievableFields or {@code null} for none
11271127
*/
11281128
public GoogleCloudRetailV2Product setRetrievableFields(String retrievableFields) {

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class GoogleCloudRetailV2alphaModelModelFeaturesConfig extends com.
3737
@com.google.api.client.util.Key
3838
private GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig frequentlyBoughtTogetherConfig;
3939

40+
/**
41+
* Optional. LLM embedding config to use for this model.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig llmEmbeddingConfig;
46+
4047
/**
4148
* Additional configs for frequently-bought-together models.
4249
* @return value or {@code null} for none
@@ -54,6 +61,23 @@ public GoogleCloudRetailV2alphaModelModelFeaturesConfig setFrequentlyBoughtToget
5461
return this;
5562
}
5663

64+
/**
65+
* Optional. LLM embedding config to use for this model.
66+
* @return value or {@code null} for none
67+
*/
68+
public GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig getLlmEmbeddingConfig() {
69+
return llmEmbeddingConfig;
70+
}
71+
72+
/**
73+
* Optional. LLM embedding config to use for this model.
74+
* @param llmEmbeddingConfig llmEmbeddingConfig or {@code null} for none
75+
*/
76+
public GoogleCloudRetailV2alphaModelModelFeaturesConfig setLlmEmbeddingConfig(GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig llmEmbeddingConfig) {
77+
this.llmEmbeddingConfig = llmEmbeddingConfig;
78+
return this;
79+
}
80+
5781
@Override
5882
public GoogleCloudRetailV2alphaModelModelFeaturesConfig set(String fieldName, Object value) {
5983
return (GoogleCloudRetailV2alphaModelModelFeaturesConfig) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
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+
* Config that turns on usage of llm embeddings as features to the model. Embeddings leverage
21+
* unstructured text fields like description and title.
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 Retail 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 GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Optional. The LLM embedding version to use. Currently only `v0` is supported. If not specified,
36+
* feature will not be turned on.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String llmEmbeddingVersion;
41+
42+
/**
43+
* Optional. The LLM embedding version to use. Currently only `v0` is supported. If not specified,
44+
* feature will not be turned on.
45+
* @return value or {@code null} for none
46+
*/
47+
public java.lang.String getLlmEmbeddingVersion() {
48+
return llmEmbeddingVersion;
49+
}
50+
51+
/**
52+
* Optional. The LLM embedding version to use. Currently only `v0` is supported. If not specified,
53+
* feature will not be turned on.
54+
* @param llmEmbeddingVersion llmEmbeddingVersion or {@code null} for none
55+
*/
56+
public GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig setLlmEmbeddingVersion(java.lang.String llmEmbeddingVersion) {
57+
this.llmEmbeddingVersion = llmEmbeddingVersion;
58+
return this;
59+
}
60+
61+
@Override
62+
public GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig set(String fieldName, Object value) {
63+
return (GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig) super.set(fieldName, value);
64+
}
65+
66+
@Override
67+
public GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig clone() {
68+
return (GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig) super.clone();
69+
}
70+
71+
}

clients/google-api-services-retail/v2/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>v2-rev20240920-2.0.0</version>
12-
<name>Vertex AI Search for Retail API v2-rev20240920-2.0.0</name>
11+
<version>v2-rev20241003-2.0.0</version>
12+
<name>Vertex AI Search for Retail API v2-rev20241003-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

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

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class GoogleCloudRetailV2alphaModelModelFeaturesConfig extends com.
3737
@com.google.api.client.util.Key
3838
private GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig frequentlyBoughtTogetherConfig;
3939

40+
/**
41+
* Optional. LLM embedding config to use for this model.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig llmEmbeddingConfig;
46+
4047
/**
4148
* Additional configs for frequently-bought-together models.
4249
* @return value or {@code null} for none
@@ -54,6 +61,23 @@ public GoogleCloudRetailV2alphaModelModelFeaturesConfig setFrequentlyBoughtToget
5461
return this;
5562
}
5663

64+
/**
65+
* Optional. LLM embedding config to use for this model.
66+
* @return value or {@code null} for none
67+
*/
68+
public GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig getLlmEmbeddingConfig() {
69+
return llmEmbeddingConfig;
70+
}
71+
72+
/**
73+
* Optional. LLM embedding config to use for this model.
74+
* @param llmEmbeddingConfig llmEmbeddingConfig or {@code null} for none
75+
*/
76+
public GoogleCloudRetailV2alphaModelModelFeaturesConfig setLlmEmbeddingConfig(GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig llmEmbeddingConfig) {
77+
this.llmEmbeddingConfig = llmEmbeddingConfig;
78+
return this;
79+
}
80+
5781
@Override
5882
public GoogleCloudRetailV2alphaModelModelFeaturesConfig set(String fieldName, Object value) {
5983
return (GoogleCloudRetailV2alphaModelModelFeaturesConfig) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
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.v2alpha.model;
18+
19+
/**
20+
* Config that turns on usage of llm embeddings as features to the model. Embeddings leverage
21+
* unstructured text fields like description and title.
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 Retail 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 GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Optional. The LLM embedding version to use. Currently only `v0` is supported. If not specified,
36+
* feature will not be turned on.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String llmEmbeddingVersion;
41+
42+
/**
43+
* Optional. The LLM embedding version to use. Currently only `v0` is supported. If not specified,
44+
* feature will not be turned on.
45+
* @return value or {@code null} for none
46+
*/
47+
public java.lang.String getLlmEmbeddingVersion() {
48+
return llmEmbeddingVersion;
49+
}
50+
51+
/**
52+
* Optional. The LLM embedding version to use. Currently only `v0` is supported. If not specified,
53+
* feature will not be turned on.
54+
* @param llmEmbeddingVersion llmEmbeddingVersion or {@code null} for none
55+
*/
56+
public GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig setLlmEmbeddingVersion(java.lang.String llmEmbeddingVersion) {
57+
this.llmEmbeddingVersion = llmEmbeddingVersion;
58+
return this;
59+
}
60+
61+
@Override
62+
public GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig set(String fieldName, Object value) {
63+
return (GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig) super.set(fieldName, value);
64+
}
65+
66+
@Override
67+
public GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig clone() {
68+
return (GoogleCloudRetailV2alphaModelModelFeaturesConfigLlmEmbeddingConfig) super.clone();
69+
}
70+
71+
}

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,9 @@ public final class GoogleCloudRetailV2alphaProduct extends com.google.api.client
350350
* "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For
351351
* Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by
352352
* default: * name For Type.VARIANT, the following fields are always returned in by default: *
353-
* name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is
354-
* returned. Note: Returning more fields in SearchResponse can increase response payload size and
355-
* serving latency. This field is deprecated. Use the retrievable site-wide control instead.
353+
* name * color_info Note: Returning more fields in SearchResponse can increase response payload
354+
* size and serving latency. This field is deprecated. Use the retrievable site-wide control
355+
* instead.
356356
* The value may be {@code null}.
357357
*/
358358
@com.google.api.client.util.Key
@@ -1102,9 +1102,9 @@ public GoogleCloudRetailV2alphaProduct setRating(GoogleCloudRetailV2alphaRating
11021102
* "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For
11031103
* Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by
11041104
* default: * name For Type.VARIANT, the following fields are always returned in by default: *
1105-
* name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is
1106-
* returned. Note: Returning more fields in SearchResponse can increase response payload size and
1107-
* serving latency. This field is deprecated. Use the retrievable site-wide control instead.
1105+
* name * color_info Note: Returning more fields in SearchResponse can increase response payload
1106+
* size and serving latency. This field is deprecated. Use the retrievable site-wide control
1107+
* instead.
11081108
* @return value or {@code null} for none
11091109
*/
11101110
public String getRetrievableFields() {
@@ -1120,9 +1120,9 @@ public String getRetrievableFields() {
11201120
* "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For
11211121
* Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by
11221122
* default: * name For Type.VARIANT, the following fields are always returned in by default: *
1123-
* name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is
1124-
* returned. Note: Returning more fields in SearchResponse can increase response payload size and
1125-
* serving latency. This field is deprecated. Use the retrievable site-wide control instead.
1123+
* name * color_info Note: Returning more fields in SearchResponse can increase response payload
1124+
* size and serving latency. This field is deprecated. Use the retrievable site-wide control
1125+
* instead.
11261126
* @param retrievableFields retrievableFields or {@code null} for none
11271127
*/
11281128
public GoogleCloudRetailV2alphaProduct setRetrievableFields(String retrievableFields) {

0 commit comments

Comments
 (0)