1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="securitycenter_v1beta2.html">Security Command Center API</a> . <a href="securitycenter_v1beta2.folders.html">folders</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="securitycenter_v1beta2.folders.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.folders.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.folders.securityHealthAnalyticsSettings.html">securityHealthAnalyticsSettings()</a></code> 89</p> 90<p class="firstline">Returns the securityHealthAnalyticsSettings Resource.</p> 91 92<p class="toc_element"> 93 <code><a href="securitycenter_v1beta2.folders.virtualMachineThreatDetectionSettings.html">virtualMachineThreatDetectionSettings()</a></code> 94</p> 95<p class="firstline">Returns the virtualMachineThreatDetectionSettings Resource.</p> 96 97<p class="toc_element"> 98 <code><a href="securitycenter_v1beta2.folders.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="#getVirtualMachineThreatDetectionSettings">getVirtualMachineThreatDetectionSettings(name, x__xgafv=None)</a></code></p> 116<p class="firstline">Get the VirtualMachineThreatDetectionSettings resource.</p> 117<p class="toc_element"> 118 <code><a href="#getWebSecurityScannerSettings">getWebSecurityScannerSettings(name, x__xgafv=None)</a></code></p> 119<p class="firstline">Get the WebSecurityScannerSettings resource.</p> 120<p class="toc_element"> 121 <code><a href="#updateContainerThreatDetectionSettings">updateContainerThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 122<p class="firstline">Update the ContainerThreatDetectionSettings resource.</p> 123<p class="toc_element"> 124 <code><a href="#updateEventThreatDetectionSettings">updateEventThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 125<p class="firstline">Update the EventThreatDetectionSettings resource.</p> 126<p class="toc_element"> 127 <code><a href="#updateSecurityHealthAnalyticsSettings">updateSecurityHealthAnalyticsSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 128<p class="firstline">Update the SecurityHealthAnalyticsSettings resource.</p> 129<p class="toc_element"> 130 <code><a href="#updateVirtualMachineThreatDetectionSettings">updateVirtualMachineThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 131<p class="firstline">Update the VirtualMachineThreatDetectionSettings resource.</p> 132<p class="toc_element"> 133 <code><a href="#updateWebSecurityScannerSettings">updateWebSecurityScannerSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 134<p class="firstline">Update the WebSecurityScannerSettings resource.</p> 135<h3>Method Details</h3> 136<div class="method"> 137 <code class="details" id="close">close()</code> 138 <pre>Close httplib2 connections.</pre> 139</div> 140 141<div class="method"> 142 <code class="details" id="getContainerThreatDetectionSettings">getContainerThreatDetectionSettings(name, x__xgafv=None)</code> 143 <pre>Get the ContainerThreatDetectionSettings resource. 144 145Args: 146 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) 147 x__xgafv: string, V1 error format. 148 Allowed values 149 1 - v1 error format 150 2 - v2 error format 151 152Returns: 153 An object of the form: 154 155 { # Resource capturing the settings for the Container Threat Detection service. 156 "modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's. 157 "a_key": { # Configuration of a module. 158 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 159 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 160 "a_key": "", # Properties of the object. 161 }, 162 }, 163 }, 164 "name": "A String", # The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings 165 "serviceAccount": "A String", # 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. 166 "serviceEnablementState": "A String", # 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. 167 "updateTime": "A String", # Output only. The time the settings were last updated. 168}</pre> 169</div> 170 171<div class="method"> 172 <code class="details" id="getEventThreatDetectionSettings">getEventThreatDetectionSettings(name, x__xgafv=None)</code> 173 <pre>Get the EventThreatDetectionSettings resource. 174 175Args: 176 name: string, Required. The name of the EventThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings (required) 177 x__xgafv: string, V1 error format. 178 Allowed values 179 1 - v1 error format 180 2 - v2 error format 181 182Returns: 183 An object of the form: 184 185 { # Resource capturing the settings for the Event Threat Detection service. 186 "modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's. 187 "a_key": { # Configuration of a module. 188 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 189 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 190 "a_key": "", # Properties of the object. 191 }, 192 }, 193 }, 194 "name": "A String", # The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings 195 "serviceEnablementState": "A String", # 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. 196 "updateTime": "A String", # Output only. The time the settings were last updated. 197}</pre> 198</div> 199 200<div class="method"> 201 <code class="details" id="getSecurityHealthAnalyticsSettings">getSecurityHealthAnalyticsSettings(name, x__xgafv=None)</code> 202 <pre>Get the SecurityHealthAnalyticsSettings resource. 203 204Args: 205 name: string, Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings (required) 206 x__xgafv: string, V1 error format. 207 Allowed values 208 1 - v1 error format 209 2 - v2 error format 210 211Returns: 212 An object of the form: 213 214 { # Resource capturing the settings for the Security Health Analytics service. 215 "modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's. 216 "a_key": { # Configuration of a module. 217 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 218 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 219 "a_key": "", # Properties of the object. 220 }, 221 }, 222 }, 223 "name": "A String", # The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings 224 "serviceAccount": "A String", # Output only. The service account used by Security Health Analytics detectors. 225 "serviceEnablementState": "A String", # 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. 226 "updateTime": "A String", # Output only. The time the settings were last updated. 227}</pre> 228</div> 229 230<div class="method"> 231 <code class="details" id="getVirtualMachineThreatDetectionSettings">getVirtualMachineThreatDetectionSettings(name, x__xgafv=None)</code> 232 <pre>Get the VirtualMachineThreatDetectionSettings resource. 233 234Args: 235 name: string, Required. The name of the VirtualMachineThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings (required) 236 x__xgafv: string, V1 error format. 237 Allowed values 238 1 - v1 error format 239 2 - v2 error format 240 241Returns: 242 An object of the form: 243 244 { # Resource capturing the settings for the Virtual Machine Threat Detection service. 245 "modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's. 246 "a_key": { # Configuration of a module. 247 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 248 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 249 "a_key": "", # Properties of the object. 250 }, 251 }, 252 }, 253 "name": "A String", # The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings 254 "serviceAccount": "A String", # Output only. The service account used by Virtual Machine Threat Detection detectors. 255 "serviceEnablementState": "A String", # 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. 256 "updateTime": "A String", # Output only. The time the settings were last updated. 257}</pre> 258</div> 259 260<div class="method"> 261 <code class="details" id="getWebSecurityScannerSettings">getWebSecurityScannerSettings(name, x__xgafv=None)</code> 262 <pre>Get the WebSecurityScannerSettings resource. 263 264Args: 265 name: string, Required. The name of the WebSecurityScannerSettings to retrieve. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings (required) 266 x__xgafv: string, V1 error format. 267 Allowed values 268 1 - v1 error format 269 2 - v2 error format 270 271Returns: 272 An object of the form: 273 274 { # Resource capturing the settings for the Web Security Scanner service. 275 "modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's. 276 "a_key": { # Configuration of a module. 277 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 278 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 279 "a_key": "", # Properties of the object. 280 }, 281 }, 282 }, 283 "name": "A String", # The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings 284 "serviceEnablementState": "A String", # 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. 285 "updateTime": "A String", # Output only. The time the settings were last updated. 286}</pre> 287</div> 288 289<div class="method"> 290 <code class="details" id="updateContainerThreatDetectionSettings">updateContainerThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</code> 291 <pre>Update the ContainerThreatDetectionSettings resource. 292 293Args: 294 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) 295 body: object, The request body. 296 The object takes the form of: 297 298{ # Resource capturing the settings for the Container Threat Detection service. 299 "modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's. 300 "a_key": { # Configuration of a module. 301 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 302 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 303 "a_key": "", # Properties of the object. 304 }, 305 }, 306 }, 307 "name": "A String", # The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings 308 "serviceAccount": "A String", # 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. 309 "serviceEnablementState": "A String", # 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. 310 "updateTime": "A String", # Output only. The time the settings were last updated. 311} 312 313 updateMask: string, The list of fields to be updated. 314 x__xgafv: string, V1 error format. 315 Allowed values 316 1 - v1 error format 317 2 - v2 error format 318 319Returns: 320 An object of the form: 321 322 { # Resource capturing the settings for the Container Threat Detection service. 323 "modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's. 324 "a_key": { # Configuration of a module. 325 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 326 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 327 "a_key": "", # Properties of the object. 328 }, 329 }, 330 }, 331 "name": "A String", # The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings 332 "serviceAccount": "A String", # 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. 333 "serviceEnablementState": "A String", # 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. 334 "updateTime": "A String", # Output only. The time the settings were last updated. 335}</pre> 336</div> 337 338<div class="method"> 339 <code class="details" id="updateEventThreatDetectionSettings">updateEventThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</code> 340 <pre>Update the EventThreatDetectionSettings resource. 341 342Args: 343 name: string, The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings (required) 344 body: object, The request body. 345 The object takes the form of: 346 347{ # Resource capturing the settings for the Event Threat Detection service. 348 "modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's. 349 "a_key": { # Configuration of a module. 350 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 351 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 352 "a_key": "", # Properties of the object. 353 }, 354 }, 355 }, 356 "name": "A String", # The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings 357 "serviceEnablementState": "A String", # 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. 358 "updateTime": "A String", # Output only. The time the settings were last updated. 359} 360 361 updateMask: string, The list of fields to be updated. 362 x__xgafv: string, V1 error format. 363 Allowed values 364 1 - v1 error format 365 2 - v2 error format 366 367Returns: 368 An object of the form: 369 370 { # Resource capturing the settings for the Event Threat Detection service. 371 "modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's. 372 "a_key": { # Configuration of a module. 373 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 374 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 375 "a_key": "", # Properties of the object. 376 }, 377 }, 378 }, 379 "name": "A String", # The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings 380 "serviceEnablementState": "A String", # 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. 381 "updateTime": "A String", # Output only. The time the settings were last updated. 382}</pre> 383</div> 384 385<div class="method"> 386 <code class="details" id="updateSecurityHealthAnalyticsSettings">updateSecurityHealthAnalyticsSettings(name, body=None, updateMask=None, x__xgafv=None)</code> 387 <pre>Update the SecurityHealthAnalyticsSettings resource. 388 389Args: 390 name: string, The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings (required) 391 body: object, The request body. 392 The object takes the form of: 393 394{ # Resource capturing the settings for the Security Health Analytics service. 395 "modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's. 396 "a_key": { # Configuration of a module. 397 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 398 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 399 "a_key": "", # Properties of the object. 400 }, 401 }, 402 }, 403 "name": "A String", # The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings 404 "serviceAccount": "A String", # Output only. The service account used by Security Health Analytics detectors. 405 "serviceEnablementState": "A String", # 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. 406 "updateTime": "A String", # Output only. The time the settings were last updated. 407} 408 409 updateMask: string, The list of fields to be updated. 410 x__xgafv: string, V1 error format. 411 Allowed values 412 1 - v1 error format 413 2 - v2 error format 414 415Returns: 416 An object of the form: 417 418 { # Resource capturing the settings for the Security Health Analytics service. 419 "modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's. 420 "a_key": { # Configuration of a module. 421 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 422 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 423 "a_key": "", # Properties of the object. 424 }, 425 }, 426 }, 427 "name": "A String", # The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings 428 "serviceAccount": "A String", # Output only. The service account used by Security Health Analytics detectors. 429 "serviceEnablementState": "A String", # 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. 430 "updateTime": "A String", # Output only. The time the settings were last updated. 431}</pre> 432</div> 433 434<div class="method"> 435 <code class="details" id="updateVirtualMachineThreatDetectionSettings">updateVirtualMachineThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</code> 436 <pre>Update the VirtualMachineThreatDetectionSettings resource. 437 438Args: 439 name: string, The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings (required) 440 body: object, The request body. 441 The object takes the form of: 442 443{ # Resource capturing the settings for the Virtual Machine Threat Detection service. 444 "modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's. 445 "a_key": { # Configuration of a module. 446 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 447 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 448 "a_key": "", # Properties of the object. 449 }, 450 }, 451 }, 452 "name": "A String", # The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings 453 "serviceAccount": "A String", # Output only. The service account used by Virtual Machine Threat Detection detectors. 454 "serviceEnablementState": "A String", # 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. 455 "updateTime": "A String", # Output only. The time the settings were last updated. 456} 457 458 updateMask: string, The list of fields to be updated. 459 x__xgafv: string, V1 error format. 460 Allowed values 461 1 - v1 error format 462 2 - v2 error format 463 464Returns: 465 An object of the form: 466 467 { # Resource capturing the settings for the Virtual Machine Threat Detection service. 468 "modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's. 469 "a_key": { # Configuration of a module. 470 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 471 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 472 "a_key": "", # Properties of the object. 473 }, 474 }, 475 }, 476 "name": "A String", # The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings 477 "serviceAccount": "A String", # Output only. The service account used by Virtual Machine Threat Detection detectors. 478 "serviceEnablementState": "A String", # 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. 479 "updateTime": "A String", # Output only. The time the settings were last updated. 480}</pre> 481</div> 482 483<div class="method"> 484 <code class="details" id="updateWebSecurityScannerSettings">updateWebSecurityScannerSettings(name, body=None, updateMask=None, x__xgafv=None)</code> 485 <pre>Update the WebSecurityScannerSettings resource. 486 487Args: 488 name: string, The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings (required) 489 body: object, The request body. 490 The object takes the form of: 491 492{ # Resource capturing the settings for the Web Security Scanner service. 493 "modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's. 494 "a_key": { # Configuration of a module. 495 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 496 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 497 "a_key": "", # Properties of the object. 498 }, 499 }, 500 }, 501 "name": "A String", # The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings 502 "serviceEnablementState": "A String", # 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. 503 "updateTime": "A String", # Output only. The time the settings were last updated. 504} 505 506 updateMask: string, The list of fields to be updated. 507 x__xgafv: string, V1 error format. 508 Allowed values 509 1 - v1 error format 510 2 - v2 error format 511 512Returns: 513 An object of the form: 514 515 { # Resource capturing the settings for the Web Security Scanner service. 516 "modules": { # The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's. 517 "a_key": { # Configuration of a module. 518 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 519 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 520 "a_key": "", # Properties of the object. 521 }, 522 }, 523 }, 524 "name": "A String", # The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings 525 "serviceEnablementState": "A String", # 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. 526 "updateTime": "A String", # Output only. The time the settings were last updated. 527}</pre> 528</div> 529 530</body></html>