Class: Google::Apis::BinaryauthorizationV1::CheckSetResult
- Inherits:
-
Object
- Object
- Google::Apis::BinaryauthorizationV1::CheckSetResult
- 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 set.
Instance Attribute Summary collapse
-
#allowlist_result ⇒ Google::Apis::BinaryauthorizationV1::AllowlistResult
Result of evaluating an image name allowlist.
-
#check_results ⇒ Google::Apis::BinaryauthorizationV1::CheckResults
Result of evaluating one or more checks.
-
#display_name ⇒ String
The name of the check set.
-
#explanation ⇒ String
Explanation of this check set result.
-
#index ⇒ Fixnum
The index of the check set.
-
#scope ⇒ Google::Apis::BinaryauthorizationV1::Scope
A scope specifier for
CheckSet
objects.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CheckSetResult
constructor
A new instance of CheckSetResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CheckSetResult
Returns a new instance of CheckSetResult.
639 640 641 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 639 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowlist_result ⇒ Google::Apis::BinaryauthorizationV1::AllowlistResult
Result of evaluating an image name allowlist.
Corresponds to the JSON property allowlistResult
611 612 613 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 611 def allowlist_result @allowlist_result end |
#check_results ⇒ Google::Apis::BinaryauthorizationV1::CheckResults
Result of evaluating one or more checks.
Corresponds to the JSON property checkResults
616 617 618 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 616 def check_results @check_results end |
#display_name ⇒ String
The name of the check set.
Corresponds to the JSON property displayName
621 622 623 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 621 def display_name @display_name end |
#explanation ⇒ String
Explanation of this check set result. Only populated if no checks were
evaluated.
Corresponds to the JSON property explanation
627 628 629 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 627 def explanation @explanation end |
#index ⇒ Fixnum
The index of the check set.
Corresponds to the JSON property index
632 633 634 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 632 def index @index end |
#scope ⇒ Google::Apis::BinaryauthorizationV1::Scope
A scope specifier for CheckSet
objects.
Corresponds to the JSON property scope
637 638 639 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 637 def scope @scope end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
644 645 646 647 648 649 650 651 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 644 def update!(**args) @allowlist_result = args[:allowlist_result] if args.key?(:allowlist_result) @check_results = args[:check_results] if args.key?(:check_results) @display_name = args[:display_name] if args.key?(:display_name) @explanation = args[:explanation] if args.key?(:explanation) @index = args[:index] if args.key?(:index) @scope = args[:scope] if args.key?(:scope) end |