1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-10 19:31:55 +00:00
gcloud-help/gcloud/developer-connect/connections/git-repository-links/fetch-read-write-token
2024-12-11 10:18:23 +00:00

85 lines
3.2 KiB
Text

NAME
gcloud developer-connect connections git-repository-links
fetch-read-write-token - fetch the read/write token of a given
gitRepositoryLink
SYNOPSIS
gcloud developer-connect connections git-repository-links
fetch-read-write-token
(GIT_REPOSITORY_LINK : --connection=CONNECTION --location=LOCATION)
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
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 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.
GIT_REPOSITORY_LINK
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
These variants are also available:
$ gcloud alpha developer-connect connections git-repository-links \
fetch-read-write-token
$ gcloud beta developer-connect connections git-repository-links \
fetch-read-write-token