Class: TencentCloud::Tke::V20180525::EnableEncryptionProtectionRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::EnableEncryptionProtectionRequest
- Defined in:
- lib/v20180525/models.rb
Overview
EnableEncryptionProtection请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, kmsconfiguration = nil) ⇒ EnableEncryptionProtectionRequest
constructor
A new instance of EnableEncryptionProtectionRequest.
Constructor Details
#initialize(clusterid = nil, kmsconfiguration = nil) ⇒ EnableEncryptionProtectionRequest
Returns a new instance of EnableEncryptionProtectionRequest.
11561 11562 11563 11564 |
# File 'lib/v20180525/models.rb', line 11561 def initialize(clusterid=nil, kmsconfiguration=nil) @ClusterId = clusterid @KMSConfiguration = kmsconfiguration end |
Instance Attribute Details
#ClusterId ⇒ Object
11559 11560 11561 |
# File 'lib/v20180525/models.rb', line 11559 def ClusterId @ClusterId end |
#KMSConfiguration ⇒ Object
11559 11560 11561 |
# File 'lib/v20180525/models.rb', line 11559 def KMSConfiguration @KMSConfiguration end |
Instance Method Details
#deserialize(params) ⇒ Object
11566 11567 11568 11569 11570 11571 11572 |
# File 'lib/v20180525/models.rb', line 11566 def deserialize(params) @ClusterId = params['ClusterId'] unless params['KMSConfiguration'].nil? @KMSConfiguration = KMSConfiguration.new @KMSConfiguration.deserialize(params['KMSConfiguration']) end end |