gcloud alpha developer-connect connections git-repository-links fetch-read-write-token

NAME
gcloud alpha developer-connect connections git-repository-links fetch-read-write-token - fetch the read/write token of a given gitRepositoryLink
SYNOPSIS
gcloud alpha developer-connect connections git-repository-links fetch-read-write-token (GIT_REPOSITORY_LINK : --connection=CONNECTION --location=LOCATION) [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Fetch the read/write token of a given gitRepositoryLink.
EXAMPLES
To get the read/write token of a GitRepositoryLink named "my-git-repository-link" in a Connection named "my-connection":
gcloud alpha developer-connect connections git-repository-links fetch-read-write-token fetch-read-write-token my-git-repository-link --connection=my-connection --location=us-central1 --project=my-project
POSITIONAL ARGUMENTS
GitRepositoryLink resource - Developer Connect GitRepositoryLink from which to fetch the read/write token. 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 git_repository_link 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.

ID of the gitRepositoryLink or fully qualified identifier for the gitRepositoryLink.

To set the git_repository_link attribute:

  • provide the argument git_repository_link on the command line.

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

--connection=CONNECTION
The connection id of the gitRepositoryLink resource.

To set the connection attribute:

  • provide the argument git_repository_link on the command line with a fully specified name;
  • provide the argument --connection on the command line.
--location=LOCATION
The location id of the gitRepositoryLink resource.

To set the location attribute:

  • provide the argument git_repository_link on the command line with a fully specified name;
  • provide the argument --location on the command line.
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 developerconnect/v1 API. The full documentation for this API can be found at: http://cloud.google.com/developer-connect/docs/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. These variants are also available:
gcloud developer-connect connections git-repository-links fetch-read-write-token
gcloud beta developer-connect connections git-repository-links fetch-read-write-token