Skip to content

Commit d72af8b

Browse files
1 parent caa79cc commit d72af8b

11 files changed

Lines changed: 425 additions & 6 deletions

clients/google-api-services-firebaseml/v2beta/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-firebaseml</artifactId>
25-
<version>v2beta-rev20260222-2.0.0</version>
25+
<version>v2beta-rev20260223-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-firebaseml:v2beta-rev20260222-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20260223-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-firebaseml/v2beta/2.0.0/com/google/api/services/firebaseml/v2beta/model/GoogleCloudAiplatformV1beta1GroundingChunk.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@
3131
@SuppressWarnings("javadoc")
3232
public final class GoogleCloudAiplatformV1beta1GroundingChunk extends com.google.api.client.json.GenericJson {
3333

34+
/**
35+
* A grounding chunk from an image search result. See the `Image` message for details.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private GoogleCloudAiplatformV1beta1GroundingChunkImage image;
40+
3441
/**
3542
* A grounding chunk from Google Maps. See the `Maps` message for details.
3643
* The value may be {@code null}.
@@ -54,6 +61,23 @@ public final class GoogleCloudAiplatformV1beta1GroundingChunk extends com.google
5461
@com.google.api.client.util.Key
5562
private GoogleCloudAiplatformV1beta1GroundingChunkWeb web;
5663

64+
/**
65+
* A grounding chunk from an image search result. See the `Image` message for details.
66+
* @return value or {@code null} for none
67+
*/
68+
public GoogleCloudAiplatformV1beta1GroundingChunkImage getImage() {
69+
return image;
70+
}
71+
72+
/**
73+
* A grounding chunk from an image search result. See the `Image` message for details.
74+
* @param image image or {@code null} for none
75+
*/
76+
public GoogleCloudAiplatformV1beta1GroundingChunk setImage(GoogleCloudAiplatformV1beta1GroundingChunkImage image) {
77+
this.image = image;
78+
return this;
79+
}
80+
5781
/**
5882
* A grounding chunk from Google Maps. See the `Maps` message for details.
5983
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
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.firebaseml.v2beta.model;
18+
19+
/**
20+
* An `Image` chunk is a piece of evidence that comes from an image search result. It contains the
21+
* URI of the image search result and the URI of the image. This is used to provide the user with a
22+
* link to the source of the information.
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 Firebase ML API. For a detailed 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 GoogleCloudAiplatformV1beta1GroundingChunkImage extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* The domain of the image search result page.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String domain;
40+
41+
/**
42+
* The URI of the image.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String imageUri;
47+
48+
/**
49+
* The URI of the image search result page.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String sourceUri;
54+
55+
/**
56+
* The title of the image search result page.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.String title;
61+
62+
/**
63+
* The domain of the image search result page.
64+
* @return value or {@code null} for none
65+
*/
66+
public java.lang.String getDomain() {
67+
return domain;
68+
}
69+
70+
/**
71+
* The domain of the image search result page.
72+
* @param domain domain or {@code null} for none
73+
*/
74+
public GoogleCloudAiplatformV1beta1GroundingChunkImage setDomain(java.lang.String domain) {
75+
this.domain = domain;
76+
return this;
77+
}
78+
79+
/**
80+
* The URI of the image.
81+
* @return value or {@code null} for none
82+
*/
83+
public java.lang.String getImageUri() {
84+
return imageUri;
85+
}
86+
87+
/**
88+
* The URI of the image.
89+
* @param imageUri imageUri or {@code null} for none
90+
*/
91+
public GoogleCloudAiplatformV1beta1GroundingChunkImage setImageUri(java.lang.String imageUri) {
92+
this.imageUri = imageUri;
93+
return this;
94+
}
95+
96+
/**
97+
* The URI of the image search result page.
98+
* @return value or {@code null} for none
99+
*/
100+
public java.lang.String getSourceUri() {
101+
return sourceUri;
102+
}
103+
104+
/**
105+
* The URI of the image search result page.
106+
* @param sourceUri sourceUri or {@code null} for none
107+
*/
108+
public GoogleCloudAiplatformV1beta1GroundingChunkImage setSourceUri(java.lang.String sourceUri) {
109+
this.sourceUri = sourceUri;
110+
return this;
111+
}
112+
113+
/**
114+
* The title of the image search result page.
115+
* @return value or {@code null} for none
116+
*/
117+
public java.lang.String getTitle() {
118+
return title;
119+
}
120+
121+
/**
122+
* The title of the image search result page.
123+
* @param title title or {@code null} for none
124+
*/
125+
public GoogleCloudAiplatformV1beta1GroundingChunkImage setTitle(java.lang.String title) {
126+
this.title = title;
127+
return this;
128+
}
129+
130+
@Override
131+
public GoogleCloudAiplatformV1beta1GroundingChunkImage set(String fieldName, Object value) {
132+
return (GoogleCloudAiplatformV1beta1GroundingChunkImage) super.set(fieldName, value);
133+
}
134+
135+
@Override
136+
public GoogleCloudAiplatformV1beta1GroundingChunkImage clone() {
137+
return (GoogleCloudAiplatformV1beta1GroundingChunkImage) super.clone();
138+
}
139+
140+
}

clients/google-api-services-firebaseml/v2beta/2.0.0/com/google/api/services/firebaseml/v2beta/model/GoogleCloudAiplatformV1beta1GroundingMetadata.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,15 @@ public final class GoogleCloudAiplatformV1beta1GroundingMetadata extends com.goo
6161
@com.google.api.client.util.Key
6262
private java.util.List<GoogleCloudAiplatformV1beta1GroundingSupport> groundingSupports;
6363

64+
/**
65+
* Optional. The image search queries that were used to generate the content. This field is
66+
* populated only when the grounding source is Google Search with the Image Search search_type
67+
* enabled.
68+
* The value may be {@code null}.
69+
*/
70+
@com.google.api.client.util.Key
71+
private java.util.List<java.lang.String> imageSearchQueries;
72+
6473
/**
6574
* Optional. Output only. Metadata related to the retrieval grounding source.
6675
* The value may be {@code null}.
@@ -157,6 +166,27 @@ public GoogleCloudAiplatformV1beta1GroundingMetadata setGroundingSupports(java.u
157166
return this;
158167
}
159168

169+
/**
170+
* Optional. The image search queries that were used to generate the content. This field is
171+
* populated only when the grounding source is Google Search with the Image Search search_type
172+
* enabled.
173+
* @return value or {@code null} for none
174+
*/
175+
public java.util.List<java.lang.String> getImageSearchQueries() {
176+
return imageSearchQueries;
177+
}
178+
179+
/**
180+
* Optional. The image search queries that were used to generate the content. This field is
181+
* populated only when the grounding source is Google Search with the Image Search search_type
182+
* enabled.
183+
* @param imageSearchQueries imageSearchQueries or {@code null} for none
184+
*/
185+
public GoogleCloudAiplatformV1beta1GroundingMetadata setImageSearchQueries(java.util.List<java.lang.String> imageSearchQueries) {
186+
this.imageSearchQueries = imageSearchQueries;
187+
return this;
188+
}
189+
160190
/**
161191
* Optional. Output only. Metadata related to the retrieval grounding source.
162192
* @return value or {@code null} for none

clients/google-api-services-firebaseml/v2beta/2.0.0/com/google/api/services/firebaseml/v2beta/model/GoogleCloudAiplatformV1beta1GroundingSupport.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ public final class GoogleCloudAiplatformV1beta1GroundingSupport extends com.goog
5050
@com.google.api.client.util.Key
5151
private java.util.List<java.lang.Integer> groundingChunkIndices;
5252

53+
/**
54+
* Indices into the `rendered_parts` field of the `GroundingMetadata` message. These indices
55+
* specify which rendered parts are associated with this support message.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.util.List<java.lang.Integer> renderedParts;
60+
5361
/**
5462
* The content segment that this support message applies to.
5563
* The value may be {@code null}.
@@ -105,6 +113,25 @@ public GoogleCloudAiplatformV1beta1GroundingSupport setGroundingChunkIndices(jav
105113
return this;
106114
}
107115

116+
/**
117+
* Indices into the `rendered_parts` field of the `GroundingMetadata` message. These indices
118+
* specify which rendered parts are associated with this support message.
119+
* @return value or {@code null} for none
120+
*/
121+
public java.util.List<java.lang.Integer> getRenderedParts() {
122+
return renderedParts;
123+
}
124+
125+
/**
126+
* Indices into the `rendered_parts` field of the `GroundingMetadata` message. These indices
127+
* specify which rendered parts are associated with this support message.
128+
* @param renderedParts renderedParts or {@code null} for none
129+
*/
130+
public GoogleCloudAiplatformV1beta1GroundingSupport setRenderedParts(java.util.List<java.lang.Integer> renderedParts) {
131+
this.renderedParts = renderedParts;
132+
return this;
133+
}
134+
108135
/**
109136
* The content segment that this support message applies to.
110137
* @return value or {@code null} for none

clients/google-api-services-firebaseml/v2beta/2.0.0/com/google/api/services/firebaseml/v2beta/model/GoogleCloudAiplatformV1beta1ToolGoogleSearch.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ public final class GoogleCloudAiplatformV1beta1ToolGoogleSearch extends com.goog
4545
@com.google.api.client.util.Key
4646
private java.util.List<java.lang.String> excludeDomains;
4747

48+
/**
49+
* Optional. The set of search types to enable. If not set, web search is enabled by default.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private GoogleCloudAiplatformV1beta1ToolGoogleSearchSearchTypes searchTypes;
54+
4855
/**
4956
* Optional. Sites with confidence level chosen & above this value will be blocked from the search
5057
* results.
@@ -83,6 +90,23 @@ public GoogleCloudAiplatformV1beta1ToolGoogleSearch setExcludeDomains(java.util.
8390
return this;
8491
}
8592

93+
/**
94+
* Optional. The set of search types to enable. If not set, web search is enabled by default.
95+
* @return value or {@code null} for none
96+
*/
97+
public GoogleCloudAiplatformV1beta1ToolGoogleSearchSearchTypes getSearchTypes() {
98+
return searchTypes;
99+
}
100+
101+
/**
102+
* Optional. The set of search types to enable. If not set, web search is enabled by default.
103+
* @param searchTypes searchTypes or {@code null} for none
104+
*/
105+
public GoogleCloudAiplatformV1beta1ToolGoogleSearch setSearchTypes(GoogleCloudAiplatformV1beta1ToolGoogleSearchSearchTypes searchTypes) {
106+
this.searchTypes = searchTypes;
107+
return this;
108+
}
109+
86110
@Override
87111
public GoogleCloudAiplatformV1beta1ToolGoogleSearch set(String fieldName, Object value) {
88112
return (GoogleCloudAiplatformV1beta1ToolGoogleSearch) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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.firebaseml.v2beta.model;
18+
19+
/**
20+
* Image search for grounding and related configurations.
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 Firebase ML API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleCloudAiplatformV1beta1ToolGoogleSearchImageSearch extends com.google.api.client.json.GenericJson {
31+
32+
@Override
33+
public GoogleCloudAiplatformV1beta1ToolGoogleSearchImageSearch set(String fieldName, Object value) {
34+
return (GoogleCloudAiplatformV1beta1ToolGoogleSearchImageSearch) super.set(fieldName, value);
35+
}
36+
37+
@Override
38+
public GoogleCloudAiplatformV1beta1ToolGoogleSearchImageSearch clone() {
39+
return (GoogleCloudAiplatformV1beta1ToolGoogleSearchImageSearch) super.clone();
40+
}
41+
42+
}

0 commit comments

Comments
 (0)