containerThreatDetectionSettings()
Returns the containerThreatDetectionSettings Resource.
eventThreatDetectionSettings()
Returns the eventThreatDetectionSettings Resource.
Returns the locations Resource.
rapidVulnerabilityDetectionSettings()
Returns the rapidVulnerabilityDetectionSettings Resource.
securityHealthAnalyticsSettings()
Returns the securityHealthAnalyticsSettings Resource.
virtualMachineThreatDetectionSettings()
Returns the virtualMachineThreatDetectionSettings Resource.
Returns the webSecurityScannerSettings Resource.
Close httplib2 connections.
getContainerThreatDetectionSettings(name, x__xgafv=None)
Get the ContainerThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateContainerThreatDetectionSettings for this purpose.
getEventThreatDetectionSettings(name, x__xgafv=None)
Get the EventThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetEventThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateEventThreatDetectionSettings for this purpose.
getRapidVulnerabilityDetectionSettings(name, x__xgafv=None)
Get the RapidVulnerabilityDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetRapidVulnerabilityDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateRapidVulnerabilityDetectionSettings for this purpose.
getSecurityCenterSettings(name, x__xgafv=None)
Get the SecurityCenterSettings resource.
getSecurityHealthAnalyticsSettings(name, x__xgafv=None)
Get the SecurityHealthAnalyticsSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetSecurityHealthAnalyticsSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateSecurityHealthAnalyticsSettings for this purpose.
getVirtualMachineThreatDetectionSettings(name, x__xgafv=None)
Get the VirtualMachineThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetVirtualMachineThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateVirtualMachineThreatDetectionSettings for this purpose.
getWebSecurityScannerSettings(name, x__xgafv=None)
Get the WebSecurityScannerSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetWebSecurityScannerSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateWebSecurityScannerSettings for this purpose.
updateContainerThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)
Update the ContainerThreatDetectionSettings resource.
updateEventThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)
Update the EventThreatDetectionSettings resource.
updateRapidVulnerabilityDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)
Update the RapidVulnerabilityDetectionSettings resource.
updateSecurityHealthAnalyticsSettings(name, body=None, updateMask=None, x__xgafv=None)
Update the SecurityHealthAnalyticsSettings resource.
updateVirtualMachineThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)
Update the VirtualMachineThreatDetectionSettings resource.
updateWebSecurityScannerSettings(name, body=None, updateMask=None, x__xgafv=None)
Update the WebSecurityScannerSettings resource.
close()
Close httplib2 connections.
getContainerThreatDetectionSettings(name, x__xgafv=None)
Get the ContainerThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateContainerThreatDetectionSettings for this purpose. Args: 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) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Resource capturing the settings for the Container Threat Detection service. "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 configuration. "a_key": { # Configuration of a module. "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. "a_key": "", # Properties of the object. }, }, }, "name": "A String", # Identifier. The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings "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. "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. "updateTime": "A String", # Output only. The time the settings were last updated. }
getEventThreatDetectionSettings(name, x__xgafv=None)
Get the EventThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetEventThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateEventThreatDetectionSettings for this purpose. Args: name: string, Required. The name of the EventThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Resource capturing the settings for the Event Threat Detection service. "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 configuration. "a_key": { # Configuration of a module. "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. "a_key": "", # Properties of the object. }, }, }, "name": "A String", # Identifier. The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings "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. "updateTime": "A String", # Output only. The time the settings were last updated. }
getRapidVulnerabilityDetectionSettings(name, x__xgafv=None)
Get the RapidVulnerabilityDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetRapidVulnerabilityDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateRapidVulnerabilityDetectionSettings for this purpose. Args: name: string, Required. The name of the RapidVulnerabilityDetectionSettings to retrieve. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Resource capturing the settings for the Rapid Vulnerability Detection service. "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. "a_key": { # Configuration of a module. "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. "a_key": "", # Properties of the object. }, }, }, "name": "A String", # The resource name of the RapidVulnerabilityDetectionSettings. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings "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. "updateTime": "A String", # Output only. The time the settings were last updated. }
getSecurityCenterSettings(name, x__xgafv=None)
Get the SecurityCenterSettings resource. Args: name: string, Required. The name of the SecurityCenterSettings to retrieve. Format: organizations/{organization}/securityCenterSettings Format: folders/{folder}/securityCenterSettings Format: projects/{project}/securityCenterSettings (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Resource capturing the settings for Security Center. Next ID: 12 "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. This may only be specified for organization level onboarding. "name": "A String", # The resource name of the SecurityCenterSettings. Format: organizations/{organization}/securityCenterSettings Format: folders/{folder}/securityCenterSettings Format: projects/{project}/securityCenterSettings "onboardingTime": "A String", # Output only. Timestamp of when the customer organization was onboarded to SCC. "orgServiceAccount": "A String", # Output only. The organization level service account to be used for security center components. }
getSecurityHealthAnalyticsSettings(name, x__xgafv=None)
Get the SecurityHealthAnalyticsSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetSecurityHealthAnalyticsSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateSecurityHealthAnalyticsSettings for this purpose. Args: name: string, Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Resource capturing the settings for the Security Health Analytics service. "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 configuration. "a_key": { # Configuration of a module. "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. "a_key": "", # Properties of the object. }, }, }, "name": "A String", # Identifier. The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings "serviceAccount": "A String", # Output only. The service account used by Security Health Analytics detectors. "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. "updateTime": "A String", # Output only. The time the settings were last updated. }
getVirtualMachineThreatDetectionSettings(name, x__xgafv=None)
Get the VirtualMachineThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetVirtualMachineThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateVirtualMachineThreatDetectionSettings for this purpose. Args: name: string, Required. The name of the VirtualMachineThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Resource capturing the settings for the Virtual Machine Threat Detection service. "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 configuration. "a_key": { # Configuration of a module. "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. "a_key": "", # Properties of the object. }, }, }, "name": "A String", # Identifier. The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings "serviceAccount": "A String", # Output only. The service account used by Virtual Machine Threat Detection detectors. "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. "updateTime": "A String", # Output only. The time the settings were last updated. }
getWebSecurityScannerSettings(name, x__xgafv=None)
Get the WebSecurityScannerSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetWebSecurityScannerSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateWebSecurityScannerSettings for this purpose. Args: name: string, Required. The name of the WebSecurityScannerSettings to retrieve. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Resource capturing the settings for the Web Security Scanner service. "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 configuration. "a_key": { # Configuration of a module. "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. "a_key": "", # Properties of the object. }, }, }, "name": "A String", # Identifier. The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings "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. "updateTime": "A String", # Output only. The time the settings were last updated. }
updateContainerThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)
Update the ContainerThreatDetectionSettings resource. Args: name: string, Identifier. The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings (required) body: object, The request body. The object takes the form of: { # Resource capturing the settings for the Container Threat Detection service. "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 configuration. "a_key": { # Configuration of a module. "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. "a_key": "", # Properties of the object. }, }, }, "name": "A String", # Identifier. The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings "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. "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. "updateTime": "A String", # Output only. The time the settings were last updated. } updateMask: string, The list of fields to be updated. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Resource capturing the settings for the Container Threat Detection service. "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 configuration. "a_key": { # Configuration of a module. "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. "a_key": "", # Properties of the object. }, }, }, "name": "A String", # Identifier. The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings "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. "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. "updateTime": "A String", # Output only. The time the settings were last updated. }
updateEventThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)
Update the EventThreatDetectionSettings resource. Args: name: string, Identifier. The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings (required) body: object, The request body. The object takes the form of: { # Resource capturing the settings for the Event Threat Detection service. "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 configuration. "a_key": { # Configuration of a module. "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. "a_key": "", # Properties of the object. }, }, }, "name": "A String", # Identifier. The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings "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. "updateTime": "A String", # Output only. The time the settings were last updated. } updateMask: string, The list of fields to be updated. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Resource capturing the settings for the Event Threat Detection service. "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 configuration. "a_key": { # Configuration of a module. "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. "a_key": "", # Properties of the object. }, }, }, "name": "A String", # Identifier. The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings "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. "updateTime": "A String", # Output only. The time the settings were last updated. }
updateRapidVulnerabilityDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)
Update the RapidVulnerabilityDetectionSettings resource. Args: name: string, The resource name of the RapidVulnerabilityDetectionSettings. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings (required) body: object, The request body. The object takes the form of: { # Resource capturing the settings for the Rapid Vulnerability Detection service. "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. "a_key": { # Configuration of a module. "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. "a_key": "", # Properties of the object. }, }, }, "name": "A String", # The resource name of the RapidVulnerabilityDetectionSettings. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings "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. "updateTime": "A String", # Output only. The time the settings were last updated. } updateMask: string, The list of fields to be updated. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Resource capturing the settings for the Rapid Vulnerability Detection service. "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. "a_key": { # Configuration of a module. "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. "a_key": "", # Properties of the object. }, }, }, "name": "A String", # The resource name of the RapidVulnerabilityDetectionSettings. Formats: * organizations/{organization}/rapidVulnerabilityDetectionSettings * folders/{folder}/rapidVulnerabilityDetectionSettings * projects/{project}/rapidVulnerabilityDetectionSettings "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. "updateTime": "A String", # Output only. The time the settings were last updated. }
updateSecurityHealthAnalyticsSettings(name, body=None, updateMask=None, x__xgafv=None)
Update the SecurityHealthAnalyticsSettings resource. Args: name: string, Identifier. The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings (required) body: object, The request body. The object takes the form of: { # Resource capturing the settings for the Security Health Analytics service. "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 configuration. "a_key": { # Configuration of a module. "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. "a_key": "", # Properties of the object. }, }, }, "name": "A String", # Identifier. The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings "serviceAccount": "A String", # Output only. The service account used by Security Health Analytics detectors. "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. "updateTime": "A String", # Output only. The time the settings were last updated. } updateMask: string, The list of fields to be updated. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Resource capturing the settings for the Security Health Analytics service. "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 configuration. "a_key": { # Configuration of a module. "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. "a_key": "", # Properties of the object. }, }, }, "name": "A String", # Identifier. The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings "serviceAccount": "A String", # Output only. The service account used by Security Health Analytics detectors. "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. "updateTime": "A String", # Output only. The time the settings were last updated. }
updateVirtualMachineThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)
Update the VirtualMachineThreatDetectionSettings resource. Args: name: string, Identifier. The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings (required) body: object, The request body. The object takes the form of: { # Resource capturing the settings for the Virtual Machine Threat Detection service. "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 configuration. "a_key": { # Configuration of a module. "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. "a_key": "", # Properties of the object. }, }, }, "name": "A String", # Identifier. The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings "serviceAccount": "A String", # Output only. The service account used by Virtual Machine Threat Detection detectors. "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. "updateTime": "A String", # Output only. The time the settings were last updated. } updateMask: string, The list of fields to be updated. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Resource capturing the settings for the Virtual Machine Threat Detection service. "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 configuration. "a_key": { # Configuration of a module. "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. "a_key": "", # Properties of the object. }, }, }, "name": "A String", # Identifier. The resource name of the VirtualMachineThreatDetectionSettings. Formats: * organizations/{organization}/virtualMachineThreatDetectionSettings * folders/{folder}/virtualMachineThreatDetectionSettings * projects/{project}/virtualMachineThreatDetectionSettings "serviceAccount": "A String", # Output only. The service account used by Virtual Machine Threat Detection detectors. "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. "updateTime": "A String", # Output only. The time the settings were last updated. }
updateWebSecurityScannerSettings(name, body=None, updateMask=None, x__xgafv=None)
Update the WebSecurityScannerSettings resource. Args: name: string, Identifier. The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings (required) body: object, The request body. The object takes the form of: { # Resource capturing the settings for the Web Security Scanner service. "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 configuration. "a_key": { # Configuration of a module. "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. "a_key": "", # Properties of the object. }, }, }, "name": "A String", # Identifier. The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings "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. "updateTime": "A String", # Output only. The time the settings were last updated. } updateMask: string, The list of fields to be updated. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Resource capturing the settings for the Web Security Scanner service. "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 configuration. "a_key": { # Configuration of a module. "moduleEnablementState": "A String", # The state of enablement for the module at its level of the resource hierarchy. "value": { # The configuration value for the module. The absence of this field implies its inheritance from the parent. "a_key": "", # Properties of the object. }, }, }, "name": "A String", # Identifier. The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings "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. "updateTime": "A String", # Output only. The time the settings were last updated. }