Skip to content

Commit a5b2018

Browse files
IvanLHcopybara-github
authored andcommitted
chore: Add missing modality types
PiperOrigin-RevId: 893665237
1 parent 4b59428 commit a5b2018

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/interactions/resources/interactions.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1365,7 +1365,7 @@ export interface Interaction {
13651365
/**
13661366
* The requested modalities of the response (TEXT, IMAGE, AUDIO).
13671367
*/
1368-
response_modalities?: Array<'text' | 'image' | 'audio'>;
1368+
response_modalities?: Array<'text' | 'image' | 'audio' | 'video' | 'document'>;
13691369

13701370
/**
13711371
* Output only. The role of the interaction.
@@ -1970,7 +1970,7 @@ export namespace Usage {
19701970
/**
19711971
* The modality associated with the token count.
19721972
*/
1973-
modality?: 'text' | 'image' | 'audio';
1973+
modality?: 'text' | 'image' | 'audio' | 'video' | 'document';
19741974

19751975
/**
19761976
* Number of tokens for the modality.
@@ -1985,7 +1985,7 @@ export namespace Usage {
19851985
/**
19861986
* The modality associated with the token count.
19871987
*/
1988-
modality?: 'text' | 'image' | 'audio';
1988+
modality?: 'text' | 'image' | 'audio' | 'video' | 'document';
19891989

19901990
/**
19911991
* Number of tokens for the modality.
@@ -2000,7 +2000,7 @@ export namespace Usage {
20002000
/**
20012001
* The modality associated with the token count.
20022002
*/
2003-
modality?: 'text' | 'image' | 'audio';
2003+
modality?: 'text' | 'image' | 'audio' | 'video' | 'document';
20042004

20052005
/**
20062006
* Number of tokens for the modality.
@@ -2015,7 +2015,7 @@ export namespace Usage {
20152015
/**
20162016
* The modality associated with the token count.
20172017
*/
2018-
modality?: 'text' | 'image' | 'audio';
2018+
modality?: 'text' | 'image' | 'audio' | 'video' | 'document';
20192019

20202020
/**
20212021
* Number of tokens for the modality.
@@ -2137,7 +2137,7 @@ export interface BaseCreateModelInteractionParams {
21372137
/**
21382138
* Body param: The requested modalities of the response (TEXT, IMAGE, AUDIO).
21392139
*/
2140-
response_modalities?: Array<'text' | 'image' | 'audio'>;
2140+
response_modalities?: Array<'text' | 'image' | 'audio' | 'video' | 'document'>;
21412141

21422142
/**
21432143
* Body param: The service tier for the interaction.
@@ -2235,7 +2235,7 @@ export interface BaseCreateAgentInteractionParams {
22352235
/**
22362236
* Body param: The requested modalities of the response (TEXT, IMAGE, AUDIO).
22372237
*/
2238-
response_modalities?: Array<'text' | 'image' | 'audio'>;
2238+
response_modalities?: Array<'text' | 'image' | 'audio' | 'video' | 'document'>;
22392239

22402240
/**
22412241
* Body param: The service tier for the interaction.

0 commit comments

Comments
 (0)