Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2StaticMute
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2StaticMute
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Overview
Information about the static mute state. A static mute state overrides any dynamic mute rules that apply to this finding. The static mute state can be set by a static mute rule or by muting the finding directly.
Instance Attribute Summary collapse
-
#apply_time ⇒ String
When the static mute was applied.
-
#state ⇒ String
The static mute state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2StaticMute
constructor
A new instance of GoogleCloudSecuritycenterV2StaticMute.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2StaticMute
Returns a new instance of GoogleCloudSecuritycenterV2StaticMute.
7887 7888 7889 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7887 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apply_time ⇒ String
When the static mute was applied.
Corresponds to the JSON property applyTime
7879 7880 7881 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7879 def apply_time @apply_time end |
#state ⇒ String
The static mute state. If the value is MUTED
or UNMUTED
, then the finding'
s overall mute state will have the same value.
Corresponds to the JSON property state
7885 7886 7887 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7885 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7892 7893 7894 7895 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7892 def update!(**args) @apply_time = args[:apply_time] if args.key?(:apply_time) @state = args[:state] if args.key?(:state) end |