Class: Google::Apis::SecuritycenterV1beta1::SetFindingStateRequest
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::SetFindingStateRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/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.
11828 11829 11830 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11828 def initialize(**args) update!(**args) end |
Instance Attribute Details
#start_time ⇒ String
Corresponds to the JSON property startTime
11821 11822 11823 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11821 def start_time @start_time end |
#state ⇒ String
Corresponds to the JSON property state
11826 11827 11828 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11826 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11833 11834 11835 11836 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11833 def update!(**args) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) end |