Debian Codegraph @

docs/dyn/apigee_v1.organizations.securityMonitoringConditions.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.securityMonitoringConditions.html">securityMonitoringConditions</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="#create">create(parent, body=None, securityMonitoringConditionId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Create a security monitoring condition.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, riskAssessmentType=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Delete a security monitoring condition.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, riskAssessmentType=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Get a security monitoring condition.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, riskAssessmentType=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">List security monitoring conditions.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Update a security monitoring condition.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, body=None, securityMonitoringConditionId=None, x__xgafv=None)</code>
106 <pre>Create a security monitoring condition.
107
108 Args:
109 parent: string, Required. The parent resource name. Format: `organizations/{org}` (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # Security monitoring condition for risk assessment version 2.
114 &quot;apiHubGateway&quot;: &quot;A String&quot;, # Optional. The API Hub gateway monitored by the security monitoring condition. This should only be set if risk_assessment_type is API_HUB. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
115 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the security monitoring condition creation.
116 &quot;include&quot;: { # Message for the array of resources. For Apigee, the proxies are resources. # Include only these resources.
117 &quot;resources&quot;: [ # Required. The array of resources. For Apigee, the proxies are resources.
118 { # Resource for which we are computing security assessment.
119 &quot;name&quot;: &quot;A String&quot;, # Required. Name of this resource. For an Apigee API Proxy, this should be the id of the API proxy. For an API Hub Deployment, this should be the id of the deployment.
120 &quot;type&quot;: &quot;A String&quot;, # Required. Type of this resource.
121 },
122 ],
123 },
124 &quot;includeAllResources&quot;: { # Message for include_all_resources option. # Include all resources under the scope.
125 },
126 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the security monitoring condition resource. Format: organizations/{org}/securityMonitoringConditions/{security_monitoring_condition}
127 &quot;profile&quot;: &quot;A String&quot;, # Required. ID of security profile of the security monitoring condition.
128 &quot;riskAssessmentType&quot;: &quot;A String&quot;, # Optional. The risk assessment type of the security monitoring condition. Defaults to ADVANCED_API_SECURITY.
129 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope of the security monitoring condition. When RiskAssessmentType is APIGEE, the scope should be set to the environment of the resources. When RiskAssessmentType is API_HUB, the scope should not be set.
130 &quot;totalDeployedResources&quot;: 42, # Output only. Total number of deployed resources within scope.
131 &quot;totalMonitoredResources&quot;: 42, # Output only. Total number of monitored resources within this condition.
132 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time of the security monitoring condition update.
133 }
134
135 securityMonitoringConditionId: string, Optional. Optional: The security monitoring condition id. If not specified, a monitoring condition uuid will be generated by the backend. This value should be 4-63 characters, and valid characters are /a-z-/.
136 x__xgafv: string, V1 error format.
137 Allowed values
138 1 - v1 error format
139 2 - v2 error format
140
141 Returns:
142 An object of the form:
143
144 { # Security monitoring condition for risk assessment version 2.
145 &quot;apiHubGateway&quot;: &quot;A String&quot;, # Optional. The API Hub gateway monitored by the security monitoring condition. This should only be set if risk_assessment_type is API_HUB. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
146 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the security monitoring condition creation.
147 &quot;include&quot;: { # Message for the array of resources. For Apigee, the proxies are resources. # Include only these resources.
148 &quot;resources&quot;: [ # Required. The array of resources. For Apigee, the proxies are resources.
149 { # Resource for which we are computing security assessment.
150 &quot;name&quot;: &quot;A String&quot;, # Required. Name of this resource. For an Apigee API Proxy, this should be the id of the API proxy. For an API Hub Deployment, this should be the id of the deployment.
151 &quot;type&quot;: &quot;A String&quot;, # Required. Type of this resource.
152 },
153 ],
154 },
155 &quot;includeAllResources&quot;: { # Message for include_all_resources option. # Include all resources under the scope.
156 },
157 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the security monitoring condition resource. Format: organizations/{org}/securityMonitoringConditions/{security_monitoring_condition}
158 &quot;profile&quot;: &quot;A String&quot;, # Required. ID of security profile of the security monitoring condition.
159 &quot;riskAssessmentType&quot;: &quot;A String&quot;, # Optional. The risk assessment type of the security monitoring condition. Defaults to ADVANCED_API_SECURITY.
160 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope of the security monitoring condition. When RiskAssessmentType is APIGEE, the scope should be set to the environment of the resources. When RiskAssessmentType is API_HUB, the scope should not be set.
161 &quot;totalDeployedResources&quot;: 42, # Output only. Total number of deployed resources within scope.
162 &quot;totalMonitoredResources&quot;: 42, # Output only. Total number of monitored resources within this condition.
163 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time of the security monitoring condition update.
164 }</pre>
165 </div>
166
167 <div class="method">
168 <code class="details" id="delete">delete(name, riskAssessmentType=None, x__xgafv=None)</code>
169 <pre>Delete a security monitoring condition.
170
171 Args:
172 name: string, Required. The name of the security monitoring condition to delete. Format: `organizations/{org}/securityMonitoringConditions/{security_monitoring_condition}` (required)
173 riskAssessmentType: string, Optional. The risk assessment type of the security monitoring condition. Defaults to ADVANCED_API_SECURITY.
174 Allowed values
175 RISK_ASSESSMENT_TYPE_UNSPECIFIED - Risk assessment type is not specified.
176 APIGEE - Risk assessment type is Apigee.
177 API_HUB - Risk assessment type is API Hub.
178 x__xgafv: string, V1 error format.
179 Allowed values
180 1 - v1 error format
181 2 - v2 error format
182
183 Returns:
184 An object of the form:
185
186 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
187 }</pre>
188 </div>
189
190 <div class="method">
191 <code class="details" id="get">get(name, riskAssessmentType=None, x__xgafv=None)</code>
192 <pre>Get a security monitoring condition.
193
194 Args:
195 name: string, Required. The name of the security monitoring condition to get. Format: `organizations/{org}/securityMonitoringConditions/{security_monitoring_condition}` (required)
196 riskAssessmentType: string, Optional. The risk assessment type of the security monitoring condition. Defaults to ADVANCED_API_SECURITY.
197 Allowed values
198 RISK_ASSESSMENT_TYPE_UNSPECIFIED - Risk assessment type is not specified.
199 APIGEE - Risk assessment type is Apigee.
200 API_HUB - Risk assessment type is API Hub.
201 x__xgafv: string, V1 error format.
202 Allowed values
203 1 - v1 error format
204 2 - v2 error format
205
206 Returns:
207 An object of the form:
208
209 { # Security monitoring condition for risk assessment version 2.
210 &quot;apiHubGateway&quot;: &quot;A String&quot;, # Optional. The API Hub gateway monitored by the security monitoring condition. This should only be set if risk_assessment_type is API_HUB. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
211 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the security monitoring condition creation.
212 &quot;include&quot;: { # Message for the array of resources. For Apigee, the proxies are resources. # Include only these resources.
213 &quot;resources&quot;: [ # Required. The array of resources. For Apigee, the proxies are resources.
214 { # Resource for which we are computing security assessment.
215 &quot;name&quot;: &quot;A String&quot;, # Required. Name of this resource. For an Apigee API Proxy, this should be the id of the API proxy. For an API Hub Deployment, this should be the id of the deployment.
216 &quot;type&quot;: &quot;A String&quot;, # Required. Type of this resource.
217 },
218 ],
219 },
220 &quot;includeAllResources&quot;: { # Message for include_all_resources option. # Include all resources under the scope.
221 },
222 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the security monitoring condition resource. Format: organizations/{org}/securityMonitoringConditions/{security_monitoring_condition}
223 &quot;profile&quot;: &quot;A String&quot;, # Required. ID of security profile of the security monitoring condition.
224 &quot;riskAssessmentType&quot;: &quot;A String&quot;, # Optional. The risk assessment type of the security monitoring condition. Defaults to ADVANCED_API_SECURITY.
225 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope of the security monitoring condition. When RiskAssessmentType is APIGEE, the scope should be set to the environment of the resources. When RiskAssessmentType is API_HUB, the scope should not be set.
226 &quot;totalDeployedResources&quot;: 42, # Output only. Total number of deployed resources within scope.
227 &quot;totalMonitoredResources&quot;: 42, # Output only. Total number of monitored resources within this condition.
228 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time of the security monitoring condition update.
229 }</pre>
230 </div>
231
232 <div class="method">
233 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, riskAssessmentType=None, x__xgafv=None)</code>
234 <pre>List security monitoring conditions.
235
236 Args:
237 parent: string, Required. For a specific organization, list all the security monitoring conditions. Format: `organizations/{org}` (required)
238 filter: string, Optional. Filter for the monitoring conditions. When RiskAssessmentType is APIGEE, monitoring conditions can be filtered by profile and scope. For example: `profile=profile1 AND scope=env1` When RiskAssessmentType is API_HUB, monitoring conditions can be filtered by profile and api_hub_gateway. For example: `profile=profile1 AND api_hub_gateway=gateway1`
239 pageSize: integer, Optional. The maximum number of monitoring conditions to return.
240 pageToken: string, Optional. A page token, received from a previous `ListSecurityMonitoringConditions` call. Provide this to retrieve the subsequent page.
241 riskAssessmentType: string, Optional. The risk assessment type of the security monitoring condition. Defaults to ADVANCED_API_SECURITY.
242 Allowed values
243 RISK_ASSESSMENT_TYPE_UNSPECIFIED - Risk assessment type is not specified.
244 APIGEE - Risk assessment type is Apigee.
245 API_HUB - Risk assessment type is API Hub.
246 x__xgafv: string, V1 error format.
247 Allowed values
248 1 - v1 error format
249 2 - v2 error format
250
251 Returns:
252 An object of the form:
253
254 { # Response for ListSecurityMonitoringConditions.
255 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
256 &quot;securityMonitoringConditions&quot;: [ # List of security monitoring conditions in the organization.
257 { # Security monitoring condition for risk assessment version 2.
258 &quot;apiHubGateway&quot;: &quot;A String&quot;, # Optional. The API Hub gateway monitored by the security monitoring condition. This should only be set if risk_assessment_type is API_HUB. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
259 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the security monitoring condition creation.
260 &quot;include&quot;: { # Message for the array of resources. For Apigee, the proxies are resources. # Include only these resources.
261 &quot;resources&quot;: [ # Required. The array of resources. For Apigee, the proxies are resources.
262 { # Resource for which we are computing security assessment.
263 &quot;name&quot;: &quot;A String&quot;, # Required. Name of this resource. For an Apigee API Proxy, this should be the id of the API proxy. For an API Hub Deployment, this should be the id of the deployment.
264 &quot;type&quot;: &quot;A String&quot;, # Required. Type of this resource.
265 },
266 ],
267 },
268 &quot;includeAllResources&quot;: { # Message for include_all_resources option. # Include all resources under the scope.
269 },
270 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the security monitoring condition resource. Format: organizations/{org}/securityMonitoringConditions/{security_monitoring_condition}
271 &quot;profile&quot;: &quot;A String&quot;, # Required. ID of security profile of the security monitoring condition.
272 &quot;riskAssessmentType&quot;: &quot;A String&quot;, # Optional. The risk assessment type of the security monitoring condition. Defaults to ADVANCED_API_SECURITY.
273 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope of the security monitoring condition. When RiskAssessmentType is APIGEE, the scope should be set to the environment of the resources. When RiskAssessmentType is API_HUB, the scope should not be set.
274 &quot;totalDeployedResources&quot;: 42, # Output only. Total number of deployed resources within scope.
275 &quot;totalMonitoredResources&quot;: 42, # Output only. Total number of monitored resources within this condition.
276 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time of the security monitoring condition update.
277 },
278 ],
279 }</pre>
280 </div>
281
282 <div class="method">
283 <code class="details" id="list_next">list_next()</code>
284 <pre>Retrieves the next page of results.
285
286 Args:
287 previous_request: The request for the previous page. (required)
288 previous_response: The response from the request for the previous page. (required)
289
290 Returns:
291 A request object that you can call &#x27;execute()&#x27; on to request the next
292 page. Returns None if there are no more items in the collection.
293 </pre>
294 </div>
295
296 <div class="method">
297 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
298 <pre>Update a security monitoring condition.
299
300 Args:
301 name: string, Identifier. Name of the security monitoring condition resource. Format: organizations/{org}/securityMonitoringConditions/{security_monitoring_condition} (required)
302 body: object, The request body.
303 The object takes the form of:
304
305 { # Security monitoring condition for risk assessment version 2.
306 &quot;apiHubGateway&quot;: &quot;A String&quot;, # Optional. The API Hub gateway monitored by the security monitoring condition. This should only be set if risk_assessment_type is API_HUB. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
307 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the security monitoring condition creation.
308 &quot;include&quot;: { # Message for the array of resources. For Apigee, the proxies are resources. # Include only these resources.
309 &quot;resources&quot;: [ # Required. The array of resources. For Apigee, the proxies are resources.
310 { # Resource for which we are computing security assessment.
311 &quot;name&quot;: &quot;A String&quot;, # Required. Name of this resource. For an Apigee API Proxy, this should be the id of the API proxy. For an API Hub Deployment, this should be the id of the deployment.
312 &quot;type&quot;: &quot;A String&quot;, # Required. Type of this resource.
313 },
314 ],
315 },
316 &quot;includeAllResources&quot;: { # Message for include_all_resources option. # Include all resources under the scope.
317 },
318 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the security monitoring condition resource. Format: organizations/{org}/securityMonitoringConditions/{security_monitoring_condition}
319 &quot;profile&quot;: &quot;A String&quot;, # Required. ID of security profile of the security monitoring condition.
320 &quot;riskAssessmentType&quot;: &quot;A String&quot;, # Optional. The risk assessment type of the security monitoring condition. Defaults to ADVANCED_API_SECURITY.
321 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope of the security monitoring condition. When RiskAssessmentType is APIGEE, the scope should be set to the environment of the resources. When RiskAssessmentType is API_HUB, the scope should not be set.
322 &quot;totalDeployedResources&quot;: 42, # Output only. Total number of deployed resources within scope.
323 &quot;totalMonitoredResources&quot;: 42, # Output only. Total number of monitored resources within this condition.
324 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time of the security monitoring condition update.
325 }
326
327 updateMask: string, Optional. The list of fields to update. Valid fields to update are `include_all_resources` and `include`.
328 x__xgafv: string, V1 error format.
329 Allowed values
330 1 - v1 error format
331 2 - v2 error format
332
333 Returns:
334 An object of the form:
335
336 { # Security monitoring condition for risk assessment version 2.
337 &quot;apiHubGateway&quot;: &quot;A String&quot;, # Optional. The API Hub gateway monitored by the security monitoring condition. This should only be set if risk_assessment_type is API_HUB. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
338 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time of the security monitoring condition creation.
339 &quot;include&quot;: { # Message for the array of resources. For Apigee, the proxies are resources. # Include only these resources.
340 &quot;resources&quot;: [ # Required. The array of resources. For Apigee, the proxies are resources.
341 { # Resource for which we are computing security assessment.
342 &quot;name&quot;: &quot;A String&quot;, # Required. Name of this resource. For an Apigee API Proxy, this should be the id of the API proxy. For an API Hub Deployment, this should be the id of the deployment.
343 &quot;type&quot;: &quot;A String&quot;, # Required. Type of this resource.
344 },
345 ],
346 },
347 &quot;includeAllResources&quot;: { # Message for include_all_resources option. # Include all resources under the scope.
348 },
349 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the security monitoring condition resource. Format: organizations/{org}/securityMonitoringConditions/{security_monitoring_condition}
350 &quot;profile&quot;: &quot;A String&quot;, # Required. ID of security profile of the security monitoring condition.
351 &quot;riskAssessmentType&quot;: &quot;A String&quot;, # Optional. The risk assessment type of the security monitoring condition. Defaults to ADVANCED_API_SECURITY.
352 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope of the security monitoring condition. When RiskAssessmentType is APIGEE, the scope should be set to the environment of the resources. When RiskAssessmentType is API_HUB, the scope should not be set.
353 &quot;totalDeployedResources&quot;: 42, # Output only. Total number of deployed resources within scope.
354 &quot;totalMonitoredResources&quot;: 42, # Output only. Total number of monitored resources within this condition.
355 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time of the security monitoring condition update.
356 }</pre>
357 </div>
358
359 </body></html>