blob: 7988aa0e536f876e5f037d30d2b8a85b4efd3ff2 [file] [log] [blame]
yoshi-code-bota36e3b12021-07-27 00:20:26 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="monitoring_v1.html">Cloud Monitoring API</a> . <a href="monitoring_v1.locations.html">locations</a> . <a href="monitoring_v1.locations.global_.html">global_</a> . <a href="monitoring_v1.locations.global_.metricsScopes.html">metricsScopes</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="monitoring_v1.locations.global_.metricsScopes.projects.html">projects()</a></code>
79</p>
80<p class="firstline">Returns the projects Resource.</p>
81
82<p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84<p class="firstline">Close httplib2 connections.</p>
85<p class="toc_element">
86 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
yoshi-code-botcdf480e2021-08-17 00:20:40 -070087<p class="firstline">Returns a specific Metrics Scope, including the list of projects monitored by the specified Metrics Scope.</p>
yoshi-code-bota36e3b12021-07-27 00:20:26 -070088<p class="toc_element">
yoshi-code-botb539cc42021-08-03 00:20:27 -070089 <code><a href="#listMetricsScopesByMonitoredProject">listMetricsScopesByMonitoredProject(monitoredResourceContainer=None, x__xgafv=None)</a></code></p>
yoshi-code-bota36e3b12021-07-27 00:20:26 -070090<p class="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>
91<h3>Method Details</h3>
92<div class="method">
93 <code class="details" id="close">close()</code>
94 <pre>Close httplib2 connections.</pre>
95</div>
96
97<div class="method">
98 <code class="details" id="get">get(name, x__xgafv=None)</code>
yoshi-code-botcdf480e2021-08-17 00:20:40 -070099 <pre>Returns a specific Metrics Scope, including the list of projects monitored by the specified Metrics Scope.
yoshi-code-bota36e3b12021-07-27 00:20:26 -0700100
101Args:
102 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
108Returns:
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 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when this Metrics Scope was created.
113 &quot;monitoredProjects&quot;: [ # 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 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when this MonitoredProject was created.
116 &quot;name&quot;: &quot;A String&quot;, # 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 &quot;name&quot;: &quot;A String&quot;, # 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 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when this Metrics Scope record was last updated.
121}</pre>
122</div>
123
124<div class="method">
yoshi-code-botb539cc42021-08-03 00:20:27 -0700125 <code class="details" id="listMetricsScopesByMonitoredProject">listMetricsScopesByMonitoredProject(monitoredResourceContainer=None, x__xgafv=None)</code>
yoshi-code-bota36e3b12021-07-27 00:20:26 -0700126 <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
128Args:
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
135Returns:
136 An object of the form:
137
138 { # Response for the ListMetricsScopesByMonitoredProject method.
139 &quot;metricsScopes&quot;: [ # 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 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when this Metrics Scope was created.
142 &quot;monitoredProjects&quot;: [ # 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 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when this MonitoredProject was created.
145 &quot;name&quot;: &quot;A String&quot;, # 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 &quot;name&quot;: &quot;A String&quot;, # 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 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when this Metrics Scope record was last updated.
150 },
151 ],
152}</pre>
153</div>
154
155</body></html>