Class: Google::Apis::GkehubV1alpha::ConfigManagementBinauthzConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb

Overview

Configuration for Binauthz

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfigManagementBinauthzConfig

Returns a new instance of ConfigManagementBinauthzConfig.



1000
1001
1002
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1000

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Whether binauthz is enabled in this cluster. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


997
998
999
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 997

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1005
1006
1007
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1005

def update!(**args)
  @enabled = args[:enabled] if args.key?(:enabled)
end