Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2StaticMute
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2StaticMute
- 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) ⇒ 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.
9471 9472 9473 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9471 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apply_time ⇒ String
Corresponds to the JSON property applyTime
9464 9465 9466 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9464 def apply_time @apply_time end |
#state ⇒ String
Corresponds to the JSON property state
9469 9470 9471 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9469 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9476 9477 9478 9479 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9476 def update!(**args) @apply_time = args[:apply_time] if args.key?(:apply_time) @state = args[:state] if args.key?(:state) end |