Class: Google::Apis::GkehubV1beta::ConfigManagementBinauthzConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::ConfigManagementBinauthzConfig
- 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
Configuration for Binauthz
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
Whether binauthz is enabled in this cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConfigManagementBinauthzConfig
constructor
A new instance of ConfigManagementBinauthzConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConfigManagementBinauthzConfig
Returns a new instance of ConfigManagementBinauthzConfig.
336 337 338 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 336 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
Whether binauthz is enabled in this cluster.
Corresponds to the JSON property enabled
333 334 335 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 333 def enabled @enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
341 342 343 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 341 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) end |