Google Cloud Ai Platform V1 Client - Class Blob (0.31.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Blob.

Raw media bytes.

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

Generated from protobuf message google.cloud.aiplatform.v1.Blob

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ mime_type string

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

↳ data string

Required. Raw bytes for media formats.

getMimeType

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

Returns
TypeDescription
string

setMimeType

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getData

Required. Raw bytes for media formats.

Returns
TypeDescription
string

setData

Required. Raw bytes for media formats.

Parameter
NameDescription
var string
Returns
TypeDescription
$this