@@ -50,25 +50,45 @@ export interface CachedContentUpdateParams {
50
50
updateMask? : string [];
51
51
}
52
52
53
- // Warning: (ae-internal-missing-underscore) The name "CachedContentUpdateRequest" should be prefixed with an underscore because the declaration is marked as @internal
54
- //
55
53
// @internal
56
- export interface CachedContentUpdateRequest {
54
+ export interface _CachedContentUpdateRequest {
57
55
// (undocumented)
58
- cachedContent: CachedContentUpdateRequestFields ;
56
+ cachedContent: _CachedContentUpdateRequestFields ;
59
57
updateMask? : string [];
60
58
}
61
59
62
- // Warning: (ae-internal-missing-underscore) The name "CachedContentUpdateRequestFields" should be prefixed with an underscore because the declaration is marked as @internal
63
- //
64
60
// @internal
65
- export interface CachedContentUpdateRequestFields {
61
+ export interface _CachedContentUpdateRequestFields {
66
62
// (undocumented)
67
63
expireTime? : string ;
68
64
// (undocumented)
69
65
ttl? : string ;
70
66
}
71
67
68
+ // @public
69
+ export interface CodeExecutionResult {
70
+ outcome: Outcome ;
71
+ output: string ;
72
+ }
73
+
74
+ // @public
75
+ export interface CodeExecutionResultPart {
76
+ // (undocumented)
77
+ codeExecutionResult: CodeExecutionResult ;
78
+ // (undocumented)
79
+ executableCode? : never ;
80
+ // (undocumented)
81
+ fileData? : never ;
82
+ // (undocumented)
83
+ functionCall? : never ;
84
+ // (undocumented)
85
+ functionResponse? : never ;
86
+ // (undocumented)
87
+ inlineData? : never ;
88
+ // (undocumented)
89
+ text? : never ;
90
+ }
91
+
72
92
// @public
73
93
export interface Content {
74
94
// (undocumented)
@@ -91,6 +111,38 @@ export interface ErrorDetails {
91
111
reason? : string ;
92
112
}
93
113
114
+ // @public
115
+ export interface ExecutableCode {
116
+ code: string ;
117
+ language: ExecutableCodeLanguage ;
118
+ }
119
+
120
+ // @public (undocumented)
121
+ export enum ExecutableCodeLanguage {
122
+ // (undocumented)
123
+ LANGUAGE_UNSPECIFIED = " language_unspecified" ,
124
+ // (undocumented)
125
+ PYTHON = " python"
126
+ }
127
+
128
+ // @public
129
+ export interface ExecutableCodePart {
130
+ // (undocumented)
131
+ codeExecutionResult? : never ;
132
+ // (undocumented)
133
+ executableCode: ExecutableCode ;
134
+ // (undocumented)
135
+ fileData? : never ;
136
+ // (undocumented)
137
+ functionCall? : never ;
138
+ // (undocumented)
139
+ functionResponse? : never ;
140
+ // (undocumented)
141
+ inlineData? : never ;
142
+ // (undocumented)
143
+ text? : never ;
144
+ }
145
+
94
146
// @public
95
147
export interface FileData {
96
148
// (undocumented)
@@ -101,6 +153,10 @@ export interface FileData {
101
153
102
154
// @public
103
155
export interface FileDataPart {
156
+ // (undocumented)
157
+ codeExecutionResult? : never ;
158
+ // (undocumented)
159
+ executableCode? : never ;
104
160
// (undocumented)
105
161
fileData: FileData ;
106
162
// (undocumented)
@@ -191,6 +247,10 @@ export enum FunctionCallingMode {
191
247
192
248
// @public
193
249
export interface FunctionCallPart {
250
+ // (undocumented)
251
+ codeExecutionResult? : never ;
252
+ // (undocumented)
253
+ executableCode? : never ;
194
254
// (undocumented)
195
255
fileData? : never ;
196
256
// (undocumented)
@@ -249,6 +309,10 @@ export interface FunctionResponse {
249
309
250
310
// @public
251
311
export interface FunctionResponsePart {
312
+ // (undocumented)
313
+ codeExecutionResult? : never ;
314
+ // (undocumented)
315
+ executableCode? : never ;
252
316
// (undocumented)
253
317
fileData? : never ;
254
318
// (undocumented)
@@ -293,6 +357,10 @@ export class GoogleAIFileManager {
293
357
294
358
// @public
295
359
export interface InlineDataPart {
360
+ // (undocumented)
361
+ codeExecutionResult? : never ;
362
+ // (undocumented)
363
+ executableCode? : never ;
296
364
// (undocumented)
297
365
fileData? : never ;
298
366
// (undocumented)
@@ -330,7 +398,15 @@ export interface ListParams {
330
398
}
331
399
332
400
// @public
333
- export type Part = TextPart | InlineDataPart | FunctionCallPart | FunctionResponsePart | FileDataPart ;
401
+ export enum Outcome {
402
+ OUTCOME_DEADLINE_EXCEEDED = " outcome_deadline_exceeded" ,
403
+ OUTCOME_FAILED = " outcome_failed" ,
404
+ OUTCOME_OK = " outcome_ok" ,
405
+ OUTCOME_UNSPECIFIED = " outcome_unspecified"
406
+ }
407
+
408
+ // @public
409
+ export type Part = TextPart | InlineDataPart | FunctionCallPart | FunctionResponsePart | FileDataPart | ExecutableCodePart | CodeExecutionResultPart ;
334
410
335
411
// @public
336
412
export interface RequestOptions {
@@ -369,6 +445,10 @@ export interface Schema {
369
445
370
446
// @public
371
447
export interface TextPart {
448
+ // (undocumented)
449
+ codeExecutionResult? : never ;
450
+ // (undocumented)
451
+ executableCode? : never ;
372
452
// (undocumented)
373
453
fileData? : never ;
374
454
// (undocumented)
0 commit comments