Class: Google::Apis::GkehubV1beta::DataplaneV2FeatureSpec
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::DataplaneV2FeatureSpec
- 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
Dataplane V2: Spec
Instance Attribute Summary collapse
-
#enable_encryption ⇒ Boolean
(also: #enable_encryption?)
Enable dataplane-v2 based encryption for multiple clusters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataplaneV2FeatureSpec
constructor
A new instance of DataplaneV2FeatureSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataplaneV2FeatureSpec
Returns a new instance of DataplaneV2FeatureSpec.
1971 1972 1973 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1971 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_encryption ⇒ Boolean Also known as: enable_encryption?
Enable dataplane-v2 based encryption for multiple clusters.
Corresponds to the JSON property enableEncryption
1968 1969 1970 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1968 def enable_encryption @enable_encryption end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1976 1977 1978 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1976 def update!(**args) @enable_encryption = args[:enable_encryption] if args.key?(:enable_encryption) end |