Class: Google::Apis::BinaryauthorizationV1::EvaluateGkePolicyResponse
- Inherits:
-
Object
- Object
- Google::Apis::BinaryauthorizationV1::EvaluateGkePolicyResponse
- 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
Response message for PlatformPolicyEvaluationService.EvaluateGkePolicy.
Instance Attribute Summary collapse
-
#results ⇒ Array<Google::Apis::BinaryauthorizationV1::PodResult>
Evaluation result for each Pod contained in the request.
-
#verdict ⇒ String
The result of evaluating all Pods in the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EvaluateGkePolicyResponse
constructor
A new instance of EvaluateGkePolicyResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EvaluateGkePolicyResponse
Returns a new instance of EvaluateGkePolicyResponse.
703 704 705 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 703 def initialize(**args) update!(**args) end |
Instance Attribute Details
#results ⇒ Array<Google::Apis::BinaryauthorizationV1::PodResult>
Evaluation result for each Pod contained in the request.
Corresponds to the JSON property results
696 697 698 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 696 def results @results end |
#verdict ⇒ String
The result of evaluating all Pods in the request.
Corresponds to the JSON property verdict
701 702 703 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 701 def verdict @verdict end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
708 709 710 711 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 708 def update!(**args) @results = args[:results] if args.key?(:results) @verdict = args[:verdict] if args.key?(:verdict) end |