blob: 5c6a6412e4eb2f0eb9455583f66699466ebfaa64 [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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800150 &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
151 &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.
152 &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.
153 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
154 &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.
155 &quot;a_key&quot;: { # Configuration of a module.
156 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
157 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700158 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800159 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700160 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800161 },
162 }</pre>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700163</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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800180 &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.
181 &quot;a_key&quot;: { # Configuration of a module.
182 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
183 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
184 },
185 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700186 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700187 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800188 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
189 &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.
190 &quot;name&quot;: &quot;A String&quot;, # The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings
191 }</pre>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700192</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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800209 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800210 &quot;name&quot;: &quot;A String&quot;, # The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800211 &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 -0700212 &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.
213 &quot;a_key&quot;: { # Configuration of a module.
214 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
215 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
216 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800217 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700218 },
219 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800220 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800239 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800240 &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 -0700241 &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.
242 &quot;a_key&quot;: { # Configuration of a module.
243 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
244 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
245 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800246 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700247 },
248 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800249 &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 -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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800263 &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
264 &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.
265 &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.
266 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
267 &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.
268 &quot;a_key&quot;: { # Configuration of a module.
269 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
270 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700271 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800272 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700273 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800274 },
275}
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700276
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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800287 &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
288 &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.
289 &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.
290 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
291 &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.
292 &quot;a_key&quot;: { # Configuration of a module.
293 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
294 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700295 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800296 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700297 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800298 },
299 }</pre>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700300</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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800312 &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.
313 &quot;a_key&quot;: { # Configuration of a module.
314 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
315 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
316 },
317 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700318 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700319 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800320 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
321 &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.
322 &quot;name&quot;: &quot;A String&quot;, # The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings
323 }
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700324
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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800335 &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.
336 &quot;a_key&quot;: { # Configuration of a module.
337 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
338 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
339 },
340 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700341 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700342 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800343 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
344 &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.
345 &quot;name&quot;: &quot;A String&quot;, # The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings
346 }</pre>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700347</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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800359 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800360 &quot;name&quot;: &quot;A String&quot;, # The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800361 &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 -0700362 &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.
363 &quot;a_key&quot;: { # Configuration of a module.
364 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
365 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
366 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800367 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700368 },
369 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800370 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800383 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800384 &quot;name&quot;: &quot;A String&quot;, # The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800385 &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 -0700386 &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.
387 &quot;a_key&quot;: { # Configuration of a module.
388 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
389 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
390 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800391 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700392 },
393 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800394 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800408 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800409 &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 -0700410 &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.
411 &quot;a_key&quot;: { # Configuration of a module.
412 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
413 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
414 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800415 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700416 },
417 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800418 &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 -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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800431 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the settings were last updated.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800432 &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 -0700433 &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.
434 &quot;a_key&quot;: { # Configuration of a module.
435 &quot;value&quot;: { # The configuration value for the module. The absence of this field implies its inheritance from the parent.
436 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
437 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800438 &quot;moduleEnablementState&quot;: &quot;A String&quot;, # The state of enablement for the module at its level of the resource hierarchy.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700439 },
440 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800441 &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 -0700442 }</pre>
443</div>
444
445</body></html>