AiReasoningEngineSpecDeploymentSpec class
Constructors
-
AiReasoningEngineSpecDeploymentSpec({Input<AiReasoningEngineSpecDeploymentSpecAgentGatewayConfig?>? agentGatewayConfig, Input<String?>? agentServerMode, Input<int?>? containerConcurrency, Input<bool?>? dedicatedIngressEndpointEnabled, Input<List<AiReasoningEngineSpecDeploymentSpecEnv>?>? envs, Input<AiReasoningEngineSpecDeploymentSpecKeepAliveProbe?>? keepAliveProbe, Input<int?>? maxInstances, Input<int?>? minInstances, Input<AiReasoningEngineSpecDeploymentSpecPscInterfaceConfig?>? pscInterfaceConfig, Input<Map<String, String>?>? resourceLimits, Input<List<AiReasoningEngineSpecDeploymentSpecSecretEnv>?>? secretEnvs})
-
Creates a new AiReasoningEngineSpecDeploymentSpec.
agentGatewayConfig (Optional, Beta)
agentServerMode (Optional, Beta)
containerConcurrency Optional. Concurrency for each container and agent server.
dedicatedIngressEndpointEnabled (Optional, Beta)
envs Optional. Environment variables to be set with the Reasoning
keepAliveProbe (Optional, Beta)
maxInstances Optional. The maximum number of application instances that can be
minInstances Optional. The minimum number of application instances that will be
pscInterfaceConfig Optional. Configuration for PSC-Interface.
resourceLimits Optional. Resource limits for each container.
secretEnvs Optional. Environment variables where the value is a secret in
const
-
AiReasoningEngineSpecDeploymentSpec.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
agentGatewayConfig
→ Input<AiReasoningEngineSpecDeploymentSpecAgentGatewayConfig?>?
-
(Optional, Beta)
Optional. Agent Gateway configuration for a Reasoning Engine deployment.
Structure is documented below.
final
-
agentServerMode
→ Input<String?>?
-
(Optional, Beta)
Optional. The agent server mode specifies what features are used when deploy the agent to agent engine.
Possible values:
final
-
containerConcurrency
→ Input<int?>?
-
Optional. Concurrency for each container and agent server.
Recommended value: 2 * cpu + 1. Defaults to 9.
final
-
dedicatedIngressEndpointEnabled
→ Input<bool?>?
-
(Optional, Beta)
Optional. Whether to enable dedicated ingress endpoint for the deployment. If true, the deployment will be accessible via a dedicated endpoint. This is required to enable GKE V2 runtime.
final
-
envs
→ Input<List<AiReasoningEngineSpecDeploymentSpecEnv>?>?
-
Optional. Environment variables to be set with the Reasoning
Engine deployment.
Structure is documented below.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
keepAliveProbe
→ Input<AiReasoningEngineSpecDeploymentSpecKeepAliveProbe?>?
-
(Optional, Beta)
Optional. Specifies the configuration for keep-alive probe.
Structure is documented below.
final
-
maxInstances
→ Input<int?>?
-
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.
final
-
minInstances
→ Input<int?>?
-
Optional. The minimum number of application instances that will be
kept running at all times. Defaults to 1. Range:
0, 10.
final
-
pscInterfaceConfig
→ Input<AiReasoningEngineSpecDeploymentSpecPscInterfaceConfig?>?
-
Optional. Configuration for PSC-Interface.
Structure is documented below.
final
-
resourceLimits
→ Input<Map<String, String>?>?
-
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 more information, go to
https://cloud.google.com/run/docs/configuring/memory-limits.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
secretEnvs
→ Input<List<AiReasoningEngineSpecDeploymentSpecSecretEnv>?>?
-
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.
Structure is documented below.
final