Google Cloud Ai Platform V1 Client - Class InputConfig (1.2.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
Name Description
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
Type Description
Google\Cloud\AIPlatform\V1\GcsSource|null

hasGcsSource

setGcsSource

The Cloud Storage location for the input instances.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\GcsSource
Returns
Type Description
$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
Type Description
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
Name Description
var Google\Cloud\AIPlatform\V1\BigQuerySource
Returns
Type Description
$this

getInstancesFormat

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

Returns
Type Description
string

setInstancesFormat

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

Parameter
Name Description
var string
Returns
Type Description
$this

getSource

Returns
Type Description
string