File: //snap/google-cloud-cli/current/lib/surface/monitoring/metrics_scopes/describe.yaml
- release_tracks: [ALPHA, BETA]
help_text:
brief: Describe a Cloud Monitoring metrics scope.
description: |
Describe a Cloud Monitoring metrics scope along with the list of projects it is monitoring.
More details can be found at https://cloud.google.com/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes/get
examples: |
To describe a metrics scope contained within a specific project, run:
$ {command} MY-METRICS-SCOPE-PROJECT-ID
To describe a metrics scope in JSON, run:
$ {command} MY-METRICS-SCOPE-PROJECT-ID --format=json
To describe a metrics scope with a fully qualified metrics scope ID, run:
$ {command} locations/global/metricsScopes/MY-METRICS-SCOPE-PROJECT-ID
arguments:
resource:
help_text: |
The metrics scope to describe.
is_positional: true
spec: !REF googlecloudsdk.command_lib.monitoring.resources:metrics_scope
request:
collection: monitoring.locations.global.metricsScopes
api_version: v1