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.organizations.html">organizations</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="securitycenter_v1beta2.organizations.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.organizations.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.organizations.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.organizations.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.organizations.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="#getSecurityCenterSettings">getSecurityCenterSettings(name, x__xgafv=None)</a></code></p> 113<p class="firstline">Get the SecurityCenterSettings resource.</p> 114<p class="toc_element"> 115 <code><a href="#getSecurityHealthAnalyticsSettings">getSecurityHealthAnalyticsSettings(name, x__xgafv=None)</a></code></p> 116<p class="firstline">Get the SecurityHealthAnalyticsSettings resource.</p> 117<p class="toc_element"> 118 <code><a href="#getSubscription">getSubscription(name, x__xgafv=None)</a></code></p> 119<p class="firstline">Get the Subscription resource.</p> 120<p class="toc_element"> 121 <code><a href="#getVirtualMachineThreatDetectionSettings">getVirtualMachineThreatDetectionSettings(name, x__xgafv=None)</a></code></p> 122<p class="firstline">Get the VirtualMachineThreatDetectionSettings resource.</p> 123<p class="toc_element"> 124 <code><a href="#getWebSecurityScannerSettings">getWebSecurityScannerSettings(name, x__xgafv=None)</a></code></p> 125<p class="firstline">Get the WebSecurityScannerSettings resource.</p> 126<p class="toc_element"> 127 <code><a href="#updateContainerThreatDetectionSettings">updateContainerThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 128<p class="firstline">Update the ContainerThreatDetectionSettings resource.</p> 129<p class="toc_element"> 130 <code><a href="#updateEventThreatDetectionSettings">updateEventThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 131<p class="firstline">Update the EventThreatDetectionSettings resource.</p> 132<p class="toc_element"> 133 <code><a href="#updateSecurityHealthAnalyticsSettings">updateSecurityHealthAnalyticsSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 134<p class="firstline">Update the SecurityHealthAnalyticsSettings resource.</p> 135<p class="toc_element"> 136 <code><a href="#updateVirtualMachineThreatDetectionSettings">updateVirtualMachineThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 137<p class="firstline">Update the VirtualMachineThreatDetectionSettings resource.</p> 138<p class="toc_element"> 139 <code><a href="#updateWebSecurityScannerSettings">updateWebSecurityScannerSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 140<p class="firstline">Update the WebSecurityScannerSettings resource.</p> 141<h3>Method Details</h3> 142<div class="method"> 143 <code class="details" id="close">close()</code> 144 <pre>Close httplib2 connections.</pre> 145</div> 146 147<div class="method"> 148 <code class="details" id="getContainerThreatDetectionSettings">getContainerThreatDetectionSettings(name, x__xgafv=None)</code> 149 <pre>Get the ContainerThreatDetectionSettings resource. 150 151Args: 152 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) 153 x__xgafv: string, V1 error format. 154 Allowed values 155 1 - v1 error format 156 2 - v2 error format 157 158Returns: 159 An object of the form: 160 161 { # Resource capturing the settings for the Container Threat Detection service. 162 "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. 163 "a_key": { # Configuration of a module. 164 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 165 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 166 "a_key": "", # Properties of the object. 167 }, 168 }, 169 }, 170 "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 171 "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. 172 "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. 173 "updateTime": "A String", # Output only. The time the settings were last updated. 174}</pre> 175</div> 176 177<div class="method"> 178 <code class="details" id="getEventThreatDetectionSettings">getEventThreatDetectionSettings(name, x__xgafv=None)</code> 179 <pre>Get the EventThreatDetectionSettings resource. 180 181Args: 182 name: string, Required. The name of the EventThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings (required) 183 x__xgafv: string, V1 error format. 184 Allowed values 185 1 - v1 error format 186 2 - v2 error format 187 188Returns: 189 An object of the form: 190 191 { # Resource capturing the settings for the Event Threat Detection service. 192 "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. 193 "a_key": { # Configuration of a module. 194 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 195 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 196 "a_key": "", # Properties of the object. 197 }, 198 }, 199 }, 200 "name": "A String", # The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings 201 "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. 202 "updateTime": "A String", # Output only. The time the settings were last updated. 203}</pre> 204</div> 205 206<div class="method"> 207 <code class="details" id="getSecurityCenterSettings">getSecurityCenterSettings(name, x__xgafv=None)</code> 208 <pre>Get the SecurityCenterSettings resource. 209 210Args: 211 name: string, Required. The name of the SecurityCenterSettings to retrieve. Format: organizations/{organization}/securityCenterSettings (required) 212 x__xgafv: string, V1 error format. 213 Allowed values 214 1 - v1 error format 215 2 - v2 error format 216 217Returns: 218 An object of the form: 219 220 { # Resource capturing the settings for Security Center. 221 "logSinkProject": "A String", # The resource name of the project to send logs to. This project must be part of the organization this resource resides in. The format is `projects/{project_id}`. An empty value disables logging. This value is only referenced by services that support log sink. Please refer to the documentation for an updated list of compatible services. 222 "name": "A String", # The resource name of the SecurityCenterSettings. Format: organizations/{organization}/securityCenterSettings 223 "orgServiceAccount": "A String", # The organization level service account to be used for security center components. 224}</pre> 225</div> 226 227<div class="method"> 228 <code class="details" id="getSecurityHealthAnalyticsSettings">getSecurityHealthAnalyticsSettings(name, x__xgafv=None)</code> 229 <pre>Get the SecurityHealthAnalyticsSettings resource. 230 231Args: 232 name: string, Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings (required) 233 x__xgafv: string, V1 error format. 234 Allowed values 235 1 - v1 error format 236 2 - v2 error format 237 238Returns: 239 An object of the form: 240 241 { # Resource capturing the settings for the Security Health Analytics service. 242 "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. 243 "a_key": { # Configuration of a module. 244 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 245 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 246 "a_key": "", # Properties of the object. 247 }, 248 }, 249 }, 250 "name": "A String", # The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings 251 "serviceAccount": "A String", # Output only. The service account used by Security Health Analytics detectors. 252 "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. 253 "updateTime": "A String", # Output only. The time the settings were last updated. 254}</pre> 255</div> 256 257<div class="method"> 258 <code class="details" id="getSubscription">getSubscription(name, x__xgafv=None)</code> 259 <pre>Get the Subscription resource. 260 261Args: 262 name: string, Required. The name of the subscription to retrieve. Format: organizations/{organization}/subscription (required) 263 x__xgafv: string, V1 error format. 264 Allowed values 265 1 - v1 error format 266 2 - v2 error format 267 268Returns: 269 An object of the form: 270 271 { # Resource capturing the state of an organization's subscription. 272 "details": { # Details of a subscription. # The details of the most recent active subscription. If there has never been a subscription this will be empty. 273 "endTime": "A String", # The time the subscription has or will end. 274 "startTime": "A String", # The time the subscription has or will start. 275 "type": "A String", # The type of subscription 276 }, 277 "name": "A String", # The resource name of the subscription. Format: organizations/{organization}/subscription 278 "tier": "A String", # The tier of SCC features this organization currently has access to. 279}</pre> 280</div> 281 282<div class="method"> 283 <code class="details" id="getVirtualMachineThreatDetectionSettings">getVirtualMachineThreatDetectionSettings(name, x__xgafv=None)</code> 284 <pre>Get the VirtualMachineThreatDetectionSettings resource. 285 286Args: 287 name: string, Required. The name of the VirtualMachineThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings (required) 288 x__xgafv: string, V1 error format. 289 Allowed values 290 1 - v1 error format 291 2 - v2 error format 292 293Returns: 294 An object of the form: 295 296 { # Resource capturing the settings for the Virtual Machine Threat Detection service. 297 "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. 298 "a_key": { # Configuration of a module. 299 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 300 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 301 "a_key": "", # Properties of the object. 302 }, 303 }, 304 }, 305 "name": "A String", # The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings 306 "serviceAccount": "A String", # Output only. The service account used by Virtual Machine Threat Detection detectors. 307 "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. 308 "updateTime": "A String", # Output only. The time the settings were last updated. 309}</pre> 310</div> 311 312<div class="method"> 313 <code class="details" id="getWebSecurityScannerSettings">getWebSecurityScannerSettings(name, x__xgafv=None)</code> 314 <pre>Get the WebSecurityScannerSettings resource. 315 316Args: 317 name: string, Required. The name of the WebSecurityScannerSettings to retrieve. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings (required) 318 x__xgafv: string, V1 error format. 319 Allowed values 320 1 - v1 error format 321 2 - v2 error format 322 323Returns: 324 An object of the form: 325 326 { # Resource capturing the settings for the Web Security Scanner service. 327 "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. 328 "a_key": { # Configuration of a module. 329 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 330 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 331 "a_key": "", # Properties of the object. 332 }, 333 }, 334 }, 335 "name": "A String", # The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings 336 "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. 337 "updateTime": "A String", # Output only. The time the settings were last updated. 338}</pre> 339</div> 340 341<div class="method"> 342 <code class="details" id="updateContainerThreatDetectionSettings">updateContainerThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</code> 343 <pre>Update the ContainerThreatDetectionSettings resource. 344 345Args: 346 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) 347 body: object, The request body. 348 The object takes the form of: 349 350{ # Resource capturing the settings for the Container Threat Detection service. 351 "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. 352 "a_key": { # Configuration of a module. 353 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 354 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 355 "a_key": "", # Properties of the object. 356 }, 357 }, 358 }, 359 "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 360 "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. 361 "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. 362 "updateTime": "A String", # Output only. The time the settings were last updated. 363} 364 365 updateMask: string, The list of fields to be updated. 366 x__xgafv: string, V1 error format. 367 Allowed values 368 1 - v1 error format 369 2 - v2 error format 370 371Returns: 372 An object of the form: 373 374 { # Resource capturing the settings for the Container Threat Detection service. 375 "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. 376 "a_key": { # Configuration of a module. 377 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 378 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 379 "a_key": "", # Properties of the object. 380 }, 381 }, 382 }, 383 "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 384 "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. 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="updateEventThreatDetectionSettings">updateEventThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</code> 392 <pre>Update the EventThreatDetectionSettings resource. 393 394Args: 395 name: string, The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings (required) 396 body: object, The request body. 397 The object takes the form of: 398 399{ # Resource capturing the settings for the Event Threat Detection 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 EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings 409 "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. 410 "updateTime": "A String", # Output only. The time the settings were last updated. 411} 412 413 updateMask: string, The list of fields to be updated. 414 x__xgafv: string, V1 error format. 415 Allowed values 416 1 - v1 error format 417 2 - v2 error format 418 419Returns: 420 An object of the form: 421 422 { # Resource capturing the settings for the Event Threat Detection service. 423 "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. 424 "a_key": { # Configuration of a module. 425 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 426 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 427 "a_key": "", # Properties of the object. 428 }, 429 }, 430 }, 431 "name": "A String", # The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings 432 "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. 433 "updateTime": "A String", # Output only. The time the settings were last updated. 434}</pre> 435</div> 436 437<div class="method"> 438 <code class="details" id="updateSecurityHealthAnalyticsSettings">updateSecurityHealthAnalyticsSettings(name, body=None, updateMask=None, x__xgafv=None)</code> 439 <pre>Update the SecurityHealthAnalyticsSettings resource. 440 441Args: 442 name: string, The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings (required) 443 body: object, The request body. 444 The object takes the form of: 445 446{ # Resource capturing the settings for the Security Health Analytics service. 447 "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. 448 "a_key": { # Configuration of a module. 449 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 450 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 451 "a_key": "", # Properties of the object. 452 }, 453 }, 454 }, 455 "name": "A String", # The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings 456 "serviceAccount": "A String", # Output only. The service account used by Security Health Analytics detectors. 457 "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. 458 "updateTime": "A String", # Output only. The time the settings were last updated. 459} 460 461 updateMask: string, The list of fields to be updated. 462 x__xgafv: string, V1 error format. 463 Allowed values 464 1 - v1 error format 465 2 - v2 error format 466 467Returns: 468 An object of the form: 469 470 { # Resource capturing the settings for the Security Health Analytics service. 471 "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. 472 "a_key": { # Configuration of a module. 473 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 474 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 475 "a_key": "", # Properties of the object. 476 }, 477 }, 478 }, 479 "name": "A String", # The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings 480 "serviceAccount": "A String", # Output only. The service account used by Security Health Analytics detectors. 481 "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. 482 "updateTime": "A String", # Output only. The time the settings were last updated. 483}</pre> 484</div> 485 486<div class="method"> 487 <code class="details" id="updateVirtualMachineThreatDetectionSettings">updateVirtualMachineThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)</code> 488 <pre>Update the VirtualMachineThreatDetectionSettings resource. 489 490Args: 491 name: string, The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings (required) 492 body: object, The request body. 493 The object takes the form of: 494 495{ # Resource capturing the settings for the Virtual Machine Threat Detection service. 496 "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. 497 "a_key": { # Configuration of a module. 498 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 499 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 500 "a_key": "", # Properties of the object. 501 }, 502 }, 503 }, 504 "name": "A String", # The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings 505 "serviceAccount": "A String", # Output only. The service account used by Virtual Machine Threat Detection detectors. 506 "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. 507 "updateTime": "A String", # Output only. The time the settings were last updated. 508} 509 510 updateMask: string, The list of fields to be updated. 511 x__xgafv: string, V1 error format. 512 Allowed values 513 1 - v1 error format 514 2 - v2 error format 515 516Returns: 517 An object of the form: 518 519 { # Resource capturing the settings for the Virtual Machine Threat Detection service. 520 "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. 521 "a_key": { # Configuration of a module. 522 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 523 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 524 "a_key": "", # Properties of the object. 525 }, 526 }, 527 }, 528 "name": "A String", # The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings 529 "serviceAccount": "A String", # Output only. The service account used by Virtual Machine Threat Detection detectors. 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<div class="method"> 536 <code class="details" id="updateWebSecurityScannerSettings">updateWebSecurityScannerSettings(name, body=None, updateMask=None, x__xgafv=None)</code> 537 <pre>Update the WebSecurityScannerSettings resource. 538 539Args: 540 name: string, The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings (required) 541 body: object, The request body. 542 The object takes the form of: 543 544{ # Resource capturing the settings for the Web Security Scanner service. 545 "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. 546 "a_key": { # Configuration of a module. 547 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 548 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 549 "a_key": "", # Properties of the object. 550 }, 551 }, 552 }, 553 "name": "A String", # The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings 554 "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. 555 "updateTime": "A String", # Output only. The time the settings were last updated. 556} 557 558 updateMask: string, The list of fields to be updated. 559 x__xgafv: string, V1 error format. 560 Allowed values 561 1 - v1 error format 562 2 - v2 error format 563 564Returns: 565 An object of the form: 566 567 { # Resource capturing the settings for the Web Security Scanner service. 568 "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. 569 "a_key": { # Configuration of a module. 570 "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. 571 "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. 572 "a_key": "", # Properties of the object. 573 }, 574 }, 575 }, 576 "name": "A String", # The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings 577 "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. 578 "updateTime": "A String", # Output only. The time the settings were last updated. 579}</pre> 580</div> 581 582</body></html>