Skip to content

Commit f9d698d

Browse files
1 parent 5cfd273 commit f9d698d

7 files changed

+405
-6
lines changed

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

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@
2929
@SuppressWarnings("javadoc")
3030
public final class GoogleCloudAiplatformV1beta1GroundingChunkMaps extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Sources used to generate the place answer. This includes review snippets and photos that were
34+
* used to generate the answer, as well as uris to flag content.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources placeAnswerSources;
39+
3240
/**
3341
* This Place's resource name, in `places/{place_id}` format. Can be used to look up the Place.
3442
* The value may be {@code null}.
@@ -57,6 +65,25 @@ public final class GoogleCloudAiplatformV1beta1GroundingChunkMaps extends com.go
5765
@com.google.api.client.util.Key
5866
private java.lang.String uri;
5967

68+
/**
69+
* Sources used to generate the place answer. This includes review snippets and photos that were
70+
* used to generate the answer, as well as uris to flag content.
71+
* @return value or {@code null} for none
72+
*/
73+
public GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources getPlaceAnswerSources() {
74+
return placeAnswerSources;
75+
}
76+
77+
/**
78+
* Sources used to generate the place answer. This includes review snippets and photos that were
79+
* used to generate the answer, as well as uris to flag content.
80+
* @param placeAnswerSources placeAnswerSources or {@code null} for none
81+
*/
82+
public GoogleCloudAiplatformV1beta1GroundingChunkMaps setPlaceAnswerSources(GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources placeAnswerSources) {
83+
this.placeAnswerSources = placeAnswerSources;
84+
return this;
85+
}
86+
6087
/**
6188
* This Place's resource name, in `places/{place_id}` format. Can be used to look up the Place.
6289
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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+
* Sources used to generate the place answer.
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 GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* A link where users can flag a problem with the generated answer.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String flagContentUri;
38+
39+
/**
40+
* Snippets of reviews that are used to generate the answer.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.util.List<GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet> reviewSnippets;
45+
46+
/**
47+
* A link where users can flag a problem with the generated answer.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getFlagContentUri() {
51+
return flagContentUri;
52+
}
53+
54+
/**
55+
* A link where users can flag a problem with the generated answer.
56+
* @param flagContentUri flagContentUri or {@code null} for none
57+
*/
58+
public GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources setFlagContentUri(java.lang.String flagContentUri) {
59+
this.flagContentUri = flagContentUri;
60+
return this;
61+
}
62+
63+
/**
64+
* Snippets of reviews that are used to generate the answer.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.util.List<GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet> getReviewSnippets() {
68+
return reviewSnippets;
69+
}
70+
71+
/**
72+
* Snippets of reviews that are used to generate the answer.
73+
* @param reviewSnippets reviewSnippets or {@code null} for none
74+
*/
75+
public GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources setReviewSnippets(java.util.List<GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet> reviewSnippets) {
76+
this.reviewSnippets = reviewSnippets;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources set(String fieldName, Object value) {
82+
return (GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources clone() {
87+
return (GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources) super.clone();
88+
}
89+
90+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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+
* Author attribution for a photo or review.
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 GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Name of the author of the Photo or Review.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String displayName;
38+
39+
/**
40+
* Profile photo URI of the author of the Photo or Review.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String photoUri;
45+
46+
/**
47+
* URI of the author of the Photo or Review.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String uri;
52+
53+
/**
54+
* Name of the author of the Photo or Review.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.String getDisplayName() {
58+
return displayName;
59+
}
60+
61+
/**
62+
* Name of the author of the Photo or Review.
63+
* @param displayName displayName or {@code null} for none
64+
*/
65+
public GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution setDisplayName(java.lang.String displayName) {
66+
this.displayName = displayName;
67+
return this;
68+
}
69+
70+
/**
71+
* Profile photo URI of the author of the Photo or Review.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.String getPhotoUri() {
75+
return photoUri;
76+
}
77+
78+
/**
79+
* Profile photo URI of the author of the Photo or Review.
80+
* @param photoUri photoUri or {@code null} for none
81+
*/
82+
public GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution setPhotoUri(java.lang.String photoUri) {
83+
this.photoUri = photoUri;
84+
return this;
85+
}
86+
87+
/**
88+
* URI of the author of the Photo or Review.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.String getUri() {
92+
return uri;
93+
}
94+
95+
/**
96+
* URI of the author of the Photo or Review.
97+
* @param uri uri or {@code null} for none
98+
*/
99+
public GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution setUri(java.lang.String uri) {
100+
this.uri = uri;
101+
return this;
102+
}
103+
104+
@Override
105+
public GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution set(String fieldName, Object value) {
106+
return (GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution clone() {
111+
return (GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution) super.clone();
112+
}
113+
114+
}

0 commit comments

Comments
 (0)