Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::FunctionResponseBlob (v1.30.0)

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

Raw media bytes for function response.

Text should not be sent as raw bytes, use the 'text' field.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#data

def data() -> ::String
Returns
  • (::String) — Required. Raw bytes.

#data=

def data=(value) -> ::String
Parameter
  • value (::String) — Required. Raw bytes.
Returns
  • (::String) — Required. Raw bytes.

#display_name

def display_name() -> ::String
Returns
  • (::String) — Optional. Display name of the blob.

    Used to provide a label or filename to distinguish blobs.

    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 blob.

    Used to provide a label or filename to distinguish blobs.

    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 blob.

    Used to provide a label or filename to distinguish blobs.

    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.

#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.