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

Returns
TypeDescription
string

setArtifactUri

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPredictSchemata

Contains the schemata used in Model's predictions and explanations

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\PredictSchemata|null

hasPredictSchemata

clearPredictSchemata

setPredictSchemata

Contains the schemata used in Model's predictions and explanations

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.

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.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\ModelContainerSpec
Returns
TypeDescription
$this