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

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

Raw media bytes.

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 for media formats.

#data=

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

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