Google Cloud Ces V1 Client - Class Blob (0.1.0)

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

Represents a blob input or output in the conversation.

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

Namespace

Google \ Cloud \ Ces \ 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 of the blob.

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 of the blob.

Returns
Type Description
string

setData

Required. Raw bytes of the blob.

Parameter
Name Description
var string
Returns
Type Description
$this