REST Resource: locations.global.metricsScopes

Resource: MetricsScope

Represents a Metrics 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 (MonitoredProject)
    }
  ]
}
Fields
name

string

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: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}

createTime

string (Timestamp format)

Output only. The time when this Metrics Scope was created.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. The time when this Metrics Scope record was last updated.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

monitoredProjects[]

object (MonitoredProject)

Output only. The list of projects monitored by this Metrics Scope.

Methods

get

Returns a specific Metrics Scope, including the list of projects monitored by the specified Metrics Scope.

listMetricsScopesByMonitoredProject

Returns a list of every Metrics Scope that a specific MonitoredProject has been added to.