Class: Google::Apis::BinaryauthorizationV1::EvaluationResult
- Inherits:
-
Object
- Object
- Google::Apis::BinaryauthorizationV1::EvaluationResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/binaryauthorization_v1/classes.rb,
lib/google/apis/binaryauthorization_v1/representations.rb,
lib/google/apis/binaryauthorization_v1/representations.rb
Overview
Result of evaluating one check.
Instance Attribute Summary collapse
-
#verdict ⇒ String
The result of evaluating this check.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EvaluationResult
constructor
A new instance of EvaluationResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EvaluationResult
Returns a new instance of EvaluationResult.
723 724 725 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 723 def initialize(**args) update!(**args) end |
Instance Attribute Details
#verdict ⇒ String
The result of evaluating this check.
Corresponds to the JSON property verdict
721 722 723 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 721 def verdict @verdict end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
728 729 730 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 728 def update!(**args) @verdict = args[:verdict] if args.key?(:verdict) end |