Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::Blob (v0.41.0)

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

Content blob.

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

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.

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