Class: Google::Apis::SecuritycenterV1::SetFindingStateRequest
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::SetFindingStateRequest
- 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
-
#start_time ⇒ String
Corresponds to the JSON property
startTime. -
#state ⇒ String
Corresponds to the JSON property
state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetFindingStateRequest
constructor
A new instance of SetFindingStateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_time ⇒ String
Corresponds to the JSON property startTime
13225 13226 13227 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13225 def start_time @start_time end |
#state ⇒ String
Corresponds to the JSON property state
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 |