Class: Google::Cloud::AIPlatform::V1::Blob

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

Overview

Content blob.

It's preferred to send as text directly rather than raw bytes.

Instance Attribute Summary collapse

Instance Attribute Details

#data::String

Returns Required. Raw bytes.

Returns:

  • (::String)

    Required. Raw bytes.



90
91
92
93
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 90

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



90
91
92
93
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 90

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