You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: agentplatform/_genai/types/common.py
+42Lines changed: 42 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8852,6 +8852,34 @@ class ReasoningEngineSpecContainerSpecDict(TypedDict, total=False):
8852
8852
]
8853
8853
8854
8854
8855
+
class ReasoningEngineSpecBuildSpec(_common.BaseModel):
8856
+
"""Specification for building container image."""
8857
+
8858
+
service_account: Optional[str] = Field(
8859
+
default=None,
8860
+
description="""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.""",
8861
+
)
8862
+
worker_pool: Optional[str] = Field(
8863
+
default=None,
8864
+
description="""Optional. The resource name of the Cloud Build WorkerPool to use for the build. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`""",
8865
+
)
8866
+
8867
+
8868
+
class ReasoningEngineSpecBuildSpecDict(TypedDict, total=False):
8869
+
"""Specification for building container image."""
8870
+
8871
+
service_account: Optional[str]
8872
+
"""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."""
8873
+
8874
+
worker_pool: Optional[str]
8875
+
"""Optional. The resource name of the Cloud Build WorkerPool to use for the build. Format: `projects/{project}/locations/{location}/workerPools/{worker_pool}`"""
description="""The build config for the Agent Engine. Allows bringing your own Cloud Build private worker pool (BYOBP) and, optionally, a build-time service account for the container build. Supported keys: `worker_pool` (the resource name of the Cloud Build WorkerPool to use for the build) and `service_account` (the service account that Cloud Build uses to run the build; only applicable when `worker_pool` is specified).""",
26413
+
)
26375
26414
26376
26415
26377
26416
class AgentEngineConfigDict(TypedDict, total=False):
@@ -26559,6 +26598,9 @@ class AgentEngineConfigDict(TypedDict, total=False):
"""The build config for the Agent Engine. Allows bringing your own Cloud Build private worker pool (BYOBP) and, optionally, a build-time service account for the container build. Supported keys: `worker_pool` (the resource name of the Cloud Build WorkerPool to use for the build) and `service_account` (the service account that Cloud Build uses to run the build; only applicable when `worker_pool` is specified)."""
0 commit comments