1.0.0-beta87 (latest) 1.0.0-beta86

    public sealed class ReasoningEngineSpec.Types.DeploymentSpec : IMessage<ReasoningEngineSpec.Types.DeploymentSpec>, IEquatable<ReasoningEngineSpec.Types.DeploymentSpec>, IDeepCloneable<ReasoningEngineSpec.Types.DeploymentSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1beta1 API class ReasoningEngineSpec.Types.DeploymentSpec.

The specification of a Reasoning Engine deployment.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ReasoningEngineSpec.Types.DeploymentSpec

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ReasoningEngineSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ReasoningEngineSpec)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ReasoningEngineSpec.Types)[DeploymentSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ReasoningEngineSpec.Types.DeploymentSpec), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ReasoningEngineSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ReasoningEngineSpec)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ReasoningEngineSpec.Types)[DeploymentSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ReasoningEngineSpec.Types.DeploymentSpec), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ReasoningEngineSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ReasoningEngineSpec)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ReasoningEngineSpec.Types)[DeploymentSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ReasoningEngineSpec.Types.DeploymentSpec), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### DeploymentSpec()

    public DeploymentSpec()

### DeploymentSpec(DeploymentSpec)

    public DeploymentSpec(ReasoningEngineSpec.Types.DeploymentSpec other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ReasoningEngineSpechttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ReasoningEngineSpec.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ReasoningEngineSpec.Types.DeploymentSpec` |

## Properties

### ContainerConcurrency

    public int ContainerConcurrency { get; set; }

Optional. Concurrency for each container and agent server. Recommended
value: 2 \* cpu + 1. Defaults to 9.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

### Env

    public RepeatedField<EnvVar> Env { get; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.EnvVar` |   |

### HasContainerConcurrency

    public bool HasContainerConcurrency { get; }

Gets whether the "container_concurrency" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasMaxInstances

    public bool HasMaxInstances { get; }

Gets whether the "max_instances" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasMinInstances

    public bool HasMinInstances { get; }

Gets whether the "min_instances" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### MaxInstances

    public int MaxInstances { get; set; }

Optional. The maximum number of application instances that can be
launched to handle increased traffic. Defaults to 100. Range: \[1, 1000\].

If VPC-SC or PSC-I is enabled, the acceptable range is \[1, 100\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

### MinInstances

    public int MinInstances { get; set; }

Optional. The minimum number of application instances that will be kept
running at all times. Defaults to 1. Range: \[0, 10\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |

### PscInterfaceConfig

    public PscInterfaceConfig PscInterfaceConfig { get; set; }

Optional. Configuration for PSC-I.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PscInterfaceConfig` |   |

### ResourceLimits

    public MapField<string, string> ResourceLimits { get; }

Optional. Resource limits for each container. Only 'cpu' and 'memory'
keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.

- The only supported values for CPU are '1', '2', '4', '6' and '8'. For more information, go to <https://cloud.google.com/run/docs/configuring/cpu>.
- The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'.
- For required cpu on different memory values, go to <https://cloud.google.com/run/docs/configuring/memory-limits>

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### SecretEnv

    public RepeatedField<SecretEnvVar> SecretEnv { get; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SecretEnvVar` |   |