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
{{ message }}
Repository navigation
Commit 527b6dc
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: agentplatform/_genai/types/common.py
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32104,6 +32104,16 @@ class AgentRuntimeConfig(_common.BaseModel):
32104
32104
default=None,
32105
32105
description="""The build config for the Agent Runtime. 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).""",
32106
32106
)
32107
+
agent_card: Optional[dict[str, Any]] = Field(
32108
+
default=None,
32109
+
description="""The A2A agent card for the Agent Runtime, as a dictionary with
32110
+
the A2A JSON field names (camelCase, such as `preferredTransport`).
32111
+
Use it when there is no `agent` object to read the card from, for
32112
+
example with `container_spec` or `source_packages`. If the `agent` also
32113
+
has an `agent_card`, this value is used instead. On `update()`, it
32114
+
replaces the deployed card; pass `{}` to remove it. The service sets
32115
+
the card's `url` to the runtime's A2A endpoint.""",
32116
+
)
32107
32117
32108
32118
32109
32119
class AgentRuntimeConfigDict(TypedDict, total=False):
@@ -32294,6 +32304,15 @@ class AgentRuntimeConfigDict(TypedDict, total=False):
"""The build config for the Agent Runtime. 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)."""
32296
32306
32307
+
agent_card: Optional[dict[str, Any]]
32308
+
"""The A2A agent card for the Agent Runtime, as a dictionary with
32309
+
the A2A JSON field names (camelCase, such as `preferredTransport`).
32310
+
Use it when there is no `agent` object to read the card from, for
32311
+
example with `container_spec` or `source_packages`. If the `agent` also
32312
+
has an `agent_card`, this value is used instead. On `update()`, it
32313
+
replaces the deployed card; pass `{}` to remove it. The service sets
32314
+
the card's `url` to the runtime's A2A endpoint."""
0 commit comments