Google Cloud Ai Platform V1 Client - Class ExampleGcsSource (1.1.0)

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

The Cloud Storage input instances.

Generated from protobuf message google.cloud.aiplatform.v1.Examples.ExampleGcsSource

Namespace

Google \ Cloud \ AIPlatform \ V1 \ Examples

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ data_format int

The format in which instances are given, if not specified, assume it's JSONL format. Currently only JSONL format is supported.

↳ gcs_source Google\Cloud\AIPlatform\V1\GcsSource

The Cloud Storage location for the input instances.

getDataFormat

The format in which instances are given, if not specified, assume it's JSONL format. Currently only JSONL format is supported.

Returns
Type Description
int

setDataFormat

The format in which instances are given, if not specified, assume it's JSONL format. Currently only JSONL format is supported.

Parameter
Name Description
var int
Returns
Type Description
$this

getGcsSource

The Cloud Storage location for the input instances.

Returns
Type Description
Google\Cloud\AIPlatform\V1\GcsSource|null

hasGcsSource

clearGcsSource

setGcsSource

The Cloud Storage location for the input instances.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\GcsSource
Returns
Type Description
$this