Resolves default Google Cloud credentials and returns standard headers.
Automatically caches, fetches, and handles refreshing expired OAuth tokens.
Injects the billing/quota project identifier x-goog-user-project if present.
Parses connection interfaces list from registry metadata and returns the first match corresponding to requested protocol types and binding options.
Optionalfilters: ConnectionUriFilterOptionaloptions: {Optionaloptions: { client?: Client; clientFactory?: ClientFactory }Optionaloptions: { filterStr?: string; pageSize?: number; pageToken?: string }Optionaloptions: { filterStr?: string; pageSize?: number; pageToken?: string }Optionaloptions: { filterStr?: string; pageSize?: number; pageToken?: string }Helper function to execute HTTP GET requests against the Agent Registry API. Handles path resolution, search query params compilation, and auth headers fetching.
Optionalparams: Record<string, string>
Client for interacting with the Google Cloud Agent Registry service.
Unlike a standard REST client library, this class provides higher-level abstractions for ADK integration. It surfaces the agent registry service methods along with helper methods like
getMcpToolsetandgetRemoteA2AAgentthat automatically resolve connection details, manage OAuth authentication schemes, and handle GCP credentials to produce ready-to-use ADK components.