feat: add build configuration support to Vertex AI Reasoning Engine

PiperOrigin-RevId: 963119503
This commit is contained in:
Google APIs 2026-08-11 18:16:24 -07:00 committed by Copybara-Service
parent 894da490ec
commit 4685aff76e
2 changed files with 44 additions and 0 deletions

View file

@ -226,6 +226,25 @@ message ReasoningEngineSpec {
AGENT_IDENTITY = 3;
}
// Specification for building container image.
message BuildSpec {
// Optional. The resource name of the Cloud Build WorkerPool to use for
// the build.
// Format:
// `projects/{project}/locations/{location}/workerPools/{worker_pool}`
string worker_pool = 1 [(google.api.field_behavior) = OPTIONAL];
// Optional. The service account that Cloud Build uses to run the build.
//
// This field is only applicable when `worker_pool` is specified (i.e., for
// custom worker pools). If `worker_pool` is not specified, this field is
// ignored and the build runs using the Google-managed service agent.
//
// Format: `projects/{project}/serviceAccounts/{service_account}` or
// `{service_account}@{project}.iam.gserviceaccount.com`
string service_account = 2 [(google.api.field_behavior) = OPTIONAL];
}
// Defines the source for the deployment.
// The `package_spec` field should not be set if `deployment_source` is
// specified.
@ -270,6 +289,9 @@ message ReasoningEngineSpec {
// default Vertex AI Reasoning Engine Service Agent in the project will be
// used.
IdentityType identity_type = 12 [(google.api.field_behavior) = OPTIONAL];
// Optional. Configuration for building container image.
BuildSpec build_spec = 16 [(google.api.field_behavior) = OPTIONAL];
}
// ReasoningEngine provides a customizable runtime for models to determine

View file

@ -228,6 +228,25 @@ message ReasoningEngineSpec {
AGENT_IDENTITY = 3;
}
// Specification for building container image.
message BuildSpec {
// Optional. The resource name of the Cloud Build WorkerPool to use for
// the build.
// Format:
// `projects/{project}/locations/{location}/workerPools/{worker_pool}`
string worker_pool = 1 [(google.api.field_behavior) = OPTIONAL];
// Optional. The service account that Cloud Build uses to run the build.
//
// This field is only applicable when `worker_pool` is specified (i.e., for
// custom worker pools). If `worker_pool` is not specified, this field is
// ignored and the build runs using the Google-managed service agent.
//
// Format: `projects/{project}/serviceAccounts/{service_account}` or
// `{service_account}@{project}.iam.gserviceaccount.com`
string service_account = 2 [(google.api.field_behavior) = OPTIONAL];
}
// Defines the source for the deployment.
// The `package_spec` field should not be set if `deployment_source` is
// specified.
@ -272,6 +291,9 @@ message ReasoningEngineSpec {
// default Vertex AI Reasoning Engine Service Agent in the project will be
// used.
IdentityType identity_type = 12 [(google.api.field_behavior) = OPTIONAL];
// Optional. Configuration for building container image.
BuildSpec build_spec = 16 [(google.api.field_behavior) = OPTIONAL];
}
// ReasoningEngine provides a customizable runtime for models to determine