Class: Google::Apis::ContainerV1beta1::PolicyBinding
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::PolicyBinding
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb
Overview
Binauthz policy that applies to this cluster.
Instance Attribute Summary collapse
-
#name ⇒ String
The relative resource name of the binauthz platform policy to evaluate.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PolicyBinding
constructor
A new instance of PolicyBinding.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PolicyBinding
Returns a new instance of PolicyBinding.
5914 5915 5916 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5914 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The relative resource name of the binauthz platform policy to evaluate. GKE
platform policies have the following format: projects/
project_number/
platforms/gke/policies/
policy_id`.
Corresponds to the JSON property
name`
5912 5913 5914 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5912 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5919 5920 5921 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5919 def update!(**args) @name = args[:name] if args.key?(:name) end |