const completionSpec = { name : "builds" , description : "Create and manage builds for Google Cloud Build" , subcommands : [ { name : "cancel" , description : "Cancel an ongoing build" , options : [ { name : "--account" , description : "Google Cloud Platform user account to use for invocation. Overrides the default *core/account* property value for this command invocation" , args : { name : "ACCOUNT" , description : "String" , suggestions : [ ] , } , } , { name : "--billing-project" , description : "The Google Cloud Platform project that will be charged quota for operations performed in gcloud. If you need to operate on one project, but need quota against a different project, you can use this flag to specify the billing project. If both `billing/quota_project` and `--billing-project` are specified, `--billing-project` takes precedence. Run `$ gcloud config set --help` to see more information about `billing/quota_project`" , args : { name : "BILLING_PROJECT" , description : "String" , suggestions : [ ] , } , } , { name : "--configuration" , description : "The configuration to use for this command invocation. For more\ninformation on how to use configurations, run:\n`gcloud topic configurations`.  You can also use the CLOUDSDK_ACTIVE_CONFIG_NAME environment\nvariable to set the equivalent of this flag for a terminal\nsession" , args : { name : "CONFIGURATION" , description : "String" , suggestions : [ ] , } , } , { name : "--flags-file" , description : "A YAML or JSON file that specifies a *--flag*:*value* dictionary.\nUseful for specifying complex flag values with special characters\nthat work with any command interpreter. Additionally, each\n*--flags-file* arg is replaced by its constituent flags. See\n$ gcloud topic flags-file for more information" , args : { name : "YAML_FILE" , description : "String" , suggestions : [ ] , } , } , { name : "--flatten" , description : "Flatten _name_[] output resource slices in _KEY_ into separate records\nfor each item in each slice. Multiple keys and slices may be specified.\nThis also flattens keys for *--format* and *--filter*. For example,\n*--flatten=abc.def* flattens *abc.def[].ghi* references to\n*abc.def.ghi*. A resource record containing *abc.def[]* with N elements\nwill expand to N records in the flattened output. This flag interacts\nwith other flags that are applied in this order: *--flatten*,\n*--sort-by*, *--filter*, *--limit*" , args : { name : "KEY" , description : "List" , suggestions : [ ] , } , } , { name : "--format" , description : "Set the format for printing command output resources. The default is a\ncommand-specific human-friendly output format. The supported formats\nare: `config`, `csv`, `default`, `diff`, `disable`, `flattened`, `get`, `json`, `list`, `multi`, `none`, `object`, `table`, `text`, `value`, `yaml`. For more details run $ gcloud topic formats" , args : { name : "FORMAT" , description : "String" , suggestions : [ ] , } , } , { name : "--help" , description : "Display detailed help" , } , { name : "--impersonate-service-account" , description : "For this gcloud invocation, all API requests will be made as the given service account instead of the currently selected account. This is done without needing to create, download, and activate a key for the account. In order to perform operations as the service account, your currently selected account must have an IAM role that includes the iam.serviceAccounts.getAccessToken permission for the service account. The roles/iam.serviceAccountTokenCreator role has this permission or you may create a custom role. Overrides the default *auth/impersonate_service_account* property value for this command invocation" , args : { name : "SERVICE_ACCOUNT_EMAIL" , description : "String" , suggestions : [ ] , } , } , { name : "--log-http" , description : "Log all HTTP server requests and responses to stderr. Overrides the default *core/log_http* property value for this command invocation" , } , { name : "--project" , description : "The Google Cloud Platform project ID to use for this invocation. If\nomitted, then the current project is assumed; the current project can\nbe listed using `gcloud config list --format='text(core.project)'`\nand can be set using `gcloud config set project PROJECTID`.\n+\n`--project` and its fallback `core/project` property play two roles\nin the invocation. It specifies the project of the resource to\noperate on. It also specifies the project for API enablement check,\nquota, and billing. To specify a different project for quota and\nbilling, use `--billing-project` or `billing/quota_project` property" , args : { name : "PROJECT_ID" , description : "String" , suggestions : [ ] , } , } , { name : "--quiet" , description : "Disable all interactive prompts when running gcloud commands. If input\nis required, defaults will be used, or an error will be raised.\nOverrides the default core/disable_prompts property value for this\ncommand invocation. This is equivalent to setting the environment\nvariable `CLOUDSDK_CORE_DISABLE_PROMPTS` to 1" , } , { name : "--region" , description : "The region of the Cloud Build Service to use.\nMust be set to a supported region name (e.g. us-central1).\nIf unset, the global service is used. The global service is isolated from all regional services" , args : { name : "REGION" , description : "String" , suggestions : [ ] , } , } , { name : "--trace-token" , description : "Token used to route traces of service requests for investigation of issues. Overrides the default *core/trace_token* property value for this command invocation" , args : { name : "TRACE_TOKEN" , description : "String" , suggestions : [ ] , } , } , { name : "--user-output-enabled" , description : "Print user intended output to the console. Overrides the default *core/user_output_enabled* property value for this command invocation. Use *--no-user-output-enabled* to disable" , } , { name : "--verbosity" , description : "Override the default verbosity for this command. Overrides the default *core/verbosity* property value for this command invocation. _VERBOSITY_ must be one of: *debug*, *info*, *warning*, *error*, *critical*, *none*" , args : { name : "VERBOSITY" , description : "String" , suggestions : [ "debug" , "info" , "warning" , "error" , "critical" , "none" , ] , } , } , ] , args : { name : "BUILDS" , description : "IDs of builds to cancel" , isVariadic : true , } , } , { name : "describe" , description : "Get information about a particular build" , options : [ { name : "--account" , description : "Google Cloud Platform user account to use for invocation. Overrides the default *core/account* property value for this command invocation" , args : { name : "ACCOUNT" , description : "String" , suggestions : [ ] , } , } , { name : "--billing-project" , description : "The Google Cloud Platform project that will be charged quota for operations performed in gcloud. If you need to operate on one project, but need quota against a different project, you can use this flag to specify the billing project. If both `billing/quota_project` and `--billing-project` are specified, `--billing-project` takes precedence. Run `$ gcloud config set --help` to see more information about `billing/quota_project`" , args : { name : "BILLING_PROJECT" , description : "String" , suggestions : [ ] , } , } , { name : "--configuration" , description : "The configuration to use for this command invocation. For more\ninformation on how to use configurations, run:\n`gcloud topic configurations`.  You can also use the CLOUDSDK_ACTIVE_CONFIG_NAME environment\nvariable to set the equivalent of this flag for a terminal\nsession" , args : { name : "CONFIGURATION" , description : "String" , suggestions : [ ] , } , } , { name : "--flags-file" , description : "A YAML or JSON file that specifies a *--flag*:*value* dictionary.\nUseful for specifying complex flag values with special characters\nthat work with any command interpreter. Additionally, each\n*--flags-file* arg is replaced by its constituent flags. See\n$ gcloud topic flags-file for more information" , args : { name : "YAML_FILE" , description : "String" , suggestions : [ ] , } , } , { name : "--flatten" , description : "Flatten _name_[] output resource slices in _KEY_ into separate records\nfor each item in each slice. Multiple keys and slices may be specified.\nThis also flattens keys for *--format* and *--filter*. For example,\n*--flatten=abc.def* flattens *abc.def[].ghi* references to\n*abc.def.ghi*. A resource record containing *abc.def[]* with N elements\nwill expand to N records in the flattened output. This flag interacts\nwith other flags that are applied in this order: *--flatten*,\n*--sort-by*, *--filter*, *--limit*" , args : { name : "KEY" , description : "List" , suggestions : [ ] , } , } , { name : "--format" , description : "Set the format for printing command output resources. The default is a\ncommand-specific human-friendly output format. The supported formats\nare: `config`, `csv`, `default`, `diff`, `disable`, `flattened`, `get`, `json`, `list`, `multi`, `none`, `object`, `table`, `text`, `value`, `yaml`. For more details run $ gcloud topic formats" , args : { name : "FORMAT" , description : "String" , suggestions : [ ] , } , } , { name : "--help" , description : "Display detailed help" , } , { name : "--impersonate-service-account" , description : "For this gcloud invocation, all API requests will be made as the given service account instead of the currently selected account. This is done without needing to create, download, and activate a key for the account. In order to perform operations as the service account, your currently selected account must have an IAM role that includes the iam.serviceAccounts.getAccessToken permission for the service account. The roles/iam.serviceAccountTokenCreator role has this permission or you may create a custom role. Overrides the default *auth/impersonate_service_account* property value for this command invocation" , args : { name : "SERVICE_ACCOUNT_EMAIL" , description : "String" , suggestions : [ ] , } , } , { name : "--log-http" , description : "Log all HTTP server requests and responses to stderr. Overrides the default *core/log_http* property value for this command invocation" , } , { name : "--project" , description : "The Google Cloud Platform project ID to use for this invocation. If\nomitted, then the current project is assumed; the current project can\nbe listed using `gcloud config list --format='text(core.project)'`\nand can be set using `gcloud config set project PROJECTID`.\n+\n`--project` and its fallback `core/project` property play two roles\nin the invocation. It specifies the project of the resource to\noperate on. It also specifies the project for API enablement check,\nquota, and billing. To specify a different project for quota and\nbilling, use `--billing-project` or `billing/quota_project` property" , args : { name : "PROJECT_ID" , description : "String" , suggestions : [ ] , } , } , { name : "--quiet" , description : "Disable all interactive prompts when running gcloud commands. If input\nis required, defaults will be used, or an error will be raised.\nOverrides the default core/disable_prompts property value for this\ncommand invocation. This is equivalent to setting the environment\nvariable `CLOUDSDK_CORE_DISABLE_PROMPTS` to 1" , } , { name : "--region" , description : "The region of the Cloud Build Service to use.\nMust be set to a supported region name (e.g. us-central1).\nIf unset, the global service is used. The global service is isolated from all regional services" , args : { name : "REGION" , description : "String" , suggestions : [ ] , } , } , { name : "--trace-token" , description : "Token used to route traces of service requests for investigation of issues. Overrides the default *core/trace_token* property value for this command invocation" , args : { name : "TRACE_TOKEN" , description : "String" , suggestions : [ ] , } , } , { name : "--user-output-enabled" , description : "Print user intended output to the console. Overrides the default *core/user_output_enabled* property value for this command invocation. Use *--no-user-output-enabled* to disable" , } , { name : "--verbosity" , description : "Override the default verbosity for this command. Overrides the default *core/verbosity* property value for this command invocation. _VERBOSITY_ must be one of: *debug*, *info*, *warning*, *error*, *critical*, *none*" , args : { name : "VERBOSITY" , description : "String" , suggestions : [ "debug" , "info" , "warning" , "error" , "critical" , "none" , ] , } , } , ] , args : { name : "BUILD" , description : "The build to describe. The ID of the build is printed at the end of the build submission process, or in the ID column when listing builds" , isVariadic : false , } , } , { name : "list" , description : "List builds" , options : [ { name : "--account" , description : "Google Cloud Platform user account to use for invocation. Overrides the default *core/account* property value for this command invocation" , args : { name : "ACCOUNT" , description : "String" , suggestions : [ ] , } , } , { name : "--billing-project" , description : "The Google Cloud Platform project that will be charged quota for operations performed in gcloud. If you need to operate on one project, but need quota against a different project, you can use this flag to specify the billing project. If both `billing/quota_project` and `--billing-project` are specified, `--billing-project` takes precedence. Run `$ gcloud config set --help` to see more information about `billing/quota_project`" , args : { name : "BILLING_PROJECT" , description : "String" , suggestions : [ ] , } , } , { name : "--configuration" , description : "The configuration to use for this command invocation. For more\ninformation on how to use configurations, run:\n`gcloud topic configurations`.  You can also use the CLOUDSDK_ACTIVE_CONFIG_NAME environment\nvariable to set the equivalent of this flag for a terminal\nsession" , args : { name : "CONFIGURATION" , description : "String" , suggestions : [ ] , } , } , { name : "--filter" , description : "Apply a Boolean filter _EXPRESSION_ to each resource item to be listed.\nIf the expression evaluates `True`, then that item is listed. For more\ndetails and examples of filter expressions, run $ gcloud topic filters. This\nflag interacts with other flags that are applied in this order: *--flatten*,\n*--sort-by*, *--filter*, *--limit*" , args : { name : "EXPRESSION" , description : "String" , suggestions : [ ] , } , } , { name : "--flags-file" , description : "A YAML or JSON file that specifies a *--flag*:*value* dictionary.\nUseful for specifying complex flag values with special characters\nthat work with any command interpreter. Additionally, each\n*--flags-file* arg is replaced by its constituent flags. See\n$ gcloud topic flags-file for more information" , args : { name : "YAML_FILE" , description : "String" , suggestions : [ ] , } , } , { name : "--flatten" , description : "Flatten _name_[] output resource slices in _KEY_ into separate records\nfor each item in each slice. Multiple keys and slices may be specified.\nThis also flattens keys for *--format* and *--filter*. For example,\n*--flatten=abc.def* flattens *abc.def[].ghi* references to\n*abc.def.ghi*. A resource record containing *abc.def[]* with N elements\nwill expand to N records in the flattened output. This flag interacts\nwith other flags that are applied in this order: *--flatten*,\n*--sort-by*, *--filter*, *--limit*" , args : { name : "KEY" , description : "List" , suggestions : [ ] , } , } , { name : "--format" , description : "Set the format for printing command output resources. The default is a\ncommand-specific human-friendly output format. The supported formats\nare: `config`, `csv`, `default`, `diff`, `disable`, `flattened`, `get`, `json`, `list`, `multi`, `none`, `object`, `table`, `text`, `value`, `yaml`. For more details run $ gcloud topic formats" , args : { name : "FORMAT" , description : "String" , suggestions : [ ] , } , } , { name : "--help" , description : "Display detailed help" , } , { name : "--impersonate-service-account" , description : "For this gcloud invocation, all API requests will be made as the given service account instead of the currently selected account. This is done without needing to create, download, and activate a key for the account. In order to perform operations as the service account, your currently selected account must have an IAM role that includes the iam.serviceAccounts.getAccessToken permission for the service account. The roles/iam.serviceAccountTokenCreator role has this permission or you may create a custom role. Overrides the default *auth/impersonate_service_account* property value for this command invocation" , args : { name : "SERVICE_ACCOUNT_EMAIL" , description : "String" , suggestions : [ ] , } , } , { name : "--limit" , description : "Maximum number of resources to list. The default is *50*.\nThis flag interacts with other flags that are applied in this order:\n*--flatten*, *--sort-by*, *--filter*, *--limit*" , args : { name : "LIMIT" , description : "Int" , suggestions : [ ] , } , } , { name : "--log-http" , description : "Log all HTTP server requests and responses to stderr. Overrides the default *core/log_http* property value for this command invocation" , } , { name : "--ongoing" , description : "Only list builds that are currently QUEUED or WORKING" , } , { name : "--page-size" , description : "Some services group resource list output into pages. This flag specifies\nthe maximum number of resources per page. The default is *20*.\nPaging may be applied before or after *--filter* and *--limit* depending\non the service" , args : { name : "PAGE_SIZE" , description : "Int" , suggestions : [ ] , } , } , { name : "--project" , description : "The Google Cloud Platform project ID to use for this invocation. If\nomitted, then the current project is assumed; the current project can\nbe listed using `gcloud config list --format='text(core.project)'`\nand can be set using `gcloud config set project PROJECTID`.\n+\n`--project` and its fallback `core/project` property play two roles\nin the invocation. It specifies the project of the resource to\noperate on. It also specifies the project for API enablement check,\nquota, and billing. To specify a different project for quota and\nbilling, use `--billing-project` or `billing/quota_project` property" , args : { name : "PROJECT_ID" , description : "String" , suggestions : [ ] , } , } , { name : "--quiet" , description : "Disable all interactive prompts when running gcloud commands. If input\nis required, defaults will be used, or an error will be raised.\nOverrides the default core/disable_prompts property value for this\ncommand invocation. This is equivalent to setting the environment\nvariable `CLOUDSDK_CORE_DISABLE_PROMPTS` to 1" , } , { name : "--region" , description : "The region of the Cloud Build Service to use.\nMust be set to a supported region name (e.g. us-central1).\nIf unset, the global service is used. The global service is isolated from all regional services" , args : { name : "REGION" , description : "String" , suggestions : [ ] , } , } , { name : "--sort-by" , description : "Comma-separated list of resource field key names to sort by. The\ndefault order is ascending. Prefix a field with ``~'' for descending\norder on that field. This flag interacts with other flags that are applied\nin this order: *--flatten*, *--sort-by*, *--filter*, *--limit*" , args : { name : "FIELD" , description : "List" , suggestions : [ ] , } , } , { name : "--trace-token" , description : "Token used to route traces of service requests for investigation of issues. Overrides the default *core/trace_token* property value for this command invocation" , args : { name : "TRACE_TOKEN" , description : "String" , suggestions : [ ] , } , } , { name : "--uri" , description : "Print a list of resource URIs instead of the default output" , } , { name : "--user-output-enabled" , description : "Print user intended output to the console. Overrides the default *core/user_output_enabled* property value for this command invocation. Use *--no-user-output-enabled* to disable" , } , { name : "--verbosity" , description : "Override the default verbosity for this command. Overrides the default *core/verbosity* property value for this command invocation. _VERBOSITY_ must be one of: *debug*, *info*, *warning*, *error*, *critical*, *none*" , args : { name : "VERBOSITY" , description : "String" , suggestions : [ "debug" , "info" , "warning" , "error" , "critical" , "none" , ] , } , } , ] , } , { name : "log" , description : "Stream the logs for a build" , options : [ { name : "--account" , description : "Google Cloud Platform user account to use for invocation. Overrides the default *core/account* property value for this command invocation" , args : { name : "ACCOUNT" , description : "String" , suggestions : [ ] , } , } , { name : "--billing-project" , description : "The Google Cloud Platform project that will be charged quota for operations performed in gcloud. If you need to operate on one project, but need quota against a different project, you can use this flag to specify the billing project. If both `billing/quota_project` and `--billing-project` are specified, `--billing-project` takes precedence. Run `$ gcloud config set --help` to see more information about `billing/quota_project`" , args : { name : "BILLING_PROJECT" , description : "String" , suggestions : [ ] , } , } , { name : "--configuration" , description : "The configuration to use for this command invocation. For more\ninformation on how to use configurations, run:\n`gcloud topic configurations`.  You can also use the CLOUDSDK_ACTIVE_CONFIG_NAME environment\nvariable to set the equivalent of this flag for a terminal\nsession" , args : { name : "CONFIGURATION" , description : "String" , suggestions : [ ] , } , } , { name : "--flags-file" , description : "A YAML or JSON file that specifies a *--flag*:*value* dictionary.\nUseful for specifying complex flag values with special characters\nthat work with any command interpreter. Additionally, each\n*--flags-file* arg is replaced by its constituent flags. See\n$ gcloud topic flags-file for more information" , args : { name : "YAML_FILE" , description : "String" , suggestions : [ ] , } , } , { name : "--flatten" , description : "Flatten _name_[] output resource slices in _KEY_ into separate records\nfor each item in each slice. Multiple keys and slices may be specified.\nThis also flattens keys for *--format* and *--filter*. For example,\n*--flatten=abc.def* flattens *abc.def[].ghi* references to\n*abc.def.ghi*. A resource record containing *abc.def[]* with N elements\nwill expand to N records in the flattened output. This flag interacts\nwith other flags that are applied in this order: *--flatten*,\n*--sort-by*, *--filter*, *--limit*" , args : { name : "KEY" , description : "List" , suggestions : [ ] , } , } , { name : "--format" , description : "Set the format for printing command output resources. The default is a\ncommand-specific human-friendly output format. The supported formats\nare: `config`, `csv`, `default`, `diff`, `disable`, `flattened`, `get`, `json`, `list`, `multi`, `none`, `object`, `table`, `text`, `value`, `yaml`. For more details run $ gcloud topic formats" , args : { name : "FORMAT" , description : "String" , suggestions : [ ] , } , } , { name : "--help" , description : "Display detailed help" , } , { name : "--impersonate-service-account" , description : "For this gcloud invocation, all API requests will be made as the given service account instead of the currently selected account. This is done without needing to create, download, and activate a key for the account. In order to perform operations as the service account, your currently selected account must have an IAM role that includes the iam.serviceAccounts.getAccessToken permission for the service account. The roles/iam.serviceAccountTokenCreator role has this permission or you may create a custom role. Overrides the default *auth/impersonate_service_account* property value for this command invocation" , args : { name : "SERVICE_ACCOUNT_EMAIL" , description : "String" , suggestions : [ ] , } , } , { name : "--log-http" , description : "Log all HTTP server requests and responses to stderr. Overrides the default *core/log_http* property value for this command invocation" , } , { name : "--project" , description : "The Google Cloud Platform project ID to use for this invocation. If\nomitted, then the current project is assumed; the current project can\nbe listed using `gcloud config list --format='text(core.project)'`\nand can be set using `gcloud config set project PROJECTID`.\n+\n`--project` and its fallback `core/project` property play two roles\nin the invocation. It specifies the project of the resource to\noperate on. It also specifies the project for API enablement check,\nquota, and billing. To specify a different project for quota and\nbilling, use `--billing-project` or `billing/quota_project` property" , args : { name : "PROJECT_ID" , description : "String" , suggestions : [ ] , } , } , { name : "--quiet" , description : "Disable all interactive prompts when running gcloud commands. If input\nis required, defaults will be used, or an error will be raised.\nOverrides the default core/disable_prompts property value for this\ncommand invocation. This is equivalent to setting the environment\nvariable `CLOUDSDK_CORE_DISABLE_PROMPTS` to 1" , } , { name : "--region" , description : "The region of the Cloud Build Service to use.\nMust be set to a supported region name (e.g. us-central1).\nIf unset, the global service is used. The global service is isolated from all regional services" , args : { name : "REGION" , description : "String" , suggestions : [ ] , } , } , { name : "--stream" , description : "If a build is ongoing, stream the logs to stdout until the build completes" , } , { name : "--trace-token" , description : "Token used to route traces of service requests for investigation of issues. Overrides the default *core/trace_token* property value for this command invocation" , args : { name : "TRACE_TOKEN" , description : "String" , suggestions : [ ] , } , } , { name : "--user-output-enabled" , description : "Print user intended output to the console. Overrides the default *core/user_output_enabled* property value for this command invocation. Use *--no-user-output-enabled* to disable" , } , { name : "--verbosity" , description : "Override the default verbosity for this command. Overrides the default *core/verbosity* property value for this command invocation. _VERBOSITY_ must be one of: *debug*, *info*, *warning*, *error*, *critical*, *none*" , args : { name : "VERBOSITY" , description : "String" , suggestions : [ "debug" , "info" , "warning" , "error" , "critical" , "none" , ] , } , } , ] , args : { name : "BUILD" , description : "The build whose logs shall be printed. The ID of the build is printed at the end of the build submission process, or in the ID column when listing builds" , isVariadic : false , } , } , { name : "submit" , description : "Submit a build using Google Cloud Build" , options : [ { name : "--account" , description : "Google Cloud Platform user account to use for invocation. Overrides the default *core/account* property value for this command invocation" , args : { name : "ACCOUNT" , description : "String" , suggestions : [ ] , } , } , { name : "--async" , description : "Return immediately, without waiting for the operation in progress to\ncomplete" , } , { name : "--billing-project" , description : "The Google Cloud Platform project that will be charged quota for operations performed in gcloud. If you need to operate on one project, but need quota against a different project, you can use this flag to specify the billing project. If both `billing/quota_project` and `--billing-project` are specified, `--billing-project` takes precedence. Run `$ gcloud config set --help` to see more information about `billing/quota_project`" , args : { name : "BILLING_PROJECT" , description : "String" , suggestions : [ ] , } , } , { name : "--config" , description : "The YAML or JSON file to use as the build configuration file" , args : { name : "CONFIG" , description : "String" , suggestions : [ ] , } , } , { name : "--configuration" , description : "The configuration to use for this command invocation. For more\ninformation on how to use configurations, run:\n`gcloud topic configurations`.  You can also use the CLOUDSDK_ACTIVE_CONFIG_NAME environment\nvariable to set the equivalent of this flag for a terminal\nsession" , args : { name : "CONFIGURATION" , description : "String" , suggestions : [ ] , } , } , { name : "--disk-size" , description : "Machine disk size (GB) to run the build" , args : { name : "DISK_SIZE" , description : "Googlecloudsdk.calliope.arg_parsers:ParseWithBoundsChecking" , suggestions : [ ] , } , } , { name : "--flags-file" , description : "A YAML or JSON file that specifies a *--flag*:*value* dictionary.\nUseful for specifying complex flag values with special characters\nthat work with any command interpreter. Additionally, each\n*--flags-file* arg is replaced by its constituent flags. See\n$ gcloud topic flags-file for more information" , args : { name : "YAML_FILE" , description : "String" , suggestions : [ ] , } , } , { name : "--flatten" , description : "Flatten _name_[] output resource slices in _KEY_ into separate records\nfor each item in each slice. Multiple keys and slices may be specified.\nThis also flattens keys for *--format* and *--filter*. For example,\n*--flatten=abc.def* flattens *abc.def[].ghi* references to\n*abc.def.ghi*. A resource record containing *abc.def[]* with N elements\nwill expand to N records in the flattened output. This flag interacts\nwith other flags that are applied in this order: *--flatten*,\n*--sort-by*, *--filter*, *--limit*" , args : { name : "KEY" , description : "List" , suggestions : [ ] , } , } , { name : "--format" , description : "Set the format for printing command output resources. The default is a\ncommand-specific human-friendly output format. The supported formats\nare: `config`, `csv`, `default`, `diff`, `disable`, `flattened`, `get`, `json`, `list`, `multi`, `none`, `object`, `table`, `text`, `value`, `yaml`. For more details run $ gcloud topic formats" , args : { name : "FORMAT" , description : "String" , suggestions : [ ] , } , } , { name : "--gcs-log-dir" , description : "A directory in Google Cloud Storage to hold build logs. If this field is not set, ```gs://[PROJECT_NUMBER].cloudbuild-logs.googleusercontent.com/``` will be created and used" , args : { name : "GCS_LOG_DIR" , description : "String" , suggestions : [ ] , } , } , { name : "--gcs-source-staging-dir" , description : "A directory in Google Cloud Storage to copy the source used for staging the build. If the specified bucket does not exist, Cloud Build will create one. If you don't set this field, ```gs://[PROJECT_ID]_cloudbuild/source``` is used" , args : { name : "GCS_SOURCE_STAGING_DIR" , description : "String" , suggestions : [ ] , } , } , { name : "--help" , description : "Display detailed help" , } , { name : "--ignore-file" , description : "Override the `.gcloudignore` file and use the specified file instead" , args : { name : "IGNORE_FILE" , description : "String" , suggestions : [ ] , } , } , { name : "--impersonate-service-account" , description : "For this gcloud invocation, all API requests will be made as the given service account instead of the currently selected account. This is done without needing to create, download, and activate a key for the account. In order to perform operations as the service account, your currently selected account must have an IAM role that includes the iam.serviceAccounts.getAccessToken permission for the service account. The roles/iam.serviceAccountTokenCreator role has this permission or you may create a custom role. Overrides the default *auth/impersonate_service_account* property value for this command invocation" , args : { name : "SERVICE_ACCOUNT_EMAIL" , description : "String" , suggestions : [ ] , } , } , { name : "--log-http" , description : "Log all HTTP server requests and responses to stderr. Overrides the default *core/log_http* property value for this command invocation" , } , { name : "--machine-type" , description : "Machine type used to run the build. _MACHINE_TYPE_ must be one of: *n1-highcpu-32*, *n1-highcpu-8*" , args : { name : "MACHINE_TYPE" , description : "Googlecloudsdk.calliope.base:_ChoiceValueType" , suggestions : [ "n1-highcpu-32" , "n1-highcpu-8" ] , } , } , { name : "--no-cache" , description : "If set, disable layer caching when building with Kaniko.\n+\nThis has the same effect as setting the builds/kaniko_cache_ttl property to 0 for this build.  This can be useful in cases where Dockerfile builds are non-deterministic and a non-deterministic result should not be cached" , } , { name : "--no-source" , description : "Specify that no source should be uploaded with this build" , } , { name : "--pack" , description : 'Uses CNCF [buildpack](https://buildpacks.io/) to create image.  The "image" key/value must be provided.  The image name must be in the *gcr.io* or *pkg.dev* namespace. By default ```gcr.io/buildpacks/builder``` will be used. To specify your own builder image use the optional "builder" key/value argument.  To pass environment variables to the builder use the optional "env" key/value argument where value is a list of key values using [escaping](https://cloud.google.com/sdk/gcloud/reference/topic/escaping) if necessary' , args : { name : "PACK" , description : "Dict" , suggestions : [ ] , } , } , { name : "--project" , description : "The Google Cloud Platform project ID to use for this invocation. If\nomitted, then the current project is assumed; the current project can\nbe listed using `gcloud config list --format='text(core.project)'`\nand can be set using `gcloud config set project PROJECTID`.\n+\n`--project` and its fallback `core/project` property play two roles\nin the invocation. It specifies the project of the resource to\noperate on. It also specifies the project for API enablement check,\nquota, and billing. To specify a different project for quota and\nbilling, use `--billing-project` or `billing/quota_project` property" , args : { name : "PROJECT_ID" , description : "String" , suggestions : [ ] , } , } , { name : "--quiet" , description : "Disable all interactive prompts when running gcloud commands. If input\nis required, defaults will be used, or an error will be raised.\nOverrides the default core/disable_prompts property value for this\ncommand invocation. This is equivalent to setting the environment\nvariable `CLOUDSDK_CORE_DISABLE_PROMPTS` to 1" , } , { name : "--region" , description : "The region of the Cloud Build Service to use.\nMust be set to a supported region name (e.g. us-central1).\nIf unset, the global service is used. The global service is isolated from all regional services" , args : { name : "REGION" , description : "String" , suggestions : [ ] , } , } , { name : "--substitutions" , description : 'Parameters to be substituted in the build specification.\n+\nFor example (using some nonsensical substitution keys; all keys must begin with\nan underscore):\n+\n    $ gcloud builds submit . --config config.yaml \\\n        --substitutions _FAVORITE_COLOR=blue,_NUM_CANDIES=10\n+\nThis will result in a build where every occurrence of ```${_FAVORITE_COLOR}```\nin certain fields is replaced by "blue", and similarly for ```${_NUM_CANDIES}```\nand "10".\n+\nOnly the following built-in variables can be specified with the\n`--substitutions` flag: REPO_NAME, BRANCH_NAME, TAG_NAME, REVISION_ID,\nCOMMIT_SHA, SHORT_SHA.\n+\nFor more details, see:\nhttps://cloud.google.com/cloud-build/docs/api/build-requests#substitutions' , args : { name : "KEY=VALUE" , description : "Dict" , suggestions : [ ] , } , } , { name : "--tag" , description : 'The tag to use with a "docker build" image creation. Cloud Build will run a remote "docker build -t $TAG .", where $TAG is the tag provided by this flag. The tag must be in the *gcr.io* or *pkd.dev* namespace. Specify a tag if you want Cloud Build to build using a Dockerfile instead of a build config file. If you specify a tag in this command, your source must include a Dockerfile. For instructions on building using a Dockerfile see https://cloud.google.com/cloud-build/docs/quickstart-build' , args : { name : "TAG" , description : "String" , suggestions : [ ] , } , } , { name : "--timeout" , description : 'Maximum time a build is run before it is failed as `TIMEOUT`. It is specified as a duration; for example, "2h15m5s" is two hours, fifteen minutes, and five seconds. If you don\'t specify a unit, seconds is assumed. For example, "10" is 10 seconds. Overrides the default *builds/timeout* property value for this command invocation' , args : { name : "TIMEOUT" , description : "String" , suggestions : [ ] , } , } , { name : "--trace-token" , description : "Token used to route traces of service requests for investigation of issues. Overrides the default *core/trace_token* property value for this command invocation" , args : { name : "TRACE_TOKEN" , description : "String" , suggestions : [ ] , } , } , { name : "--user-output-enabled" , description : "Print user intended output to the console. Overrides the default *core/user_output_enabled* property value for this command invocation. Use *--no-user-output-enabled* to disable" , } , { name : "--verbosity" , description : "Override the default verbosity for this command. Overrides the default *core/verbosity* property value for this command invocation. _VERBOSITY_ must be one of: *debug*, *info*, *warning*, *error*, *critical*, *none*" , args : { name : "VERBOSITY" , description : "String" , suggestions : [ "debug" , "info" , "warning" , "error" , "critical" , "none" , ] , } , } , { name : "--worker-pool" , description : "Specify a worker pool for the build to run in. Format: projects/{project}/locations/{region}/workerPools/{workerPool}. This field is restricted to custom workers beta users" , args : { name : "WORKER_POOL" , description : "String" , suggestions : [ ] , } , } , ] , args : { name : "SOURCE" , description : "The location of the source to build. The location can be a directory on a local disk or a gzipped archive file (.tar.gz) in Google Cloud Storage. If the source is a local directory, this command skips the files specified in the `--ignore-file`. If `--ignore-file` is not specified, use`.gcloudignore` file. If a `.gcloudignore` file is absent and a `.gitignore` file is present in the local source directory, gcloud will use a generated Git-compatible `.gcloudignore` file that respects your .gitignored files. The global `.gitignore` is not respected. For more information on `.gcloudignore`, see `gcloud topic gcloudignore`" , isVariadic : false , } , } , ] , options : [ { name : "--account" , description : "Google Cloud Platform user account to use for invocation. Overrides the default *core/account* property value for this command invocation" , args : { name : "ACCOUNT" , description : "String" , suggestions : [ ] , } , } , { name : "--billing-project" , description : "The Google Cloud Platform project that will be charged quota for operations performed in gcloud. If you need to operate on one project, but need quota against a different project, you can use this flag to specify the billing project. If both `billing/quota_project` and `--billing-project` are specified, `--billing-project` takes precedence. Run `$ gcloud config set --help` to see more information about `billing/quota_project`" , args : { name : "BILLING_PROJECT" , description : "String" , suggestions : [ ] , } , } , { name : "--configuration" , description : "The configuration to use for this command invocation. For more\ninformation on how to use configurations, run:\n`gcloud topic configurations`.  You can also use the CLOUDSDK_ACTIVE_CONFIG_NAME environment\nvariable to set the equivalent of this flag for a terminal\nsession" , args : { name : "CONFIGURATION" , description : "String" , suggestions : [ ] , } , } , { name : "--flags-file" , description : "A YAML or JSON file that specifies a *--flag*:*value* dictionary.\nUseful for specifying complex flag values with special characters\nthat work with any command interpreter. Additionally, each\n*--flags-file* arg is replaced by its constituent flags. See\n$ gcloud topic flags-file for more information" , args : { name : "YAML_FILE" , description : "String" , suggestions : [ ] , } , } , { name : "--flatten" , description : "Flatten _name_[] output resource slices in _KEY_ into separate records\nfor each item in each slice. Multiple keys and slices may be specified.\nThis also flattens keys for *--format* and *--filter*. For example,\n*--flatten=abc.def* flattens *abc.def[].ghi* references to\n*abc.def.ghi*. A resource record containing *abc.def[]* with N elements\nwill expand to N records in the flattened output. This flag interacts\nwith other flags that are applied in this order: *--flatten*,\n*--sort-by*, *--filter*, *--limit*" , args : { name : "KEY" , description : "List" , suggestions : [ ] , } , } , { name : "--format" , description : "Set the format for printing command output resources. The default is a\ncommand-specific human-friendly output format. The supported formats\nare: `config`, `csv`, `default`, `diff`, `disable`, `flattened`, `get`, `json`, `list`, `multi`, `none`, `object`, `table`, `text`, `value`, `yaml`. For more details run $ gcloud topic formats" , args : { name : "FORMAT" , description : "String" , suggestions : [ ] , } , } , { name : "--help" , description : "Display detailed help" , } , { name : "--impersonate-service-account" , description : "For this gcloud invocation, all API requests will be made as the given service account instead of the currently selected account. This is done without needing to create, download, and activate a key for the account. In order to perform operations as the service account, your currently selected account must have an IAM role that includes the iam.serviceAccounts.getAccessToken permission for the service account. The roles/iam.serviceAccountTokenCreator role has this permission or you may create a custom role. Overrides the default *auth/impersonate_service_account* property value for this command invocation" , args : { name : "SERVICE_ACCOUNT_EMAIL" , description : "String" , suggestions : [ ] , } , } , { name : "--log-http" , description : "Log all HTTP server requests and responses to stderr. Overrides the default *core/log_http* property value for this command invocation" , } , { name : "--project" , description : "The Google Cloud Platform project ID to use for this invocation. If\nomitted, then the current project is assumed; the current project can\nbe listed using `gcloud config list --format='text(core.project)'`\nand can be set using `gcloud config set project PROJECTID`.\n+\n`--project` and its fallback `core/project` property play two roles\nin the invocation. It specifies the project of the resource to\noperate on. It also specifies the project for API enablement check,\nquota, and billing. To specify a different project for quota and\nbilling, use `--billing-project` or `billing/quota_project` property" , args : { name : "PROJECT_ID" , description : "String" , suggestions : [ ] , } , } , { name : "--quiet" , description : "Disable all interactive prompts when running gcloud commands. If input\nis required, defaults will be used, or an error will be raised.\nOverrides the default core/disable_prompts property value for this\ncommand invocation. This is equivalent to setting the environment\nvariable `CLOUDSDK_CORE_DISABLE_PROMPTS` to 1" , } , { name : "--trace-token" , description : "Token used to route traces of service requests for investigation of issues. Overrides the default *core/trace_token* property value for this command invocation" , args : { name : "TRACE_TOKEN" , description : "String" , suggestions : [ ] , } , } , { name : "--user-output-enabled" , description : "Print user intended output to the console. Overrides the default *core/user_output_enabled* property value for this command invocation. Use *--no-user-output-enabled* to disable" , } , { name : "--verbosity" , description : "Override the default verbosity for this command. Overrides the default *core/verbosity* property value for this command invocation. _VERBOSITY_ must be one of: *debug*, *info*, *warning*, *error*, *critical*, *none*" , args : { name : "VERBOSITY" , description : "String" , suggestions : [ "debug" , "info" , "warning" , "error" , "critical" , "none" ] , } , } , ] , } ; export default completionSpec ;