REST Resource: locations.global.metricsScopes.projects

Resource: MonitoredProject

Aproject being monitored by aMetrics Scope.

JSON representation
{"name":string,"createTime":string,"isTombstoned":boolean}
Fields
name

string

Immutable. The resource name of theMonitoredProject. On input, the resource name includes the scoping project ID and monitored project ID. On output, it contains the equivalent project numbers. Example:locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}

createTime

string (Timestamp format)

Output only. The time when thisMonitoredProject was created.

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:"2014-10-02T15:01:23Z","2014-10-02T15:01:23.045123456Z" or"2014-10-02T15:01:23+05:30".

isTombstoned

boolean

Output only. Set if the project has been tombstoned by the user.

Methods

create

Adds aMonitoredProject with the given project ID to the specifiedMetrics Scope.

delete

Deletes aMonitoredProject from the specifiedMetrics Scope.

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.