Class: Google::Apis::GkehubV1beta::PolicyBinding
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::PolicyBinding
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/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 audit.
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.
4803 4804 4805 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 4803 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The relative resource name of the binauthz platform policy to audit. GKE
platform policies have the following format: projects/project_number/
platforms/gke/policies/policy_id`.
Corresponds to the JSON propertyname`
4801 4802 4803 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 4801 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4808 4809 4810 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 4808 def update!(**args) @name = args[:name] if args.key?(:name) end |