You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="firstline">Returns a list of every Metrics Scope that a specific MonitoredProject has been added to. The metrics scope representing the specified monitored project will always be the first entry in the response.</p>
name: string, Required. The resource name of the Metrics Scope. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER} (required)
103
+
x__xgafv: string, V1 error format.
104
+
Allowed values
105
+
1 - v1 error format
106
+
2 - v2 error format
107
+
108
+
Returns:
109
+
An object of the form:
110
+
111
+
{ # 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.
112
+
"createTime": "A String", # Output only. The time when this Metrics Scope was created.
113
+
"monitoredProjects": [ # Output only. The list of projects monitored by this Metrics Scope.
114
+
{ # A project being monitored (https://cloud.google.com/monitoring/settings/multiple-projects#create-multi) by a Metrics Scope.
115
+
"createTime": "A String", # Output only. The time when this MonitoredProject was created.
116
+
"name": "A String", # Immutable. The resource name of the MonitoredProject. 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}
117
+
},
118
+
],
119
+
"name": "A 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}
120
+
"updateTime": "A String", # Output only. The time when this Metrics Scope record was last updated.
<pre>Returns a list of every Metrics Scope that a specific MonitoredProject has been added to. The metrics scope representing the specified monitored project will always be the first entry in the response.
127
+
128
+
Args:
129
+
monitoredResourceContainer: string, Required. The resource name of the Monitored Project being requested. Example: projects/{MONITORED_PROJECT_ID_OR_NUMBER}
130
+
x__xgafv: string, V1 error format.
131
+
Allowed values
132
+
1 - v1 error format
133
+
2 - v2 error format
134
+
135
+
Returns:
136
+
An object of the form:
137
+
138
+
{ # Response for the ListMetricsScopesByMonitoredProject method.
139
+
"metricsScopes": [ # A set of all metrics scopes that the specified monitored project has been added to.
140
+
{ # 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.
141
+
"createTime": "A String", # Output only. The time when this Metrics Scope was created.
142
+
"monitoredProjects": [ # Output only. The list of projects monitored by this Metrics Scope.
143
+
{ # A project being monitored (https://cloud.google.com/monitoring/settings/multiple-projects#create-multi) by a Metrics Scope.
144
+
"createTime": "A String", # Output only. The time when this MonitoredProject was created.
145
+
"name": "A String", # Immutable. The resource name of the MonitoredProject. 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}
146
+
},
147
+
],
148
+
"name": "A 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}
149
+
"updateTime": "A String", # Output only. The time when this Metrics Scope record was last updated.
0 commit comments