Class: Google::Apis::SecuritycenterV1::StaticMute
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::StaticMute
- 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
Instance Attribute Summary collapse
-
#apply_time ⇒ String
Corresponds to the JSON property
applyTime. -
#state ⇒ String
Corresponds to the JSON property
state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StaticMute
constructor
A new instance of StaticMute.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StaticMute
Returns a new instance of StaticMute.
13071 13072 13073 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13071 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apply_time ⇒ String
Corresponds to the JSON property applyTime
13064 13065 13066 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13064 def apply_time @apply_time end |
#state ⇒ String
Corresponds to the JSON property state
13069 13070 13071 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13069 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13076 13077 13078 13079 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13076 def update!(**args) @apply_time = args[:apply_time] if args.key?(:apply_time) @state = args[:state] if args.key?(:state) end |