Class: TencentCloud::Cdn::V20180606::AdvancedScdnAclRule

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

Overview

精准访问控制匹配规则

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(matchkey = nil, logicoperator = nil, matchvalue = nil, casesensitive = nil, matchkeyparam = nil) ⇒ AdvancedScdnAclRule

Returns a new instance of AdvancedScdnAclRule.



1274
1275
1276
1277
1278
1279
1280
# File 'lib/v20180606/models.rb', line 1274

def initialize(matchkey=nil, logicoperator=nil, matchvalue=nil, casesensitive=nil, matchkeyparam=nil)
  @MatchKey = matchkey
  @LogicOperator = logicoperator
  @MatchValue = matchvalue
  @CaseSensitive = casesensitive
  @MatchKeyParam = matchkeyparam
end

Instance Attribute Details

#CaseSensitiveObject

当MatchKey为index时 取值为:/;/index.html

Parameters:

  • CaseSensitive:

    是否区分大小写 true:区分 false:不区分

  • MatchKeyParam:

    当MatchKey为param时必填:表示请求参数Key 当MatchKey为cookie时必填:表示请求头Cookie中参数的



1272
1273
1274
# File 'lib/v20180606/models.rb', line 1272

def CaseSensitive
  @CaseSensitive
end

#LogicOperatorObject

当MatchKey为index时 取值为:/;/index.html

Parameters:

  • CaseSensitive:

    是否区分大小写 true:区分 false:不区分

  • MatchKeyParam:

    当MatchKey为param时必填:表示请求参数Key 当MatchKey为cookie时必填:表示请求头Cookie中参数的



1272
1273
1274
# File 'lib/v20180606/models.rb', line 1272

def LogicOperator
  @LogicOperator
end

#MatchKeyObject

当MatchKey为index时 取值为:/;/index.html

Parameters:

  • CaseSensitive:

    是否区分大小写 true:区分 false:不区分

  • MatchKeyParam:

    当MatchKey为param时必填:表示请求参数Key 当MatchKey为cookie时必填:表示请求头Cookie中参数的



1272
1273
1274
# File 'lib/v20180606/models.rb', line 1272

def MatchKey
  @MatchKey
end

#MatchKeyParamObject

当MatchKey为index时 取值为:/;/index.html

Parameters:

  • CaseSensitive:

    是否区分大小写 true:区分 false:不区分

  • MatchKeyParam:

    当MatchKey为param时必填:表示请求参数Key 当MatchKey为cookie时必填:表示请求头Cookie中参数的



1272
1273
1274
# File 'lib/v20180606/models.rb', line 1272

def MatchKeyParam
  @MatchKeyParam
end

#MatchValueObject

当MatchKey为index时 取值为:/;/index.html

Parameters:

  • CaseSensitive:

    是否区分大小写 true:区分 false:不区分

  • MatchKeyParam:

    当MatchKey为param时必填:表示请求参数Key 当MatchKey为cookie时必填:表示请求头Cookie中参数的



1272
1273
1274
# File 'lib/v20180606/models.rb', line 1272

def MatchValue
  @MatchValue
end

Instance Method Details

#deserialize(params) ⇒ Object



1282
1283
1284
1285
1286
1287
1288
# File 'lib/v20180606/models.rb', line 1282

def deserialize(params)
  @MatchKey = params['MatchKey']
  @LogicOperator = params['LogicOperator']
  @MatchValue = params['MatchValue']
  @CaseSensitive = params['CaseSensitive']
  @MatchKeyParam = params['MatchKeyParam']
end