REST Resource: locations.global.metricsScopes Stay organized with collections Save and categorize content based on your preferences.
Resource: MetricsScope
Represents aMetrics Scope in Cloud Monitoring, which specifies one or more Google projects and zero or more AWS accounts to monitor together.
| JSON representation |
|---|
{"name":string,"createTime":string,"updateTime":string,"monitoredProjects":[{object ( |
| Fields | |
|---|---|
name |
Immutable. The resource name of the Monitoring Metrics Scope. On input, the resource name can be specified with the scoping project ID or number. On output, the resource name is specified with the scoping project number. Example: |
createTime |
Output only. The time when this Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The time when this Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
monitoredProjects[] |
Output only. The list of projects monitored by this |
Methods | |
|---|---|
| Returns a specificMetrics Scope, including the list of projects monitored by the specifiedMetrics Scope. |
| Returns a list of everyMetrics Scope that a specificMonitoredProject has been added to. |
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-08-25 UTC.