Here’s how to update your Google Cloud Platform SDK (Software Development Kit) which is aka the CLI for interacting with Google’s API.
Get Current Version
Get the Components List
How to upgrade Google SDK on Redhat, Fedora and Centos Linux.
If you are having trouble running that command because the GCloud component manager is disabled, you can try the following commands which will achieve the same result as above.
sudo yum makecache && sudo yum update \
Subversion Update is used to synch the working copy with repository. You can use any of the two commands below. Any changes done by you since the last update will not be overwritten. Your changes will be reflected on the repository once you perform a commit to the repository.