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 \ V1Methods
__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 for media formats. |
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 for media formats.
Returns | |
---|---|
Type | Description |
string |
setData
Required. Raw bytes for media formats.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |