1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 06:47:12 +00:00

gcloud: Wed Mar 27 09:52:07 UTC 2024

This commit is contained in:
Automated 2024-03-27 09:52:07 +00:00
parent 5b4fac9106
commit 4ade1b44cc
148 changed files with 5765 additions and 482 deletions

View file

@ -2,7 +2,7 @@ NAME
gcloud beta secrets update - update a secret's metadata
SYNOPSIS
gcloud beta secrets update (SECRET : --location=LOCATION) [--etag=ETAG]
gcloud beta secrets update SECRET [--etag=ETAG]
[--update-labels=[KEY=VALUE,...]]
[--add-topics=[ADD-TOPICS,...] | --clear-topics
| --remove-topics=[REMOVE-TOPICS,...]]
@ -73,38 +73,23 @@ EXAMPLES
$ gcloud beta secrets update my-secret --remove-version-destroy-ttl
POSITIONAL ARGUMENTS
Global or regional secret resource - 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.
Secret resource - The secret to 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 secret on the command line with a fully
◆ provide the argument SECRET on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project. This resource can be one of the
following types: [secret, regional secret].
◆ set the property core/project.
This must be specified.
SECRET
ID of the global or regional secret or fully qualified identifier for
the global or regional secret.
ID of the secret or fully qualified identifier for the secret.
To set the secret attribute:
▸ provide the argument secret on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION
[EXPERIMENTAL] The location of the global or regional secret.
To set the location attribute:
▸ provide the argument secret on the command line with a fully
specified name;
▸ provide the argument --location on the command line. Must be
specified for resource of type [regional secret].
▸ provide the argument SECRET on the command line.
FLAGS
--etag=ETAG