• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<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_v3.html">Stackdriver Monitoring API</a> . <a href="monitoring_v3.projects.html">projects</a> . <a href="monitoring_v3.projects.groups.html">groups</a> . <a href="monitoring_v3.projects.groups.members.html">members</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#list">list(name, pageSize=None, pageToken=None, interval_endTime=None, x__xgafv=None, interval_startTime=None, filter=None)</a></code></p>
79<p class="firstline">Lists the monitored resources that are members of a group.</p>
80<p class="toc_element">
81  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
82<p class="firstline">Retrieves the next page of results.</p>
83<h3>Method Details</h3>
84<div class="method">
85    <code class="details" id="list">list(name, pageSize=None, pageToken=None, interval_endTime=None, x__xgafv=None, interval_startTime=None, filter=None)</code>
86  <pre>Lists the monitored resources that are members of a group.
87
88Args:
89  name: string, The group whose members are listed. The format is "projects/{project_id_or_number}/groups/{group_id}". (required)
90  pageSize: integer, A positive number that is the maximum number of results to return.
91  pageToken: string, If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.
92  interval_endTime: string, Required. The end of the time interval.
93  x__xgafv: string, V1 error format.
94    Allowed values
95      1 - v1 error format
96      2 - v2 error format
97  interval_startTime: string, Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.
98  filter: string, An optional list filter describing the members to be returned. The filter may reference the type, labels, and metadata of monitored resources that comprise the group. For example, to return only resources representing Compute Engine VM instances, use this filter:
99resource.type = "gce_instance"
100
101
102Returns:
103  An object of the form:
104
105    { # The ListGroupMembers response.
106    "nextPageToken": "A String", # If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as pageToken in the next call to this method.
107    "totalSize": 42, # The total number of elements matching this request.
108    "members": [ # A set of monitored resources in the group.
109      { # An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "zone":
110          # { "type": "gce_instance",
111          #   "labels": { "instance_id": "12345678901234",
112          #               "zone": "us-central1-a" }}
113        "labels": { # Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id", and "zone".
114          "a_key": "A String",
115        },
116        "type": "A String", # Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types and Logging resource types.
117      },
118    ],
119  }</pre>
120</div>
121
122<div class="method">
123    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
124  <pre>Retrieves the next page of results.
125
126Args:
127  previous_request: The request for the previous page. (required)
128  previous_response: The response from the request for the previous page. (required)
129
130Returns:
131  A request object that you can call 'execute()' on to request the next
132  page. Returns None if there are no more items in the collection.
133    </pre>
134</div>
135
136</body></html>