Debian Codegraph @

docs/dyn/apigee_v1.organizations.environments.securityStats.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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="apigee_v1.html">Apigee API</a> . <a href="apigee_v1.organizations.html">organizations</a> . <a href="apigee_v1.organizations.environments.html">environments</a> . <a href="apigee_v1.organizations.environments.securityStats.html">securityStats</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#queryTabularStats">queryTabularStats(orgenv, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Retrieve security statistics as tabular rows.</p>
83 <p class="toc_element">
84 <code><a href="#queryTabularStats_next">queryTabularStats_next()</a></code></p>
85 <p class="firstline">Retrieves the next page of results.</p>
86 <p class="toc_element">
87 <code><a href="#queryTimeSeriesStats">queryTimeSeriesStats(orgenv, body=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Retrieve security statistics as a collection of time series.</p>
89 <p class="toc_element">
90 <code><a href="#queryTimeSeriesStats_next">queryTimeSeriesStats_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96 </div>
97
98 <div class="method">
99 <code class="details" id="queryTabularStats">queryTabularStats(orgenv, body=None, x__xgafv=None)</code>
100 <pre>Retrieve security statistics as tabular rows.
101
102 Args:
103 orgenv: string, Required. Should be of the form organizations//environments/. (required)
104 body: object, The request body.
105 The object takes the form of:
106
107 { # Request payload representing the query to be run for fetching security statistics as rows.
108 &quot;dimensions&quot;: [ # Required. List of dimension names to group the aggregations by.
109 &quot;A String&quot;,
110 ],
111 &quot;filter&quot;: &quot;A String&quot;, # Filter further on specific dimension values. Follows the same grammar as custom report&#x27;s filter expressions. Example, apiproxy eq &#x27;foobar&#x27;. https://cloud.google.com/apigee/docs/api-platform/analytics/analytics-reference#filters
112 &quot;metrics&quot;: [ # Required. List of metrics and their aggregations.
113 { # The optionally aggregated metric to query with its ordering.
114 &quot;aggregation&quot;: &quot;A String&quot;, # Aggregation function associated with the metric.
115 &quot;name&quot;: &quot;A String&quot;, # Name of the metric
116 &quot;order&quot;: &quot;A String&quot;, # Ordering for this aggregation in the result. For time series this is ignored since the ordering of points depends only on the timestamp, not the values.
117 },
118 ],
119 &quot;pageSize&quot;: 42, # Page size represents the number of rows.
120 &quot;pageToken&quot;: &quot;A String&quot;, # Identifies a sequence of rows.
121 &quot;timeRange&quot;: { # Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. # Time range for the stats.
122 &quot;endTime&quot;: &quot;A String&quot;, # Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
123 &quot;startTime&quot;: &quot;A String&quot;, # Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
124 },
125 }
126
127 x__xgafv: string, V1 error format.
128 Allowed values
129 1 - v1 error format
130 2 - v2 error format
131
132 Returns:
133 An object of the form:
134
135 { # Encapsulates two kinds of stats that are results of the dimensions and aggregations requested. - Tabular rows. - Time series data. Example of tabular rows, Represents security stats results as a row of flat values.
136 &quot;columns&quot;: [ # Column names corresponding to the same order as the inner values in the stats field.
137 &quot;A String&quot;,
138 ],
139 &quot;nextPageToken&quot;: &quot;A String&quot;, # Next page token.
140 &quot;values&quot;: [ # Resultant rows from the executed query.
141 [
142 &quot;&quot;,
143 ],
144 ],
145 }</pre>
146 </div>
147
148 <div class="method">
149 <code class="details" id="queryTabularStats_next">queryTabularStats_next()</code>
150 <pre>Retrieves the next page of results.
151
152 Args:
153 previous_request: The request for the previous page. (required)
154 previous_response: The response from the request for the previous page. (required)
155
156 Returns:
157 A request object that you can call &#x27;execute()&#x27; on to request the next
158 page. Returns None if there are no more items in the collection.
159 </pre>
160 </div>
161
162 <div class="method">
163 <code class="details" id="queryTimeSeriesStats">queryTimeSeriesStats(orgenv, body=None, x__xgafv=None)</code>
164 <pre>Retrieve security statistics as a collection of time series.
165
166 Args:
167 orgenv: string, Required. Should be of the form organizations//environments/. (required)
168 body: object, The request body.
169 The object takes the form of:
170
171 { # QueryTimeSeriesStatsRequest represents a query that returns a collection of time series sequences grouped by their values.
172 &quot;dimensions&quot;: [ # List of dimension names to group the aggregations by. If no dimensions are passed, a single trend line representing the requested metric aggregations grouped by environment is returned.
173 &quot;A String&quot;,
174 ],
175 &quot;filter&quot;: &quot;A String&quot;, # Filter further on specific dimension values. Follows the same grammar as custom report&#x27;s filter expressions. Example, apiproxy eq &#x27;foobar&#x27;. https://cloud.google.com/apigee/docs/api-platform/analytics/analytics-reference#filters
176 &quot;metrics&quot;: [ # Required. List of metrics and their aggregations.
177 { # The optionally aggregated metric to query with its ordering.
178 &quot;aggregation&quot;: &quot;A String&quot;, # Aggregation function associated with the metric.
179 &quot;name&quot;: &quot;A String&quot;, # Name of the metric
180 &quot;order&quot;: &quot;A String&quot;, # Ordering for this aggregation in the result. For time series this is ignored since the ordering of points depends only on the timestamp, not the values.
181 },
182 ],
183 &quot;pageSize&quot;: 42, # Page size represents the number of time series sequences, one per unique set of dimensions and their values.
184 &quot;pageToken&quot;: &quot;A String&quot;, # Page token stands for a specific collection of time series sequences.
185 &quot;timeRange&quot;: { # Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. # Required. Time range for the stats.
186 &quot;endTime&quot;: &quot;A String&quot;, # Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
187 &quot;startTime&quot;: &quot;A String&quot;, # Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
188 },
189 &quot;timestampOrder&quot;: &quot;A String&quot;, # Order the sequences in increasing or decreasing order of timestamps. Default is descending order of timestamps (latest first).
190 &quot;windowSize&quot;: &quot;A String&quot;, # Time buckets to group the stats by.
191 }
192
193 x__xgafv: string, V1 error format.
194 Allowed values
195 1 - v1 error format
196 2 - v2 error format
197
198 Returns:
199 An object of the form:
200
201 { # Represents security stats result as a collection of time series sequences.
202 &quot;columns&quot;: [ # Column names corresponding to the same order as the inner values in the stats field.
203 &quot;A String&quot;,
204 ],
205 &quot;nextPageToken&quot;: &quot;A String&quot;, # Next page token.
206 &quot;values&quot;: [ # Results of the query returned as a JSON array.
207 { # A sequence of time series.
208 &quot;dimensions&quot;: { # Map of dimensions and their values that uniquely identifies a time series sequence.
209 &quot;a_key&quot;: &quot;A String&quot;,
210 },
211 &quot;points&quot;: [ # List of points. First value of each inner list is a timestamp.
212 [
213 &quot;&quot;,
214 ],
215 ],
216 },
217 ],
218 }</pre>
219 </div>
220
221 <div class="method">
222 <code class="details" id="queryTimeSeriesStats_next">queryTimeSeriesStats_next()</code>
223 <pre>Retrieves the next page of results.
224
225 Args:
226 previous_request: The request for the previous page. (required)
227 previous_response: The response from the request for the previous page. (required)
228
229 Returns:
230 A request object that you can call &#x27;execute()&#x27; on to request the next
231 page. Returns None if there are no more items in the collection.
232 </pre>
233 </div>
234
235 </body></html>