Class: Google::Apis::GkehubV1beta::ConfigManagementBinauthzConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfigManagementBinauthzConfig

Returns a new instance of ConfigManagementBinauthzConfig.



231
232
233
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 231

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)


228
229
230
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 228

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



236
237
238
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 236

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