Run gcloud auth list to see all credentialed accounts, and gcloud config set account to set the active account. Tip: Cloud SDK also allows you to use multiple accounts by repeating gcloud auth login flow. You only need to complete the authentication flow via gcloud auth login once, and you will be authenticated into all tools simultaneously. Google Cloud SDK provides a unified authentication model across all of the command-line tools. Unified Authentication into the whole Google Cloud Platform Tip: if you want to stick with the current version of the tools that you have installed, you can disable these notifications by running gcloud config set -section component_manager disable_update_check. You can then perform the update in place using the component manager by running gcloud components update, as described above. There are available updates for some Cloud SDK components. My-developers-console-project:sql-instance For example, if Cloud SQL releases an update, the following message will be appended after running Cloud SQL commands: To ensure that you always have the latest versions of Cloud Platform tools, Cloud SDK will notify you if any updates are available when you run individual commands. For example, if you wanted to add Python and Java support for App Engine, run gcloud components update gae-python gae-java. Tip: if you’re using more than one programming language for App Engine development, use Cloud SDK component manager to install multiple App Engine SDKs side-by-side. Run gcloud components list to see the list of available or installed components, gcloud components update component-id to install or update a particular component or gcloud components -help for more information. The component manager allows you to add, remove and update Cloud Platform tools without ever needing to re-download the SDK. One of the new features installed with Cloud SDK is a component manager, accessible via gcloud components command group. When the installer completes, restart your shell/Terminal/Command Prompt window and you should be able to run the main Cloud SDK command-line tool, called gcloud. If you’re running on Linux or Mac OS run the following command in your shell/Terminal:.If you’re running on Windows, download Cloud SDK zip and launch install.bat script,.Here are a few tips and tricks on how to start working with, and how to get more out of Google Cloud Platform’s command-line tools.įor streamlined tool distribution, all Google Cloud Platform command-line tools are bundled in Google Cloud SDK, so you only need to obtain Cloud SDK to get command-line access to App Engine, Compute Engine, Cloud Storage, Cloud SQL, BigQuery and other products. Command-line tools are empowering: they deliver speed, control, traceability, scripting and automation capabilities to the developer’s workflow.
0 Comments
Leave a Reply. |