Class: TencentCloud::Tke::V20180525::RunSecurityServiceEnabled

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

描述了 “云安全” 服务相关的信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enabled = nil) ⇒ RunSecurityServiceEnabled

Returns a new instance of RunSecurityServiceEnabled.



17950
17951
17952
# File 'lib/v20180525/models.rb', line 17950

def initialize(enabled=nil)
  @Enabled = enabled
end

Instance Attribute Details

#EnabledObject

Parameters:

  • Enabled:

    是否开启(/document/product/296)服务。取值范围:
    <li>true:表示开启云安全服务
    <li>false:表示不开启云安全服务
    默认取值:true。



17948
17949
17950
# File 'lib/v20180525/models.rb', line 17948

def Enabled
  @Enabled
end

Instance Method Details

#deserialize(params) ⇒ Object



17954
17955
17956
# File 'lib/v20180525/models.rb', line 17954

def deserialize(params)
  @Enabled = params['Enabled']
end