blob: 37fd2fe491c341eeecabe120ce31434b2d995d9b [file] [log] [blame]
Dmitry Frenkel3e17f892020-10-06 16:46:05 -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="securitycenter_v1beta2.html">Security Command Center API</a> . <a href="securitycenter_v1beta2.projects.html">projects</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="securitycenter_v1beta2.projects.containerThreatDetectionSettings.html">containerThreatDetectionSettings()</a></code>
79</p>
80<p class="firstline">Returns the containerThreatDetectionSettings Resource.</p>
81
82<p class="toc_element">
83 <code><a href="securitycenter_v1beta2.projects.eventThreatDetectionSettings.html">eventThreatDetectionSettings()</a></code>
84</p>
85<p class="firstline">Returns the eventThreatDetectionSettings Resource.</p>
86
87<p class="toc_element">
88 <code><a href="securitycenter_v1beta2.projects.locations.html">locations()</a></code>
89</p>
90<p class="firstline">Returns the locations Resource.</p>
91
92<p class="toc_element">
93 <code><a href="securitycenter_v1beta2.projects.securityHealthAnalyticsSettings.html">securityHealthAnalyticsSettings()</a></code>
94</p>
95<p class="firstline">Returns the securityHealthAnalyticsSettings Resource.</p>
96
97<p class="toc_element">
98 <code><a href="securitycenter_v1beta2.projects.webSecurityScannerSettings.html">webSecurityScannerSettings()</a></code>
99</p>
100<p class="firstline">Returns the webSecurityScannerSettings Resource.</p>
101
102<p class="toc_element">
103 <code><a href="#close">close()</a></code></p>
104<p class="firstline">Close httplib2 connections.</p>
105<p class="toc_element">
106 <code><a href="#getContainerThreatDetectionSettings">getContainerThreatDetectionSettings(name, x__xgafv=None)</a></code></p>
107<p class="firstline">Get the ContainerThreatDetectionSettings resource.</p>
108<p class="toc_element">
109 <code><a href="#getEventThreatDetectionSettings">getEventThreatDetectionSettings(name, x__xgafv=None)</a></code></p>
110<p class="firstline">Get the EventThreatDetectionSettings resource.</p>
111<p class="toc_element">
112 <code><a href="#getSecurityHealthAnalyticsSettings">getSecurityHealthAnalyticsSettings(name, x__xgafv=None)</a></code></p>
113<p class="firstline">Get the SecurityHealthAnalyticsSettings resource.</p>
114<p class="toc_element">
115 <code><a href="#getWebSecurityScannerSettings">getWebSecurityScannerSettings(name, x__xgafv=None)</a></code></p>
116<p class="firstline">Get the WebSecurityScannerSettings resource.</p>
117<p class="toc_element">
118 <code><a href="#updateContainerThreatDetectionSettings">updateContainerThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
119<p class="firstline">Update the ContainerThreatDetectionSettings resource.</p>
120<p class="toc_element">
121 <code><a href="#updateEventThreatDetectionSettings">updateEventThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
122<p class="firstline">Update the EventThreatDetectionSettings resource.</p>
123<p class="toc_element">
124 <code><a href="#updateSecurityHealthAnalyticsSettings">updateSecurityHealthAnalyticsSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
125<p class="firstline">Update the SecurityHealthAnalyticsSettings resource.</p>
126<p class="toc_element">
127 <code><a href="#updateWebSecurityScannerSettings">updateWebSecurityScannerSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
128<p class="firstline">Update the WebSecurityScannerSettings resource.</p>
129<h3>Method Details</h3>
130<div class="method">
131 <code class="details" id="close">close()</code>
132 <pre>Close httplib2 connections.</pre>
133</div>
134
135<div class="method">
136 <code class="details" id="getContainerThreatDetectionSettings">getContainerThreatDetectionSettings(name, x__xgafv=None)</code>
137 <pre>Get the ContainerThreatDetectionSettings resource.
138
139Args:
140 name: string, Required. The name of the ContainerThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings (required)
141 x__xgafv: string, V1 error format.
142 Allowed values
143 1 - v1 error format
144 2 - v2 error format
145
146Returns:
147 An object of the form:
148
149 { # Resource capturing the settings for the Container Threat Detection service.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700150 &quot;modules&quot;: { # The configurations including the state of enablement for the service&#x27;s different modules. The absence of a module in the map implies its configuration is inherited from its parent&#x27;s.
151 &quot;a_key&quot;: { # Configuration of a module.
152 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
153 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
154 },
155 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
156 },
157 },
158 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account used by Container Threat Detection for scanning. Service accounts are scoped at the project level meaning this field will be empty at any level above a project.
159 &quot;name&quot;: &quot;A String&quot;, # The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700160 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
161 &quot;serviceEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700162 }</pre>
163</div>
164
165<div class="method">
166 <code class="details" id="getEventThreatDetectionSettings">getEventThreatDetectionSettings(name, x__xgafv=None)</code>
167 <pre>Get the EventThreatDetectionSettings resource.
168
169Args:
170 name: string, Required. The name of the EventThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings (required)
171 x__xgafv: string, V1 error format.
172 Allowed values
173 1 - v1 error format
174 2 - v2 error format
175
176Returns:
177 An object of the form:
178
179 { # Resource capturing the settings for the Event Threat Detection service.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700180 &quot;serviceEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700181 &quot;name&quot;: &quot;A String&quot;, # The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings
182 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700183 &quot;modules&quot;: { # The configurations including the state of enablement for the service&#x27;s different modules. The absence of a module in the map implies its configuration is inherited from its parent&#x27;s.
184 &quot;a_key&quot;: { # Configuration of a module.
185 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
186 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
187 },
188 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
189 },
190 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700191 }</pre>
192</div>
193
194<div class="method">
195 <code class="details" id="getSecurityHealthAnalyticsSettings">getSecurityHealthAnalyticsSettings(name, x__xgafv=None)</code>
196 <pre>Get the SecurityHealthAnalyticsSettings resource.
197
198Args:
199 name: string, Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings (required)
200 x__xgafv: string, V1 error format.
201 Allowed values
202 1 - v1 error format
203 2 - v2 error format
204
205Returns:
206 An object of the form:
207
208 { # Resource capturing the settings for the Security Health Analytics service.
209 &quot;name&quot;: &quot;A String&quot;, # The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700210 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
211 &quot;modules&quot;: { # The configurations including the state of enablement for the service&#x27;s different modules. The absence of a module in the map implies its configuration is inherited from its parent&#x27;s.
212 &quot;a_key&quot;: { # Configuration of a module.
213 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
214 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
215 },
216 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
217 },
218 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700219 &quot;serviceEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.
220 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account used by Security Health Analytics detectors.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700221 }</pre>
222</div>
223
224<div class="method">
225 <code class="details" id="getWebSecurityScannerSettings">getWebSecurityScannerSettings(name, x__xgafv=None)</code>
226 <pre>Get the WebSecurityScannerSettings resource.
227
228Args:
229 name: string, Required. The name of the WebSecurityScannerSettings to retrieve. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings (required)
230 x__xgafv: string, V1 error format.
231 Allowed values
232 1 - v1 error format
233 2 - v2 error format
234
235Returns:
236 An object of the form:
237
238 { # Resource capturing the settings for the Web Security Scanner service.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700239 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700240 &quot;modules&quot;: { # The configurations including the state of enablement for the service&#x27;s different modules. The absence of a module in the map implies its configuration is inherited from its parent&#x27;s.
241 &quot;a_key&quot;: { # Configuration of a module.
242 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
243 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
244 },
245 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
246 },
247 },
248 &quot;serviceEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700249 &quot;name&quot;: &quot;A String&quot;, # The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700250 }</pre>
251</div>
252
253<div class="method">
254 <code class="details" id="updateContainerThreatDetectionSettings">updateContainerThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</code>
255 <pre>Update the ContainerThreatDetectionSettings resource.
256
257Args:
258 name: string, The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings (required)
259 body: object, The request body.
260 The object takes the form of:
261
262{ # Resource capturing the settings for the Container Threat Detection service.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700263 &quot;modules&quot;: { # The configurations including the state of enablement for the service&#x27;s different modules. The absence of a module in the map implies its configuration is inherited from its parent&#x27;s.
264 &quot;a_key&quot;: { # Configuration of a module.
265 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
266 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
267 },
268 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
269 },
270 },
271 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account used by Container Threat Detection for scanning. Service accounts are scoped at the project level meaning this field will be empty at any level above a project.
272 &quot;name&quot;: &quot;A String&quot;, # The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700273 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
274 &quot;serviceEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700275 }
276
277 updateMask: string, The list of fields to be updated.
278 x__xgafv: string, V1 error format.
279 Allowed values
280 1 - v1 error format
281 2 - v2 error format
282
283Returns:
284 An object of the form:
285
286 { # Resource capturing the settings for the Container Threat Detection service.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700287 &quot;modules&quot;: { # The configurations including the state of enablement for the service&#x27;s different modules. The absence of a module in the map implies its configuration is inherited from its parent&#x27;s.
288 &quot;a_key&quot;: { # Configuration of a module.
289 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
290 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
291 },
292 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
293 },
294 },
295 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account used by Container Threat Detection for scanning. Service accounts are scoped at the project level meaning this field will be empty at any level above a project.
296 &quot;name&quot;: &quot;A String&quot;, # The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700297 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
298 &quot;serviceEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700299 }</pre>
300</div>
301
302<div class="method">
303 <code class="details" id="updateEventThreatDetectionSettings">updateEventThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</code>
304 <pre>Update the EventThreatDetectionSettings resource.
305
306Args:
307 name: string, The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings (required)
308 body: object, The request body.
309 The object takes the form of:
310
311{ # Resource capturing the settings for the Event Threat Detection service.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700312 &quot;serviceEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700313 &quot;name&quot;: &quot;A String&quot;, # The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings
314 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700315 &quot;modules&quot;: { # The configurations including the state of enablement for the service&#x27;s different modules. The absence of a module in the map implies its configuration is inherited from its parent&#x27;s.
316 &quot;a_key&quot;: { # Configuration of a module.
317 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
318 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
319 },
320 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
321 },
322 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700323}
324
325 updateMask: string, The list of fields to be updated.
326 x__xgafv: string, V1 error format.
327 Allowed values
328 1 - v1 error format
329 2 - v2 error format
330
331Returns:
332 An object of the form:
333
334 { # Resource capturing the settings for the Event Threat Detection service.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700335 &quot;serviceEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700336 &quot;name&quot;: &quot;A String&quot;, # The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings
337 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700338 &quot;modules&quot;: { # The configurations including the state of enablement for the service&#x27;s different modules. The absence of a module in the map implies its configuration is inherited from its parent&#x27;s.
339 &quot;a_key&quot;: { # Configuration of a module.
340 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
341 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
342 },
343 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
344 },
345 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700346 }</pre>
347</div>
348
349<div class="method">
350 <code class="details" id="updateSecurityHealthAnalyticsSettings">updateSecurityHealthAnalyticsSettings(name, body=None, updateMask=None, x__xgafv=None)</code>
351 <pre>Update the SecurityHealthAnalyticsSettings resource.
352
353Args:
354 name: string, The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings (required)
355 body: object, The request body.
356 The object takes the form of:
357
358{ # Resource capturing the settings for the Security Health Analytics service.
359 &quot;name&quot;: &quot;A String&quot;, # The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700360 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
361 &quot;modules&quot;: { # The configurations including the state of enablement for the service&#x27;s different modules. The absence of a module in the map implies its configuration is inherited from its parent&#x27;s.
362 &quot;a_key&quot;: { # Configuration of a module.
363 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
364 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
365 },
366 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
367 },
368 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700369 &quot;serviceEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.
370 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account used by Security Health Analytics detectors.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700371 }
372
373 updateMask: string, The list of fields to be updated.
374 x__xgafv: string, V1 error format.
375 Allowed values
376 1 - v1 error format
377 2 - v2 error format
378
379Returns:
380 An object of the form:
381
382 { # Resource capturing the settings for the Security Health Analytics service.
383 &quot;name&quot;: &quot;A String&quot;, # The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700384 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
385 &quot;modules&quot;: { # The configurations including the state of enablement for the service&#x27;s different modules. The absence of a module in the map implies its configuration is inherited from its parent&#x27;s.
386 &quot;a_key&quot;: { # Configuration of a module.
387 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
388 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
389 },
390 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
391 },
392 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700393 &quot;serviceEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.
394 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account used by Security Health Analytics detectors.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700395 }</pre>
396</div>
397
398<div class="method">
399 <code class="details" id="updateWebSecurityScannerSettings">updateWebSecurityScannerSettings(name, body=None, updateMask=None, x__xgafv=None)</code>
400 <pre>Update the WebSecurityScannerSettings resource.
401
402Args:
403 name: string, The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings (required)
404 body: object, The request body.
405 The object takes the form of:
406
407{ # Resource capturing the settings for the Web Security Scanner service.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700408 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700409 &quot;modules&quot;: { # The configurations including the state of enablement for the service&#x27;s different modules. The absence of a module in the map implies its configuration is inherited from its parent&#x27;s.
410 &quot;a_key&quot;: { # Configuration of a module.
411 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
412 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
413 },
414 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
415 },
416 },
417 &quot;serviceEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700418 &quot;name&quot;: &quot;A String&quot;, # The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700419 }
420
421 updateMask: string, The list of fields to be updated.
422 x__xgafv: string, V1 error format.
423 Allowed values
424 1 - v1 error format
425 2 - v2 error format
426
427Returns:
428 An object of the form:
429
430 { # Resource capturing the settings for the Web Security Scanner service.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700431 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700432 &quot;modules&quot;: { # The configurations including the state of enablement for the service&#x27;s different modules. The absence of a module in the map implies its configuration is inherited from its parent&#x27;s.
433 &quot;a_key&quot;: { # Configuration of a module.
434 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
435 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
436 },
437 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
438 },
439 },
440 &quot;serviceEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700441 &quot;name&quot;: &quot;A String&quot;, # The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700442 }</pre>
443</div>
444
445</body></html>