Google Cloud Ai Platform V1 Client - Class UnmanagedContainerModel (0.10.0)

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Cloud\AIPlatform\V1\PredictSchemata
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Cloud\AIPlatform\V1\ModelContainerSpec
Returns
TypeDescription
$this