Class: Google::Cloud::AIPlatform::V1::FunctionResponseFileData

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

Overview

URI based data for function response.

Instance Attribute Summary collapse

Instance Attribute Details

#display_name::String

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



312
313
314
315
# File 'proto_docs/google/cloud/aiplatform/v1/tool.rb', line 312

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

#file_uri::String

Returns Required. URI.

Returns:

  • (::String)

    Required. URI.



312
313
314
315
# File 'proto_docs/google/cloud/aiplatform/v1/tool.rb', line 312

class FunctionResponseFileData
  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.



312
313
314
315
# File 'proto_docs/google/cloud/aiplatform/v1/tool.rb', line 312

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