Google Cloud Ai Platform V1 Client - Class DeploymentSpec (1.22.0)

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

The specification of a Reasoning Engine deployment.

Generated from protobuf message google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec

Namespace

Google \ Cloud \ AIPlatform \ V1 \ ReasoningEngineSpec

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ env array<Google\Cloud\AIPlatform\V1\EnvVar>

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

↳ secret_env array<Google\Cloud\AIPlatform\V1\SecretEnvVar>

Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

getEnv

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setEnv

Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API.

Parameter
Name Description
var array<Google\Cloud\AIPlatform\V1\EnvVar>
Returns
Type Description
$this

getSecretEnv

Optional. Environment variables where the value is a secret in Cloud Secret Manager.

To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSecretEnv

Optional. Environment variables where the value is a secret in Cloud Secret Manager.

To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.

Parameter
Name Description
var array<Google\Cloud\AIPlatform\V1\SecretEnvVar>
Returns
Type Description
$this