- NAME
-
- gcloud developer-connect connections git-repository-links fetch-read-token - fetch the read token of a given gitRepositoryLink
- SYNOPSIS
-
-
gcloud developer-connect connections git-repository-links fetch-read-token
(GIT_REPOSITORY_LINK
:--connection
=CONNECTION
--location
=LOCATION
) [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
- Fetch the read token of a given gitRepositoryLink.
- EXAMPLES
-
To get the read token of a GitRepositoryLink named "my-git-repository-link" in a
Connection named "my-connection" in location "us-central1":
gcloud developer-connect connections git-repository-links fetch-read-token fetch-read-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 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.
-
provide the argument
--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.
-
provide the argument
--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.
-
provide the argument
-
provide the argument
-
GitRepositoryLink resource - Developer Connect GitRepositoryLink from which to
fetch the read 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.
- 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-token
gcloud beta developer-connect connections git-repository-links fetch-read-token
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-10 UTC.