Google Cloud Ai Platform V1 Client - Class DeployConfig (1.31.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class DeployConfig.

The deploy config to use for the deployment.

Generated from protobuf message google.cloud.aiplatform.v1.DeployRequest.DeployConfig

Namespace

Google \ Cloud \ AIPlatform \ V1 \ DeployRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ dedicated_resources Google\Cloud\AIPlatform\V1\DedicatedResources

Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used.

↳ fast_tryout_enabled bool

Optional. If true, enable the QMT fast tryout feature for this model if possible.

↳ system_labels array|Google\Protobuf\Internal\MapField

Optional. System labels for Model Garden deployments. These labels are managed by Google and for tracking purposes only.

getDedicatedResources

Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used.

Returns
Type Description
Google\Cloud\AIPlatform\V1\DedicatedResources|null

hasDedicatedResources

clearDedicatedResources

setDedicatedResources

Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used.

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

getFastTryoutEnabled

Optional. If true, enable the QMT fast tryout feature for this model if possible.

Returns
Type Description
bool

setFastTryoutEnabled

Optional. If true, enable the QMT fast tryout feature for this model if possible.

Parameter
Name Description
var bool
Returns
Type Description
$this

getSystemLabels

Optional. System labels for Model Garden deployments.

These labels are managed by Google and for tracking purposes only.

Returns
Type Description
Google\Protobuf\Internal\MapField

setSystemLabels

Optional. System labels for Model Garden deployments.

These labels are managed by Google and for tracking purposes only.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this