Class MetricsScope (1.4.0)

MetricsScope(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a Metrics Scope <https://cloud.google.com/monitoring/settings#concept-scope>__ in Cloud Monitoring, which specifies one or more Google projects and zero or more AWS accounts to monitor together.

Attributes

NameDescription
name str
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}
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when this Metrics Scope was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when this Metrics Scope record was last updated.
monitored_projects MutableSequence[google.cloud.monitoring_metrics_scope_v1.types.MonitoredProject]
Output only. The list of projects monitored by this Metrics Scope.