Class: Google::Apis::BinaryauthorizationV1::CheckResults

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 or more checks.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CheckResults

Returns a new instance of CheckResults.



549
550
551
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 549

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

Instance Attribute Details

#resultsArray<Google::Apis::BinaryauthorizationV1::CheckResult>

Per-check details. Corresponds to the JSON property results



547
548
549
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 547

def results
  @results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



554
555
556
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 554

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