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.
12971 12972 12973 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12971 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error ⇒ Google::Apis::SecuritycenterV1::Status
Corresponds to the JSON property error
12959 12960 12961 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12959 def error @error end |
#finding ⇒ Google::Apis::SecuritycenterV1::Finding
Corresponds to the JSON property finding
12964 12965 12966 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12964 def finding @finding end |
#no_violation ⇒ Google::Apis::SecuritycenterV1::Empty
Corresponds to the JSON property noViolation
12969 12970 12971 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12969 def no_violation @no_violation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12976 12977 12978 12979 12980 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12976 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 |