class Google::Apis::SecuritycenterV1beta1::SetFindingStateRequest
Request message for updating a finding's state.
Attributes
start_time[RW]
Required. The time at which the updated state takes effect. Corresponds to the JSON property `startTime` @return [String]
state[RW]
Required. The desired State of the finding. Corresponds to the JSON property `state` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/securitycenter_v1beta1/classes.rb, line 1993 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/securitycenter_v1beta1/classes.rb, line 1998 def update!(**args) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) end