ReasoningEngineSpec_DeploymentSpec class final
The specification of a Reasoning Engine deployment.
- Inheritance
-
- Object
- ProtoMessage
- ReasoningEngineSpec_DeploymentSpec
Constructors
-
ReasoningEngineSpec_DeploymentSpec({List<
EnvVar> env = const [], List<SecretEnvVar> secretEnv = const [], PscInterfaceConfig? pscInterfaceConfig, int? minInstances, int? maxInstances, Map<String, String> resourceLimits = const {}, int? containerConcurrency}) - ReasoningEngineSpec_DeploymentSpec.fromJson(Object? j)
-
factory
Properties
- containerConcurrency → int?
-
Optional. Concurrency for each container and agent server. Recommended
value: 2 * cpu + 1. Defaults to 9.
final
-
env
→ List<
EnvVar> -
Optional. Environment variables to be set with the Reasoning Engine
deployment. The environment variables can be updated through the
UpdateReasoningEngine API.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxInstances → int?
-
Optional. The maximum number of application instances that can be
launched to handle increased traffic. Defaults to 100. Range:
1, 1000.final - minInstances → int?
-
Optional. The minimum number of application instances that will be kept
running at all times. Defaults to 1. Range:
0, 10.final - pscInterfaceConfig → PscInterfaceConfig?
-
Optional. Configuration for PSC-I.
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited -
resourceLimits
→ Map<
String, String> -
Optional. Resource limits for each container. Only 'cpu' and 'memory'
keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secretEnv
→ List<
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.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String