Class: Google::Apis::BinaryauthorizationV1::EvaluateGkePolicyRequest
- Inherits:
-
Object
- Object
- Google::Apis::BinaryauthorizationV1::EvaluateGkePolicyRequest
- 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
Request message for PlatformPolicyEvaluationService.EvaluateGkePolicy.
Instance Attribute Summary collapse
-
#resource ⇒ Hash<String,Object>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EvaluateGkePolicyRequest
constructor
A new instance of EvaluateGkePolicyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EvaluateGkePolicyRequest
Returns a new instance of EvaluateGkePolicyRequest.
679 680 681 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 679 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource ⇒ Hash<String,Object>
Required. JSON or YAML blob representing a Kubernetes resource.
Corresponds to the JSON property resource
677 678 679 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 677 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
684 685 686 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 684 def update!(**args) @resource = args[:resource] if args.key?(:resource) end |