REST Resource: projects.locations.bindings

Resource: Binding

Represents a user-defined Binding.

JSON representation
{
  "name": string,
  "displayName": string,
  "description": string,
  "source": {
    object (Source)
  },
  "target": {
    object (Target)
  },
  "createTime": string,
  "updateTime": string,

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "authProviderBinding": {
    object (AuthProviderBinding)
  }
  // End of mutually exclusive fields.
}
Fields
name

string

Required. Identifier. The resource name of the Binding. Format: projects/{project}/locations/{location}/bindings/{binding}.

displayName

string

Optional. User-defined display name for the Binding. Can have a maximum length of 63 characters.

description

string

Optional. User-defined description of a Binding. Can have a maximum length of 2048 characters.

source

object (Source)

Optional. The source Agent of the Binding.

target

object (Target)

Required. The target Agent Registry Resource of the Binding.

createTime

string (Timestamp format)

Output only. Timestamp when this binding was created.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Output only. Timestamp when this binding was last updated.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

The configuration for the Binding. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
authProviderBinding

object (AuthProviderBinding)

The binding for AuthProvider.

End of mutually exclusive fields.

AuthProviderBinding

The AuthProvider of the Binding.

JSON representation
{
  "authProvider": string,
  "scopes": [
    string
  ],
  "continueUri": string
}
Fields
authProvider

string

Required. The resource name of the target AuthProvider. Format:

  • projects/{project}/locations/{location}/authProviders/{authProvider}
scopes[]

string

Optional. The list of OAuth2 scopes of the AuthProvider.

continueUri

string

Optional. The continue URI of the AuthProvider. The URI is used to reauthenticate the user and finalize the managed OAuth flow.

Source

The source of the Binding.

JSON representation
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "identifier": string
  // End of mutually exclusive fields.
}
Fields
The type of the source, currently only supports Agents. Potential future fields include 'tag', etc. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
identifier

string

The identifier of the source Agent. Format:

  • urn:agent:{publisher}:{namespace}:{name}
End of mutually exclusive fields.

Target

The target of the Binding.

JSON representation
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "identifier": string
  // End of mutually exclusive fields.
}
Fields
The type of the target, currently only supports an AgentRegistry Resource. Potential future fields include 'tag', etc. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
identifier

string

The identifier of the target Agent, MCP Server, or Endpoint. Format:

  • urn:agent:{publisher}:{namespace}:{name}
  • urn:mcp:{publisher}:{namespace}:{name}
  • urn:endpoint:{publisher}:{namespace}:{name}
End of mutually exclusive fields.

Methods

create

Creates a new Binding in a given project and location.

delete

Deletes a single Binding.

fetchAvailable

Fetches available Bindings.

get

Gets details of a single Binding.

list

Lists Bindings in a given project and location.

patch

Updates the parameters of a single Binding.