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
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.
Generated from protobuf field .google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
Returns | |
---|---|
Type | Description |
Google\Cloud\AIPlatform\V1\GcsSource|null |
hasGcsSource
setGcsSource
The Cloud Storage location for the input instances.
Generated from protobuf field .google.cloud.aiplatform.v1.GcsSource gcs_source = 2;
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.
Generated from protobuf field .google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3;
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.
Generated from protobuf field .google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3;
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.
Generated from protobuf field string instances_format = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
string |
setInstancesFormat
Required. The format in which instances are given, must be one of the Model's supported_input_storage_formats.
Generated from protobuf field string instances_format = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSource
Returns | |
---|---|
Type | Description |
string |