1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-21 22:49:22 +00:00

gcloud: Wed Jul 31 09:35:15 UTC 2024

This commit is contained in:
Automated 2024-07-31 09:35:16 +00:00
parent 3a4c5997b9
commit ed2f818f7a
2722 changed files with 12631 additions and 6826 deletions

View file

@ -0,0 +1,67 @@
NAME
gcloud beta network-connectivity hubs accept-spoke - accept a spoke into a
hub
SYNOPSIS
gcloud beta network-connectivity hubs accept-spoke HUB --spoke=SPOKE
[--async] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Accept a proposed or previously rejected VPC spoke. By accepting a
spoke, you permit connectivity between the associated VPC network and other
VPC networks that are attached to the same hub.
EXAMPLES
To accept a spoke named my-spoke into a hub named my-hub, run:
$ gcloud beta network-connectivity hubs accept-spoke my-hub \
--spoke="https://www.googleapis.com/networkconnectivity/v1/proje\
cts/spoke-project/locations/global/hubs/my-spoke"
POSITIONAL ARGUMENTS
Hub resource - Name of the hub to accept the spoke into. This represents a
Cloud 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 hub 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.
HUB
ID of the hub or fully qualified identifier for the hub.
To set the hub attribute:
▸ provide the argument hub on the command line.
REQUIRED FLAGS
--spoke=SPOKE
URI of the spoke to accept
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
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 networkconnectivity/v1 API. The full documentation
for this API can be found at:
https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
NOTES
This command is currently in beta and might change without notice. This
variant is also available:
$ gcloud network-connectivity hubs accept-spoke

View file

@ -26,8 +26,8 @@ POSITIONAL ARGUMENTS
To set the project attribute:
◆ provide the argument hub on the command line with a fully specified
name;
set the property core/project;
provide the argument --project on the command line.
provide the argument --project on the command line;
set the property core/project.
This must be specified.

View file

@ -25,8 +25,8 @@ POSITIONAL ARGUMENTS
To set the project attribute:
◆ provide the argument hub on the command line with a fully specified
name;
set the property core/project;
provide the argument --project on the command line.
provide the argument --project on the command line;
set the property core/project.
This must be specified.

View file

@ -21,8 +21,8 @@ POSITIONAL ARGUMENTS
To set the project attribute:
◆ provide the argument hub on the command line with a fully specified
name;
set the property core/project;
provide the argument --project on the command line.
provide the argument --project on the command line;
set the property core/project.
This must be specified.

View file

@ -20,8 +20,8 @@ POSITIONAL ARGUMENTS
To set the project attribute:
◆ provide the argument hub on the command line with a fully specified
name;
set the property core/project;
provide the argument --project on the command line.
provide the argument --project on the command line;
set the property core/project.
This must be specified.

View file

@ -24,8 +24,8 @@ POSITIONAL ARGUMENTS
To set the project attribute:
◆ provide the argument hub on the command line with a fully specified
name;
set the property core/project;
provide the argument --project on the command line.
provide the argument --project on the command line;
set the property core/project.
This must be specified.

View file

@ -29,8 +29,8 @@ POSITIONAL ARGUMENTS
To set the project attribute:
◆ provide the argument group on the command line with a fully specified
name;
set the property core/project;
provide the argument --project on the command line.
provide the argument --project on the command line;
set the property core/project.
This must be specified.

View file

@ -22,8 +22,8 @@ POSITIONAL ARGUMENTS
To set the project attribute:
◆ provide the argument group on the command line with a fully specified
name;
set the property core/project;
provide the argument --project on the command line.
provide the argument --project on the command line;
set the property core/project.
This must be specified.

View file

@ -27,8 +27,8 @@ POSITIONAL ARGUMENTS
To set the project attribute:
◆ provide the argument group on the command line with a fully specified
name;
set the property core/project;
provide the argument --project on the command line.
provide the argument --project on the command line;
set the property core/project.
This must be specified.

View file

@ -35,6 +35,9 @@ COMMANDS
set-iam-policy
(BETA) Set the IAM policy of a group resource.
update
(BETA) Update a group.
NOTES
This command is currently in beta and might change without notice. This
variant is also available:

View file

@ -26,8 +26,8 @@ REQUIRED FLAGS
To set the project attribute:
◆ provide the argument --hub on the command line with a fully specified
name;
set the property core/project;
provide the argument --project on the command line.
provide the argument --project on the command line;
set the property core/project.
This must be specified.

View file

@ -29,8 +29,8 @@ POSITIONAL ARGUMENTS
To set the project attribute:
◆ provide the argument group on the command line with a fully specified
name;
set the property core/project;
provide the argument --project on the command line.
provide the argument --project on the command line;
set the property core/project.
This must be specified.

View file

@ -26,8 +26,8 @@ POSITIONAL ARGUMENTS
To set the project attribute:
◆ provide the argument group on the command line with a fully specified
name;
set the property core/project;
provide the argument --project on the command line.
provide the argument --project on the command line;
set the property core/project.
This must be specified.

View file

@ -0,0 +1,129 @@
NAME
gcloud beta network-connectivity hubs groups update - update a group
SYNOPSIS
gcloud beta network-connectivity hubs groups update (GROUP : --hub=HUB)
[--async] [--description=DESCRIPTION] [--update-labels=[KEY=VALUE,...]]
[--add-auto-accept-projects=[AUTO-ACCEPT-PROJECTS,...]
| --clear-auto-accept-projects
| --remove-auto-accept-projects=[AUTO-ACCEPT-PROJECTS,...]]
[--clear-labels | --remove-labels=[KEY,...]] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Update the details of a group.
EXAMPLES
To update the description of a group named my-group, in the hub my-hub,
run:
$ gcloud beta network-connectivity hubs groups update my-group \
--hub=my-hub --description="new group description"
To add the project my-project to the auto-accept list of a group named
my-group in the hub my-hub, run:
$ gcloud beta network-connectivity hubs groups update my-group \
--hub=my-hub --add-auto-accept-projects=my-project
POSITIONAL ARGUMENTS
Group resource - Name of the group to update. 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 group 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.
GROUP
ID of the group or fully qualified identifier for the group.
To set the group attribute:
▸ provide the argument group on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--hub=HUB
The hub Id.
To set the hub attribute:
▸ provide the argument group on the command line with a fully
specified name;
▸ provide the argument --hub on the command line.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--description=DESCRIPTION
New description of the group.
--update-labels=[KEY=VALUE,...]
List of label KEY=VALUE pairs to update. If a label exists, its value
is modified. Otherwise, a new label is created.
Keys must start with a lowercase character and contain only hyphens
(-), underscores (_), lowercase characters, and numbers. Values must
contain only hyphens (-), underscores (_), lowercase characters, and
numbers.
These flags modify the member auto-accept projects of this group. This
controls the list of project ids or project numbers for which auto-accept
is enabled for the group.
At most one of these can be specified:
--add-auto-accept-projects=[AUTO-ACCEPT-PROJECTS,...]
Append the given values to the current auto-accept projects.
--clear-auto-accept-projects
Empty the current auto-accept projects.
--remove-auto-accept-projects=[AUTO-ACCEPT-PROJECTS,...]
Remove the given values from the current auto-accept projects.
At most one of these can be specified:
--clear-labels
Remove all labels. If --update-labels is also specified then
--clear-labels is applied first.
For example, to remove all labels:
$ gcloud beta network-connectivity hubs groups update --clear-labels
To remove all existing labels and create two new labels, foo and baz:
$ gcloud beta network-connectivity hubs groups update \
--clear-labels --update-labels foo=bar,baz=qux
--remove-labels=[KEY,...]
List of label keys to remove. If a label does not exist it is
silently ignored. If --update-labels is also specified then
--update-labels is applied first.
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 networkconnectivity/v1 API. The full documentation
for this API can be found at:
https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
NOTES
This command is currently in beta and might change without notice. This
variant is also available:
$ gcloud network-connectivity hubs groups update

View file

@ -26,6 +26,9 @@ GROUPS
COMMANDS
COMMAND is one of the following:
accept-spoke
(BETA) Accept a spoke into a hub.
add-iam-policy-binding
(BETA) Add an IAM policy binding to the IAM policy of a hub resource.
@ -44,6 +47,12 @@ COMMANDS
list
(BETA) List hubs.
list-spokes
(BETA) List hub spokes.
reject-spoke
(BETA) Reject a spoke from a hub.
remove-iam-policy-binding
(BETA) Remove an IAM policy binding from the IAM policy of a hub
resource.

View file

@ -0,0 +1,93 @@
NAME
gcloud beta network-connectivity hubs list-spokes - list hub spokes
SYNOPSIS
gcloud beta network-connectivity hubs list-spokes HUB
[--spoke-locations=[LOCATION,...]] [--view=VIEW; default="basic"]
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
[--sort-by=[FIELD,...]] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Retrieve and display a list of all spokes associated with a hub.
EXAMPLES
To list all spokes in the us-central1 region and the global location, run:
$ gcloud beta network-connectivity hubs list-spokes HUB \
--spoke-locations=us-central1,global
POSITIONAL ARGUMENTS
Hub resource - Name of the hub associated with the returned list of
spokes. This represents a Cloud 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 hub 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.
HUB
ID of the hub or fully qualified identifier for the hub.
To set the hub attribute:
▸ provide the argument hub on the command line.
FLAGS
--spoke-locations=[LOCATION,...]
A comma separated list of locations. The locations can be set to
'global' and/or Google Cloud supported regions. To see the names of
regions, see Viewing a list of available regions
(https://cloud.google.com/compute/docs/regions-zones/viewing-regions-zones#viewing_a_list_of_available_regions).
--view=VIEW; default="basic"
Enumeration to control which spoke fields are included in the response.
VIEW must be one of: basic, detailed.
LIST COMMAND FLAGS
--filter=EXPRESSION
Apply a Boolean filter EXPRESSION to each resource item to be listed.
If the expression evaluates True, then that item is listed. For more
details and examples of filter expressions, run $ gcloud topic filters.
This flag interacts with other flags that are applied in this order:
--flatten, --sort-by, --filter, --limit.
--limit=LIMIT
Maximum number of resources to list. The default is unlimited. This
flag interacts with other flags that are applied in this order:
--flatten, --sort-by, --filter, --limit.
--page-size=PAGE_SIZE
Some services group resource list output into pages. This flag
specifies the maximum number of resources per page. The default is
determined by the service if it supports paging, otherwise it is
unlimited (no paging). Paging may be applied before or after --filter
and --limit depending on the service.
--sort-by=[FIELD,...]
Comma-separated list of resource field key names to sort by. The
default order is ascending. Prefix a field with ``~'' for descending
order on that field. This flag interacts with other flags that are
applied in this order: --flatten, --sort-by, --filter, --limit.
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 networkconnectivity/v1 API. The full documentation
for this API can be found at:
https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
NOTES
This command is currently in beta and might change without notice. This
variant is also available:
$ gcloud network-connectivity hubs list-spokes

View file

@ -0,0 +1,72 @@
NAME
gcloud beta network-connectivity hubs reject-spoke - reject a spoke from a
hub
SYNOPSIS
gcloud beta network-connectivity hubs reject-spoke HUB --spoke=SPOKE
[--async] [--details=DETAILS] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Reject a VPC spoke. By rejecting a spoke, you prevent or remove
connectivity between the associated VPC network and any other VPC networks
that are attached to the same hub.
EXAMPLES
To reject a spoke named my-spoke from a hub named my-hub with reason
my-reason, run:
$ gcloud beta network-connectivity hubs reject-spoke my-hub \
--spoke="https://www.googleapis.com/networkconnectivity/v1/proje\
cts/spoke-project/locations/global/hubs/my-spoke" \
--details=my-reason
POSITIONAL ARGUMENTS
Hub resource - Name of the hub to reject the spoke from. This represents a
Cloud 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 hub 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.
HUB
ID of the hub or fully qualified identifier for the hub.
To set the hub attribute:
▸ provide the argument hub on the command line.
REQUIRED FLAGS
--spoke=SPOKE
URI of the spoke to reject
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--details=DETAILS
Additional details behind the rejection
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 networkconnectivity/v1 API. The full documentation
for this API can be found at:
https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
NOTES
This command is currently in beta and might change without notice. This
variant is also available:
$ gcloud network-connectivity hubs reject-spoke

View file

@ -25,8 +25,8 @@ POSITIONAL ARGUMENTS
To set the project attribute:
◆ provide the argument hub on the command line with a fully specified
name;
set the property core/project;
provide the argument --project on the command line.
provide the argument --project on the command line;
set the property core/project.
This must be specified.

View file

@ -24,8 +24,8 @@ POSITIONAL ARGUMENTS
To set the project attribute:
◆ provide the argument route_table on the command line with a fully
specified name;
set the property core/project;
provide the argument --project on the command line.
provide the argument --project on the command line;
set the property core/project.
This must be specified.

View file

@ -28,8 +28,8 @@ REQUIRED FLAGS
To set the project attribute:
◆ provide the argument --hub on the command line with a fully specified
name;
set the property core/project;
provide the argument --project on the command line.
provide the argument --project on the command line;
set the property core/project.
This must be specified.

View file

@ -24,8 +24,8 @@ POSITIONAL ARGUMENTS
To set the project attribute:
◆ provide the argument route on the command line with a fully specified
name;
set the property core/project;
provide the argument --project on the command line.
provide the argument --project on the command line;
set the property core/project.
This must be specified.

View file

@ -32,8 +32,8 @@ REQUIRED FLAGS
To set the project attribute:
◆ provide the argument --route_table on the command line with a fully
specified name;
set the property core/project;
provide the argument --project on the command line.
provide the argument --project on the command line;
set the property core/project.
This must be specified.

View file

@ -25,8 +25,8 @@ POSITIONAL ARGUMENTS
To set the project attribute:
◆ provide the argument hub on the command line with a fully specified
name;
set the property core/project;
provide the argument --project on the command line.
provide the argument --project on the command line;
set the property core/project.
This must be specified.

View file

@ -24,8 +24,8 @@ POSITIONAL ARGUMENTS
To set the project attribute:
◆ provide the argument hub on the command line with a fully specified
name;
set the property core/project;
provide the argument --project on the command line.
provide the argument --project on the command line;
set the property core/project.
This must be specified.