Class: Google::Apis::GkehubV1beta::DefaultClusterConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::DefaultClusterConfig
- 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
DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet.
Instance Attribute Summary collapse
-
#binary_authorization_config ⇒ Google::Apis::GkehubV1beta::BinaryAuthorizationConfig
BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature.
-
#security_posture_config ⇒ Google::Apis::GkehubV1beta::SecurityPostureConfig
SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DefaultClusterConfig
constructor
A new instance of DefaultClusterConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DefaultClusterConfig
Returns a new instance of DefaultClusterConfig.
1998 1999 2000 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1998 def initialize(**args) update!(**args) end |
Instance Attribute Details
#binary_authorization_config ⇒ Google::Apis::GkehubV1beta::BinaryAuthorizationConfig
BinaryAuthorizationConfig defines the fleet level configuration of binary
authorization feature.
Corresponds to the JSON property binaryAuthorizationConfig
1990 1991 1992 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1990 def @binary_authorization_config end |
#security_posture_config ⇒ Google::Apis::GkehubV1beta::SecurityPostureConfig
SecurityPostureConfig defines the flags needed to enable/disable features for
the Security Posture API.
Corresponds to the JSON property securityPostureConfig
1996 1997 1998 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1996 def security_posture_config @security_posture_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2003 2004 2005 2006 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2003 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 |