Class: Google::Apis::BinaryauthorizationV1::CheckResult
- Inherits:
-
Object
- Object
- Google::Apis::BinaryauthorizationV1::CheckResult
- 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
-
#allowlist_result ⇒ Google::Apis::BinaryauthorizationV1::AllowlistResult
Result of evaluating an image name allowlist.
-
#display_name ⇒ String
The name of the check.
-
#evaluation_result ⇒ Google::Apis::BinaryauthorizationV1::EvaluationResult
Result of evaluating one check.
-
#explanation ⇒ String
Explanation of this check result.
-
#index ⇒ Fixnum
The index of the check.
-
#type ⇒ String
The type of the check.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CheckResult
constructor
A new instance of CheckResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CheckResult
Returns a new instance of CheckResult.
525 526 527 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 525 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
498 499 500 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 498 def allowlist_result @allowlist_result end |
#display_name ⇒ String
The name of the check.
Corresponds to the JSON property displayName
503 504 505 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 503 def display_name @display_name end |
#evaluation_result ⇒ Google::Apis::BinaryauthorizationV1::EvaluationResult
Result of evaluating one check.
Corresponds to the JSON property evaluationResult
508 509 510 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 508 def evaluation_result @evaluation_result end |
#explanation ⇒ String
Explanation of this check result.
Corresponds to the JSON property explanation
513 514 515 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 513 def explanation @explanation end |
#index ⇒ Fixnum
The index of the check.
Corresponds to the JSON property index
518 519 520 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 518 def index @index end |
#type ⇒ String
The type of the check.
Corresponds to the JSON property type
523 524 525 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 523 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
530 531 532 533 534 535 536 537 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 530 def update!(**args) @allowlist_result = args[:allowlist_result] if args.key?(:allowlist_result) @display_name = args[:display_name] if args.key?(:display_name) @evaluation_result = args[:evaluation_result] if args.key?(:evaluation_result) @explanation = args[:explanation] if args.key?(:explanation) @index = args[:index] if args.key?(:index) @type = args[:type] if args.key?(:type) end |