- NAME
-
- gcloud components restore - restore the Google Cloud CLI installation to its previous state
- SYNOPSIS
-
-
gcloud components restore
[GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(DEPRECATED)
Restore the Google Cloud CLI installation to its previous state.This command is deprecated and will be modified in gcloud v468.0.0. To restore your installation to a previous version, run "gcloud components update --version=<previous_version>" or install the previous version directly from https://cloud.google.com/sdk/docs/install.
This is an undo operation, which restores the Google Cloud CLI installation on the local workstation to the state it was in just before the most recent
gcloud components update
,gcloud components remove
, orgcloud components install
command. Only the state before the most recent such state is remembered, so it is impossible to restore the state that existed before the two most recentupdate
commands, for example. Arestore
command does not undo a previousrestore
command. - EXAMPLES
-
To restore Google Cloud CLI installation to its previous state, run:
gcloud components restore
- 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.
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"
}]