Class FunctionResponseFileData (1.133.0)

FunctionResponseFileData(mapping=None, *, ignore_unknown_fields=False, **kwargs)

URI based data for function response.

Attributes

Name Description
mime_type str
Required. The IANA standard MIME type of the source data.
file_uri str
Required. URI.
display_name str
Optional. Display name of the file data. Used to provide a label or filename to distinguish file datas. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled.

Methods

FunctionResponseFileData

FunctionResponseFileData(mapping=None, *, ignore_unknown_fields=False, **kwargs)

URI based data for function response.