Class: Google::Apis::BinaryauthorizationV1::EvaluationResult

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#verdictString

The result of evaluating this check. Corresponds to the JSON property verdict

Returns:

  • (String)


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