- NAME
- gcloud-config-set - Set the value for an option, so that Cloud SDK tools can use them as configuration.
- SYNOPSIS
-
gcloud config set PROPERTY VALUE [--format FORMAT] [--help] [--project PROJECT] [--quiet, -q] [--scope SCOPE] [-h]
- POSITIONAL ARGUMENTS
-
-
PROPERTY
- The property to be set.
-
VALUE
- The value to be set.
-
- FLAGS
-
-
--format
FORMAT
- Specify a format for printed output. By default, a command-specific human-friendly output format is used. Setting this flag to one of the available options will serialize the result of the command in the chosen format and print it to stdout. Supported formats are: "json", "text", "yaml".
-
--help
- Display detailed help.
-
--project
PROJECT
- Google Cloud Platform project to use for this invocation.
-
--quiet
- Disable all interactive prompts when running gcloud commands. If input is required, defaults will be used, or an error will be raised.
-
--scope
SCOPE
- The scope flag determines which configuration file is modified by this operation. The files are read (and take precedence) in the following order:
-
-
workspace
- The workspace based configuration file is based on your current working directory. You can set project specific configuration here that will only take effect when working within that project’s directory. You cannot set this value if you are not currently within a gcloud workspace. This will override all values from any other configuration files.
-
user
- The user based configuration file applies only to the current user of the system. It will override any values from the installation configuration.
-
installation
- The installation based configuration file applies to all users on the system that use this version of the Cloud SDK. If the SDK was installed by an administrator, you will need administrator rights to make changes to this file.
-
-
-h
- Print a summary help and exit.
-
gcloud config set
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License , and code samples are licensed under the Apache 2.0 License . For details, see our Site Policies .
Last updated August 11, 2014.