mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-10 11:21:48 +00:00
54 lines
1.6 KiB
Text
54 lines
1.6 KiB
Text
NAME
|
|
gcloud beta runtime-config configs variables unset - delete variable
|
|
resources
|
|
|
|
SYNOPSIS
|
|
gcloud beta runtime-config configs variables unset NAME
|
|
--config-name=CONFIG_NAME [--fail-if-absent] [--recursive]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(BETA) This command deletes the variable resource with the specified name.
|
|
|
|
EXAMPLES
|
|
To delete a variable named "my-var", run:
|
|
|
|
$ gcloud beta runtime-config configs variables unset \
|
|
--config-name=my-config my-var
|
|
|
|
To delete a variable, but fail if it does not exist, run:
|
|
|
|
$ gcloud beta runtime-config configs variables unset \
|
|
--config-name=my-config my-var --fail-if-absent
|
|
|
|
To recursively delete a parent variable and its children, run:
|
|
|
|
$ gcloud beta runtime-config configs variables unset \
|
|
--config-name=my-config my-parent-var --recursive
|
|
|
|
POSITIONAL ARGUMENTS
|
|
NAME
|
|
The variable name.
|
|
|
|
REQUIRED FLAGS
|
|
--config-name=CONFIG_NAME
|
|
The name of the configuration resource to use.
|
|
|
|
OPTIONAL FLAGS
|
|
--fail-if-absent
|
|
Fail if a variable with the specified name does not exist.
|
|
|
|
--recursive
|
|
Delete a parent node and all of its children.
|
|
|
|
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.
|
|
|
|
NOTES
|
|
This command is currently in beta and might change without notice.
|
|
|