Class: Google::Apis::OndemandscanningV1::WorkspacePolicyResult
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1::WorkspacePolicyResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ondemandscanning_v1/classes.rb,
lib/google/apis/ondemandscanning_v1/representations.rb,
lib/google/apis/ondemandscanning_v1/representations.rb
Overview
Result of Workspace Policy scan.
Instance Attribute Summary collapse
-
#scan_status ⇒ String
Status of the scan.
-
#verdict ⇒ String
Verdict of the scan.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkspacePolicyResult
constructor
A new instance of WorkspacePolicyResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WorkspacePolicyResult
Returns a new instance of WorkspacePolicyResult.
4571 4572 4573 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 4571 def initialize(**args) update!(**args) end |
Instance Attribute Details
#scan_status ⇒ String
Status of the scan.
Corresponds to the JSON property scanStatus
4564 4565 4566 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 4564 def scan_status @scan_status end |
#verdict ⇒ String
Verdict of the scan.
Corresponds to the JSON property verdict
4569 4570 4571 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 4569 def verdict @verdict end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4576 4577 4578 4579 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 4576 def update!(**args) @scan_status = args[:scan_status] if args.key?(:scan_status) @verdict = args[:verdict] if args.key?(:verdict) end |