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

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

Content blob.

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

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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.

getMimeType

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

Returns
Type Description
string

setMimeType

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

Parameter
Name Description
var string
Returns
Type Description
$this

getData

Required. Raw bytes.

Returns
Type Description
string

setData

Required. Raw bytes.

Parameter
Name Description
var string
Returns
Type Description
$this