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.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.virtualMachineThreatDetectionSettings.html">virtualMachineThreatDetectionSettings()</a></code> 99</p> 100<p class="firstline">Returns the virtualMachineThreatDetectionSettings Resource.</p> 101 102<p class="toc_element"> 103 <code><a href="securitycenter_v1beta2.projects.webSecurityScannerSettings.html">webSecurityScannerSettings()</a></code> 104</p> 105<p class="firstline">Returns the webSecurityScannerSettings Resource.</p> 106 107<p class="toc_element"> 108 <code><a href="#close">close()</a></code></p> 109<p class="firstline">Close httplib2 connections.</p> 110<p class="toc_element"> 111 <code><a href="#getContainerThreatDetectionSettings">getContainerThreatDetectionSettings(name, x__xgafv=None)</a></code></p> 112<p class="firstline">Get the ContainerThreatDetectionSettings resource.</p> 113<p class="toc_element"> 114 <code><a href="#getEventThreatDetectionSettings">getEventThreatDetectionSettings(name, x__xgafv=None)</a></code></p> 115<p class="firstline">Get the EventThreatDetectionSettings resource.</p> 116<p class="toc_element"> 117 <code><a href="#getSecurityHealthAnalyticsSettings">getSecurityHealthAnalyticsSettings(name, x__xgafv=None)</a></code></p> 118<p class="firstline">Get the SecurityHealthAnalyticsSettings resource.</p> 119<p class="toc_element"> 120 <code><a href="#getVirtualMachineThreatDetectionSettings">getVirtualMachineThreatDetectionSettings(name, x__xgafv=None)</a></code></p> 121<p class="firstline">Get the VirtualMachineThreatDetectionSettings resource.</p> 122<p class="toc_element"> 123 <code><a href="#getWebSecurityScannerSettings">getWebSecurityScannerSettings(name, x__xgafv=None)</a></code></p> 124<p class="firstline">Get the WebSecurityScannerSettings resource.</p> 125<p class="toc_element"> 126 <code><a href="#updateContainerThreatDetectionSettings">updateContainerThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 127<p class="firstline">Update the ContainerThreatDetectionSettings resource.</p> 128<p class="toc_element"> 129 <code><a href="#updateEventThreatDetectionSettings">updateEventThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 130<p class="firstline">Update the EventThreatDetectionSettings resource.</p> 131<p class="toc_element"> 132 <code><a href="#updateSecurityHealthAnalyticsSettings">updateSecurityHealthAnalyticsSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 133<p class="firstline">Update the SecurityHealthAnalyticsSettings resource.</p> 134<p class="toc_element"> 135 <code><a href="#updateVirtualMachineThreatDetectionSettings">updateVirtualMachineThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 136<p class="firstline">Update the VirtualMachineThreatDetectionSettings resource.</p> 137<p class="toc_element"> 138 <code><a href="#updateWebSecurityScannerSettings">updateWebSecurityScannerSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 139<p class="firstline">Update the WebSecurityScannerSettings resource.</p> 140<h3>Method Details</h3> 141<div class="method"> 142 <code class="details" id="close">close()</code> 143 <pre>Close httplib2 connections.</pre> 144</div> 145 146<div class="method"> 147 <code class="details" id="getContainerThreatDetectionSettings">getContainerThreatDetectionSettings(name, x__xgafv=None)</code> 148 <pre>Get the ContainerThreatDetectionSettings resource. 149 150Args: 151 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) 152 x__xgafv: string, V1 error format. 153 Allowed values 154 1 - v1 error format 155 2 - v2 error format 156 157Returns: 158 An object of the form: 159 160 { # Resource capturing the settings for the Container Threat Detection service. 161 "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. 162 "a_key": { # Configuration of a module. 163 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 164 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 165 "a_key": "", # Properties of the object. 166 }, 167 }, 168 }, 169 "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 170 "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. 171 "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. 172 "updateTime": "A String", # Output only. The time the settings were last updated. 173}</pre> 174</div> 175 176<div class="method"> 177 <code class="details" id="getEventThreatDetectionSettings">getEventThreatDetectionSettings(name, x__xgafv=None)</code> 178 <pre>Get the EventThreatDetectionSettings resource. 179 180Args: 181 name: string, Required. The name of the EventThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings (required) 182 x__xgafv: string, V1 error format. 183 Allowed values 184 1 - v1 error format 185 2 - v2 error format 186 187Returns: 188 An object of the form: 189 190 { # Resource capturing the settings for the Event Threat Detection service. 191 "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. 192 "a_key": { # Configuration of a module. 193 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 194 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 195 "a_key": "", # Properties of the object. 196 }, 197 }, 198 }, 199 "name": "A String", # The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings 200 "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. 201 "updateTime": "A String", # Output only. The time the settings were last updated. 202}</pre> 203</div> 204 205<div class="method"> 206 <code class="details" id="getSecurityHealthAnalyticsSettings">getSecurityHealthAnalyticsSettings(name, x__xgafv=None)</code> 207 <pre>Get the SecurityHealthAnalyticsSettings resource. 208 209Args: 210 name: string, Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings (required) 211 x__xgafv: string, V1 error format. 212 Allowed values 213 1 - v1 error format 214 2 - v2 error format 215 216Returns: 217 An object of the form: 218 219 { # Resource capturing the settings for the Security Health Analytics service. 220 "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. 221 "a_key": { # Configuration of a module. 222 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 223 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 224 "a_key": "", # Properties of the object. 225 }, 226 }, 227 }, 228 "name": "A String", # The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings 229 "serviceAccount": "A String", # Output only. The service account used by Security Health Analytics detectors. 230 "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. 231 "updateTime": "A String", # Output only. The time the settings were last updated. 232}</pre> 233</div> 234 235<div class="method"> 236 <code class="details" id="getVirtualMachineThreatDetectionSettings">getVirtualMachineThreatDetectionSettings(name, x__xgafv=None)</code> 237 <pre>Get the VirtualMachineThreatDetectionSettings resource. 238 239Args: 240 name: string, Required. The name of the VirtualMachineThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings (required) 241 x__xgafv: string, V1 error format. 242 Allowed values 243 1 - v1 error format 244 2 - v2 error format 245 246Returns: 247 An object of the form: 248 249 { # Resource capturing the settings for the Virtual Machine Threat Detection service. 250 "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. 251 "a_key": { # Configuration of a module. 252 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 253 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 254 "a_key": "", # Properties of the object. 255 }, 256 }, 257 }, 258 "name": "A String", # The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings 259 "serviceAccount": "A String", # Output only. The service account used by Virtual Machine Threat Detection detectors. 260 "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. 261 "updateTime": "A String", # Output only. The time the settings were last updated. 262}</pre> 263</div> 264 265<div class="method"> 266 <code class="details" id="getWebSecurityScannerSettings">getWebSecurityScannerSettings(name, x__xgafv=None)</code> 267 <pre>Get the WebSecurityScannerSettings resource. 268 269Args: 270 name: string, Required. The name of the WebSecurityScannerSettings to retrieve. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings (required) 271 x__xgafv: string, V1 error format. 272 Allowed values 273 1 - v1 error format 274 2 - v2 error format 275 276Returns: 277 An object of the form: 278 279 { # Resource capturing the settings for the Web Security Scanner service. 280 "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. 281 "a_key": { # Configuration of a module. 282 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 283 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 284 "a_key": "", # Properties of the object. 285 }, 286 }, 287 }, 288 "name": "A String", # The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings 289 "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. 290 "updateTime": "A String", # Output only. The time the settings were last updated. 291}</pre> 292</div> 293 294<div class="method"> 295 <code class="details" id="updateContainerThreatDetectionSettings">updateContainerThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</code> 296 <pre>Update the ContainerThreatDetectionSettings resource. 297 298Args: 299 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) 300 body: object, The request body. 301 The object takes the form of: 302 303{ # Resource capturing the settings for the Container Threat Detection service. 304 "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. 305 "a_key": { # Configuration of a module. 306 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 307 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 308 "a_key": "", # Properties of the object. 309 }, 310 }, 311 }, 312 "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 313 "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. 314 "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. 315 "updateTime": "A String", # Output only. The time the settings were last updated. 316} 317 318 updateMask: string, The list of fields to be updated. 319 x__xgafv: string, V1 error format. 320 Allowed values 321 1 - v1 error format 322 2 - v2 error format 323 324Returns: 325 An object of the form: 326 327 { # Resource capturing the settings for the Container Threat Detection service. 328 "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. 329 "a_key": { # Configuration of a module. 330 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 331 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 332 "a_key": "", # Properties of the object. 333 }, 334 }, 335 }, 336 "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 337 "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. 338 "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. 339 "updateTime": "A String", # Output only. The time the settings were last updated. 340}</pre> 341</div> 342 343<div class="method"> 344 <code class="details" id="updateEventThreatDetectionSettings">updateEventThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</code> 345 <pre>Update the EventThreatDetectionSettings resource. 346 347Args: 348 name: string, The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings (required) 349 body: object, The request body. 350 The object takes the form of: 351 352{ # Resource capturing the settings for the Event Threat Detection service. 353 "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. 354 "a_key": { # Configuration of a module. 355 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 356 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 357 "a_key": "", # Properties of the object. 358 }, 359 }, 360 }, 361 "name": "A String", # The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings 362 "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. 363 "updateTime": "A String", # Output only. The time the settings were last updated. 364} 365 366 updateMask: string, The list of fields to be updated. 367 x__xgafv: string, V1 error format. 368 Allowed values 369 1 - v1 error format 370 2 - v2 error format 371 372Returns: 373 An object of the form: 374 375 { # Resource capturing the settings for the Event Threat Detection service. 376 "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. 377 "a_key": { # Configuration of a module. 378 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 379 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 380 "a_key": "", # Properties of the object. 381 }, 382 }, 383 }, 384 "name": "A String", # The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings 385 "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. 386 "updateTime": "A String", # Output only. The time the settings were last updated. 387}</pre> 388</div> 389 390<div class="method"> 391 <code class="details" id="updateSecurityHealthAnalyticsSettings">updateSecurityHealthAnalyticsSettings(name, body=None, updateMask=None, x__xgafv=None)</code> 392 <pre>Update the SecurityHealthAnalyticsSettings resource. 393 394Args: 395 name: string, The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings (required) 396 body: object, The request body. 397 The object takes the form of: 398 399{ # Resource capturing the settings for the Security Health Analytics service. 400 "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. 401 "a_key": { # Configuration of a module. 402 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 403 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 404 "a_key": "", # Properties of the object. 405 }, 406 }, 407 }, 408 "name": "A String", # The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings 409 "serviceAccount": "A String", # Output only. The service account used by Security Health Analytics detectors. 410 "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. 411 "updateTime": "A String", # Output only. The time the settings were last updated. 412} 413 414 updateMask: string, The list of fields to be updated. 415 x__xgafv: string, V1 error format. 416 Allowed values 417 1 - v1 error format 418 2 - v2 error format 419 420Returns: 421 An object of the form: 422 423 { # Resource capturing the settings for the Security Health Analytics service. 424 "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. 425 "a_key": { # Configuration of a module. 426 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 427 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 428 "a_key": "", # Properties of the object. 429 }, 430 }, 431 }, 432 "name": "A String", # The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings 433 "serviceAccount": "A String", # Output only. The service account used by Security Health Analytics detectors. 434 "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. 435 "updateTime": "A String", # Output only. The time the settings were last updated. 436}</pre> 437</div> 438 439<div class="method"> 440 <code class="details" id="updateVirtualMachineThreatDetectionSettings">updateVirtualMachineThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</code> 441 <pre>Update the VirtualMachineThreatDetectionSettings resource. 442 443Args: 444 name: string, The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings (required) 445 body: object, The request body. 446 The object takes the form of: 447 448{ # Resource capturing the settings for the Virtual Machine Threat Detection service. 449 "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. 450 "a_key": { # Configuration of a module. 451 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 452 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 453 "a_key": "", # Properties of the object. 454 }, 455 }, 456 }, 457 "name": "A String", # The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings 458 "serviceAccount": "A String", # Output only. The service account used by Virtual Machine Threat Detection detectors. 459 "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. 460 "updateTime": "A String", # Output only. The time the settings were last updated. 461} 462 463 updateMask: string, The list of fields to be updated. 464 x__xgafv: string, V1 error format. 465 Allowed values 466 1 - v1 error format 467 2 - v2 error format 468 469Returns: 470 An object of the form: 471 472 { # Resource capturing the settings for the Virtual Machine Threat Detection service. 473 "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. 474 "a_key": { # Configuration of a module. 475 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 476 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 477 "a_key": "", # Properties of the object. 478 }, 479 }, 480 }, 481 "name": "A String", # The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings 482 "serviceAccount": "A String", # Output only. The service account used by Virtual Machine Threat Detection detectors. 483 "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. 484 "updateTime": "A String", # Output only. The time the settings were last updated. 485}</pre> 486</div> 487 488<div class="method"> 489 <code class="details" id="updateWebSecurityScannerSettings">updateWebSecurityScannerSettings(name, body=None, updateMask=None, x__xgafv=None)</code> 490 <pre>Update the WebSecurityScannerSettings resource. 491 492Args: 493 name: string, The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings (required) 494 body: object, The request body. 495 The object takes the form of: 496 497{ # Resource capturing the settings for the Web Security Scanner service. 498 "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. 499 "a_key": { # Configuration of a module. 500 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 501 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 502 "a_key": "", # Properties of the object. 503 }, 504 }, 505 }, 506 "name": "A String", # The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings 507 "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. 508 "updateTime": "A String", # Output only. The time the settings were last updated. 509} 510 511 updateMask: string, The list of fields to be updated. 512 x__xgafv: string, V1 error format. 513 Allowed values 514 1 - v1 error format 515 2 - v2 error format 516 517Returns: 518 An object of the form: 519 520 { # Resource capturing the settings for the Web Security Scanner service. 521 "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. 522 "a_key": { # Configuration of a module. 523 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 524 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 525 "a_key": "", # Properties of the object. 526 }, 527 }, 528 }, 529 "name": "A String", # The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings 530 "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. 531 "updateTime": "A String", # Output only. The time the settings were last updated. 532}</pre> 533</div> 534 535</body></html>