Google Cloud Ai Platform V1 Client - Class UnmanagedContainerModel (1.12.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

Namespace

Google \ Cloud \ AIPlatform \ V1

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 PredictSchemata

Contains the schemata used in Model's predictions and explanations

↳ container_spec 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.

Returns
Type Description
string

setArtifactUri

The path to the directory containing the Model artifact and any of its supporting files.

Parameter
Name Description
var string
Returns
Type Description
$this

getPredictSchemata

Contains the schemata used in Model's predictions and explanations

Returns
Type Description
PredictSchemata|null

hasPredictSchemata

clearPredictSchemata

setPredictSchemata

Contains the schemata used in Model's predictions and explanations

Parameter
Name Description
var PredictSchemata
Returns
Type Description
$this

getContainerSpec

Input only. The specification of the container that is to be used when deploying this Model.

Returns
Type Description
ModelContainerSpec|null

hasContainerSpec

clearContainerSpec

setContainerSpec

Input only. The specification of the container that is to be used when deploying this Model.

Parameter
Name Description
var ModelContainerSpec
Returns
Type Description
$this