Class FunctionResponsePart

A datatype containing media that is part of a FunctionResponse message.

A FunctionResponsePart consists of data which has an associated datatype. A FunctionResponsePart can only contain one of the accepted types in FunctionResponsePart.data. A FunctionResponsePart must have a fixed IANA MIME type identifying the type and subtype of the media if the inline_data field is filled with raw bytes.

Constructors

Properties

audioMetadata?: AudioMetadata

Audio metadata. The metadata should only be specified while the audio data is presented in inline_data or file_data.

documentMetadata?: DocumentMetadata

Document metadata. The metadata should only be specified while the document data is presented in inline_data or file_data.

URI based data.

Inline media bytes.

mediaProcessing?: MediaProcessing

Optional. Processes this part's media for understanding. Only meaningful for video parts (inline_data or file_data with video mime). Non-video parts ignore this field.

mediaResolution?: PartMediaResolution

Media resolution for the input media.

spreadsheetMetadata?: SpreadsheetMetadata

Spreadsheet metadata. The metadata should only be specified while the spreadsheet data is presented in inline_data or file_data.

videoMetadata?: VideoMetadata

Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data.