Class: TencentCloud::Teo::V20220901::ClientBehaviorDetection
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::ClientBehaviorDetection
- Defined in:
- lib/v20220901/models.rb
Overview
客户端行为校验
Instance Attribute Summary collapse
- #BotClientAction ⇒ Object
- #ChallengeNotFinishedAction ⇒ Object
- #ChallengeTimeoutAction ⇒ Object
- #CryptoChallengeDelayBefore ⇒ Object
- #CryptoChallengeIntensity ⇒ Object
- #MaxChallengeCountInterval ⇒ Object
- #MaxChallengeCountThreshold ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cryptochallengeintensity = nil, cryptochallengedelaybefore = nil, maxchallengecountinterval = nil, maxchallengecountthreshold = nil, challengenotfinishedaction = nil, challengetimeoutaction = nil, botclientaction = nil) ⇒ ClientBehaviorDetection
constructor
A new instance of ClientBehaviorDetection.
Constructor Details
#initialize(cryptochallengeintensity = nil, cryptochallengedelaybefore = nil, maxchallengecountinterval = nil, maxchallengecountthreshold = nil, challengenotfinishedaction = nil, challengetimeoutaction = nil, botclientaction = nil) ⇒ ClientBehaviorDetection
Returns a new instance of ClientBehaviorDetection.
3134 3135 3136 3137 3138 3139 3140 3141 3142 |
# File 'lib/v20220901/models.rb', line 3134 def initialize(cryptochallengeintensity=nil, cryptochallengedelaybefore=nil, maxchallengecountinterval=nil, maxchallengecountthreshold=nil, challengenotfinishedaction=nil, challengetimeoutaction=nil, botclientaction=nil) @CryptoChallengeIntensity = cryptochallengeintensity @CryptoChallengeDelayBefore = cryptochallengedelaybefore @MaxChallengeCountInterval = maxchallengecountinterval @MaxChallengeCountThreshold = maxchallengecountthreshold @ChallengeNotFinishedAction = challengenotfinishedaction @ChallengeTimeoutAction = challengetimeoutaction @BotClientAction = botclientaction end |
Instance Attribute Details
#BotClientAction ⇒ Object
3132 3133 3134 |
# File 'lib/v20220901/models.rb', line 3132 def BotClientAction @BotClientAction end |
#ChallengeNotFinishedAction ⇒ Object
3132 3133 3134 |
# File 'lib/v20220901/models.rb', line 3132 def ChallengeNotFinishedAction @ChallengeNotFinishedAction end |
#ChallengeTimeoutAction ⇒ Object
3132 3133 3134 |
# File 'lib/v20220901/models.rb', line 3132 def ChallengeTimeoutAction @ChallengeTimeoutAction end |
#CryptoChallengeDelayBefore ⇒ Object
3132 3133 3134 |
# File 'lib/v20220901/models.rb', line 3132 def CryptoChallengeDelayBefore @CryptoChallengeDelayBefore end |
#CryptoChallengeIntensity ⇒ Object
3132 3133 3134 |
# File 'lib/v20220901/models.rb', line 3132 def CryptoChallengeIntensity @CryptoChallengeIntensity end |
#MaxChallengeCountInterval ⇒ Object
3132 3133 3134 |
# File 'lib/v20220901/models.rb', line 3132 def MaxChallengeCountInterval @MaxChallengeCountInterval end |
#MaxChallengeCountThreshold ⇒ Object
3132 3133 3134 |
# File 'lib/v20220901/models.rb', line 3132 def MaxChallengeCountThreshold @MaxChallengeCountThreshold end |
Instance Method Details
#deserialize(params) ⇒ Object
3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 |
# File 'lib/v20220901/models.rb', line 3144 def deserialize(params) @CryptoChallengeIntensity = params['CryptoChallengeIntensity'] @CryptoChallengeDelayBefore = params['CryptoChallengeDelayBefore'] @MaxChallengeCountInterval = params['MaxChallengeCountInterval'] @MaxChallengeCountThreshold = params['MaxChallengeCountThreshold'] unless params['ChallengeNotFinishedAction'].nil? @ChallengeNotFinishedAction = SecurityAction.new @ChallengeNotFinishedAction.deserialize(params['ChallengeNotFinishedAction']) end unless params['ChallengeTimeoutAction'].nil? @ChallengeTimeoutAction = SecurityAction.new @ChallengeTimeoutAction.deserialize(params['ChallengeTimeoutAction']) end unless params['BotClientAction'].nil? @BotClientAction = SecurityAction.new @BotClientAction.deserialize(params['BotClientAction']) end end |