Class: TencentCloud::Teo::V20220901::BotSessionValidation
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::BotSessionValidation
- Defined in:
- lib/v20220901/models.rb
Overview
Cookie 校验和会话跟踪行为具体配置。
Instance Attribute Summary collapse
- #IssueNewBotSessionCookie ⇒ Object
- #MaxNewSessionTriggerConfig ⇒ Object
- #SessionExpiredAction ⇒ Object
- #SessionInvalidAction ⇒ Object
- #SessionRateControl ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(issuenewbotsessioncookie = nil, maxnewsessiontriggerconfig = nil, sessionexpiredaction = nil, sessioninvalidaction = nil, sessionratecontrol = nil) ⇒ BotSessionValidation
constructor
A new instance of BotSessionValidation.
Constructor Details
#initialize(issuenewbotsessioncookie = nil, maxnewsessiontriggerconfig = nil, sessionexpiredaction = nil, sessioninvalidaction = nil, sessionratecontrol = nil) ⇒ BotSessionValidation
Returns a new instance of BotSessionValidation.
2025 2026 2027 2028 2029 2030 2031 |
# File 'lib/v20220901/models.rb', line 2025 def initialize(=nil, maxnewsessiontriggerconfig=nil, sessionexpiredaction=nil, sessioninvalidaction=nil, sessionratecontrol=nil) @IssueNewBotSessionCookie = @MaxNewSessionTriggerConfig = maxnewsessiontriggerconfig @SessionExpiredAction = sessionexpiredaction @SessionInvalidAction = sessioninvalidaction @SessionRateControl = sessionratecontrol end |
Instance Attribute Details
#IssueNewBotSessionCookie ⇒ Object
2023 2024 2025 |
# File 'lib/v20220901/models.rb', line 2023 def IssueNewBotSessionCookie @IssueNewBotSessionCookie end |
#MaxNewSessionTriggerConfig ⇒ Object
2023 2024 2025 |
# File 'lib/v20220901/models.rb', line 2023 def MaxNewSessionTriggerConfig @MaxNewSessionTriggerConfig end |
#SessionExpiredAction ⇒ Object
2023 2024 2025 |
# File 'lib/v20220901/models.rb', line 2023 def SessionExpiredAction @SessionExpiredAction end |
#SessionInvalidAction ⇒ Object
2023 2024 2025 |
# File 'lib/v20220901/models.rb', line 2023 def SessionInvalidAction @SessionInvalidAction end |
#SessionRateControl ⇒ Object
2023 2024 2025 |
# File 'lib/v20220901/models.rb', line 2023 def SessionRateControl @SessionRateControl end |
Instance Method Details
#deserialize(params) ⇒ Object
2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 |
# File 'lib/v20220901/models.rb', line 2033 def deserialize(params) @IssueNewBotSessionCookie = params['IssueNewBotSessionCookie'] unless params['MaxNewSessionTriggerConfig'].nil? @MaxNewSessionTriggerConfig = MaxNewSessionTriggerConfig.new @MaxNewSessionTriggerConfig.deserialize(params['MaxNewSessionTriggerConfig']) end unless params['SessionExpiredAction'].nil? @SessionExpiredAction = SecurityAction.new @SessionExpiredAction.deserialize(params['SessionExpiredAction']) end unless params['SessionInvalidAction'].nil? @SessionInvalidAction = SecurityAction.new @SessionInvalidAction.deserialize(params['SessionInvalidAction']) end unless params['SessionRateControl'].nil? @SessionRateControl = SessionRateControl.new @SessionRateControl.deserialize(params['SessionRateControl']) end end |