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
CheckSetobjects.
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.
634 635 636 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 634 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
606 607 608 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 606 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
611 612 613 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 611 def check_results @check_results end |
#display_name ⇒ String
The name of the check set.
Corresponds to the JSON property displayName
616 617 618 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 616 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
622 623 624 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 622 def explanation @explanation end |
#index ⇒ Fixnum
The index of the check set.
Corresponds to the JSON property index
627 628 629 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 627 def index @index end |
#scope ⇒ Google::Apis::BinaryauthorizationV1::Scope
A scope specifier for CheckSet objects.
Corresponds to the JSON property scope
632 633 634 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 632 def scope @scope end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
639 640 641 642 643 644 645 646 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 639 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 |