Class: Google::Apis::GkehubV1beta::DataplaneV2FeatureSpec

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

Dataplane V2: Spec

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataplaneV2FeatureSpec

Returns a new instance of DataplaneV2FeatureSpec.



2092
2093
2094
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2092

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

Instance Attribute Details

#enable_encryptionBoolean Also known as: enable_encryption?

Enable dataplane-v2 based encryption for multiple clusters. Corresponds to the JSON property enableEncryption

Returns:

  • (Boolean)


2089
2090
2091
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2089

def enable_encryption
  @enable_encryption
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2097
2098
2099
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2097

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