Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class UnmanagedContainerModel.
Contains model information necessary to perform batch prediction without requiring a full model import.
Generated from protobuf message google.cloud.aiplatform.v1.UnmanagedContainerModel
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ artifact_uri |
string
The path to the directory containing the Model artifact and any of its supporting files. |
↳ predict_schemata |
Google\Cloud\AIPlatform\V1\PredictSchemata
Contains the schemata used in Model's predictions and explanations |
↳ container_spec |
Google\Cloud\AIPlatform\V1\ModelContainerSpec
Input only. The specification of the container that is to be used when deploying this Model. |
getArtifactUri
The path to the directory containing the Model artifact and any of its supporting files.
Generated from protobuf field string artifact_uri = 1;
Returns | |
---|---|
Type | Description |
string |
setArtifactUri
The path to the directory containing the Model artifact and any of its supporting files.
Generated from protobuf field string artifact_uri = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPredictSchemata
Contains the schemata used in Model's predictions and explanations
Generated from protobuf field .google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
Returns | |
---|---|
Type | Description |
Google\Cloud\AIPlatform\V1\PredictSchemata|null |
hasPredictSchemata
clearPredictSchemata
setPredictSchemata
Contains the schemata used in Model's predictions and explanations
Generated from protobuf field .google.cloud.aiplatform.v1.PredictSchemata predict_schemata = 2;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AIPlatform\V1\PredictSchemata
|
Returns | |
---|---|
Type | Description |
$this |
getContainerSpec
Input only. The specification of the container that is to be used when deploying this Model.
Generated from protobuf field .google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
Google\Cloud\AIPlatform\V1\ModelContainerSpec|null |
hasContainerSpec
clearContainerSpec
setContainerSpec
Input only. The specification of the container that is to be used when deploying this Model.
Generated from protobuf field .google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 3 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AIPlatform\V1\ModelContainerSpec
|
Returns | |
---|---|
Type | Description |
$this |