NAME
    gcloud alpha agent-registry bindings create - create bindings

SYNOPSIS
    gcloud alpha agent-registry bindings create (BINDING : --location=LOCATION)
        --source-identifier=SOURCE_IDENTIFIER
        --target-identifier=TARGET_IDENTIFIER [--async]
        [--description=DESCRIPTION] [--display-name=DISPLAY_NAME]
        [--request-id=REQUEST_ID]
        [--auth-provider-binding=AUTH_PROVIDER_BINDING
          : --auth-provider-binding-continue-uri=AUTH_PROVIDER_BINDING_CONTINUE_URI --auth-provider-binding-scopes=[AUTH_PROVIDER_BINDING_SCOPES,
          ...]] [GCLOUD_WIDE_FLAG ...]

DESCRIPTION
    (ALPHA) Create a binding

EXAMPLES
    To create the binding, run:

        $ gcloud alpha agent-registry bindings create

POSITIONAL ARGUMENTS
     Binding resource - Identifier. The resource name of the Binding. Format:
     projects/{project}/locations/{location}/bindings/{binding}. The arguments
     in this group can be used to specify the attributes of this resource.
     (NOTE) Some attributes are not given arguments in this group but can be
     set in other ways.

     To set the project attribute:
      ◆ provide the argument binding on the command line with a fully
        specified name;
      ◆ provide the argument --project on the command line;
      ◆ set the property core/project.

     This must be specified.

       BINDING
          ID of the binding or fully qualified identifier for the binding.

          To set the binding attribute:
          ▸ provide the argument binding on the command line.

          This positional argument must be specified if any of the other
          arguments in this group are specified.

       --location=LOCATION
          The location id of the binding resource.

          To set the location attribute:
          ▸ provide the argument binding on the command line with a fully
            specified name;
          ▸ provide the argument --location on the command line.

REQUIRED FLAGS
     The source of the Binding.

     This must be specified.

       Arguments for the source type.

       --source-identifier=SOURCE_IDENTIFIER
          The identifier of the source Agent. Format:

          ▸ urn:agent:{publisher}:{namespace}:{name}

     The target of the Binding.

     This must be specified.

       Arguments for the target type.

       --target-identifier=TARGET_IDENTIFIER
          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}

OPTIONAL FLAGS
     --async
        Return immediately, without waiting for the operation in progress to
        complete.

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

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

     --request-id=REQUEST_ID
        An optional request ID to identify requests. Specify a unique request
        ID so that if you must retry your request, the server will know to
        ignore the request if it has already been completed. The server will
        guarantee that for at least 60 minutes since the first request.

        For example, consider a situation where you make an initial request and
        the request times out. If you make the request again with the same
        request ID, the server can check if original operation with the same
        request ID was received, and if so, will ignore the second request.
        This prevents clients from accidentally creating duplicate commitments.

        The request ID must be a valid UUID with the exception that zero UUID
        is not supported (00000000-0000-0000-0000-000000000000).

     Arguments for the binding.

     The AuthProvider of the Binding.

     --auth-provider-binding=AUTH_PROVIDER_BINDING
        The resource name of the target AuthProvider. Format:

        ◆ projects/{project}/locations/{location}/authProviders/{auth_provider}

        This flag argument must be specified if any of the other arguments in
        this group are specified.

     --auth-provider-binding-continue-uri=AUTH_PROVIDER_BINDING_CONTINUE_URI
        The continue URI of the AuthProvider. The URI is used to reauthenticate
        the user and finalize the managed OAuth flow.

     --auth-provider-binding-scopes=[AUTH_PROVIDER_BINDING_SCOPES,...]
        The list of OAuth2 scopes of the AuthProvider.

GCLOUD WIDE FLAGS
    These flags are available to all commands: --access-token-file, --account,
    --billing-project, --configuration, --flags-file, --flatten, --format,
    --help, --impersonate-service-account, --log-http, --project, --quiet,
    --trace-token, --user-output-enabled, --verbosity.

    Run $ gcloud help for details.

API REFERENCE
    This command uses the agentregistry/v1alpha API. The full documentation for
    this API can be found at:
    https://docs.cloud.google.com/agent-registry/overview

NOTES
    This command is currently in alpha and might change without notice. If this
    command fails with API permission errors despite specifying the correct
    project, you might be trying to access an API with an invitation-only early
    access allowlist.

