Google Cloud Ai Platform V1 Client - Class FileData (0.32.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
NameDescription
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
TypeDescription
string

setMimeType

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFileUri

Required. URI.

Returns
TypeDescription
string

setFileUri

Required. URI.

Parameter
NameDescription
var string
Returns
TypeDescription
$this