Class: Google::Apis::SecuritypostureV1::SecurityHealthAnalyticsModule
- Inherits:
-
Object
- Object
- Google::Apis::SecuritypostureV1::SecurityHealthAnalyticsModule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securityposture_v1/classes.rb,
lib/google/apis/securityposture_v1/representations.rb,
lib/google/apis/securityposture_v1/representations.rb
Overview
A built-in detector for Security Health Analytics.
Instance Attribute Summary collapse
-
#module_enablement_state ⇒ String
Whether the detector is enabled at a specified level of the resource hierarchy.
-
#module_name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityHealthAnalyticsModule
constructor
A new instance of SecurityHealthAnalyticsModule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecurityHealthAnalyticsModule
Returns a new instance of SecurityHealthAnalyticsModule.
1633 1634 1635 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 1633 def initialize(**args) update!(**args) end |
Instance Attribute Details
#module_enablement_state ⇒ String
Whether the detector is enabled at a specified level of the resource hierarchy.
Corresponds to the JSON property moduleEnablementState
1624 1625 1626 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 1624 def module_enablement_state @module_enablement_state end |
#module_name ⇒ String
Required. The name of the detector. For example, BIGQUERY_TABLE_CMEK_DISABLED
. This field is also used as the finding category for all the asset violation
findings that the detector returns.
Corresponds to the JSON property moduleName
1631 1632 1633 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 1631 def module_name @module_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1638 1639 1640 1641 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 1638 def update!(**args) @module_enablement_state = args[:module_enablement_state] if args.key?(:module_enablement_state) @module_name = args[:module_name] if args.key?(:module_name) end |