Class: TencentCloud::Cdn::V20180606::HttpsBilling

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

Overview

HTTPS服务,若关闭,下发配置拦截https请求,开启时会产生计费

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(switch = nil) ⇒ HttpsBilling

Returns a new instance of HttpsBilling.



8039
8040
8041
# File 'lib/v20180606/models.rb', line 8039

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

Instance Attribute Details

#SwitchObject

on:开启,缺省时默认开启,会产生计费 off:关闭,拦截https请求

Parameters:

  • Switch:

    HTTPS服务配置开关,取值有:



8037
8038
8039
# File 'lib/v20180606/models.rb', line 8037

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



8043
8044
8045
# File 'lib/v20180606/models.rb', line 8043

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