Class: Google::Apis::GkehubV1::DefaultClusterConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1::DefaultClusterConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1/classes.rb,
lib/google/apis/gkehub_v1/representations.rb,
lib/google/apis/gkehub_v1/representations.rb
Overview
DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet.
Instance Attribute Summary collapse
-
#security_posture_config ⇒ Google::Apis::GkehubV1::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.
1423 1424 1425 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 1423 def initialize(**args) update!(**args) end |
Instance Attribute Details
#security_posture_config ⇒ Google::Apis::GkehubV1::SecurityPostureConfig
SecurityPostureConfig defines the flags needed to enable/disable features for
the Security Posture API.
Corresponds to the JSON property securityPostureConfig
1421 1422 1423 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 1421 def security_posture_config @security_posture_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1428 1429 1430 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 1428 def update!(**args) @security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config) end |