Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::FunctionResponseFileData (v1.30.1)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::FunctionResponseFileData.

URI based data for function response.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#display_name

def display_name() -> ::String
Returns
  • (::String) — 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.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — 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.

Returns
  • (::String) — 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.

#file_uri

def file_uri() -> ::String
Returns
  • (::String) — Required. URI.

#file_uri=

def file_uri=(value) -> ::String
Parameter
  • value (::String) — Required. URI.
Returns
  • (::String) — Required. URI.

#mime_type

def mime_type() -> ::String
Returns
  • (::String) — Required. The IANA standard MIME type of the source data.

#mime_type=

def mime_type=(value) -> ::String
Parameter
  • value (::String) — Required. The IANA standard MIME type of the source data.
Returns
  • (::String) — Required. The IANA standard MIME type of the source data.