Class: Google::Apis::SecuritycenterV1beta2::StaticMute
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::StaticMute
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/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.
11266 11267 11268 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11266 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apply_time ⇒ String
Corresponds to the JSON property applyTime
11259 11260 11261 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11259 def apply_time @apply_time end |
#state ⇒ String
Corresponds to the JSON property state
11264 11265 11266 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11264 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11271 11272 11273 11274 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11271 def update!(**args) @apply_time = args[:apply_time] if args.key?(:apply_time) @state = args[:state] if args.key?(:state) end |