Class: Google::Apis::SecuritycenterV1::SimulatedResult
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::SimulatedResult
- 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
-
#error ⇒ Google::Apis::SecuritycenterV1::Status
Corresponds to the JSON property
error. -
#finding ⇒ Google::Apis::SecuritycenterV1::Finding
Corresponds to the JSON property
finding. -
#no_violation ⇒ Google::Apis::SecuritycenterV1::Empty
Corresponds to the JSON property
noViolation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SimulatedResult
constructor
A new instance of SimulatedResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SimulatedResult
Returns a new instance of SimulatedResult.
13071 13072 13073 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13071 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error ⇒ Google::Apis::SecuritycenterV1::Status
Corresponds to the JSON property error
13059 13060 13061 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13059 def error @error end |
#finding ⇒ Google::Apis::SecuritycenterV1::Finding
Corresponds to the JSON property finding
13064 13065 13066 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13064 def finding @finding end |
#no_violation ⇒ Google::Apis::SecuritycenterV1::Empty
Corresponds to the JSON property noViolation
13069 13070 13071 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13069 def no_violation @no_violation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13076 13077 13078 13079 13080 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13076 def update!(**args) @error = args[:error] if args.key?(:error) @finding = args[:finding] if args.key?(:finding) @no_violation = args[:no_violation] if args.key?(:no_violation) end |