Class: Google::Apis::GkehubV1::DataplaneV2FeatureSpec

Inherits:
Object
  • Object
show all
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

Dataplane V2: Spec

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataplaneV2FeatureSpec

Returns a new instance of DataplaneV2FeatureSpec.



1874
1875
1876
# File 'lib/google/apis/gkehub_v1/classes.rb', line 1874

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)


1871
1872
1873
# File 'lib/google/apis/gkehub_v1/classes.rb', line 1871

def enable_encryption
  @enable_encryption
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1879
1880
1881
# File 'lib/google/apis/gkehub_v1/classes.rb', line 1879

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