Google Cloud Ai Platform V1 Client - Class InputConfig (0.28.0)

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

Configures the input to BatchPredictionJob. See Model.supported_input_storage_formats for Model's supported input formats, and how instances should be expressed via any of them.

Generated from protobuf message google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig

Namespace

Google \ Cloud \ AIPlatform \ V1 \ BatchPredictionJob

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ gcs_source Google\Cloud\AIPlatform\V1\GcsSource

The Cloud Storage location for the input instances.

↳ bigquery_source Google\Cloud\AIPlatform\V1\BigQuerySource

The BigQuery location of the input table. The schema of the table should be in the format described by the given context OpenAPI Schema, if one is provided. The table may contain additional columns that are not described by the schema, and they will be ignored.

↳ instances_format string

Required. The format in which instances are given, must be one of the Model's supported_input_storage_formats.

getGcsSource

The Cloud Storage location for the input instances.

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

hasGcsSource

setGcsSource

The Cloud Storage location for the input instances.

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

getBigquerySource

The BigQuery location of the input table.

The schema of the table should be in the format described by the given context OpenAPI Schema, if one is provided. The table may contain additional columns that are not described by the schema, and they will be ignored.

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

hasBigquerySource

setBigquerySource

The BigQuery location of the input table.

The schema of the table should be in the format described by the given context OpenAPI Schema, if one is provided. The table may contain additional columns that are not described by the schema, and they will be ignored.

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

getInstancesFormat

Required. The format in which instances are given, must be one of the Model's supported_input_storage_formats.

Returns
TypeDescription
string

setInstancesFormat

Required. The format in which instances are given, must be one of the Model's supported_input_storage_formats.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSource

Returns
TypeDescription
string