Class: Google::Apis::SecuritycenterV1::SetFindingStateRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SetFindingStateRequest

Returns a new instance of SetFindingStateRequest.



13232
13233
13234
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13232

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


13225
13226
13227
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13225

def start_time
  @start_time
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


13230
13231
13232
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13230

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13237
13238
13239
13240
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13237

def update!(**args)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
end