Skip to content

Commit 05d9653

Browse files
1 parent af8fe85 commit 05d9653

12 files changed

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

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ public final class GoogleCloudAiplatformV1beta1FunctionResponse extends com.goog
4848
@com.google.api.client.util.Key
4949
private java.lang.String name;
5050

51+
/**
52+
* Optional. Ordered `Parts` that constitute a function response. Parts may have different IANA
53+
* MIME types.
54+
* The value may be {@code null}.
55+
*/
56+
@com.google.api.client.util.Key
57+
private java.util.List<GoogleCloudAiplatformV1beta1FunctionResponsePart> parts;
58+
5159
/**
5260
* Required. The function response in JSON object format. Use "output" key to specify function
5361
* output and "error" key to specify error details (if any). If "output" and "error" keys are not
@@ -95,6 +103,25 @@ public GoogleCloudAiplatformV1beta1FunctionResponse setName(java.lang.String nam
95103
return this;
96104
}
97105

106+
/**
107+
* Optional. Ordered `Parts` that constitute a function response. Parts may have different IANA
108+
* MIME types.
109+
* @return value or {@code null} for none
110+
*/
111+
public java.util.List<GoogleCloudAiplatformV1beta1FunctionResponsePart> getParts() {
112+
return parts;
113+
}
114+
115+
/**
116+
* Optional. Ordered `Parts` that constitute a function response. Parts may have different IANA
117+
* MIME types.
118+
* @param parts parts or {@code null} for none
119+
*/
120+
public GoogleCloudAiplatformV1beta1FunctionResponse setParts(java.util.List<GoogleCloudAiplatformV1beta1FunctionResponsePart> parts) {
121+
this.parts = parts;
122+
return this;
123+
}
124+
98125
/**
99126
* Required. The function response in JSON object format. Use "output" key to specify function
100127
* output and "error" key to specify error details (if any). If "output" and "error" keys are not
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
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+
* Raw media bytes for function response. Text should not be sent as raw bytes, use the 'text'
21+
* field.
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 Firebase ML API. For a detailed 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 GoogleCloudAiplatformV1beta1FunctionResponseBlob extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Required. Raw bytes.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String data;
39+
40+
/**
41+
* Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs.
42+
* This field is only returned in PromptMessage for prompt management. It is currently used in the
43+
* Gemini GenerateContent calls only when server side tools (code_execution, google_search, and
44+
* url_context) are enabled.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.String displayName;
49+
50+
/**
51+
* Required. The IANA standard MIME type of the source data.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private java.lang.String mimeType;
56+
57+
/**
58+
* Required. Raw bytes.
59+
* @see #decodeData()
60+
* @return value or {@code null} for none
61+
*/
62+
public java.lang.String getData() {
63+
return data;
64+
}
65+
66+
/**
67+
* Required. Raw bytes.
68+
* @see #getData()
69+
* @return Base64 decoded value or {@code null} for none
70+
*
71+
* @since 1.14
72+
*/
73+
public byte[] decodeData() {
74+
return com.google.api.client.util.Base64.decodeBase64(data);
75+
}
76+
77+
/**
78+
* Required. Raw bytes.
79+
* @see #encodeData()
80+
* @param data data or {@code null} for none
81+
*/
82+
public GoogleCloudAiplatformV1beta1FunctionResponseBlob setData(java.lang.String data) {
83+
this.data = data;
84+
return this;
85+
}
86+
87+
/**
88+
* Required. Raw bytes.
89+
* @see #setData()
90+
*
91+
* <p>
92+
* The value is encoded Base64 or {@code null} for none.
93+
* </p>
94+
*
95+
* @since 1.14
96+
*/
97+
public GoogleCloudAiplatformV1beta1FunctionResponseBlob encodeData(byte[] data) {
98+
this.data = com.google.api.client.util.Base64.encodeBase64URLSafeString(data);
99+
return this;
100+
}
101+
102+
/**
103+
* Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs.
104+
* This field is only returned in PromptMessage for prompt management. It is currently used in the
105+
* Gemini GenerateContent calls only when server side tools (code_execution, google_search, and
106+
* url_context) are enabled.
107+
* @return value or {@code null} for none
108+
*/
109+
public java.lang.String getDisplayName() {
110+
return displayName;
111+
}
112+
113+
/**
114+
* Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs.
115+
* This field is only returned in PromptMessage for prompt management. It is currently used in the
116+
* Gemini GenerateContent calls only when server side tools (code_execution, google_search, and
117+
* url_context) are enabled.
118+
* @param displayName displayName or {@code null} for none
119+
*/
120+
public GoogleCloudAiplatformV1beta1FunctionResponseBlob setDisplayName(java.lang.String displayName) {
121+
this.displayName = displayName;
122+
return this;
123+
}
124+
125+
/**
126+
* Required. The IANA standard MIME type of the source data.
127+
* @return value or {@code null} for none
128+
*/
129+
public java.lang.String getMimeType() {
130+
return mimeType;
131+
}
132+
133+
/**
134+
* Required. The IANA standard MIME type of the source data.
135+
* @param mimeType mimeType or {@code null} for none
136+
*/
137+
public GoogleCloudAiplatformV1beta1FunctionResponseBlob setMimeType(java.lang.String mimeType) {
138+
this.mimeType = mimeType;
139+
return this;
140+
}
141+
142+
@Override
143+
public GoogleCloudAiplatformV1beta1FunctionResponseBlob set(String fieldName, Object value) {
144+
return (GoogleCloudAiplatformV1beta1FunctionResponseBlob) super.set(fieldName, value);
145+
}
146+
147+
@Override
148+
public GoogleCloudAiplatformV1beta1FunctionResponseBlob clone() {
149+
return (GoogleCloudAiplatformV1beta1FunctionResponseBlob) super.clone();
150+
}
151+
152+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
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+
* URI based data for function response.
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 GoogleCloudAiplatformV1beta1FunctionResponseFileData extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Display name of the file data. Used to provide a label or filename to distinguish
34+
* file datas. This field is only returned in PromptMessage for prompt management. It is currently
35+
* used in the Gemini GenerateContent calls only when server side tools (code_execution,
36+
* google_search, and url_context) are enabled.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String displayName;
41+
42+
/**
43+
* Required. URI.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String fileUri;
48+
49+
/**
50+
* Required. The IANA standard MIME type of the source data.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.lang.String mimeType;
55+
56+
/**
57+
* Optional. Display name of the file data. Used to provide a label or filename to distinguish
58+
* file datas. This field is only returned in PromptMessage for prompt management. It is currently
59+
* used in the Gemini GenerateContent calls only when server side tools (code_execution,
60+
* google_search, and url_context) are enabled.
61+
* @return value or {@code null} for none
62+
*/
63+
public java.lang.String getDisplayName() {
64+
return displayName;
65+
}
66+
67+
/**
68+
* Optional. Display name of the file data. Used to provide a label or filename to distinguish
69+
* file datas. This field is only returned in PromptMessage for prompt management. It is currently
70+
* used in the Gemini GenerateContent calls only when server side tools (code_execution,
71+
* google_search, and url_context) are enabled.
72+
* @param displayName displayName or {@code null} for none
73+
*/
74+
public GoogleCloudAiplatformV1beta1FunctionResponseFileData setDisplayName(java.lang.String displayName) {
75+
this.displayName = displayName;
76+
return this;
77+
}
78+
79+
/**
80+
* Required. URI.
81+
* @return value or {@code null} for none
82+
*/
83+
public java.lang.String getFileUri() {
84+
return fileUri;
85+
}
86+
87+
/**
88+
* Required. URI.
89+
* @param fileUri fileUri or {@code null} for none
90+
*/
91+
public GoogleCloudAiplatformV1beta1FunctionResponseFileData setFileUri(java.lang.String fileUri) {
92+
this.fileUri = fileUri;
93+
return this;
94+
}
95+
96+
/**
97+
* Required. The IANA standard MIME type of the source data.
98+
* @return value or {@code null} for none
99+
*/
100+
public java.lang.String getMimeType() {
101+
return mimeType;
102+
}
103+
104+
/**
105+
* Required. The IANA standard MIME type of the source data.
106+
* @param mimeType mimeType or {@code null} for none
107+
*/
108+
public GoogleCloudAiplatformV1beta1FunctionResponseFileData setMimeType(java.lang.String mimeType) {
109+
this.mimeType = mimeType;
110+
return this;
111+
}
112+
113+
@Override
114+
public GoogleCloudAiplatformV1beta1FunctionResponseFileData set(String fieldName, Object value) {
115+
return (GoogleCloudAiplatformV1beta1FunctionResponseFileData) super.set(fieldName, value);
116+
}
117+
118+
@Override
119+
public GoogleCloudAiplatformV1beta1FunctionResponseFileData clone() {
120+
return (GoogleCloudAiplatformV1beta1FunctionResponseFileData) super.clone();
121+
}
122+
123+
}

0 commit comments

Comments
 (0)