mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-19 07:15:23 +00:00
gcloud: Thu Sep 8 09:21:50 UTC 2022
This commit is contained in:
parent
6749f65ca2
commit
e7bec9b31b
154 changed files with 2457 additions and 577 deletions
|
|
@ -4,8 +4,8 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud beta logging metrics update METRIC_NAME
|
||||
(--config-from-file=CONFIG_FROM_FILE
|
||||
| --description=DESCRIPTION --log-filter=LOG_FILTER)
|
||||
(--config-from-file=CONFIG_FROM_FILE | --bucket-name=BUCKET_NAME
|
||||
--description=DESCRIPTION --log-filter=LOG_FILTER)
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
|
|
@ -38,6 +38,11 @@ EXAMPLES
|
|||
Any top-level fields in the LogMetric definition that aren't specified in
|
||||
the config file will not be updated in the metric.
|
||||
|
||||
To update the bucket associated with a bucket log-based metric, run:
|
||||
|
||||
$ gcloud beta logging metrics update my-bucket-metric \
|
||||
--bucket-name="NEW_BUCKET_NAME"
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
METRIC_NAME
|
||||
The name of the log-based metric to update.
|
||||
|
|
@ -54,6 +59,9 @@ REQUIRED FLAGS
|
|||
Arguments to specify information about simple counter logs-based
|
||||
metrics.
|
||||
|
||||
--bucket-name=BUCKET_NAME
|
||||
The Log Bucket name which owns the log-based metric.
|
||||
|
||||
--description=DESCRIPTION
|
||||
A new description for the metric. If omitted, the description is
|
||||
not changed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue