Class: Google::Cloud::AIPlatform::V1::FunctionResponseBlob

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/tool.rb

Overview

Raw media bytes for function response.

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

Instance Attribute Summary collapse

Instance Attribute Details

#data::String

Returns Required. Raw bytes.

Returns:

  • (::String)

    Required. Raw bytes.



291
292
293
294
# File 'proto_docs/google/cloud/aiplatform/v1/tool.rb', line 291

class FunctionResponseBlob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#display_name::String

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



291
292
293
294
# File 'proto_docs/google/cloud/aiplatform/v1/tool.rb', line 291

class FunctionResponseBlob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#mime_type::String

Returns Required. The IANA standard MIME type of the source data.

Returns:

  • (::String)

    Required. The IANA standard MIME type of the source data.



291
292
293
294
# File 'proto_docs/google/cloud/aiplatform/v1/tool.rb', line 291

class FunctionResponseBlob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end