Class: TencentCloud::Cdn::V20180606::SecurityConfig

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

Overview

scdn相关的配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(switch = nil) ⇒ SecurityConfig

Returns a new instance of SecurityConfig.



12683
12684
12685
# File 'lib/v20180606/models.rb', line 12683

def initialize(switch=nil)
  @Switch = switch
end

Instance Attribute Details

#SwitchObject

on:开启 off:关闭

Parameters:

  • Switch:

    scdn 安全配置开关,取值有:



12681
12682
12683
# File 'lib/v20180606/models.rb', line 12681

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



12687
12688
12689
# File 'lib/v20180606/models.rb', line 12687

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