1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 14:56:05 +00:00

gcloud: Wed Mar 19 10:42:21 UTC 2025

This commit is contained in:
Automated 2025-03-19 10:42:21 +00:00
parent a459a88a5f
commit e555fef0aa
170 changed files with 6428 additions and 659 deletions

View file

@ -0,0 +1,72 @@
NAME
gcloud beta network-connectivity hubs accept-spoke-update - accept a
proposal to update a spoke in a hub
SYNOPSIS
gcloud beta network-connectivity hubs accept-spoke-update HUB --spoke=SPOKE
--spoke-etag=SPOKE_ETAG [--async] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Accept a proposed or previously rejected VPC spoke update. By
accepting a spoke update, you permit updating connectivity between the
associated VPC network and other VPC networks that are attached to the same
hub.
EXAMPLES
To accept updating a spoke named my-spoke with etag in a hub named my-hub,
run:
$ gcloud beta network-connectivity hubs accept-spoke-update my-hub \
--spoke="projects/spoke-project/locations/global/hubs/my-spoke" \
--spoke-etag=etag
POSITIONAL ARGUMENTS
Hub resource - Name of the hub to accept the spoke update. 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 update
--spoke-etag=SPOKE_ETAG
Etag of the spoke to accept update
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-update

View file

@ -29,6 +29,9 @@ COMMANDS
accept-spoke
(BETA) Accept a spoke into a hub.
accept-spoke-update
(BETA) Accept a proposal to update a spoke in a hub.
add-iam-policy-binding
(BETA) Add an IAM policy binding to the IAM policy of a hub resource.
@ -53,6 +56,9 @@ COMMANDS
reject-spoke
(BETA) Reject a spoke from a hub.
reject-spoke-update
(BETA) Reject a proposal to update a spoke in 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,75 @@
NAME
gcloud beta network-connectivity hubs reject-spoke-update - reject a
proposal to update a spoke in a hub
SYNOPSIS
gcloud beta network-connectivity hubs reject-spoke-update HUB --spoke=SPOKE
--spoke-etag=SPOKE_ETAG [--async] [--details=DETAILS]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Reject a VPC spoke update proposal. By rejecting a spoke update, you
prevent updating the connectivity between the associated VPC network and
any other VPC networks that are attached to the same hub.
EXAMPLES
To reject updating a spoke named my-spoke with etag in a hub named my-hub
with reason my-reason, run:
$ gcloud beta network-connectivity hubs reject-spoke-update my-hub \
--spoke="projects/spoke-project/locations/global/hubs/my-spoke" \
--spoke-etag=etag --details=my-reason
POSITIONAL ARGUMENTS
Hub resource - Name of the hub to reject the spoke update. 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 update
--spoke-etag=SPOKE_ETAG
Etag of the spoke to reject update
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-update

View file

@ -4,7 +4,8 @@ NAME
SYNOPSIS
gcloud beta network-connectivity spokes linked-producer-vpc-network update
SPOKE [--async] [--description=DESCRIPTION] [--global]
SPOKE [--async] [--description=DESCRIPTION]
[--exclude-export-ranges=[CIDR_RANGE,...]] [--global]
[--include-export-ranges=[CIDR_RANGE,...]]
[--update-labels=[KEY=VALUE,...]]
[--clear-labels | --remove-labels=[KEY,...]] [GCLOUD_WIDE_FLAG ...]
@ -51,12 +52,14 @@ FLAGS
--description=DESCRIPTION
New description of the spoke.
--exclude-export-ranges=[CIDR_RANGE,...]
New exclude export ranges of the spoke.
--global
Indicates that the spoke is global.
--include-export-ranges=[CIDR_RANGE,...]
Only allows adding ALL_IPV6_RANGES to include export ranges or removing
ALL_IPV6_RANGES from include export ranges.
New include export ranges of the spoke.
--update-labels=[KEY=VALUE,...]
List of label KEY=VALUE pairs to update. If a label exists, its value

View file

@ -4,7 +4,8 @@ NAME
SYNOPSIS
gcloud beta network-connectivity spokes linked-vpc-network update SPOKE
[--async] [--description=DESCRIPTION] [--global]
[--async] [--description=DESCRIPTION]
[--exclude-export-ranges=[CIDR_RANGE,...]] [--global]
[--include-export-ranges=[CIDR_RANGE,...]]
[--update-labels=[KEY=VALUE,...]]
[--clear-labels | --remove-labels=[KEY,...]] [GCLOUD_WIDE_FLAG ...]
@ -50,12 +51,14 @@ FLAGS
--description=DESCRIPTION
New description of the spoke.
--exclude-export-ranges=[CIDR_RANGE,...]
New exclude export ranges of the spoke.
--global
Indicates that the spoke is global.
--include-export-ranges=[CIDR_RANGE,...]
Only allows adding ALL_IPV6_RANGES to include export ranges or removing
ALL_IPV6_RANGES from include export ranges.
New include export ranges of the spoke.
--update-labels=[KEY=VALUE,...]
List of label KEY=VALUE pairs to update. If a label exists, its value