Package google.monitoring.metricsscope.v1 Stay organized with collections Save and categorize content based on your preferences.
Index
MetricsScopes(interface)CreateMonitoredProjectRequest(message)DeleteMonitoredProjectRequest(message)GetMetricsScopeRequest(message)ListMetricsScopesByMonitoredProjectRequest(message)ListMetricsScopesByMonitoredProjectResponse(message)MetricsScope(message)MonitoredProject(message)OperationMetadata(message)OperationMetadata.State(enum)
MetricsScopes
Manages Cloud Monitoring Metrics Scopes, and the monitoring of Google Cloud projects and AWS accounts.
| CreateMonitoredProject |
|---|
Adds a
|
| DeleteMonitoredProject |
|---|
Deletes a
|
| GetMetricsScope |
|---|
Returns a specific
|
| ListMetricsScopesByMonitoredProject |
|---|
Returns a list of every
|
CreateMonitoredProjectRequest
Request for theCreateMonitoredProject method.
| Fields | |
|---|---|
parent |
Required. The resource name of the existing |
monitored_project | Required. The initial |
DeleteMonitoredProjectRequest
Request for theDeleteMonitoredProject method.
| Fields | |
|---|---|
name |
Required. The resource name of the Authorization requires the followingGoogle IAM permissions on both the |
GetMetricsScopeRequest
Request for theGetMetricsScope method.
| Fields | |
|---|---|
name |
Required. The resource name of the Authorization requires the followingIAM permission on the specified resource
|
ListMetricsScopesByMonitoredProjectRequest
Request for theListMetricsScopesByMonitoredProject method.
| Fields | |
|---|---|
monitored_resource_container |
Required. The resource name of the Authorization requires the followingIAM permission on the specified resource
|
ListMetricsScopesByMonitoredProjectResponse
Response for theListMetricsScopesByMonitoredProject method.
| Fields | |
|---|---|
metrics_scopes[] | A set of all metrics scopes that the specified monitored project has been added to. |
MetricsScope
Represents aMetrics Scope in Cloud Monitoring, which specifies one or more Google projects and zero or more AWS accounts to monitor together.
| 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: |
create_time | Output only. The time when this |
update_time | Output only. The time when this |
monitored_projects[] | Output only. The list of projects monitored by this |
MonitoredProject
Aproject being monitored by aMetrics Scope.
| Fields | |
|---|---|
name |
Immutable. The resource name of the |
create_time | Output only. The time when this |
is_tombstoned |
Output only. Set if the project has been tombstoned by the user. |
OperationMetadata
Contains metadata for longrunning operation for the edit Metrics Scope endpoints.
| Fields | |
|---|---|
state | Current state of the batch operation. |
create_time | The time when the batch request was received. |
update_time | The time when the operation result was last updated. |
State
Batch operation states.
| Enums | |
|---|---|
STATE_UNSPECIFIED | Invalid. |
CREATED | Request has been received. |
RUNNING | Request is actively being processed. |
DONE | The batch processing is done. |
CANCELLED | The batch processing was cancelled. |
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-07-23 UTC.