gcloud alpha monitoring metrics-scopes describe

NAME
gcloud alpha monitoring metrics-scopes describe - describe a Cloud Monitoring metrics scope
SYNOPSIS
gcloud alpha monitoring metrics-scopes describeMETRICS_SCOPE[GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Describe a Cloud Monitoring metrics scope along with thelist of projects it is monitoring.

More details can be found athttps://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:
gcloudalphamonitoringmetrics-scopesdescribeMY-METRICS-SCOPE-PROJECT-ID

To describe a metrics scope in JSON, run:

gcloudalphamonitoringmetrics-scopesdescribeMY-METRICS-SCOPE-PROJECT-ID--format=json

To describe a metrics scope with a fully qualified metrics scope ID, run:

gcloudalphamonitoringmetrics-scopesdescribelocations/global/metricsScopes/MY-METRICS-SCOPE-PROJECT-ID
POSITIONAL ARGUMENTS
Metrics scope resource - The metrics scope to describe. This represents a Cloudresource.

This must be specified.

METRICS_SCOPE
ID of the metrics_scope or fully qualified identifier for the metrics_scope.

To set themetrics_scope attribute:

  • provide the argumentmetrics_scope on the command line.
GCLOUD WIDE FLAGS
These flags are available to all commands:--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.

Run$gcloud help for details.

API REFERENCE
This command uses themonitoring/v1 API. The full documentation forthis API can be found at:https://cloud.google.com/monitoring/api/
NOTES
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. This variant is also available:
gcloudbetamonitoringmetrics-scopesdescribe

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.