Class: Google::Apis::GkehubV1alpha::DefaultClusterConfig

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

DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DefaultClusterConfig

Returns a new instance of DefaultClusterConfig.



2176
2177
2178
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2176

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

Instance Attribute Details

#binary_authorization_configGoogle::Apis::GkehubV1alpha::BinaryAuthorizationConfig

BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature. Corresponds to the JSON property binaryAuthorizationConfig



2168
2169
2170
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2168

def binary_authorization_config
  @binary_authorization_config
end

#security_posture_configGoogle::Apis::GkehubV1alpha::SecurityPostureConfig

SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. Corresponds to the JSON property securityPostureConfig



2174
2175
2176
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2174

def security_posture_config
  @security_posture_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2181
2182
2183
2184
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2181

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