- NAME
-
- gcloud alpha kms key-deletion-opt-out - opt out a project of the key deletion change announced via MSA
- SYNOPSIS
-
-
gcloud alpha kms key-deletion-opt-out
--project
=PROJECT_ID_OR_NUMBER
[--undo
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
The flag--project
indicates the project that you want to opt out.The optional flag
--undo
allows you to opt a project back in. - EXAMPLES
-
The following command opts out the project
my-project-id-or-number
.gcloud alpha kms key-deletion-opt-out --project=projects/my-project-id-or-number
The following command opts the project
my-project-id-or-number
back in.gcloud alpha kms key-deletion-opt-out --project=projects/my-project-id-or-number --undo=true
- REQUIRED FLAGS
-
--project
=PROJECT_ID_OR_NUMBER
- Project ID to opt out.
- OPTIONAL FLAGS
-
--undo
- Opt the project back in the key deletion change.
- 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 alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.
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-02-06 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]