mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-20 21:20:07 +00:00
gcloud: Wed Mar 26 10:55:24 UTC 2025
This commit is contained in:
parent
e555fef0aa
commit
be9483c980
310 changed files with 9868 additions and 540 deletions
|
|
@ -37,6 +37,8 @@ SYNOPSIS
|
|||
| --no-bypass-cache-on-request-headers]
|
||||
[--cache-key-query-string-blacklist=[QUERY_STRING,...]
|
||||
| --cache-key-query-string-whitelist=QUERY_STRING,[...]]
|
||||
[--clear-custom-metrics | --custom-metrics=[CUSTOM_METRICS,...]
|
||||
| --custom-metrics-file=[CUSTOM_METRICS,...]]
|
||||
[--client-ttl=CLIENT_TTL | --no-client-ttl]
|
||||
[--custom-request-header=CUSTOM_REQUEST_HEADER
|
||||
| --no-custom-request-headers]
|
||||
|
|
@ -571,6 +573,75 @@ FLAGS
|
|||
percent encoded and not treated as delimiters. Can only be applied
|
||||
for global resources.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-custom-metrics
|
||||
Clears current list of CUSTOM_METRICS.
|
||||
|
||||
--custom-metrics=[CUSTOM_METRICS,...]
|
||||
List of custom metrics that are used for WEIGHTED_ROUND_ROBIN
|
||||
locality load balancing policy.
|
||||
|
||||
Example:
|
||||
|
||||
$ gcloud compute backend-services update \
|
||||
--custom-metrics='name=my-signal,dryRun=true'
|
||||
$ gcloud compute backend-services update \
|
||||
--custom-metrics='name=my-signal,dryRun=true' \
|
||||
--custom-metrics='name=my-signal2'
|
||||
$ gcloud compute backend-services update \
|
||||
--custom-metrics='[{"name" : "my-signal", "dryRun" : true},
|
||||
{"name" : "my-signal2"}]'
|
||||
|
||||
Sets custom_metrics value.
|
||||
|
||||
dryRun
|
||||
Sets dryRun value.
|
||||
|
||||
name
|
||||
Required, Sets name value.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--custom-metrics=dryRun=boolean,name=string --custom-metrics=dryRun=boolean,name=string
|
||||
|
||||
JSON Example:
|
||||
|
||||
--custom-metrics='[{"dryRun": boolean, "name": "string"}]'
|
||||
|
||||
File Example:
|
||||
|
||||
--custom-metrics=path_to_file.(yaml|json)
|
||||
|
||||
--custom-metrics-file=[CUSTOM_METRICS,...]
|
||||
File path to json file with custom metrics that are used for
|
||||
WEIGHTED_ROUND_ROBIN locality load balancing policy.
|
||||
|
||||
Example:
|
||||
|
||||
$ gcloud compute backend-services update \
|
||||
--custom-metrics-file='customMetric.json'
|
||||
|
||||
Sets custom_metrics_file value.
|
||||
|
||||
dryRun
|
||||
Sets dryRun value.
|
||||
|
||||
name
|
||||
Required, Sets name value.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--custom-metrics-file=dryRun=boolean,name=string --custom-metrics-file=dryRun=boolean,name=string
|
||||
|
||||
JSON Example:
|
||||
|
||||
--custom-metrics-file='[{"dryRun": boolean, "name": "string"}]'
|
||||
|
||||
File Example:
|
||||
|
||||
--custom-metrics-file=path_to_file.(yaml|json)
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--client-ttl=CLIENT_TTL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue