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

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
NameDescription
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
TypeDescription
int

setDataFormat

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getGcsSource

The Cloud Storage location for the input instances.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\GcsSource|null

hasGcsSource

clearGcsSource

setGcsSource

The Cloud Storage location for the input instances.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\GcsSource
Returns
TypeDescription
$this