class Google::Apis::SecuritycenterV1::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_v1/classes.rb, line 2161
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_v1/classes.rb, line 2166
def update!(**args)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
end