Skip to content

Commit 675b839

Browse files
committed
update api text
1 parent 22da043 commit 675b839

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

firebase-ai/api.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,14 @@ package com.google.firebase.ai.type {
210210
property public final java.util.List<com.google.firebase.ai.type.Citation> citations;
211211
}
212212

213+
public final class CodeExecutionResultPart implements com.google.firebase.ai.type.Part {
214+
ctor public CodeExecutionResultPart(String outcome, String output);
215+
method public String getOutcome();
216+
method public String getOutput();
217+
property public final String outcome;
218+
property public final String output;
219+
}
220+
213221
public final class Content {
214222
ctor public Content(String? role = "user", java.util.List<? extends com.google.firebase.ai.type.Part> parts);
215223
ctor public Content(java.util.List<? extends com.google.firebase.ai.type.Part> parts);
@@ -277,6 +285,14 @@ package com.google.firebase.ai.type {
277285
property public final int width;
278286
}
279287

288+
public final class ExecutableCodePart implements com.google.firebase.ai.type.Part {
289+
ctor public ExecutableCodePart(String language, String code);
290+
method public String getCode();
291+
method public String getLanguage();
292+
property public final String code;
293+
property public final String language;
294+
}
295+
280296
public final class FileDataPart implements com.google.firebase.ai.type.Part {
281297
ctor public FileDataPart(String uri, String mimeType);
282298
method public String getMimeType();

0 commit comments

Comments
 (0)