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

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
Google\Cloud\AIPlatform\V1\PredictSchemata|null

hasPredictSchemata

clearPredictSchemata

setPredictSchemata

Contains the schemata used in Model's predictions and explanations

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.

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.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\ModelContainerSpec
Returns
Type Description
$this