Class: TencentCloud::Thpc::V20230321::RunSecurityServiceEnabled

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enabled = nil) ⇒ RunSecurityServiceEnabled

Returns a new instance of RunSecurityServiceEnabled.



2532
2533
2534
# File 'lib/v20230321/models.rb', line 2532

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

Instance Attribute Details

#EnabledObject

Parameters:

  • Enabled:

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



2530
2531
2532
# File 'lib/v20230321/models.rb', line 2530

def Enabled
  @Enabled
end

Instance Method Details

#deserialize(params) ⇒ Object



2536
2537
2538
# File 'lib/v20230321/models.rb', line 2536

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