Class: TencentCloud::Teo::V20220901::BrowserImpersonationDetectionAction
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::BrowserImpersonationDetectionAction
- Defined in:
- lib/v20220901/models.rb
Overview
Bot 浏览器校验规则(原主动特征识别规则)的 Action。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(botsessionvalidation = nil, clientbehaviordetection = nil) ⇒ BrowserImpersonationDetectionAction
constructor
A new instance of BrowserImpersonationDetectionAction.
Constructor Details
#initialize(botsessionvalidation = nil, clientbehaviordetection = nil) ⇒ BrowserImpersonationDetectionAction
Returns a new instance of BrowserImpersonationDetectionAction.
2186 2187 2188 2189 |
# File 'lib/v20220901/models.rb', line 2186 def initialize(botsessionvalidation=nil, clientbehaviordetection=nil) @BotSessionValidation = botsessionvalidation @ClientBehaviorDetection = clientbehaviordetection end |
Instance Attribute Details
#BotSessionValidation ⇒ Object
2184 2185 2186 |
# File 'lib/v20220901/models.rb', line 2184 def BotSessionValidation @BotSessionValidation end |
#ClientBehaviorDetection ⇒ Object
2184 2185 2186 |
# File 'lib/v20220901/models.rb', line 2184 def ClientBehaviorDetection @ClientBehaviorDetection end |
Instance Method Details
#deserialize(params) ⇒ Object
2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 |
# File 'lib/v20220901/models.rb', line 2191 def deserialize(params) unless params['BotSessionValidation'].nil? @BotSessionValidation = BotSessionValidation.new @BotSessionValidation.deserialize(params['BotSessionValidation']) end unless params['ClientBehaviorDetection'].nil? @ClientBehaviorDetection = ClientBehaviorDetection.new @ClientBehaviorDetection.deserialize(params['ClientBehaviorDetection']) end end |