@@ -18,6 +18,7 @@ package google.cloud.aiplatform.v1;
1818
1919import "google/api/field_behavior.proto" ;
2020import "google/api/resource.proto" ;
21+ import "google/cloud/aiplatform/v1/env_var.proto" ;
2122import "google/protobuf/struct.proto" ;
2223import "google/protobuf/timestamp.proto" ;
2324
@@ -48,13 +49,39 @@ message ReasoningEngineSpec {
4849 string python_version = 4 [(google.api.field_behavior ) = OPTIONAL ];
4950 }
5051
51- // Required. User provided package spec of the ReasoningEngine.
52- PackageSpec package_spec = 2 [(google.api.field_behavior ) = REQUIRED ];
52+ // The specification of a Reasoning Engine deployment.
53+ message DeploymentSpec {
54+ // Optional. Environment variables to be set with the Reasoning Engine
55+ // deployment. The environment variables can be updated through the
56+ // UpdateReasoningEngine API.
57+ repeated EnvVar env = 1 [(google.api.field_behavior ) = OPTIONAL ];
58+
59+ // Optional. Environment variables where the value is a secret in Cloud
60+ // Secret Manager.
61+ // To use this feature, add 'Secret Manager Secret Accessor' role
62+ // (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine
63+ // Service Agent.
64+ repeated SecretEnvVar secret_env = 2
65+ [(google.api.field_behavior ) = OPTIONAL ];
66+ }
67+
68+ // Optional. User provided package spec of the ReasoningEngine.
69+ // Ignored when users directly specify a deployment image through
70+ // `deployment_spec.first_party_image_override`, but keeping the
71+ // field_behavior to avoid introducing breaking changes.
72+ PackageSpec package_spec = 2 [(google.api.field_behavior ) = OPTIONAL ];
73+
74+ // Optional. The specification of a Reasoning Engine deployment.
75+ DeploymentSpec deployment_spec = 4 [(google.api.field_behavior ) = OPTIONAL ];
5376
5477 // Optional. Declarations for object class methods in OpenAPI specification
5578 // format.
5679 repeated google.protobuf.Struct class_methods = 3
5780 [(google.api.field_behavior ) = OPTIONAL ];
81+
82+ // Optional. The OSS agent framework used to develop the agent.
83+ // Currently supported values: "langchain", "langgraph", "ag2", "custom".
84+ string agent_framework = 5 [(google.api.field_behavior ) = OPTIONAL ];
5885}
5986
6087// ReasoningEngine provides a customizable runtime for models to determine
@@ -76,8 +103,8 @@ message ReasoningEngine {
76103 // Optional. The description of the ReasoningEngine.
77104 string description = 7 [(google.api.field_behavior ) = OPTIONAL ];
78105
79- // Required . Configurations of the ReasoningEngine
80- ReasoningEngineSpec spec = 3 [(google.api.field_behavior ) = REQUIRED ];
106+ // Optional . Configurations of the ReasoningEngine
107+ ReasoningEngineSpec spec = 3 [(google.api.field_behavior ) = OPTIONAL ];
81108
82109 // Output only. Timestamp when this ReasoningEngine was created.
83110 google.protobuf.Timestamp create_time = 4
0 commit comments