Google Cloud Ai Platform V1 Client - Class FileData (1.3.0)

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

URI based data.

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

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.

↳ file_uri string

Required. URI.

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

getFileUri

Required. URI.

Returns
Type Description
string

setFileUri

Required. URI.

Parameter
Name Description
var string
Returns
Type Description
$this