Skip to content

Commit bfc5401

Browse files
1 parent 5cbd014 commit bfc5401

File tree

15 files changed

+309
-18
lines changed

15 files changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
* A message with a list of double values.
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 GoogleCloudRetailV2DoubleList extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The list of double values.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<java.lang.Double> values;
39+
40+
/**
41+
* The list of double values.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.util.List<java.lang.Double> getValues() {
45+
return values;
46+
}
47+
48+
/**
49+
* The list of double values.
50+
* @param values values or {@code null} for none
51+
*/
52+
public GoogleCloudRetailV2DoubleList setValues(java.util.List<java.lang.Double> values) {
53+
this.values = values;
54+
return this;
55+
}
56+
57+
@Override
58+
public GoogleCloudRetailV2DoubleList set(String fieldName, Object value) {
59+
return (GoogleCloudRetailV2DoubleList) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GoogleCloudRetailV2DoubleList clone() {
64+
return (GoogleCloudRetailV2DoubleList) super.clone();
65+
}
66+
67+
}

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,19 @@ public final class GoogleCloudRetailV2SearchResponseSearchResult extends com.goo
5555
@com.google.api.client.util.Key
5656
private java.util.Map<String, String> matchingVariantFields;
5757

58+
/**
59+
* Google provided available scores.
60+
* The value may be {@code null}.
61+
*/
62+
@com.google.api.client.util.Key
63+
private java.util.Map<String, GoogleCloudRetailV2DoubleList> modelScores;
64+
65+
static {
66+
// hack to force ProGuard to consider GoogleCloudRetailV2DoubleList used, since otherwise it would be stripped out
67+
// see https://github.com/google/google-api-java-client/issues/543
68+
com.google.api.client.util.Data.nullOf(GoogleCloudRetailV2DoubleList.class);
69+
}
70+
5871
/**
5972
* Specifies previous events related to this product for this user based on UserEvent with same
6073
* SearchRequest.visitor_id or UserInfo.user_id. This is set only when
@@ -154,6 +167,23 @@ public GoogleCloudRetailV2SearchResponseSearchResult setMatchingVariantFields(ja
154167
return this;
155168
}
156169

170+
/**
171+
* Google provided available scores.
172+
* @return value or {@code null} for none
173+
*/
174+
public java.util.Map<String, GoogleCloudRetailV2DoubleList> getModelScores() {
175+
return modelScores;
176+
}
177+
178+
/**
179+
* Google provided available scores.
180+
* @param modelScores modelScores or {@code null} for none
181+
*/
182+
public GoogleCloudRetailV2SearchResponseSearchResult setModelScores(java.util.Map<String, GoogleCloudRetailV2DoubleList> modelScores) {
183+
this.modelScores = modelScores;
184+
return this;
185+
}
186+
157187
/**
158188
* Specifies previous events related to this product for this user based on UserEvent with same
159189
* SearchRequest.visitor_id or UserInfo.user_id. This is set only when

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
* A message with a list of double values.
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 GoogleCloudRetailV2alphaDoubleList extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The list of double values.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<java.lang.Double> values;
39+
40+
/**
41+
* The list of double values.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.util.List<java.lang.Double> getValues() {
45+
return values;
46+
}
47+
48+
/**
49+
* The list of double values.
50+
* @param values values or {@code null} for none
51+
*/
52+
public GoogleCloudRetailV2alphaDoubleList setValues(java.util.List<java.lang.Double> values) {
53+
this.values = values;
54+
return this;
55+
}
56+
57+
@Override
58+
public GoogleCloudRetailV2alphaDoubleList set(String fieldName, Object value) {
59+
return (GoogleCloudRetailV2alphaDoubleList) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GoogleCloudRetailV2alphaDoubleList clone() {
64+
return (GoogleCloudRetailV2alphaDoubleList) super.clone();
65+
}
66+
67+
}

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,19 @@ public final class GoogleCloudRetailV2alphaSearchResponseSearchResult extends co
5555
@com.google.api.client.util.Key
5656
private java.util.Map<String, String> matchingVariantFields;
5757

58+
/**
59+
* Google provided available scores.
60+
* The value may be {@code null}.
61+
*/
62+
@com.google.api.client.util.Key
63+
private java.util.Map<String, GoogleCloudRetailV2alphaDoubleList> modelScores;
64+
65+
static {
66+
// hack to force ProGuard to consider GoogleCloudRetailV2alphaDoubleList used, since otherwise it would be stripped out
67+
// see https://github.com/google/google-api-java-client/issues/543
68+
com.google.api.client.util.Data.nullOf(GoogleCloudRetailV2alphaDoubleList.class);
69+
}
70+
5871
/**
5972
* Specifies previous events related to this product for this user based on UserEvent with same
6073
* SearchRequest.visitor_id or UserInfo.user_id. This is set only when
@@ -154,6 +167,23 @@ public GoogleCloudRetailV2alphaSearchResponseSearchResult setMatchingVariantFiel
154167
return this;
155168
}
156169

170+
/**
171+
* Google provided available scores.
172+
* @return value or {@code null} for none
173+
*/
174+
public java.util.Map<String, GoogleCloudRetailV2alphaDoubleList> getModelScores() {
175+
return modelScores;
176+
}
177+
178+
/**
179+
* Google provided available scores.
180+
* @param modelScores modelScores or {@code null} for none
181+
*/
182+
public GoogleCloudRetailV2alphaSearchResponseSearchResult setModelScores(java.util.Map<String, GoogleCloudRetailV2alphaDoubleList> modelScores) {
183+
this.modelScores = modelScores;
184+
return this;
185+
}
186+
157187
/**
158188
* Specifies previous events related to this product for this user based on UserEvent with same
159189
* SearchRequest.visitor_id or UserInfo.user_id. This is set only when

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

0 commit comments

Comments
 (0)