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.



718
719
720
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 718

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#verdictString

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

Returns:

  • (String)


716
717
718
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 716

def verdict
  @verdict
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



723
724
725
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 723

def update!(**args)
  @verdict = args[:verdict] if args.key?(:verdict)
end