tencentcloud-sdk-python 3.0.1361__py2.py3-none-any.whl → 3.0.1363__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/batch/v20170312/models.py +12 -18
  3. tencentcloud/ccc/v20200210/ccc_client.py +23 -0
  4. tencentcloud/ccc/v20200210/errorcodes.py +3 -0
  5. tencentcloud/ccc/v20200210/models.py +91 -4
  6. tencentcloud/cdwch/v20200915/models.py +0 -12
  7. tencentcloud/cdwpg/v20201230/models.py +0 -136
  8. tencentcloud/cfw/v20190904/models.py +115 -12
  9. tencentcloud/chc/v20230418/models.py +15 -0
  10. tencentcloud/cme/v20191029/errorcodes.py +3 -0
  11. tencentcloud/common/abstract_client.py +29 -24
  12. tencentcloud/common/abstract_model.py +5 -1
  13. tencentcloud/common/common_client.py +14 -15
  14. tencentcloud/common/credential.py +68 -65
  15. tencentcloud/common/exception/tencent_cloud_sdk_exception.py +1 -1
  16. tencentcloud/common/profile/client_profile.py +32 -30
  17. tencentcloud/common/profile/http_profile.py +20 -12
  18. tencentcloud/common/retry.py +18 -0
  19. tencentcloud/cvm/v20170312/cvm_client.py +7 -1
  20. tencentcloud/cvm/v20170312/models.py +88 -68
  21. tencentcloud/cwp/v20180228/models.py +138 -12
  22. tencentcloud/cynosdb/v20190107/cynosdb_client.py +69 -0
  23. tencentcloud/cynosdb/v20190107/models.py +318 -0
  24. tencentcloud/dc/v20180410/models.py +2 -2
  25. tencentcloud/dlc/v20210125/models.py +0 -18
  26. tencentcloud/dts/v20211206/models.py +10 -6
  27. tencentcloud/es/v20250101/es_client.py +23 -0
  28. tencentcloud/es/v20250101/models.py +352 -1
  29. tencentcloud/ess/v20201111/models.py +15 -0
  30. tencentcloud/gaap/v20180529/gaap_client.py +1 -1
  31. tencentcloud/gaap/v20180529/models.py +2 -20
  32. tencentcloud/gs/v20191118/gs_client.py +46 -0
  33. tencentcloud/gs/v20191118/models.py +385 -8
  34. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +69 -0
  35. tencentcloud/iotexplorer/v20190423/models.py +578 -0
  36. tencentcloud/lcic/v20220817/models.py +60 -0
  37. tencentcloud/lighthouse/v20200324/errorcodes.py +0 -6
  38. tencentcloud/lighthouse/v20200324/lighthouse_client.py +0 -56
  39. tencentcloud/lighthouse/v20200324/models.py +0 -158
  40. tencentcloud/lkeap/v20240522/models.py +2 -2
  41. tencentcloud/monitor/v20180724/models.py +169 -0
  42. tencentcloud/monitor/v20180724/monitor_client.py +23 -0
  43. tencentcloud/mps/v20190612/models.py +186 -35
  44. tencentcloud/oceanus/v20190422/models.py +2 -2
  45. tencentcloud/tcbr/v20220217/models.py +45 -0
  46. tencentcloud/tione/v20211111/models.py +91 -0
  47. tencentcloud/trocket/v20230308/models.py +141 -88
  48. tencentcloud/trocket/v20230308/trocket_client.py +2 -1
  49. tencentcloud/tts/v20190823/models.py +15 -15
  50. tencentcloud/tts/v20190823/tts_client.py +4 -3
  51. tencentcloud/vcube/v20220410/models.py +15 -0
  52. tencentcloud/vdb/v20230616/models.py +15 -0
  53. tencentcloud/vpc/v20170312/models.py +307 -78
  54. tencentcloud/vpc/v20170312/vpc_client.py +32 -4
  55. tencentcloud/vrs/v20200824/models.py +17 -0
  56. tencentcloud/waf/v20180125/errorcodes.py +9 -0
  57. tencentcloud/waf/v20180125/models.py +3041 -114
  58. tencentcloud/waf/v20180125/waf_client.py +138 -0
  59. tencentcloud/wedata/v20210820/models.py +55 -0
  60. {tencentcloud_sdk_python-3.0.1361.dist-info → tencentcloud_sdk_python-3.0.1363.dist-info}/METADATA +1 -1
  61. {tencentcloud_sdk_python-3.0.1361.dist-info → tencentcloud_sdk_python-3.0.1363.dist-info}/RECORD +64 -64
  62. {tencentcloud_sdk_python-3.0.1361.dist-info → tencentcloud_sdk_python-3.0.1363.dist-info}/LICENSE +0 -0
  63. {tencentcloud_sdk_python-3.0.1361.dist-info → tencentcloud_sdk_python-3.0.1363.dist-info}/WHEEL +0 -0
  64. {tencentcloud_sdk_python-3.0.1361.dist-info → tencentcloud_sdk_python-3.0.1363.dist-info}/top_level.txt +0 -0
@@ -4584,6 +4584,102 @@ class BatchOperateUserSignatureRulesResponse(AbstractModel):
4584
4584
  self._RequestId = params.get("RequestId")
4585
4585
 
4586
4586
 
4587
+ class BotActionScopeRuleEntry(AbstractModel):
4588
+ """动作策略的匹配规则实体
4589
+
4590
+ """
4591
+
4592
+ def __init__(self):
4593
+ r"""
4594
+ :param _Key: 参数
4595
+ :type Key: str
4596
+ :param _Op: 匹配符
4597
+ :type Op: str
4598
+ :param _Value: 参数值
4599
+ :type Value: str
4600
+ :param _Name: 对于头部字段匹配value的时候指定的头部名
4601
+ :type Name: str
4602
+ :param _ValueArray: 470后使用此字段存储多值
4603
+ :type ValueArray: list of str
4604
+ """
4605
+ self._Key = None
4606
+ self._Op = None
4607
+ self._Value = None
4608
+ self._Name = None
4609
+ self._ValueArray = None
4610
+
4611
+ @property
4612
+ def Key(self):
4613
+ """参数
4614
+ :rtype: str
4615
+ """
4616
+ return self._Key
4617
+
4618
+ @Key.setter
4619
+ def Key(self, Key):
4620
+ self._Key = Key
4621
+
4622
+ @property
4623
+ def Op(self):
4624
+ """匹配符
4625
+ :rtype: str
4626
+ """
4627
+ return self._Op
4628
+
4629
+ @Op.setter
4630
+ def Op(self, Op):
4631
+ self._Op = Op
4632
+
4633
+ @property
4634
+ def Value(self):
4635
+ """参数值
4636
+ :rtype: str
4637
+ """
4638
+ return self._Value
4639
+
4640
+ @Value.setter
4641
+ def Value(self, Value):
4642
+ self._Value = Value
4643
+
4644
+ @property
4645
+ def Name(self):
4646
+ """对于头部字段匹配value的时候指定的头部名
4647
+ :rtype: str
4648
+ """
4649
+ return self._Name
4650
+
4651
+ @Name.setter
4652
+ def Name(self, Name):
4653
+ self._Name = Name
4654
+
4655
+ @property
4656
+ def ValueArray(self):
4657
+ """470后使用此字段存储多值
4658
+ :rtype: list of str
4659
+ """
4660
+ return self._ValueArray
4661
+
4662
+ @ValueArray.setter
4663
+ def ValueArray(self, ValueArray):
4664
+ self._ValueArray = ValueArray
4665
+
4666
+
4667
+ def _deserialize(self, params):
4668
+ self._Key = params.get("Key")
4669
+ self._Op = params.get("Op")
4670
+ self._Value = params.get("Value")
4671
+ self._Name = params.get("Name")
4672
+ self._ValueArray = params.get("ValueArray")
4673
+ memeber_set = set(params.keys())
4674
+ for name, value in vars(self).items():
4675
+ property_name = name[1:]
4676
+ if property_name in memeber_set:
4677
+ memeber_set.remove(property_name)
4678
+ if len(memeber_set) > 0:
4679
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4680
+
4681
+
4682
+
4587
4683
  class BotPkg(AbstractModel):
4588
4684
  """Bot资源信息
4589
4685
 
@@ -4896,6 +4992,910 @@ class BotQPS(AbstractModel):
4896
4992
 
4897
4993
 
4898
4994
 
4995
+ class BotSceneActionRule(AbstractModel):
4996
+ """获取场景动作策略列表时的动作策略实体
4997
+
4998
+ """
4999
+
5000
+ def __init__(self):
5001
+ r"""
5002
+ :param _RuleId: 动作策略ID
5003
+ :type RuleId: str
5004
+ :param _RuleName: 动作策略名称
5005
+ :type RuleName: str
5006
+ :param _Priority: 策略优先级
5007
+ :type Priority: int
5008
+ :param _Status: 策略生效状态
5009
+ :type Status: bool
5010
+ :param _Score: 分数范围
5011
+ :type Score: list of BotScoreRuleEntry
5012
+ :param _Level: 100-宽松、200-中等、300-严格、0-自定义
5013
+ :type Level: str
5014
+ :param _Scope: 生效范围,为空表示全部范围
5015
+ :type Scope: list of BotActionScopeRuleEntry
5016
+ :param _Type: default:默认创建 custom:自定义创建
5017
+ :type Type: str
5018
+ :param _ScopeType: 匹配范围类型:全局匹配 or 自定义匹配范围
5019
+ :type ScopeType: str
5020
+ :param _ActionMatchType: 匹配条件间的与或关系
5021
+ :type ActionMatchType: str
5022
+ """
5023
+ self._RuleId = None
5024
+ self._RuleName = None
5025
+ self._Priority = None
5026
+ self._Status = None
5027
+ self._Score = None
5028
+ self._Level = None
5029
+ self._Scope = None
5030
+ self._Type = None
5031
+ self._ScopeType = None
5032
+ self._ActionMatchType = None
5033
+
5034
+ @property
5035
+ def RuleId(self):
5036
+ """动作策略ID
5037
+ :rtype: str
5038
+ """
5039
+ return self._RuleId
5040
+
5041
+ @RuleId.setter
5042
+ def RuleId(self, RuleId):
5043
+ self._RuleId = RuleId
5044
+
5045
+ @property
5046
+ def RuleName(self):
5047
+ """动作策略名称
5048
+ :rtype: str
5049
+ """
5050
+ return self._RuleName
5051
+
5052
+ @RuleName.setter
5053
+ def RuleName(self, RuleName):
5054
+ self._RuleName = RuleName
5055
+
5056
+ @property
5057
+ def Priority(self):
5058
+ """策略优先级
5059
+ :rtype: int
5060
+ """
5061
+ return self._Priority
5062
+
5063
+ @Priority.setter
5064
+ def Priority(self, Priority):
5065
+ self._Priority = Priority
5066
+
5067
+ @property
5068
+ def Status(self):
5069
+ """策略生效状态
5070
+ :rtype: bool
5071
+ """
5072
+ return self._Status
5073
+
5074
+ @Status.setter
5075
+ def Status(self, Status):
5076
+ self._Status = Status
5077
+
5078
+ @property
5079
+ def Score(self):
5080
+ """分数范围
5081
+ :rtype: list of BotScoreRuleEntry
5082
+ """
5083
+ return self._Score
5084
+
5085
+ @Score.setter
5086
+ def Score(self, Score):
5087
+ self._Score = Score
5088
+
5089
+ @property
5090
+ def Level(self):
5091
+ """100-宽松、200-中等、300-严格、0-自定义
5092
+ :rtype: str
5093
+ """
5094
+ return self._Level
5095
+
5096
+ @Level.setter
5097
+ def Level(self, Level):
5098
+ self._Level = Level
5099
+
5100
+ @property
5101
+ def Scope(self):
5102
+ """生效范围,为空表示全部范围
5103
+ :rtype: list of BotActionScopeRuleEntry
5104
+ """
5105
+ return self._Scope
5106
+
5107
+ @Scope.setter
5108
+ def Scope(self, Scope):
5109
+ self._Scope = Scope
5110
+
5111
+ @property
5112
+ def Type(self):
5113
+ """default:默认创建 custom:自定义创建
5114
+ :rtype: str
5115
+ """
5116
+ return self._Type
5117
+
5118
+ @Type.setter
5119
+ def Type(self, Type):
5120
+ self._Type = Type
5121
+
5122
+ @property
5123
+ def ScopeType(self):
5124
+ """匹配范围类型:全局匹配 or 自定义匹配范围
5125
+ :rtype: str
5126
+ """
5127
+ return self._ScopeType
5128
+
5129
+ @ScopeType.setter
5130
+ def ScopeType(self, ScopeType):
5131
+ self._ScopeType = ScopeType
5132
+
5133
+ @property
5134
+ def ActionMatchType(self):
5135
+ """匹配条件间的与或关系
5136
+ :rtype: str
5137
+ """
5138
+ return self._ActionMatchType
5139
+
5140
+ @ActionMatchType.setter
5141
+ def ActionMatchType(self, ActionMatchType):
5142
+ self._ActionMatchType = ActionMatchType
5143
+
5144
+
5145
+ def _deserialize(self, params):
5146
+ self._RuleId = params.get("RuleId")
5147
+ self._RuleName = params.get("RuleName")
5148
+ self._Priority = params.get("Priority")
5149
+ self._Status = params.get("Status")
5150
+ if params.get("Score") is not None:
5151
+ self._Score = []
5152
+ for item in params.get("Score"):
5153
+ obj = BotScoreRuleEntry()
5154
+ obj._deserialize(item)
5155
+ self._Score.append(obj)
5156
+ self._Level = params.get("Level")
5157
+ if params.get("Scope") is not None:
5158
+ self._Scope = []
5159
+ for item in params.get("Scope"):
5160
+ obj = BotActionScopeRuleEntry()
5161
+ obj._deserialize(item)
5162
+ self._Scope.append(obj)
5163
+ self._Type = params.get("Type")
5164
+ self._ScopeType = params.get("ScopeType")
5165
+ self._ActionMatchType = params.get("ActionMatchType")
5166
+ memeber_set = set(params.keys())
5167
+ for name, value in vars(self).items():
5168
+ property_name = name[1:]
5169
+ if property_name in memeber_set:
5170
+ memeber_set.remove(property_name)
5171
+ if len(memeber_set) > 0:
5172
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5173
+
5174
+
5175
+
5176
+ class BotSceneInfo(AbstractModel):
5177
+ """场景的详细配置信息
5178
+
5179
+ """
5180
+
5181
+ def __init__(self):
5182
+ r"""
5183
+ :param _SceneId: 场景ID
5184
+ :type SceneId: str
5185
+ :param _Type: 场景类型,default:默认场景,custom:非默认场景
5186
+ :type Type: str
5187
+ :param _SceneName: 场景名
5188
+ :type SceneName: str
5189
+ :param _UpdateTime: 更新时间
5190
+ :type UpdateTime: int
5191
+ :param _BusinessType: 场景模板类型,登录: login 秒杀:seckill 爬内容:crawl 自定义: custom
5192
+ :type BusinessType: list of str
5193
+ :param _ClientType: 客户端类型,浏览器/H5 : browser 小程序: miniApp App:
5194
+ :type ClientType: list of str
5195
+ :param _Priority: 优先级
5196
+ :type Priority: int
5197
+ :param _MatchCondition: 匹配范围
5198
+ :type MatchCondition: list of BotSceneMatchCondition
5199
+ :param _SceneStatus: 场景开关
5200
+ :type SceneStatus: bool
5201
+ :param _JsInjectStatus: 前端对抗开关
5202
+ :type JsInjectStatus: bool
5203
+ :param _AIStatus: AI开关
5204
+ :type AIStatus: bool
5205
+ :param _TIStatus: TI开关
5206
+ :type TIStatus: bool
5207
+ :param _StatisticStatus: 智能统计开关
5208
+ :type StatisticStatus: bool
5209
+ :param _ActionRuleCount: 动作策略数量
5210
+ :type ActionRuleCount: int
5211
+ :param _UCBCount: 自定义规则数量
5212
+ :type UCBCount: int
5213
+ :param _MatchType: 场景的匹配范围,global-全部匹配 custom-自定义匹配范围
5214
+ :type MatchType: str
5215
+ :param _ActionMatchType: 匹配条件间的与或关系
5216
+ :type ActionMatchType: str
5217
+ :param _UAStatus: UA模块开关
5218
+ :type UAStatus: bool
5219
+ :param _JsInjectRuleId: 简易模式场景:前端对抗对应mysql的记录id
5220
+ :type JsInjectRuleId: int
5221
+ :param _JsInjectAction: 简易模式场景:前端对抗配置动作
5222
+ :type JsInjectAction: int
5223
+ :param _JsInjectRedirect: 简易模式场景:前端对抗重定向路径
5224
+ :type JsInjectRedirect: str
5225
+ :param _ActionRuleList: 简易模式场景:动作策略信息 PS:简易模式只有一个动作策略
5226
+ :type ActionRuleList: list of BotSceneActionRule
5227
+ :param _BotIdPattern: 简易模式场景:monitor-观察 intercept-拦截 custom-自定义
5228
+ :type BotIdPattern: str
5229
+ :param _BotIdCount: 简易模式场景:bot_id规则总数
5230
+ :type BotIdCount: int
5231
+ :param _BotIdMonitorCount: 简易模式场景:观察动作的规则总数
5232
+ :type BotIdMonitorCount: int
5233
+ :param _BotIdInterceptCount: 简易模式场景:拦截动作的规则总数
5234
+ :type BotIdInterceptCount: int
5235
+ :param _RuleSetSelection: 创建场景时选择的规则集
5236
+ :type RuleSetSelection: list of str
5237
+ :param _TokenList: 改场景的bot token列表
5238
+ :type TokenList: list of BotToken
5239
+ :param _BotIdRedirectCount: 简易模式场景:重定向动作的规则总数
5240
+ :type BotIdRedirectCount: int
5241
+ :param _BotIdCaptchaCount: 简易模式场景:人机识别动作的规则总数
5242
+ :type BotIdCaptchaCount: int
5243
+ :param _BotIdProtectLevel: 简易模式场景:防护等级
5244
+ :type BotIdProtectLevel: str
5245
+ :param _BotIdGlobalRedirect: 简易模式场景:全局重定向路径
5246
+ :type BotIdGlobalRedirect: str
5247
+ :param _BotIdJsChallengeCount: 简易模式场景:JS校验动作的规则总数
5248
+ :type BotIdJsChallengeCount: int
5249
+ """
5250
+ self._SceneId = None
5251
+ self._Type = None
5252
+ self._SceneName = None
5253
+ self._UpdateTime = None
5254
+ self._BusinessType = None
5255
+ self._ClientType = None
5256
+ self._Priority = None
5257
+ self._MatchCondition = None
5258
+ self._SceneStatus = None
5259
+ self._JsInjectStatus = None
5260
+ self._AIStatus = None
5261
+ self._TIStatus = None
5262
+ self._StatisticStatus = None
5263
+ self._ActionRuleCount = None
5264
+ self._UCBCount = None
5265
+ self._MatchType = None
5266
+ self._ActionMatchType = None
5267
+ self._UAStatus = None
5268
+ self._JsInjectRuleId = None
5269
+ self._JsInjectAction = None
5270
+ self._JsInjectRedirect = None
5271
+ self._ActionRuleList = None
5272
+ self._BotIdPattern = None
5273
+ self._BotIdCount = None
5274
+ self._BotIdMonitorCount = None
5275
+ self._BotIdInterceptCount = None
5276
+ self._RuleSetSelection = None
5277
+ self._TokenList = None
5278
+ self._BotIdRedirectCount = None
5279
+ self._BotIdCaptchaCount = None
5280
+ self._BotIdProtectLevel = None
5281
+ self._BotIdGlobalRedirect = None
5282
+ self._BotIdJsChallengeCount = None
5283
+
5284
+ @property
5285
+ def SceneId(self):
5286
+ """场景ID
5287
+ :rtype: str
5288
+ """
5289
+ return self._SceneId
5290
+
5291
+ @SceneId.setter
5292
+ def SceneId(self, SceneId):
5293
+ self._SceneId = SceneId
5294
+
5295
+ @property
5296
+ def Type(self):
5297
+ """场景类型,default:默认场景,custom:非默认场景
5298
+ :rtype: str
5299
+ """
5300
+ return self._Type
5301
+
5302
+ @Type.setter
5303
+ def Type(self, Type):
5304
+ self._Type = Type
5305
+
5306
+ @property
5307
+ def SceneName(self):
5308
+ """场景名
5309
+ :rtype: str
5310
+ """
5311
+ return self._SceneName
5312
+
5313
+ @SceneName.setter
5314
+ def SceneName(self, SceneName):
5315
+ self._SceneName = SceneName
5316
+
5317
+ @property
5318
+ def UpdateTime(self):
5319
+ """更新时间
5320
+ :rtype: int
5321
+ """
5322
+ return self._UpdateTime
5323
+
5324
+ @UpdateTime.setter
5325
+ def UpdateTime(self, UpdateTime):
5326
+ self._UpdateTime = UpdateTime
5327
+
5328
+ @property
5329
+ def BusinessType(self):
5330
+ """场景模板类型,登录: login 秒杀:seckill 爬内容:crawl 自定义: custom
5331
+ :rtype: list of str
5332
+ """
5333
+ return self._BusinessType
5334
+
5335
+ @BusinessType.setter
5336
+ def BusinessType(self, BusinessType):
5337
+ self._BusinessType = BusinessType
5338
+
5339
+ @property
5340
+ def ClientType(self):
5341
+ """客户端类型,浏览器/H5 : browser 小程序: miniApp App:
5342
+ :rtype: list of str
5343
+ """
5344
+ return self._ClientType
5345
+
5346
+ @ClientType.setter
5347
+ def ClientType(self, ClientType):
5348
+ self._ClientType = ClientType
5349
+
5350
+ @property
5351
+ def Priority(self):
5352
+ """优先级
5353
+ :rtype: int
5354
+ """
5355
+ return self._Priority
5356
+
5357
+ @Priority.setter
5358
+ def Priority(self, Priority):
5359
+ self._Priority = Priority
5360
+
5361
+ @property
5362
+ def MatchCondition(self):
5363
+ """匹配范围
5364
+ :rtype: list of BotSceneMatchCondition
5365
+ """
5366
+ return self._MatchCondition
5367
+
5368
+ @MatchCondition.setter
5369
+ def MatchCondition(self, MatchCondition):
5370
+ self._MatchCondition = MatchCondition
5371
+
5372
+ @property
5373
+ def SceneStatus(self):
5374
+ """场景开关
5375
+ :rtype: bool
5376
+ """
5377
+ return self._SceneStatus
5378
+
5379
+ @SceneStatus.setter
5380
+ def SceneStatus(self, SceneStatus):
5381
+ self._SceneStatus = SceneStatus
5382
+
5383
+ @property
5384
+ def JsInjectStatus(self):
5385
+ """前端对抗开关
5386
+ :rtype: bool
5387
+ """
5388
+ return self._JsInjectStatus
5389
+
5390
+ @JsInjectStatus.setter
5391
+ def JsInjectStatus(self, JsInjectStatus):
5392
+ self._JsInjectStatus = JsInjectStatus
5393
+
5394
+ @property
5395
+ def AIStatus(self):
5396
+ """AI开关
5397
+ :rtype: bool
5398
+ """
5399
+ return self._AIStatus
5400
+
5401
+ @AIStatus.setter
5402
+ def AIStatus(self, AIStatus):
5403
+ self._AIStatus = AIStatus
5404
+
5405
+ @property
5406
+ def TIStatus(self):
5407
+ """TI开关
5408
+ :rtype: bool
5409
+ """
5410
+ return self._TIStatus
5411
+
5412
+ @TIStatus.setter
5413
+ def TIStatus(self, TIStatus):
5414
+ self._TIStatus = TIStatus
5415
+
5416
+ @property
5417
+ def StatisticStatus(self):
5418
+ """智能统计开关
5419
+ :rtype: bool
5420
+ """
5421
+ return self._StatisticStatus
5422
+
5423
+ @StatisticStatus.setter
5424
+ def StatisticStatus(self, StatisticStatus):
5425
+ self._StatisticStatus = StatisticStatus
5426
+
5427
+ @property
5428
+ def ActionRuleCount(self):
5429
+ """动作策略数量
5430
+ :rtype: int
5431
+ """
5432
+ return self._ActionRuleCount
5433
+
5434
+ @ActionRuleCount.setter
5435
+ def ActionRuleCount(self, ActionRuleCount):
5436
+ self._ActionRuleCount = ActionRuleCount
5437
+
5438
+ @property
5439
+ def UCBCount(self):
5440
+ """自定义规则数量
5441
+ :rtype: int
5442
+ """
5443
+ return self._UCBCount
5444
+
5445
+ @UCBCount.setter
5446
+ def UCBCount(self, UCBCount):
5447
+ self._UCBCount = UCBCount
5448
+
5449
+ @property
5450
+ def MatchType(self):
5451
+ """场景的匹配范围,global-全部匹配 custom-自定义匹配范围
5452
+ :rtype: str
5453
+ """
5454
+ return self._MatchType
5455
+
5456
+ @MatchType.setter
5457
+ def MatchType(self, MatchType):
5458
+ self._MatchType = MatchType
5459
+
5460
+ @property
5461
+ def ActionMatchType(self):
5462
+ """匹配条件间的与或关系
5463
+ :rtype: str
5464
+ """
5465
+ return self._ActionMatchType
5466
+
5467
+ @ActionMatchType.setter
5468
+ def ActionMatchType(self, ActionMatchType):
5469
+ self._ActionMatchType = ActionMatchType
5470
+
5471
+ @property
5472
+ def UAStatus(self):
5473
+ """UA模块开关
5474
+ :rtype: bool
5475
+ """
5476
+ return self._UAStatus
5477
+
5478
+ @UAStatus.setter
5479
+ def UAStatus(self, UAStatus):
5480
+ self._UAStatus = UAStatus
5481
+
5482
+ @property
5483
+ def JsInjectRuleId(self):
5484
+ """简易模式场景:前端对抗对应mysql的记录id
5485
+ :rtype: int
5486
+ """
5487
+ return self._JsInjectRuleId
5488
+
5489
+ @JsInjectRuleId.setter
5490
+ def JsInjectRuleId(self, JsInjectRuleId):
5491
+ self._JsInjectRuleId = JsInjectRuleId
5492
+
5493
+ @property
5494
+ def JsInjectAction(self):
5495
+ """简易模式场景:前端对抗配置动作
5496
+ :rtype: int
5497
+ """
5498
+ return self._JsInjectAction
5499
+
5500
+ @JsInjectAction.setter
5501
+ def JsInjectAction(self, JsInjectAction):
5502
+ self._JsInjectAction = JsInjectAction
5503
+
5504
+ @property
5505
+ def JsInjectRedirect(self):
5506
+ """简易模式场景:前端对抗重定向路径
5507
+ :rtype: str
5508
+ """
5509
+ return self._JsInjectRedirect
5510
+
5511
+ @JsInjectRedirect.setter
5512
+ def JsInjectRedirect(self, JsInjectRedirect):
5513
+ self._JsInjectRedirect = JsInjectRedirect
5514
+
5515
+ @property
5516
+ def ActionRuleList(self):
5517
+ """简易模式场景:动作策略信息 PS:简易模式只有一个动作策略
5518
+ :rtype: list of BotSceneActionRule
5519
+ """
5520
+ return self._ActionRuleList
5521
+
5522
+ @ActionRuleList.setter
5523
+ def ActionRuleList(self, ActionRuleList):
5524
+ self._ActionRuleList = ActionRuleList
5525
+
5526
+ @property
5527
+ def BotIdPattern(self):
5528
+ """简易模式场景:monitor-观察 intercept-拦截 custom-自定义
5529
+ :rtype: str
5530
+ """
5531
+ return self._BotIdPattern
5532
+
5533
+ @BotIdPattern.setter
5534
+ def BotIdPattern(self, BotIdPattern):
5535
+ self._BotIdPattern = BotIdPattern
5536
+
5537
+ @property
5538
+ def BotIdCount(self):
5539
+ """简易模式场景:bot_id规则总数
5540
+ :rtype: int
5541
+ """
5542
+ return self._BotIdCount
5543
+
5544
+ @BotIdCount.setter
5545
+ def BotIdCount(self, BotIdCount):
5546
+ self._BotIdCount = BotIdCount
5547
+
5548
+ @property
5549
+ def BotIdMonitorCount(self):
5550
+ """简易模式场景:观察动作的规则总数
5551
+ :rtype: int
5552
+ """
5553
+ return self._BotIdMonitorCount
5554
+
5555
+ @BotIdMonitorCount.setter
5556
+ def BotIdMonitorCount(self, BotIdMonitorCount):
5557
+ self._BotIdMonitorCount = BotIdMonitorCount
5558
+
5559
+ @property
5560
+ def BotIdInterceptCount(self):
5561
+ """简易模式场景:拦截动作的规则总数
5562
+ :rtype: int
5563
+ """
5564
+ return self._BotIdInterceptCount
5565
+
5566
+ @BotIdInterceptCount.setter
5567
+ def BotIdInterceptCount(self, BotIdInterceptCount):
5568
+ self._BotIdInterceptCount = BotIdInterceptCount
5569
+
5570
+ @property
5571
+ def RuleSetSelection(self):
5572
+ """创建场景时选择的规则集
5573
+ :rtype: list of str
5574
+ """
5575
+ return self._RuleSetSelection
5576
+
5577
+ @RuleSetSelection.setter
5578
+ def RuleSetSelection(self, RuleSetSelection):
5579
+ self._RuleSetSelection = RuleSetSelection
5580
+
5581
+ @property
5582
+ def TokenList(self):
5583
+ """改场景的bot token列表
5584
+ :rtype: list of BotToken
5585
+ """
5586
+ return self._TokenList
5587
+
5588
+ @TokenList.setter
5589
+ def TokenList(self, TokenList):
5590
+ self._TokenList = TokenList
5591
+
5592
+ @property
5593
+ def BotIdRedirectCount(self):
5594
+ """简易模式场景:重定向动作的规则总数
5595
+ :rtype: int
5596
+ """
5597
+ return self._BotIdRedirectCount
5598
+
5599
+ @BotIdRedirectCount.setter
5600
+ def BotIdRedirectCount(self, BotIdRedirectCount):
5601
+ self._BotIdRedirectCount = BotIdRedirectCount
5602
+
5603
+ @property
5604
+ def BotIdCaptchaCount(self):
5605
+ """简易模式场景:人机识别动作的规则总数
5606
+ :rtype: int
5607
+ """
5608
+ return self._BotIdCaptchaCount
5609
+
5610
+ @BotIdCaptchaCount.setter
5611
+ def BotIdCaptchaCount(self, BotIdCaptchaCount):
5612
+ self._BotIdCaptchaCount = BotIdCaptchaCount
5613
+
5614
+ @property
5615
+ def BotIdProtectLevel(self):
5616
+ """简易模式场景:防护等级
5617
+ :rtype: str
5618
+ """
5619
+ return self._BotIdProtectLevel
5620
+
5621
+ @BotIdProtectLevel.setter
5622
+ def BotIdProtectLevel(self, BotIdProtectLevel):
5623
+ self._BotIdProtectLevel = BotIdProtectLevel
5624
+
5625
+ @property
5626
+ def BotIdGlobalRedirect(self):
5627
+ """简易模式场景:全局重定向路径
5628
+ :rtype: str
5629
+ """
5630
+ return self._BotIdGlobalRedirect
5631
+
5632
+ @BotIdGlobalRedirect.setter
5633
+ def BotIdGlobalRedirect(self, BotIdGlobalRedirect):
5634
+ self._BotIdGlobalRedirect = BotIdGlobalRedirect
5635
+
5636
+ @property
5637
+ def BotIdJsChallengeCount(self):
5638
+ """简易模式场景:JS校验动作的规则总数
5639
+ :rtype: int
5640
+ """
5641
+ return self._BotIdJsChallengeCount
5642
+
5643
+ @BotIdJsChallengeCount.setter
5644
+ def BotIdJsChallengeCount(self, BotIdJsChallengeCount):
5645
+ self._BotIdJsChallengeCount = BotIdJsChallengeCount
5646
+
5647
+
5648
+ def _deserialize(self, params):
5649
+ self._SceneId = params.get("SceneId")
5650
+ self._Type = params.get("Type")
5651
+ self._SceneName = params.get("SceneName")
5652
+ self._UpdateTime = params.get("UpdateTime")
5653
+ self._BusinessType = params.get("BusinessType")
5654
+ self._ClientType = params.get("ClientType")
5655
+ self._Priority = params.get("Priority")
5656
+ if params.get("MatchCondition") is not None:
5657
+ self._MatchCondition = []
5658
+ for item in params.get("MatchCondition"):
5659
+ obj = BotSceneMatchCondition()
5660
+ obj._deserialize(item)
5661
+ self._MatchCondition.append(obj)
5662
+ self._SceneStatus = params.get("SceneStatus")
5663
+ self._JsInjectStatus = params.get("JsInjectStatus")
5664
+ self._AIStatus = params.get("AIStatus")
5665
+ self._TIStatus = params.get("TIStatus")
5666
+ self._StatisticStatus = params.get("StatisticStatus")
5667
+ self._ActionRuleCount = params.get("ActionRuleCount")
5668
+ self._UCBCount = params.get("UCBCount")
5669
+ self._MatchType = params.get("MatchType")
5670
+ self._ActionMatchType = params.get("ActionMatchType")
5671
+ self._UAStatus = params.get("UAStatus")
5672
+ self._JsInjectRuleId = params.get("JsInjectRuleId")
5673
+ self._JsInjectAction = params.get("JsInjectAction")
5674
+ self._JsInjectRedirect = params.get("JsInjectRedirect")
5675
+ if params.get("ActionRuleList") is not None:
5676
+ self._ActionRuleList = []
5677
+ for item in params.get("ActionRuleList"):
5678
+ obj = BotSceneActionRule()
5679
+ obj._deserialize(item)
5680
+ self._ActionRuleList.append(obj)
5681
+ self._BotIdPattern = params.get("BotIdPattern")
5682
+ self._BotIdCount = params.get("BotIdCount")
5683
+ self._BotIdMonitorCount = params.get("BotIdMonitorCount")
5684
+ self._BotIdInterceptCount = params.get("BotIdInterceptCount")
5685
+ self._RuleSetSelection = params.get("RuleSetSelection")
5686
+ if params.get("TokenList") is not None:
5687
+ self._TokenList = []
5688
+ for item in params.get("TokenList"):
5689
+ obj = BotToken()
5690
+ obj._deserialize(item)
5691
+ self._TokenList.append(obj)
5692
+ self._BotIdRedirectCount = params.get("BotIdRedirectCount")
5693
+ self._BotIdCaptchaCount = params.get("BotIdCaptchaCount")
5694
+ self._BotIdProtectLevel = params.get("BotIdProtectLevel")
5695
+ self._BotIdGlobalRedirect = params.get("BotIdGlobalRedirect")
5696
+ self._BotIdJsChallengeCount = params.get("BotIdJsChallengeCount")
5697
+ memeber_set = set(params.keys())
5698
+ for name, value in vars(self).items():
5699
+ property_name = name[1:]
5700
+ if property_name in memeber_set:
5701
+ memeber_set.remove(property_name)
5702
+ if len(memeber_set) > 0:
5703
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5704
+
5705
+
5706
+
5707
+ class BotSceneMatchCondition(AbstractModel):
5708
+ """场景匹配条件
5709
+
5710
+ """
5711
+
5712
+ def __init__(self):
5713
+ r"""
5714
+ :param _Key: 匹配参数
5715
+ :type Key: str
5716
+ :param _Op: 匹配符
5717
+ :type Op: str
5718
+ :param _Value: 匹配值
5719
+ :type Value: str
5720
+ :param _Name: 对于头部字段匹配value的时候指定的头部名
5721
+ :type Name: str
5722
+ :param _ValueArray: 470后使用此入参存在多值
5723
+ :type ValueArray: list of str
5724
+ """
5725
+ self._Key = None
5726
+ self._Op = None
5727
+ self._Value = None
5728
+ self._Name = None
5729
+ self._ValueArray = None
5730
+
5731
+ @property
5732
+ def Key(self):
5733
+ """匹配参数
5734
+ :rtype: str
5735
+ """
5736
+ return self._Key
5737
+
5738
+ @Key.setter
5739
+ def Key(self, Key):
5740
+ self._Key = Key
5741
+
5742
+ @property
5743
+ def Op(self):
5744
+ """匹配符
5745
+ :rtype: str
5746
+ """
5747
+ return self._Op
5748
+
5749
+ @Op.setter
5750
+ def Op(self, Op):
5751
+ self._Op = Op
5752
+
5753
+ @property
5754
+ def Value(self):
5755
+ """匹配值
5756
+ :rtype: str
5757
+ """
5758
+ return self._Value
5759
+
5760
+ @Value.setter
5761
+ def Value(self, Value):
5762
+ self._Value = Value
5763
+
5764
+ @property
5765
+ def Name(self):
5766
+ """对于头部字段匹配value的时候指定的头部名
5767
+ :rtype: str
5768
+ """
5769
+ return self._Name
5770
+
5771
+ @Name.setter
5772
+ def Name(self, Name):
5773
+ self._Name = Name
5774
+
5775
+ @property
5776
+ def ValueArray(self):
5777
+ """470后使用此入参存在多值
5778
+ :rtype: list of str
5779
+ """
5780
+ return self._ValueArray
5781
+
5782
+ @ValueArray.setter
5783
+ def ValueArray(self, ValueArray):
5784
+ self._ValueArray = ValueArray
5785
+
5786
+
5787
+ def _deserialize(self, params):
5788
+ self._Key = params.get("Key")
5789
+ self._Op = params.get("Op")
5790
+ self._Value = params.get("Value")
5791
+ self._Name = params.get("Name")
5792
+ self._ValueArray = params.get("ValueArray")
5793
+ memeber_set = set(params.keys())
5794
+ for name, value in vars(self).items():
5795
+ property_name = name[1:]
5796
+ if property_name in memeber_set:
5797
+ memeber_set.remove(property_name)
5798
+ if len(memeber_set) > 0:
5799
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5800
+
5801
+
5802
+
5803
+ class BotScoreRuleEntry(AbstractModel):
5804
+ """动作策略的一条分数段实体
5805
+
5806
+ """
5807
+
5808
+ def __init__(self):
5809
+ r"""
5810
+ :param _Upper: 分数区间上限
5811
+ :type Upper: str
5812
+ :param _Lower: 分数区间下限
5813
+ :type Lower: str
5814
+ :param _Action: 处置动作
5815
+ :type Action: str
5816
+ :param _Label: 流量标签
5817
+ :type Label: str
5818
+ :param _Redirect: 重定向
5819
+ :type Redirect: str
5820
+ """
5821
+ self._Upper = None
5822
+ self._Lower = None
5823
+ self._Action = None
5824
+ self._Label = None
5825
+ self._Redirect = None
5826
+
5827
+ @property
5828
+ def Upper(self):
5829
+ """分数区间上限
5830
+ :rtype: str
5831
+ """
5832
+ return self._Upper
5833
+
5834
+ @Upper.setter
5835
+ def Upper(self, Upper):
5836
+ self._Upper = Upper
5837
+
5838
+ @property
5839
+ def Lower(self):
5840
+ """分数区间下限
5841
+ :rtype: str
5842
+ """
5843
+ return self._Lower
5844
+
5845
+ @Lower.setter
5846
+ def Lower(self, Lower):
5847
+ self._Lower = Lower
5848
+
5849
+ @property
5850
+ def Action(self):
5851
+ """处置动作
5852
+ :rtype: str
5853
+ """
5854
+ return self._Action
5855
+
5856
+ @Action.setter
5857
+ def Action(self, Action):
5858
+ self._Action = Action
5859
+
5860
+ @property
5861
+ def Label(self):
5862
+ """流量标签
5863
+ :rtype: str
5864
+ """
5865
+ return self._Label
5866
+
5867
+ @Label.setter
5868
+ def Label(self, Label):
5869
+ self._Label = Label
5870
+
5871
+ @property
5872
+ def Redirect(self):
5873
+ """重定向
5874
+ :rtype: str
5875
+ """
5876
+ return self._Redirect
5877
+
5878
+ @Redirect.setter
5879
+ def Redirect(self, Redirect):
5880
+ self._Redirect = Redirect
5881
+
5882
+
5883
+ def _deserialize(self, params):
5884
+ self._Upper = params.get("Upper")
5885
+ self._Lower = params.get("Lower")
5886
+ self._Action = params.get("Action")
5887
+ self._Label = params.get("Label")
5888
+ self._Redirect = params.get("Redirect")
5889
+ memeber_set = set(params.keys())
5890
+ for name, value in vars(self).items():
5891
+ property_name = name[1:]
5892
+ if property_name in memeber_set:
5893
+ memeber_set.remove(property_name)
5894
+ if len(memeber_set) > 0:
5895
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5896
+
5897
+
5898
+
4899
5899
  class BotStatPointItem(AbstractModel):
4900
5900
  """bot的趋势图对象
4901
5901
 
@@ -4977,6 +5977,177 @@ class BotStatPointItem(AbstractModel):
4977
5977
 
4978
5978
 
4979
5979
 
5980
+ class BotToken(AbstractModel):
5981
+ """bot-token配置
5982
+
5983
+ """
5984
+
5985
+ def __init__(self):
5986
+ r"""
5987
+ :param _Name: 会话名称
5988
+ :type Name: str
5989
+ :param _Description: 会话描述
5990
+ :type Description: str
5991
+ :param _Id: 会话id
5992
+ :type Id: str
5993
+ :param _Status: 策略的开关状态
5994
+ :type Status: bool
5995
+ :param _Location: 会话位置
5996
+ :type Location: str
5997
+ :param _Key: 会话key
5998
+ :type Key: str
5999
+ :param _Operator: 会话匹配方式,前缀匹配、后缀匹配等
6000
+ :type Operator: str
6001
+ :param _Timestamp: 会话更新的时间戳
6002
+ :type Timestamp: int
6003
+ :param _Scene: 场景列表,内容为空表示全部场景应用
6004
+ :type Scene: list of str
6005
+ :param _Priority: 优先级
6006
+ :type Priority: int
6007
+ """
6008
+ self._Name = None
6009
+ self._Description = None
6010
+ self._Id = None
6011
+ self._Status = None
6012
+ self._Location = None
6013
+ self._Key = None
6014
+ self._Operator = None
6015
+ self._Timestamp = None
6016
+ self._Scene = None
6017
+ self._Priority = None
6018
+
6019
+ @property
6020
+ def Name(self):
6021
+ """会话名称
6022
+ :rtype: str
6023
+ """
6024
+ return self._Name
6025
+
6026
+ @Name.setter
6027
+ def Name(self, Name):
6028
+ self._Name = Name
6029
+
6030
+ @property
6031
+ def Description(self):
6032
+ """会话描述
6033
+ :rtype: str
6034
+ """
6035
+ return self._Description
6036
+
6037
+ @Description.setter
6038
+ def Description(self, Description):
6039
+ self._Description = Description
6040
+
6041
+ @property
6042
+ def Id(self):
6043
+ """会话id
6044
+ :rtype: str
6045
+ """
6046
+ return self._Id
6047
+
6048
+ @Id.setter
6049
+ def Id(self, Id):
6050
+ self._Id = Id
6051
+
6052
+ @property
6053
+ def Status(self):
6054
+ """策略的开关状态
6055
+ :rtype: bool
6056
+ """
6057
+ return self._Status
6058
+
6059
+ @Status.setter
6060
+ def Status(self, Status):
6061
+ self._Status = Status
6062
+
6063
+ @property
6064
+ def Location(self):
6065
+ """会话位置
6066
+ :rtype: str
6067
+ """
6068
+ return self._Location
6069
+
6070
+ @Location.setter
6071
+ def Location(self, Location):
6072
+ self._Location = Location
6073
+
6074
+ @property
6075
+ def Key(self):
6076
+ """会话key
6077
+ :rtype: str
6078
+ """
6079
+ return self._Key
6080
+
6081
+ @Key.setter
6082
+ def Key(self, Key):
6083
+ self._Key = Key
6084
+
6085
+ @property
6086
+ def Operator(self):
6087
+ """会话匹配方式,前缀匹配、后缀匹配等
6088
+ :rtype: str
6089
+ """
6090
+ return self._Operator
6091
+
6092
+ @Operator.setter
6093
+ def Operator(self, Operator):
6094
+ self._Operator = Operator
6095
+
6096
+ @property
6097
+ def Timestamp(self):
6098
+ """会话更新的时间戳
6099
+ :rtype: int
6100
+ """
6101
+ return self._Timestamp
6102
+
6103
+ @Timestamp.setter
6104
+ def Timestamp(self, Timestamp):
6105
+ self._Timestamp = Timestamp
6106
+
6107
+ @property
6108
+ def Scene(self):
6109
+ """场景列表,内容为空表示全部场景应用
6110
+ :rtype: list of str
6111
+ """
6112
+ return self._Scene
6113
+
6114
+ @Scene.setter
6115
+ def Scene(self, Scene):
6116
+ self._Scene = Scene
6117
+
6118
+ @property
6119
+ def Priority(self):
6120
+ """优先级
6121
+ :rtype: int
6122
+ """
6123
+ return self._Priority
6124
+
6125
+ @Priority.setter
6126
+ def Priority(self, Priority):
6127
+ self._Priority = Priority
6128
+
6129
+
6130
+ def _deserialize(self, params):
6131
+ self._Name = params.get("Name")
6132
+ self._Description = params.get("Description")
6133
+ self._Id = params.get("Id")
6134
+ self._Status = params.get("Status")
6135
+ self._Location = params.get("Location")
6136
+ self._Key = params.get("Key")
6137
+ self._Operator = params.get("Operator")
6138
+ self._Timestamp = params.get("Timestamp")
6139
+ self._Scene = params.get("Scene")
6140
+ self._Priority = params.get("Priority")
6141
+ memeber_set = set(params.keys())
6142
+ for name, value in vars(self).items():
6143
+ property_name = name[1:]
6144
+ if property_name in memeber_set:
6145
+ memeber_set.remove(property_name)
6146
+ if len(memeber_set) > 0:
6147
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6148
+
6149
+
6150
+
4980
6151
  class CCRuleData(AbstractModel):
4981
6152
  """数据封装
4982
6153
 
@@ -8321,47 +9492,111 @@ class DeleteAntiFakeUrlResponse(AbstractModel):
8321
9492
  self._RequestId = params.get("RequestId")
8322
9493
 
8323
9494
 
8324
- class DeleteAntiInfoLeakRuleRequest(AbstractModel):
8325
- """DeleteAntiInfoLeakRule请求参数结构体
9495
+ class DeleteAntiInfoLeakRuleRequest(AbstractModel):
9496
+ """DeleteAntiInfoLeakRule请求参数结构体
9497
+
9498
+ """
9499
+
9500
+ def __init__(self):
9501
+ r"""
9502
+ :param _Domain: 域名
9503
+ :type Domain: str
9504
+ :param _RuleId: 规则id
9505
+ :type RuleId: int
9506
+ """
9507
+ self._Domain = None
9508
+ self._RuleId = None
9509
+
9510
+ @property
9511
+ def Domain(self):
9512
+ """域名
9513
+ :rtype: str
9514
+ """
9515
+ return self._Domain
9516
+
9517
+ @Domain.setter
9518
+ def Domain(self, Domain):
9519
+ self._Domain = Domain
9520
+
9521
+ @property
9522
+ def RuleId(self):
9523
+ """规则id
9524
+ :rtype: int
9525
+ """
9526
+ return self._RuleId
9527
+
9528
+ @RuleId.setter
9529
+ def RuleId(self, RuleId):
9530
+ self._RuleId = RuleId
9531
+
9532
+
9533
+ def _deserialize(self, params):
9534
+ self._Domain = params.get("Domain")
9535
+ self._RuleId = params.get("RuleId")
9536
+ memeber_set = set(params.keys())
9537
+ for name, value in vars(self).items():
9538
+ property_name = name[1:]
9539
+ if property_name in memeber_set:
9540
+ memeber_set.remove(property_name)
9541
+ if len(memeber_set) > 0:
9542
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9543
+
9544
+
9545
+
9546
+ class DeleteAntiInfoLeakRuleResponse(AbstractModel):
9547
+ """DeleteAntiInfoLeakRule返回参数结构体
9548
+
9549
+ """
9550
+
9551
+ def __init__(self):
9552
+ r"""
9553
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9554
+ :type RequestId: str
9555
+ """
9556
+ self._RequestId = None
9557
+
9558
+ @property
9559
+ def RequestId(self):
9560
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9561
+ :rtype: str
9562
+ """
9563
+ return self._RequestId
9564
+
9565
+ @RequestId.setter
9566
+ def RequestId(self, RequestId):
9567
+ self._RequestId = RequestId
9568
+
9569
+
9570
+ def _deserialize(self, params):
9571
+ self._RequestId = params.get("RequestId")
9572
+
9573
+
9574
+ class DeleteAttackDownloadRecordRequest(AbstractModel):
9575
+ """DeleteAttackDownloadRecord请求参数结构体
8326
9576
 
8327
9577
  """
8328
9578
 
8329
9579
  def __init__(self):
8330
9580
  r"""
8331
- :param _Domain: 域名
8332
- :type Domain: str
8333
- :param _RuleId: 规则id
8334
- :type RuleId: int
8335
- """
8336
- self._Domain = None
8337
- self._RuleId = None
8338
-
8339
- @property
8340
- def Domain(self):
8341
- """域名
8342
- :rtype: str
9581
+ :param _Id: 下载任务记录唯一标记
9582
+ :type Id: int
8343
9583
  """
8344
- return self._Domain
8345
-
8346
- @Domain.setter
8347
- def Domain(self, Domain):
8348
- self._Domain = Domain
9584
+ self._Id = None
8349
9585
 
8350
9586
  @property
8351
- def RuleId(self):
8352
- """规则id
9587
+ def Id(self):
9588
+ """下载任务记录唯一标记
8353
9589
  :rtype: int
8354
9590
  """
8355
- return self._RuleId
9591
+ return self._Id
8356
9592
 
8357
- @RuleId.setter
8358
- def RuleId(self, RuleId):
8359
- self._RuleId = RuleId
9593
+ @Id.setter
9594
+ def Id(self, Id):
9595
+ self._Id = Id
8360
9596
 
8361
9597
 
8362
9598
  def _deserialize(self, params):
8363
- self._Domain = params.get("Domain")
8364
- self._RuleId = params.get("RuleId")
9599
+ self._Id = params.get("Id")
8365
9600
  memeber_set = set(params.keys())
8366
9601
  for name, value in vars(self).items():
8367
9602
  property_name = name[1:]
@@ -8372,8 +9607,8 @@ class DeleteAntiInfoLeakRuleRequest(AbstractModel):
8372
9607
 
8373
9608
 
8374
9609
 
8375
- class DeleteAntiInfoLeakRuleResponse(AbstractModel):
8376
- """DeleteAntiInfoLeakRule返回参数结构体
9610
+ class DeleteAttackDownloadRecordResponse(AbstractModel):
9611
+ """DeleteAttackDownloadRecord返回参数结构体
8377
9612
 
8378
9613
  """
8379
9614
 
@@ -8400,32 +9635,47 @@ class DeleteAntiInfoLeakRuleResponse(AbstractModel):
8400
9635
  self._RequestId = params.get("RequestId")
8401
9636
 
8402
9637
 
8403
- class DeleteAttackDownloadRecordRequest(AbstractModel):
8404
- """DeleteAttackDownloadRecord请求参数结构体
9638
+ class DeleteAttackWhiteRuleRequest(AbstractModel):
9639
+ """DeleteAttackWhiteRule请求参数结构体
8405
9640
 
8406
9641
  """
8407
9642
 
8408
9643
  def __init__(self):
8409
9644
  r"""
8410
- :param _Id: 下载任务记录唯一标记
8411
- :type Id: int
9645
+ :param _Ids: 规则序号组
9646
+ :type Ids: list of int non-negative
9647
+ :param _Domain: 用户域名
9648
+ :type Domain: str
8412
9649
  """
8413
- self._Id = None
9650
+ self._Ids = None
9651
+ self._Domain = None
8414
9652
 
8415
9653
  @property
8416
- def Id(self):
8417
- """下载任务记录唯一标记
8418
- :rtype: int
9654
+ def Ids(self):
9655
+ """规则序号组
9656
+ :rtype: list of int non-negative
8419
9657
  """
8420
- return self._Id
9658
+ return self._Ids
8421
9659
 
8422
- @Id.setter
8423
- def Id(self, Id):
8424
- self._Id = Id
9660
+ @Ids.setter
9661
+ def Ids(self, Ids):
9662
+ self._Ids = Ids
9663
+
9664
+ @property
9665
+ def Domain(self):
9666
+ """用户域名
9667
+ :rtype: str
9668
+ """
9669
+ return self._Domain
9670
+
9671
+ @Domain.setter
9672
+ def Domain(self, Domain):
9673
+ self._Domain = Domain
8425
9674
 
8426
9675
 
8427
9676
  def _deserialize(self, params):
8428
- self._Id = params.get("Id")
9677
+ self._Ids = params.get("Ids")
9678
+ self._Domain = params.get("Domain")
8429
9679
  memeber_set = set(params.keys())
8430
9680
  for name, value in vars(self).items():
8431
9681
  property_name = name[1:]
@@ -8436,18 +9686,32 @@ class DeleteAttackDownloadRecordRequest(AbstractModel):
8436
9686
 
8437
9687
 
8438
9688
 
8439
- class DeleteAttackDownloadRecordResponse(AbstractModel):
8440
- """DeleteAttackDownloadRecord返回参数结构体
9689
+ class DeleteAttackWhiteRuleResponse(AbstractModel):
9690
+ """DeleteAttackWhiteRule返回参数结构体
8441
9691
 
8442
9692
  """
8443
9693
 
8444
9694
  def __init__(self):
8445
9695
  r"""
9696
+ :param _FailIds: 删除失败的规则序号组
9697
+ :type FailIds: list of int non-negative
8446
9698
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8447
9699
  :type RequestId: str
8448
9700
  """
9701
+ self._FailIds = None
8449
9702
  self._RequestId = None
8450
9703
 
9704
+ @property
9705
+ def FailIds(self):
9706
+ """删除失败的规则序号组
9707
+ :rtype: list of int non-negative
9708
+ """
9709
+ return self._FailIds
9710
+
9711
+ @FailIds.setter
9712
+ def FailIds(self, FailIds):
9713
+ self._FailIds = FailIds
9714
+
8451
9715
  @property
8452
9716
  def RequestId(self):
8453
9717
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -8461,38 +9725,31 @@ class DeleteAttackDownloadRecordResponse(AbstractModel):
8461
9725
 
8462
9726
 
8463
9727
  def _deserialize(self, params):
9728
+ self._FailIds = params.get("FailIds")
8464
9729
  self._RequestId = params.get("RequestId")
8465
9730
 
8466
9731
 
8467
- class DeleteAttackWhiteRuleRequest(AbstractModel):
8468
- """DeleteAttackWhiteRule请求参数结构体
9732
+ class DeleteBotSceneUCBRuleRequest(AbstractModel):
9733
+ """DeleteBotSceneUCBRule请求参数结构体
8469
9734
 
8470
9735
  """
8471
9736
 
8472
9737
  def __init__(self):
8473
9738
  r"""
8474
- :param _Ids: 规则序号组
8475
- :type Ids: list of int non-negative
8476
- :param _Domain: 用户域名
9739
+ :param _Domain: 域名
8477
9740
  :type Domain: str
9741
+ :param _RuleId: 自定义规则ID
9742
+ :type RuleId: str
9743
+ :param _SceneId: 1.BOT全局白名单处调用时,传"global";2.BOT场景配置时,传具体的场景ID
9744
+ :type SceneId: str
8478
9745
  """
8479
- self._Ids = None
8480
9746
  self._Domain = None
8481
-
8482
- @property
8483
- def Ids(self):
8484
- """规则序号组
8485
- :rtype: list of int non-negative
8486
- """
8487
- return self._Ids
8488
-
8489
- @Ids.setter
8490
- def Ids(self, Ids):
8491
- self._Ids = Ids
9747
+ self._RuleId = None
9748
+ self._SceneId = None
8492
9749
 
8493
9750
  @property
8494
9751
  def Domain(self):
8495
- """用户域名
9752
+ """域名
8496
9753
  :rtype: str
8497
9754
  """
8498
9755
  return self._Domain
@@ -8501,10 +9758,33 @@ class DeleteAttackWhiteRuleRequest(AbstractModel):
8501
9758
  def Domain(self, Domain):
8502
9759
  self._Domain = Domain
8503
9760
 
9761
+ @property
9762
+ def RuleId(self):
9763
+ """自定义规则ID
9764
+ :rtype: str
9765
+ """
9766
+ return self._RuleId
9767
+
9768
+ @RuleId.setter
9769
+ def RuleId(self, RuleId):
9770
+ self._RuleId = RuleId
9771
+
9772
+ @property
9773
+ def SceneId(self):
9774
+ """1.BOT全局白名单处调用时,传"global";2.BOT场景配置时,传具体的场景ID
9775
+ :rtype: str
9776
+ """
9777
+ return self._SceneId
9778
+
9779
+ @SceneId.setter
9780
+ def SceneId(self, SceneId):
9781
+ self._SceneId = SceneId
9782
+
8504
9783
 
8505
9784
  def _deserialize(self, params):
8506
- self._Ids = params.get("Ids")
8507
9785
  self._Domain = params.get("Domain")
9786
+ self._RuleId = params.get("RuleId")
9787
+ self._SceneId = params.get("SceneId")
8508
9788
  memeber_set = set(params.keys())
8509
9789
  for name, value in vars(self).items():
8510
9790
  property_name = name[1:]
@@ -8515,31 +9795,33 @@ class DeleteAttackWhiteRuleRequest(AbstractModel):
8515
9795
 
8516
9796
 
8517
9797
 
8518
- class DeleteAttackWhiteRuleResponse(AbstractModel):
8519
- """DeleteAttackWhiteRule返回参数结构体
9798
+ class DeleteBotSceneUCBRuleResponse(AbstractModel):
9799
+ """DeleteBotSceneUCBRule返回参数结构体
8520
9800
 
8521
9801
  """
8522
9802
 
8523
9803
  def __init__(self):
8524
9804
  r"""
8525
- :param _FailIds: 删除失败的规则序号组
8526
- :type FailIds: list of int non-negative
9805
+ :param _Data: 正常情况下为null
9806
+ 注意:此字段可能返回 null,表示取不到有效值。
9807
+ :type Data: str
8527
9808
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8528
9809
  :type RequestId: str
8529
9810
  """
8530
- self._FailIds = None
9811
+ self._Data = None
8531
9812
  self._RequestId = None
8532
9813
 
8533
9814
  @property
8534
- def FailIds(self):
8535
- """删除失败的规则序号组
8536
- :rtype: list of int non-negative
9815
+ def Data(self):
9816
+ """正常情况下为null
9817
+ 注意:此字段可能返回 null,表示取不到有效值。
9818
+ :rtype: str
8537
9819
  """
8538
- return self._FailIds
9820
+ return self._Data
8539
9821
 
8540
- @FailIds.setter
8541
- def FailIds(self, FailIds):
8542
- self._FailIds = FailIds
9822
+ @Data.setter
9823
+ def Data(self, Data):
9824
+ self._Data = Data
8543
9825
 
8544
9826
  @property
8545
9827
  def RequestId(self):
@@ -8554,7 +9836,7 @@ class DeleteAttackWhiteRuleResponse(AbstractModel):
8554
9836
 
8555
9837
 
8556
9838
  def _deserialize(self, params):
8557
- self._FailIds = params.get("FailIds")
9839
+ self._Data = params.get("Data")
8558
9840
  self._RequestId = params.get("RequestId")
8559
9841
 
8560
9842
 
@@ -12496,57 +13778,553 @@ class DescribeAutoDenyIPResponse(AbstractModel):
12496
13778
 
12497
13779
  def _deserialize(self, params):
12498
13780
  if params.get("Data") is not None:
12499
- self._Data = IpHitItemsData()
13781
+ self._Data = IpHitItemsData()
13782
+ self._Data._deserialize(params.get("Data"))
13783
+ self._RequestId = params.get("RequestId")
13784
+
13785
+
13786
+ class DescribeBatchIpAccessControlRequest(AbstractModel):
13787
+ """DescribeBatchIpAccessControl请求参数结构体
13788
+
13789
+ """
13790
+
13791
+ def __init__(self):
13792
+ r"""
13793
+ :param _Filters: 筛选条件,支持 ActionType(可选的值为40:白名单,42:黑名单),ValidStatus(可选的值0:全部,1:生效,2:过期),Ip,Domains(域名列表),GroupId(防护对象组ID),GroupName(防护对象组名),RuleId(规则ID),TimerType(生效方式,1:永久生效,2:定时生效,3:按周周期生效,4:按月周期生效)
13794
+ :type Filters: list of FiltersItemNew
13795
+ :param _OffSet: 偏移
13796
+ :type OffSet: int
13797
+ :param _Limit: 限制
13798
+ :type Limit: int
13799
+ :param _Sort: 排序参数
13800
+ :type Sort: str
13801
+ """
13802
+ self._Filters = None
13803
+ self._OffSet = None
13804
+ self._Limit = None
13805
+ self._Sort = None
13806
+
13807
+ @property
13808
+ def Filters(self):
13809
+ """筛选条件,支持 ActionType(可选的值为40:白名单,42:黑名单),ValidStatus(可选的值0:全部,1:生效,2:过期),Ip,Domains(域名列表),GroupId(防护对象组ID),GroupName(防护对象组名),RuleId(规则ID),TimerType(生效方式,1:永久生效,2:定时生效,3:按周周期生效,4:按月周期生效)
13810
+ :rtype: list of FiltersItemNew
13811
+ """
13812
+ return self._Filters
13813
+
13814
+ @Filters.setter
13815
+ def Filters(self, Filters):
13816
+ self._Filters = Filters
13817
+
13818
+ @property
13819
+ def OffSet(self):
13820
+ """偏移
13821
+ :rtype: int
13822
+ """
13823
+ return self._OffSet
13824
+
13825
+ @OffSet.setter
13826
+ def OffSet(self, OffSet):
13827
+ self._OffSet = OffSet
13828
+
13829
+ @property
13830
+ def Limit(self):
13831
+ """限制
13832
+ :rtype: int
13833
+ """
13834
+ return self._Limit
13835
+
13836
+ @Limit.setter
13837
+ def Limit(self, Limit):
13838
+ self._Limit = Limit
13839
+
13840
+ @property
13841
+ def Sort(self):
13842
+ """排序参数
13843
+ :rtype: str
13844
+ """
13845
+ return self._Sort
13846
+
13847
+ @Sort.setter
13848
+ def Sort(self, Sort):
13849
+ self._Sort = Sort
13850
+
13851
+
13852
+ def _deserialize(self, params):
13853
+ if params.get("Filters") is not None:
13854
+ self._Filters = []
13855
+ for item in params.get("Filters"):
13856
+ obj = FiltersItemNew()
13857
+ obj._deserialize(item)
13858
+ self._Filters.append(obj)
13859
+ self._OffSet = params.get("OffSet")
13860
+ self._Limit = params.get("Limit")
13861
+ self._Sort = params.get("Sort")
13862
+ memeber_set = set(params.keys())
13863
+ for name, value in vars(self).items():
13864
+ property_name = name[1:]
13865
+ if property_name in memeber_set:
13866
+ memeber_set.remove(property_name)
13867
+ if len(memeber_set) > 0:
13868
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13869
+
13870
+
13871
+
13872
+ class DescribeBatchIpAccessControlResponse(AbstractModel):
13873
+ """DescribeBatchIpAccessControl返回参数结构体
13874
+
13875
+ """
13876
+
13877
+ def __init__(self):
13878
+ r"""
13879
+ :param _Data: 输出
13880
+ :type Data: :class:`tencentcloud.waf.v20180125.models.BatchIpAccessControlData`
13881
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13882
+ :type RequestId: str
13883
+ """
13884
+ self._Data = None
13885
+ self._RequestId = None
13886
+
13887
+ @property
13888
+ def Data(self):
13889
+ """输出
13890
+ :rtype: :class:`tencentcloud.waf.v20180125.models.BatchIpAccessControlData`
13891
+ """
13892
+ return self._Data
13893
+
13894
+ @Data.setter
13895
+ def Data(self, Data):
13896
+ self._Data = Data
13897
+
13898
+ @property
13899
+ def RequestId(self):
13900
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13901
+ :rtype: str
13902
+ """
13903
+ return self._RequestId
13904
+
13905
+ @RequestId.setter
13906
+ def RequestId(self, RequestId):
13907
+ self._RequestId = RequestId
13908
+
13909
+
13910
+ def _deserialize(self, params):
13911
+ if params.get("Data") is not None:
13912
+ self._Data = BatchIpAccessControlData()
12500
13913
  self._Data._deserialize(params.get("Data"))
12501
13914
  self._RequestId = params.get("RequestId")
12502
13915
 
12503
13916
 
12504
- class DescribeBatchIpAccessControlRequest(AbstractModel):
12505
- """DescribeBatchIpAccessControl请求参数结构体
13917
+ class DescribeBotSceneListRequest(AbstractModel):
13918
+ """DescribeBotSceneList请求参数结构体
12506
13919
 
12507
13920
  """
12508
13921
 
12509
13922
  def __init__(self):
12510
13923
  r"""
12511
- :param _Filters: 筛选条件,支持 ActionType(可选的值为40:白名单,42:黑名单),ValidStatus(可选的值0:全部,1:生效,2:过期),Ip,Domains(域名列表),GroupId(防护对象组ID),GroupName(防护对象组名),RuleId(规则ID),TimerType(生效方式,1:永久生效,2:定时生效,3:按周周期生效,4:按月周期生效)
12512
- :type Filters: list of FiltersItemNew
12513
- :param _OffSet: 偏移
12514
- :type OffSet: int
12515
- :param _Limit: 限制
13924
+ :param _Domain: 域名
13925
+ :type Domain: str
13926
+ :param _Limit: 每页数量
13927
+ :type Limit: int
13928
+ :param _Offset: 页码
13929
+ :type Offset: int
13930
+ :param _BusinessType: 场景模板类型,通过此下拉字段进行场景筛选。全部: all 登录: login 秒杀:seckill 爬内容:crawl 自定义: custom
13931
+ :type BusinessType: list of str
13932
+ :param _SceneName: 通过场景名称模糊搜索
13933
+ :type SceneName: str
13934
+ :param _IsDefault: 是否只显示默认场景
13935
+ :type IsDefault: bool
13936
+ :param _IsValid: 是否仅显示生效场景
13937
+ :type IsValid: bool
13938
+ """
13939
+ self._Domain = None
13940
+ self._Limit = None
13941
+ self._Offset = None
13942
+ self._BusinessType = None
13943
+ self._SceneName = None
13944
+ self._IsDefault = None
13945
+ self._IsValid = None
13946
+
13947
+ @property
13948
+ def Domain(self):
13949
+ """域名
13950
+ :rtype: str
13951
+ """
13952
+ return self._Domain
13953
+
13954
+ @Domain.setter
13955
+ def Domain(self, Domain):
13956
+ self._Domain = Domain
13957
+
13958
+ @property
13959
+ def Limit(self):
13960
+ """每页数量
13961
+ :rtype: int
13962
+ """
13963
+ return self._Limit
13964
+
13965
+ @Limit.setter
13966
+ def Limit(self, Limit):
13967
+ self._Limit = Limit
13968
+
13969
+ @property
13970
+ def Offset(self):
13971
+ """页码
13972
+ :rtype: int
13973
+ """
13974
+ return self._Offset
13975
+
13976
+ @Offset.setter
13977
+ def Offset(self, Offset):
13978
+ self._Offset = Offset
13979
+
13980
+ @property
13981
+ def BusinessType(self):
13982
+ """场景模板类型,通过此下拉字段进行场景筛选。全部: all 登录: login 秒杀:seckill 爬内容:crawl 自定义: custom
13983
+ :rtype: list of str
13984
+ """
13985
+ return self._BusinessType
13986
+
13987
+ @BusinessType.setter
13988
+ def BusinessType(self, BusinessType):
13989
+ self._BusinessType = BusinessType
13990
+
13991
+ @property
13992
+ def SceneName(self):
13993
+ """通过场景名称模糊搜索
13994
+ :rtype: str
13995
+ """
13996
+ return self._SceneName
13997
+
13998
+ @SceneName.setter
13999
+ def SceneName(self, SceneName):
14000
+ self._SceneName = SceneName
14001
+
14002
+ @property
14003
+ def IsDefault(self):
14004
+ """是否只显示默认场景
14005
+ :rtype: bool
14006
+ """
14007
+ return self._IsDefault
14008
+
14009
+ @IsDefault.setter
14010
+ def IsDefault(self, IsDefault):
14011
+ self._IsDefault = IsDefault
14012
+
14013
+ @property
14014
+ def IsValid(self):
14015
+ """是否仅显示生效场景
14016
+ :rtype: bool
14017
+ """
14018
+ return self._IsValid
14019
+
14020
+ @IsValid.setter
14021
+ def IsValid(self, IsValid):
14022
+ self._IsValid = IsValid
14023
+
14024
+
14025
+ def _deserialize(self, params):
14026
+ self._Domain = params.get("Domain")
14027
+ self._Limit = params.get("Limit")
14028
+ self._Offset = params.get("Offset")
14029
+ self._BusinessType = params.get("BusinessType")
14030
+ self._SceneName = params.get("SceneName")
14031
+ self._IsDefault = params.get("IsDefault")
14032
+ self._IsValid = params.get("IsValid")
14033
+ memeber_set = set(params.keys())
14034
+ for name, value in vars(self).items():
14035
+ property_name = name[1:]
14036
+ if property_name in memeber_set:
14037
+ memeber_set.remove(property_name)
14038
+ if len(memeber_set) > 0:
14039
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14040
+
14041
+
14042
+
14043
+ class DescribeBotSceneListResponse(AbstractModel):
14044
+ """DescribeBotSceneList返回参数结构体
14045
+
14046
+ """
14047
+
14048
+ def __init__(self):
14049
+ r"""
14050
+ :param _TotalCount: 符合筛选条件的场景数目
14051
+ :type TotalCount: int
14052
+ :param _BotSceneList: 当TotalCount为0时,返回空
14053
+ :type BotSceneList: list of BotSceneInfo
14054
+ :param _SimpleFlag: true-简易模式
14055
+ :type SimpleFlag: bool
14056
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14057
+ :type RequestId: str
14058
+ """
14059
+ self._TotalCount = None
14060
+ self._BotSceneList = None
14061
+ self._SimpleFlag = None
14062
+ self._RequestId = None
14063
+
14064
+ @property
14065
+ def TotalCount(self):
14066
+ """符合筛选条件的场景数目
14067
+ :rtype: int
14068
+ """
14069
+ return self._TotalCount
14070
+
14071
+ @TotalCount.setter
14072
+ def TotalCount(self, TotalCount):
14073
+ self._TotalCount = TotalCount
14074
+
14075
+ @property
14076
+ def BotSceneList(self):
14077
+ """当TotalCount为0时,返回空
14078
+ :rtype: list of BotSceneInfo
14079
+ """
14080
+ return self._BotSceneList
14081
+
14082
+ @BotSceneList.setter
14083
+ def BotSceneList(self, BotSceneList):
14084
+ self._BotSceneList = BotSceneList
14085
+
14086
+ @property
14087
+ def SimpleFlag(self):
14088
+ """true-简易模式
14089
+ :rtype: bool
14090
+ """
14091
+ return self._SimpleFlag
14092
+
14093
+ @SimpleFlag.setter
14094
+ def SimpleFlag(self, SimpleFlag):
14095
+ self._SimpleFlag = SimpleFlag
14096
+
14097
+ @property
14098
+ def RequestId(self):
14099
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14100
+ :rtype: str
14101
+ """
14102
+ return self._RequestId
14103
+
14104
+ @RequestId.setter
14105
+ def RequestId(self, RequestId):
14106
+ self._RequestId = RequestId
14107
+
14108
+
14109
+ def _deserialize(self, params):
14110
+ self._TotalCount = params.get("TotalCount")
14111
+ if params.get("BotSceneList") is not None:
14112
+ self._BotSceneList = []
14113
+ for item in params.get("BotSceneList"):
14114
+ obj = BotSceneInfo()
14115
+ obj._deserialize(item)
14116
+ self._BotSceneList.append(obj)
14117
+ self._SimpleFlag = params.get("SimpleFlag")
14118
+ self._RequestId = params.get("RequestId")
14119
+
14120
+
14121
+ class DescribeBotSceneOverviewRequest(AbstractModel):
14122
+ """DescribeBotSceneOverview请求参数结构体
14123
+
14124
+ """
14125
+
14126
+ def __init__(self):
14127
+ r"""
14128
+ :param _Domain: 域名
14129
+ :type Domain: str
14130
+ """
14131
+ self._Domain = None
14132
+
14133
+ @property
14134
+ def Domain(self):
14135
+ """域名
14136
+ :rtype: str
14137
+ """
14138
+ return self._Domain
14139
+
14140
+ @Domain.setter
14141
+ def Domain(self, Domain):
14142
+ self._Domain = Domain
14143
+
14144
+
14145
+ def _deserialize(self, params):
14146
+ self._Domain = params.get("Domain")
14147
+ memeber_set = set(params.keys())
14148
+ for name, value in vars(self).items():
14149
+ property_name = name[1:]
14150
+ if property_name in memeber_set:
14151
+ memeber_set.remove(property_name)
14152
+ if len(memeber_set) > 0:
14153
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14154
+
14155
+
14156
+
14157
+ class DescribeBotSceneOverviewResponse(AbstractModel):
14158
+ """DescribeBotSceneOverview返回参数结构体
14159
+
14160
+ """
14161
+
14162
+ def __init__(self):
14163
+ r"""
14164
+ :param _Status: BOT总开关
14165
+ :type Status: bool
14166
+ :param _SceneCount: 场景总数
14167
+ :type SceneCount: int
14168
+ :param _ValidSceneCount: 生效场景数
14169
+ :type ValidSceneCount: int
14170
+ :param _CurrentGlobalScene: 当前开启的、匹配范围为全局、优先级最高的场景
14171
+ 注意:此字段可能返回 null,表示取不到有效值。
14172
+ :type CurrentGlobalScene: :class:`tencentcloud.waf.v20180125.models.GlobalSceneInfo`
14173
+ :param _CustomRuleNums: 自定义规则总数,不包括BOT白名单
14174
+ :type CustomRuleNums: int
14175
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14176
+ :type RequestId: str
14177
+ """
14178
+ self._Status = None
14179
+ self._SceneCount = None
14180
+ self._ValidSceneCount = None
14181
+ self._CurrentGlobalScene = None
14182
+ self._CustomRuleNums = None
14183
+ self._RequestId = None
14184
+
14185
+ @property
14186
+ def Status(self):
14187
+ """BOT总开关
14188
+ :rtype: bool
14189
+ """
14190
+ return self._Status
14191
+
14192
+ @Status.setter
14193
+ def Status(self, Status):
14194
+ self._Status = Status
14195
+
14196
+ @property
14197
+ def SceneCount(self):
14198
+ """场景总数
14199
+ :rtype: int
14200
+ """
14201
+ return self._SceneCount
14202
+
14203
+ @SceneCount.setter
14204
+ def SceneCount(self, SceneCount):
14205
+ self._SceneCount = SceneCount
14206
+
14207
+ @property
14208
+ def ValidSceneCount(self):
14209
+ """生效场景数
14210
+ :rtype: int
14211
+ """
14212
+ return self._ValidSceneCount
14213
+
14214
+ @ValidSceneCount.setter
14215
+ def ValidSceneCount(self, ValidSceneCount):
14216
+ self._ValidSceneCount = ValidSceneCount
14217
+
14218
+ @property
14219
+ def CurrentGlobalScene(self):
14220
+ """当前开启的、匹配范围为全局、优先级最高的场景
14221
+ 注意:此字段可能返回 null,表示取不到有效值。
14222
+ :rtype: :class:`tencentcloud.waf.v20180125.models.GlobalSceneInfo`
14223
+ """
14224
+ return self._CurrentGlobalScene
14225
+
14226
+ @CurrentGlobalScene.setter
14227
+ def CurrentGlobalScene(self, CurrentGlobalScene):
14228
+ self._CurrentGlobalScene = CurrentGlobalScene
14229
+
14230
+ @property
14231
+ def CustomRuleNums(self):
14232
+ """自定义规则总数,不包括BOT白名单
14233
+ :rtype: int
14234
+ """
14235
+ return self._CustomRuleNums
14236
+
14237
+ @CustomRuleNums.setter
14238
+ def CustomRuleNums(self, CustomRuleNums):
14239
+ self._CustomRuleNums = CustomRuleNums
14240
+
14241
+ @property
14242
+ def RequestId(self):
14243
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14244
+ :rtype: str
14245
+ """
14246
+ return self._RequestId
14247
+
14248
+ @RequestId.setter
14249
+ def RequestId(self, RequestId):
14250
+ self._RequestId = RequestId
14251
+
14252
+
14253
+ def _deserialize(self, params):
14254
+ self._Status = params.get("Status")
14255
+ self._SceneCount = params.get("SceneCount")
14256
+ self._ValidSceneCount = params.get("ValidSceneCount")
14257
+ if params.get("CurrentGlobalScene") is not None:
14258
+ self._CurrentGlobalScene = GlobalSceneInfo()
14259
+ self._CurrentGlobalScene._deserialize(params.get("CurrentGlobalScene"))
14260
+ self._CustomRuleNums = params.get("CustomRuleNums")
14261
+ self._RequestId = params.get("RequestId")
14262
+
14263
+
14264
+ class DescribeBotSceneUCBRuleRequest(AbstractModel):
14265
+ """DescribeBotSceneUCBRule请求参数结构体
14266
+
14267
+ """
14268
+
14269
+ def __init__(self):
14270
+ r"""
14271
+ :param _Domain: 域名
14272
+ :type Domain: str
14273
+ :param _Skip: 翻页组件的起始页
14274
+ :type Skip: int
14275
+ :param _Limit: 翻页组件的页数据条数
12516
14276
  :type Limit: int
12517
14277
  :param _Sort: 排序参数
12518
14278
  :type Sort: str
14279
+ :param _SceneId: 1.BOT全局白名单处调用时,传"global";2.BOT场景配置处调用时,传具体的场景ID
14280
+ :type SceneId: str
14281
+ :param _Operate: 需要过滤的动作
14282
+ :type Operate: str
14283
+ :param _Name: 需要过滤的规则名称
14284
+ :type Name: str
14285
+ :param _VersionFlag: 兼容老数据和新旧版前端
14286
+ :type VersionFlag: str
14287
+ :param _TimerType: 生效方式:0-全部 1-永久生效 2-定时生效 3-周粒度生效 4-月粒度生效
14288
+ :type TimerType: int
14289
+ :param _ValidStatus: 0-全部 1-生效中 2-已过期
14290
+ :type ValidStatus: int
12519
14291
  """
12520
- self._Filters = None
12521
- self._OffSet = None
14292
+ self._Domain = None
14293
+ self._Skip = None
12522
14294
  self._Limit = None
12523
14295
  self._Sort = None
14296
+ self._SceneId = None
14297
+ self._Operate = None
14298
+ self._Name = None
14299
+ self._VersionFlag = None
14300
+ self._TimerType = None
14301
+ self._ValidStatus = None
12524
14302
 
12525
14303
  @property
12526
- def Filters(self):
12527
- """筛选条件,支持 ActionType(可选的值为40:白名单,42:黑名单),ValidStatus(可选的值0:全部,1:生效,2:过期),Ip,Domains(域名列表),GroupId(防护对象组ID),GroupName(防护对象组名),RuleId(规则ID),TimerType(生效方式,1:永久生效,2:定时生效,3:按周周期生效,4:按月周期生效)
12528
- :rtype: list of FiltersItemNew
14304
+ def Domain(self):
14305
+ """域名
14306
+ :rtype: str
12529
14307
  """
12530
- return self._Filters
14308
+ return self._Domain
12531
14309
 
12532
- @Filters.setter
12533
- def Filters(self, Filters):
12534
- self._Filters = Filters
14310
+ @Domain.setter
14311
+ def Domain(self, Domain):
14312
+ self._Domain = Domain
12535
14313
 
12536
14314
  @property
12537
- def OffSet(self):
12538
- """偏移
14315
+ def Skip(self):
14316
+ """翻页组件的起始页
12539
14317
  :rtype: int
12540
14318
  """
12541
- return self._OffSet
14319
+ return self._Skip
12542
14320
 
12543
- @OffSet.setter
12544
- def OffSet(self, OffSet):
12545
- self._OffSet = OffSet
14321
+ @Skip.setter
14322
+ def Skip(self, Skip):
14323
+ self._Skip = Skip
12546
14324
 
12547
14325
  @property
12548
14326
  def Limit(self):
12549
- """限制
14327
+ """翻页组件的页数据条数
12550
14328
  :rtype: int
12551
14329
  """
12552
14330
  return self._Limit
@@ -12566,17 +14344,84 @@ class DescribeBatchIpAccessControlRequest(AbstractModel):
12566
14344
  def Sort(self, Sort):
12567
14345
  self._Sort = Sort
12568
14346
 
14347
+ @property
14348
+ def SceneId(self):
14349
+ """1.BOT全局白名单处调用时,传"global";2.BOT场景配置处调用时,传具体的场景ID
14350
+ :rtype: str
14351
+ """
14352
+ return self._SceneId
14353
+
14354
+ @SceneId.setter
14355
+ def SceneId(self, SceneId):
14356
+ self._SceneId = SceneId
14357
+
14358
+ @property
14359
+ def Operate(self):
14360
+ """需要过滤的动作
14361
+ :rtype: str
14362
+ """
14363
+ return self._Operate
14364
+
14365
+ @Operate.setter
14366
+ def Operate(self, Operate):
14367
+ self._Operate = Operate
14368
+
14369
+ @property
14370
+ def Name(self):
14371
+ """需要过滤的规则名称
14372
+ :rtype: str
14373
+ """
14374
+ return self._Name
14375
+
14376
+ @Name.setter
14377
+ def Name(self, Name):
14378
+ self._Name = Name
14379
+
14380
+ @property
14381
+ def VersionFlag(self):
14382
+ """兼容老数据和新旧版前端
14383
+ :rtype: str
14384
+ """
14385
+ return self._VersionFlag
14386
+
14387
+ @VersionFlag.setter
14388
+ def VersionFlag(self, VersionFlag):
14389
+ self._VersionFlag = VersionFlag
14390
+
14391
+ @property
14392
+ def TimerType(self):
14393
+ """生效方式:0-全部 1-永久生效 2-定时生效 3-周粒度生效 4-月粒度生效
14394
+ :rtype: int
14395
+ """
14396
+ return self._TimerType
14397
+
14398
+ @TimerType.setter
14399
+ def TimerType(self, TimerType):
14400
+ self._TimerType = TimerType
14401
+
14402
+ @property
14403
+ def ValidStatus(self):
14404
+ """0-全部 1-生效中 2-已过期
14405
+ :rtype: int
14406
+ """
14407
+ return self._ValidStatus
14408
+
14409
+ @ValidStatus.setter
14410
+ def ValidStatus(self, ValidStatus):
14411
+ self._ValidStatus = ValidStatus
14412
+
12569
14413
 
12570
14414
  def _deserialize(self, params):
12571
- if params.get("Filters") is not None:
12572
- self._Filters = []
12573
- for item in params.get("Filters"):
12574
- obj = FiltersItemNew()
12575
- obj._deserialize(item)
12576
- self._Filters.append(obj)
12577
- self._OffSet = params.get("OffSet")
14415
+ self._Domain = params.get("Domain")
14416
+ self._Skip = params.get("Skip")
12578
14417
  self._Limit = params.get("Limit")
12579
14418
  self._Sort = params.get("Sort")
14419
+ self._SceneId = params.get("SceneId")
14420
+ self._Operate = params.get("Operate")
14421
+ self._Name = params.get("Name")
14422
+ self._VersionFlag = params.get("VersionFlag")
14423
+ self._TimerType = params.get("TimerType")
14424
+ self._ValidStatus = params.get("ValidStatus")
12580
14425
  memeber_set = set(params.keys())
12581
14426
  for name, value in vars(self).items():
12582
14427
  property_name = name[1:]
@@ -12587,15 +14432,16 @@ class DescribeBatchIpAccessControlRequest(AbstractModel):
12587
14432
 
12588
14433
 
12589
14434
 
12590
- class DescribeBatchIpAccessControlResponse(AbstractModel):
12591
- """DescribeBatchIpAccessControl返回参数结构体
14435
+ class DescribeBotSceneUCBRuleResponse(AbstractModel):
14436
+ """DescribeBotSceneUCBRule返回参数结构体
12592
14437
 
12593
14438
  """
12594
14439
 
12595
14440
  def __init__(self):
12596
14441
  r"""
12597
- :param _Data: 输出
12598
- :type Data: :class:`tencentcloud.waf.v20180125.models.BatchIpAccessControlData`
14442
+ :param _Data: 返回数据包
14443
+ 注意:此字段可能返回 null,表示取不到有效值。
14444
+ :type Data: :class:`tencentcloud.waf.v20180125.models.DescribeBotUCBRuleRsp`
12599
14445
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12600
14446
  :type RequestId: str
12601
14447
  """
@@ -12604,8 +14450,9 @@ class DescribeBatchIpAccessControlResponse(AbstractModel):
12604
14450
 
12605
14451
  @property
12606
14452
  def Data(self):
12607
- """输出
12608
- :rtype: :class:`tencentcloud.waf.v20180125.models.BatchIpAccessControlData`
14453
+ """返回数据包
14454
+ 注意:此字段可能返回 null,表示取不到有效值。
14455
+ :rtype: :class:`tencentcloud.waf.v20180125.models.DescribeBotUCBRuleRsp`
12609
14456
  """
12610
14457
  return self._Data
12611
14458
 
@@ -12627,11 +14474,67 @@ class DescribeBatchIpAccessControlResponse(AbstractModel):
12627
14474
 
12628
14475
  def _deserialize(self, params):
12629
14476
  if params.get("Data") is not None:
12630
- self._Data = BatchIpAccessControlData()
14477
+ self._Data = DescribeBotUCBRuleRsp()
12631
14478
  self._Data._deserialize(params.get("Data"))
12632
14479
  self._RequestId = params.get("RequestId")
12633
14480
 
12634
14481
 
14482
+ class DescribeBotUCBRuleRsp(AbstractModel):
14483
+ """获取自定义规则列表时的出参
14484
+
14485
+ """
14486
+
14487
+ def __init__(self):
14488
+ r"""
14489
+ :param _Res: 规则列表
14490
+ :type Res: list of InOutputBotUCBRule
14491
+ :param _TotalCount: 规则总数
14492
+ :type TotalCount: int
14493
+ """
14494
+ self._Res = None
14495
+ self._TotalCount = None
14496
+
14497
+ @property
14498
+ def Res(self):
14499
+ """规则列表
14500
+ :rtype: list of InOutputBotUCBRule
14501
+ """
14502
+ return self._Res
14503
+
14504
+ @Res.setter
14505
+ def Res(self, Res):
14506
+ self._Res = Res
14507
+
14508
+ @property
14509
+ def TotalCount(self):
14510
+ """规则总数
14511
+ :rtype: int
14512
+ """
14513
+ return self._TotalCount
14514
+
14515
+ @TotalCount.setter
14516
+ def TotalCount(self, TotalCount):
14517
+ self._TotalCount = TotalCount
14518
+
14519
+
14520
+ def _deserialize(self, params):
14521
+ if params.get("Res") is not None:
14522
+ self._Res = []
14523
+ for item in params.get("Res"):
14524
+ obj = InOutputBotUCBRule()
14525
+ obj._deserialize(item)
14526
+ self._Res.append(obj)
14527
+ self._TotalCount = params.get("TotalCount")
14528
+ memeber_set = set(params.keys())
14529
+ for name, value in vars(self).items():
14530
+ property_name = name[1:]
14531
+ if property_name in memeber_set:
14532
+ memeber_set.remove(property_name)
14533
+ if len(memeber_set) > 0:
14534
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14535
+
14536
+
14537
+
12635
14538
  class DescribeCCAutoStatusRequest(AbstractModel):
12636
14539
  """DescribeCCAutoStatus请求参数结构体
12637
14540
 
@@ -23436,6 +25339,87 @@ class GetInstanceQpsLimitResponse(AbstractModel):
23436
25339
  self._RequestId = params.get("RequestId")
23437
25340
 
23438
25341
 
25342
+ class GlobalSceneInfo(AbstractModel):
25343
+ """当前开启的、匹配范围为全局、优先级最高的场景信息
25344
+
25345
+ """
25346
+
25347
+ def __init__(self):
25348
+ r"""
25349
+ :param _SceneId: 场景ID
25350
+ :type SceneId: str
25351
+ :param _SceneName: 场景名称
25352
+ :type SceneName: str
25353
+ :param _Priority: 场景优先级
25354
+ :type Priority: int
25355
+ :param _UpdateTime: 场景更新时间
25356
+ :type UpdateTime: int
25357
+ """
25358
+ self._SceneId = None
25359
+ self._SceneName = None
25360
+ self._Priority = None
25361
+ self._UpdateTime = None
25362
+
25363
+ @property
25364
+ def SceneId(self):
25365
+ """场景ID
25366
+ :rtype: str
25367
+ """
25368
+ return self._SceneId
25369
+
25370
+ @SceneId.setter
25371
+ def SceneId(self, SceneId):
25372
+ self._SceneId = SceneId
25373
+
25374
+ @property
25375
+ def SceneName(self):
25376
+ """场景名称
25377
+ :rtype: str
25378
+ """
25379
+ return self._SceneName
25380
+
25381
+ @SceneName.setter
25382
+ def SceneName(self, SceneName):
25383
+ self._SceneName = SceneName
25384
+
25385
+ @property
25386
+ def Priority(self):
25387
+ """场景优先级
25388
+ :rtype: int
25389
+ """
25390
+ return self._Priority
25391
+
25392
+ @Priority.setter
25393
+ def Priority(self, Priority):
25394
+ self._Priority = Priority
25395
+
25396
+ @property
25397
+ def UpdateTime(self):
25398
+ """场景更新时间
25399
+ :rtype: int
25400
+ """
25401
+ return self._UpdateTime
25402
+
25403
+ @UpdateTime.setter
25404
+ def UpdateTime(self, UpdateTime):
25405
+ self._UpdateTime = UpdateTime
25406
+
25407
+
25408
+ def _deserialize(self, params):
25409
+ self._SceneId = params.get("SceneId")
25410
+ self._SceneName = params.get("SceneName")
25411
+ self._Priority = params.get("Priority")
25412
+ self._UpdateTime = params.get("UpdateTime")
25413
+ memeber_set = set(params.keys())
25414
+ for name, value in vars(self).items():
25415
+ property_name = name[1:]
25416
+ if property_name in memeber_set:
25417
+ memeber_set.remove(property_name)
25418
+ if len(memeber_set) > 0:
25419
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
25420
+
25421
+
25422
+
23439
25423
  class GoodNews(AbstractModel):
23440
25424
  """计费下单接口出入参Goods
23441
25425
 
@@ -25031,6 +27015,547 @@ class ImportIpAccessControlResponse(AbstractModel):
25031
27015
  self._RequestId = params.get("RequestId")
25032
27016
 
25033
27017
 
27018
+ class InOutputBotUCBRule(AbstractModel):
27019
+ """修改/新增自定义规则的入参,查询自定义规则列表时的出参
27020
+
27021
+ """
27022
+
27023
+ def __init__(self):
27024
+ r"""
27025
+ :param _Domain: 域名
27026
+ :type Domain: str
27027
+ :param _Name: 规则名称
27028
+ :type Name: str
27029
+ :param _Rule: UCB的具体规则项
27030
+ :type Rule: list of InOutputUCBRuleEntry
27031
+ :param _Action: 处置动作
27032
+ :type Action: str
27033
+ :param _OnOff: 规则开关
27034
+ :type OnOff: str
27035
+ :param _RuleType: 规则类型
27036
+ :type RuleType: int
27037
+ :param _Prior: 规则优先级
27038
+ :type Prior: int
27039
+ :param _Timestamp: 修改时间戳
27040
+ :type Timestamp: int
27041
+ :param _Label: 标签
27042
+ :type Label: str
27043
+ :param _Id: 入参ID
27044
+ :type Id: str
27045
+ :param _SceneId: 场景ID
27046
+ :type SceneId: str
27047
+ :param _ValidTime: 生效时间
27048
+ :type ValidTime: int
27049
+ :param _Appid: 传入的appid
27050
+ :type Appid: int
27051
+ :param _AdditionArg: 额外参数
27052
+ :type AdditionArg: str
27053
+ :param _Desc: 规则描述
27054
+ :type Desc: str
27055
+ :param _RuleId: 规则ID
27056
+ :type RuleId: str
27057
+ :param _PreDefine: true-系统预设规则 false-自定义规则
27058
+ :type PreDefine: bool
27059
+ :param _JobType: 定时任务类型
27060
+ :type JobType: str
27061
+ :param _JobDateTime: 定时任务配置
27062
+ :type JobDateTime: :class:`tencentcloud.waf.v20180125.models.JobDateTime`
27063
+ :param _ExpireTime: 生效截止时间
27064
+ :type ExpireTime: int
27065
+ :param _ValidStatus: 生效-1,失效-0
27066
+ :type ValidStatus: int
27067
+ :param _BlockPageId: 自定义拦截页面ID
27068
+ :type BlockPageId: int
27069
+ :param _ActionList: 当Action=intercept时,此字段必填
27070
+ :type ActionList: list of UCBActionProportion
27071
+ """
27072
+ self._Domain = None
27073
+ self._Name = None
27074
+ self._Rule = None
27075
+ self._Action = None
27076
+ self._OnOff = None
27077
+ self._RuleType = None
27078
+ self._Prior = None
27079
+ self._Timestamp = None
27080
+ self._Label = None
27081
+ self._Id = None
27082
+ self._SceneId = None
27083
+ self._ValidTime = None
27084
+ self._Appid = None
27085
+ self._AdditionArg = None
27086
+ self._Desc = None
27087
+ self._RuleId = None
27088
+ self._PreDefine = None
27089
+ self._JobType = None
27090
+ self._JobDateTime = None
27091
+ self._ExpireTime = None
27092
+ self._ValidStatus = None
27093
+ self._BlockPageId = None
27094
+ self._ActionList = None
27095
+
27096
+ @property
27097
+ def Domain(self):
27098
+ """域名
27099
+ :rtype: str
27100
+ """
27101
+ return self._Domain
27102
+
27103
+ @Domain.setter
27104
+ def Domain(self, Domain):
27105
+ self._Domain = Domain
27106
+
27107
+ @property
27108
+ def Name(self):
27109
+ """规则名称
27110
+ :rtype: str
27111
+ """
27112
+ return self._Name
27113
+
27114
+ @Name.setter
27115
+ def Name(self, Name):
27116
+ self._Name = Name
27117
+
27118
+ @property
27119
+ def Rule(self):
27120
+ """UCB的具体规则项
27121
+ :rtype: list of InOutputUCBRuleEntry
27122
+ """
27123
+ return self._Rule
27124
+
27125
+ @Rule.setter
27126
+ def Rule(self, Rule):
27127
+ self._Rule = Rule
27128
+
27129
+ @property
27130
+ def Action(self):
27131
+ """处置动作
27132
+ :rtype: str
27133
+ """
27134
+ return self._Action
27135
+
27136
+ @Action.setter
27137
+ def Action(self, Action):
27138
+ self._Action = Action
27139
+
27140
+ @property
27141
+ def OnOff(self):
27142
+ """规则开关
27143
+ :rtype: str
27144
+ """
27145
+ return self._OnOff
27146
+
27147
+ @OnOff.setter
27148
+ def OnOff(self, OnOff):
27149
+ self._OnOff = OnOff
27150
+
27151
+ @property
27152
+ def RuleType(self):
27153
+ """规则类型
27154
+ :rtype: int
27155
+ """
27156
+ return self._RuleType
27157
+
27158
+ @RuleType.setter
27159
+ def RuleType(self, RuleType):
27160
+ self._RuleType = RuleType
27161
+
27162
+ @property
27163
+ def Prior(self):
27164
+ """规则优先级
27165
+ :rtype: int
27166
+ """
27167
+ return self._Prior
27168
+
27169
+ @Prior.setter
27170
+ def Prior(self, Prior):
27171
+ self._Prior = Prior
27172
+
27173
+ @property
27174
+ def Timestamp(self):
27175
+ """修改时间戳
27176
+ :rtype: int
27177
+ """
27178
+ return self._Timestamp
27179
+
27180
+ @Timestamp.setter
27181
+ def Timestamp(self, Timestamp):
27182
+ self._Timestamp = Timestamp
27183
+
27184
+ @property
27185
+ def Label(self):
27186
+ """标签
27187
+ :rtype: str
27188
+ """
27189
+ return self._Label
27190
+
27191
+ @Label.setter
27192
+ def Label(self, Label):
27193
+ self._Label = Label
27194
+
27195
+ @property
27196
+ def Id(self):
27197
+ """入参ID
27198
+ :rtype: str
27199
+ """
27200
+ return self._Id
27201
+
27202
+ @Id.setter
27203
+ def Id(self, Id):
27204
+ self._Id = Id
27205
+
27206
+ @property
27207
+ def SceneId(self):
27208
+ """场景ID
27209
+ :rtype: str
27210
+ """
27211
+ return self._SceneId
27212
+
27213
+ @SceneId.setter
27214
+ def SceneId(self, SceneId):
27215
+ self._SceneId = SceneId
27216
+
27217
+ @property
27218
+ def ValidTime(self):
27219
+ """生效时间
27220
+ :rtype: int
27221
+ """
27222
+ return self._ValidTime
27223
+
27224
+ @ValidTime.setter
27225
+ def ValidTime(self, ValidTime):
27226
+ self._ValidTime = ValidTime
27227
+
27228
+ @property
27229
+ def Appid(self):
27230
+ """传入的appid
27231
+ :rtype: int
27232
+ """
27233
+ return self._Appid
27234
+
27235
+ @Appid.setter
27236
+ def Appid(self, Appid):
27237
+ self._Appid = Appid
27238
+
27239
+ @property
27240
+ def AdditionArg(self):
27241
+ """额外参数
27242
+ :rtype: str
27243
+ """
27244
+ return self._AdditionArg
27245
+
27246
+ @AdditionArg.setter
27247
+ def AdditionArg(self, AdditionArg):
27248
+ self._AdditionArg = AdditionArg
27249
+
27250
+ @property
27251
+ def Desc(self):
27252
+ """规则描述
27253
+ :rtype: str
27254
+ """
27255
+ return self._Desc
27256
+
27257
+ @Desc.setter
27258
+ def Desc(self, Desc):
27259
+ self._Desc = Desc
27260
+
27261
+ @property
27262
+ def RuleId(self):
27263
+ """规则ID
27264
+ :rtype: str
27265
+ """
27266
+ return self._RuleId
27267
+
27268
+ @RuleId.setter
27269
+ def RuleId(self, RuleId):
27270
+ self._RuleId = RuleId
27271
+
27272
+ @property
27273
+ def PreDefine(self):
27274
+ """true-系统预设规则 false-自定义规则
27275
+ :rtype: bool
27276
+ """
27277
+ return self._PreDefine
27278
+
27279
+ @PreDefine.setter
27280
+ def PreDefine(self, PreDefine):
27281
+ self._PreDefine = PreDefine
27282
+
27283
+ @property
27284
+ def JobType(self):
27285
+ """定时任务类型
27286
+ :rtype: str
27287
+ """
27288
+ return self._JobType
27289
+
27290
+ @JobType.setter
27291
+ def JobType(self, JobType):
27292
+ self._JobType = JobType
27293
+
27294
+ @property
27295
+ def JobDateTime(self):
27296
+ """定时任务配置
27297
+ :rtype: :class:`tencentcloud.waf.v20180125.models.JobDateTime`
27298
+ """
27299
+ return self._JobDateTime
27300
+
27301
+ @JobDateTime.setter
27302
+ def JobDateTime(self, JobDateTime):
27303
+ self._JobDateTime = JobDateTime
27304
+
27305
+ @property
27306
+ def ExpireTime(self):
27307
+ """生效截止时间
27308
+ :rtype: int
27309
+ """
27310
+ return self._ExpireTime
27311
+
27312
+ @ExpireTime.setter
27313
+ def ExpireTime(self, ExpireTime):
27314
+ self._ExpireTime = ExpireTime
27315
+
27316
+ @property
27317
+ def ValidStatus(self):
27318
+ """生效-1,失效-0
27319
+ :rtype: int
27320
+ """
27321
+ return self._ValidStatus
27322
+
27323
+ @ValidStatus.setter
27324
+ def ValidStatus(self, ValidStatus):
27325
+ self._ValidStatus = ValidStatus
27326
+
27327
+ @property
27328
+ def BlockPageId(self):
27329
+ """自定义拦截页面ID
27330
+ :rtype: int
27331
+ """
27332
+ return self._BlockPageId
27333
+
27334
+ @BlockPageId.setter
27335
+ def BlockPageId(self, BlockPageId):
27336
+ self._BlockPageId = BlockPageId
27337
+
27338
+ @property
27339
+ def ActionList(self):
27340
+ """当Action=intercept时,此字段必填
27341
+ :rtype: list of UCBActionProportion
27342
+ """
27343
+ return self._ActionList
27344
+
27345
+ @ActionList.setter
27346
+ def ActionList(self, ActionList):
27347
+ self._ActionList = ActionList
27348
+
27349
+
27350
+ def _deserialize(self, params):
27351
+ self._Domain = params.get("Domain")
27352
+ self._Name = params.get("Name")
27353
+ if params.get("Rule") is not None:
27354
+ self._Rule = []
27355
+ for item in params.get("Rule"):
27356
+ obj = InOutputUCBRuleEntry()
27357
+ obj._deserialize(item)
27358
+ self._Rule.append(obj)
27359
+ self._Action = params.get("Action")
27360
+ self._OnOff = params.get("OnOff")
27361
+ self._RuleType = params.get("RuleType")
27362
+ self._Prior = params.get("Prior")
27363
+ self._Timestamp = params.get("Timestamp")
27364
+ self._Label = params.get("Label")
27365
+ self._Id = params.get("Id")
27366
+ self._SceneId = params.get("SceneId")
27367
+ self._ValidTime = params.get("ValidTime")
27368
+ self._Appid = params.get("Appid")
27369
+ self._AdditionArg = params.get("AdditionArg")
27370
+ self._Desc = params.get("Desc")
27371
+ self._RuleId = params.get("RuleId")
27372
+ self._PreDefine = params.get("PreDefine")
27373
+ self._JobType = params.get("JobType")
27374
+ if params.get("JobDateTime") is not None:
27375
+ self._JobDateTime = JobDateTime()
27376
+ self._JobDateTime._deserialize(params.get("JobDateTime"))
27377
+ self._ExpireTime = params.get("ExpireTime")
27378
+ self._ValidStatus = params.get("ValidStatus")
27379
+ self._BlockPageId = params.get("BlockPageId")
27380
+ if params.get("ActionList") is not None:
27381
+ self._ActionList = []
27382
+ for item in params.get("ActionList"):
27383
+ obj = UCBActionProportion()
27384
+ obj._deserialize(item)
27385
+ self._ActionList.append(obj)
27386
+ memeber_set = set(params.keys())
27387
+ for name, value in vars(self).items():
27388
+ property_name = name[1:]
27389
+ if property_name in memeber_set:
27390
+ memeber_set.remove(property_name)
27391
+ if len(memeber_set) > 0:
27392
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
27393
+
27394
+
27395
+
27396
+ class InOutputUCBRuleEntry(AbstractModel):
27397
+ """自定义规则UCB的Rule生效条件
27398
+
27399
+ """
27400
+
27401
+ def __init__(self):
27402
+ r"""
27403
+ :param _Key: 键
27404
+ :type Key: str
27405
+ :param _Op: 操作符
27406
+ :type Op: str
27407
+ :param _Value: 值
27408
+ :type Value: :class:`tencentcloud.waf.v20180125.models.UCBEntryValue`
27409
+ :param _OpOp: 可选的补充操作符
27410
+ :type OpOp: str
27411
+ :param _OpArg: 可选的补充参数
27412
+ :type OpArg: list of str
27413
+ :param _OpValue: 可选的补充值
27414
+ :type OpValue: float
27415
+ :param _Name: Header参数值时使用
27416
+ :type Name: str
27417
+ :param _Areas: 区域选择
27418
+ :type Areas: list of Area
27419
+ :param _Lang: 语言环境
27420
+ :type Lang: str
27421
+ """
27422
+ self._Key = None
27423
+ self._Op = None
27424
+ self._Value = None
27425
+ self._OpOp = None
27426
+ self._OpArg = None
27427
+ self._OpValue = None
27428
+ self._Name = None
27429
+ self._Areas = None
27430
+ self._Lang = None
27431
+
27432
+ @property
27433
+ def Key(self):
27434
+ """键
27435
+ :rtype: str
27436
+ """
27437
+ return self._Key
27438
+
27439
+ @Key.setter
27440
+ def Key(self, Key):
27441
+ self._Key = Key
27442
+
27443
+ @property
27444
+ def Op(self):
27445
+ """操作符
27446
+ :rtype: str
27447
+ """
27448
+ return self._Op
27449
+
27450
+ @Op.setter
27451
+ def Op(self, Op):
27452
+ self._Op = Op
27453
+
27454
+ @property
27455
+ def Value(self):
27456
+ """值
27457
+ :rtype: :class:`tencentcloud.waf.v20180125.models.UCBEntryValue`
27458
+ """
27459
+ return self._Value
27460
+
27461
+ @Value.setter
27462
+ def Value(self, Value):
27463
+ self._Value = Value
27464
+
27465
+ @property
27466
+ def OpOp(self):
27467
+ """可选的补充操作符
27468
+ :rtype: str
27469
+ """
27470
+ return self._OpOp
27471
+
27472
+ @OpOp.setter
27473
+ def OpOp(self, OpOp):
27474
+ self._OpOp = OpOp
27475
+
27476
+ @property
27477
+ def OpArg(self):
27478
+ """可选的补充参数
27479
+ :rtype: list of str
27480
+ """
27481
+ return self._OpArg
27482
+
27483
+ @OpArg.setter
27484
+ def OpArg(self, OpArg):
27485
+ self._OpArg = OpArg
27486
+
27487
+ @property
27488
+ def OpValue(self):
27489
+ """可选的补充值
27490
+ :rtype: float
27491
+ """
27492
+ return self._OpValue
27493
+
27494
+ @OpValue.setter
27495
+ def OpValue(self, OpValue):
27496
+ self._OpValue = OpValue
27497
+
27498
+ @property
27499
+ def Name(self):
27500
+ """Header参数值时使用
27501
+ :rtype: str
27502
+ """
27503
+ return self._Name
27504
+
27505
+ @Name.setter
27506
+ def Name(self, Name):
27507
+ self._Name = Name
27508
+
27509
+ @property
27510
+ def Areas(self):
27511
+ """区域选择
27512
+ :rtype: list of Area
27513
+ """
27514
+ return self._Areas
27515
+
27516
+ @Areas.setter
27517
+ def Areas(self, Areas):
27518
+ self._Areas = Areas
27519
+
27520
+ @property
27521
+ def Lang(self):
27522
+ """语言环境
27523
+ :rtype: str
27524
+ """
27525
+ return self._Lang
27526
+
27527
+ @Lang.setter
27528
+ def Lang(self, Lang):
27529
+ self._Lang = Lang
27530
+
27531
+
27532
+ def _deserialize(self, params):
27533
+ self._Key = params.get("Key")
27534
+ self._Op = params.get("Op")
27535
+ if params.get("Value") is not None:
27536
+ self._Value = UCBEntryValue()
27537
+ self._Value._deserialize(params.get("Value"))
27538
+ self._OpOp = params.get("OpOp")
27539
+ self._OpArg = params.get("OpArg")
27540
+ self._OpValue = params.get("OpValue")
27541
+ self._Name = params.get("Name")
27542
+ if params.get("Areas") is not None:
27543
+ self._Areas = []
27544
+ for item in params.get("Areas"):
27545
+ obj = Area()
27546
+ obj._deserialize(item)
27547
+ self._Areas.append(obj)
27548
+ self._Lang = params.get("Lang")
27549
+ memeber_set = set(params.keys())
27550
+ for name, value in vars(self).items():
27551
+ property_name = name[1:]
27552
+ if property_name in memeber_set:
27553
+ memeber_set.remove(property_name)
27554
+ if len(memeber_set) > 0:
27555
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
27556
+
27557
+
27558
+
25034
27559
  class InstanceInfo(AbstractModel):
25035
27560
  """一个实例的详细信息
25036
27561
 
@@ -28647,6 +31172,231 @@ class ModifyAttackWhiteRuleResponse(AbstractModel):
28647
31172
  self._RequestId = params.get("RequestId")
28648
31173
 
28649
31174
 
31175
+ class ModifyBotSceneStatusRequest(AbstractModel):
31176
+ """ModifyBotSceneStatus请求参数结构体
31177
+
31178
+ """
31179
+
31180
+ def __init__(self):
31181
+ r"""
31182
+ :param _Domain: 域名
31183
+ :type Domain: str
31184
+ :param _SceneId: 场景ID
31185
+ :type SceneId: str
31186
+ :param _Status: true-开启 false-关闭
31187
+ :type Status: bool
31188
+ """
31189
+ self._Domain = None
31190
+ self._SceneId = None
31191
+ self._Status = None
31192
+
31193
+ @property
31194
+ def Domain(self):
31195
+ """域名
31196
+ :rtype: str
31197
+ """
31198
+ return self._Domain
31199
+
31200
+ @Domain.setter
31201
+ def Domain(self, Domain):
31202
+ self._Domain = Domain
31203
+
31204
+ @property
31205
+ def SceneId(self):
31206
+ """场景ID
31207
+ :rtype: str
31208
+ """
31209
+ return self._SceneId
31210
+
31211
+ @SceneId.setter
31212
+ def SceneId(self, SceneId):
31213
+ self._SceneId = SceneId
31214
+
31215
+ @property
31216
+ def Status(self):
31217
+ """true-开启 false-关闭
31218
+ :rtype: bool
31219
+ """
31220
+ return self._Status
31221
+
31222
+ @Status.setter
31223
+ def Status(self, Status):
31224
+ self._Status = Status
31225
+
31226
+
31227
+ def _deserialize(self, params):
31228
+ self._Domain = params.get("Domain")
31229
+ self._SceneId = params.get("SceneId")
31230
+ self._Status = params.get("Status")
31231
+ memeber_set = set(params.keys())
31232
+ for name, value in vars(self).items():
31233
+ property_name = name[1:]
31234
+ if property_name in memeber_set:
31235
+ memeber_set.remove(property_name)
31236
+ if len(memeber_set) > 0:
31237
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
31238
+
31239
+
31240
+
31241
+ class ModifyBotSceneStatusResponse(AbstractModel):
31242
+ """ModifyBotSceneStatus返回参数结构体
31243
+
31244
+ """
31245
+
31246
+ def __init__(self):
31247
+ r"""
31248
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
31249
+ :type RequestId: str
31250
+ """
31251
+ self._RequestId = None
31252
+
31253
+ @property
31254
+ def RequestId(self):
31255
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
31256
+ :rtype: str
31257
+ """
31258
+ return self._RequestId
31259
+
31260
+ @RequestId.setter
31261
+ def RequestId(self, RequestId):
31262
+ self._RequestId = RequestId
31263
+
31264
+
31265
+ def _deserialize(self, params):
31266
+ self._RequestId = params.get("RequestId")
31267
+
31268
+
31269
+ class ModifyBotSceneUCBRuleRequest(AbstractModel):
31270
+ """ModifyBotSceneUCBRule请求参数结构体
31271
+
31272
+ """
31273
+
31274
+ def __init__(self):
31275
+ r"""
31276
+ :param _Domain: 域名
31277
+ :type Domain: str
31278
+ :param _SceneId: 1.BOT全局白名单处调用时,传"global";2.BOT场景配置时,传具体的场景ID
31279
+ :type SceneId: str
31280
+ :param _Rule: 规则内容, 增加编码SceneId信息,1.BOT全局白名单处调用时,SceneId为"global", RuleType传10, Action为"permit";2.BOT场景配置时,SceneId为场景ID
31281
+ :type Rule: :class:`tencentcloud.waf.v20180125.models.InOutputBotUCBRule`
31282
+ :param _BatchRules: 530改批量操作
31283
+ :type BatchRules: list of InOutputBotUCBRule
31284
+ """
31285
+ self._Domain = None
31286
+ self._SceneId = None
31287
+ self._Rule = None
31288
+ self._BatchRules = None
31289
+
31290
+ @property
31291
+ def Domain(self):
31292
+ """域名
31293
+ :rtype: str
31294
+ """
31295
+ return self._Domain
31296
+
31297
+ @Domain.setter
31298
+ def Domain(self, Domain):
31299
+ self._Domain = Domain
31300
+
31301
+ @property
31302
+ def SceneId(self):
31303
+ """1.BOT全局白名单处调用时,传"global";2.BOT场景配置时,传具体的场景ID
31304
+ :rtype: str
31305
+ """
31306
+ return self._SceneId
31307
+
31308
+ @SceneId.setter
31309
+ def SceneId(self, SceneId):
31310
+ self._SceneId = SceneId
31311
+
31312
+ @property
31313
+ def Rule(self):
31314
+ """规则内容, 增加编码SceneId信息,1.BOT全局白名单处调用时,SceneId为"global", RuleType传10, Action为"permit";2.BOT场景配置时,SceneId为场景ID
31315
+ :rtype: :class:`tencentcloud.waf.v20180125.models.InOutputBotUCBRule`
31316
+ """
31317
+ return self._Rule
31318
+
31319
+ @Rule.setter
31320
+ def Rule(self, Rule):
31321
+ self._Rule = Rule
31322
+
31323
+ @property
31324
+ def BatchRules(self):
31325
+ """530改批量操作
31326
+ :rtype: list of InOutputBotUCBRule
31327
+ """
31328
+ return self._BatchRules
31329
+
31330
+ @BatchRules.setter
31331
+ def BatchRules(self, BatchRules):
31332
+ self._BatchRules = BatchRules
31333
+
31334
+
31335
+ def _deserialize(self, params):
31336
+ self._Domain = params.get("Domain")
31337
+ self._SceneId = params.get("SceneId")
31338
+ if params.get("Rule") is not None:
31339
+ self._Rule = InOutputBotUCBRule()
31340
+ self._Rule._deserialize(params.get("Rule"))
31341
+ if params.get("BatchRules") is not None:
31342
+ self._BatchRules = []
31343
+ for item in params.get("BatchRules"):
31344
+ obj = InOutputBotUCBRule()
31345
+ obj._deserialize(item)
31346
+ self._BatchRules.append(obj)
31347
+ memeber_set = set(params.keys())
31348
+ for name, value in vars(self).items():
31349
+ property_name = name[1:]
31350
+ if property_name in memeber_set:
31351
+ memeber_set.remove(property_name)
31352
+ if len(memeber_set) > 0:
31353
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
31354
+
31355
+
31356
+
31357
+ class ModifyBotSceneUCBRuleResponse(AbstractModel):
31358
+ """ModifyBotSceneUCBRule返回参数结构体
31359
+
31360
+ """
31361
+
31362
+ def __init__(self):
31363
+ r"""
31364
+ :param _Data: 正常情况下为null
31365
+ :type Data: str
31366
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
31367
+ :type RequestId: str
31368
+ """
31369
+ self._Data = None
31370
+ self._RequestId = None
31371
+
31372
+ @property
31373
+ def Data(self):
31374
+ """正常情况下为null
31375
+ :rtype: str
31376
+ """
31377
+ return self._Data
31378
+
31379
+ @Data.setter
31380
+ def Data(self, Data):
31381
+ self._Data = Data
31382
+
31383
+ @property
31384
+ def RequestId(self):
31385
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
31386
+ :rtype: str
31387
+ """
31388
+ return self._RequestId
31389
+
31390
+ @RequestId.setter
31391
+ def RequestId(self, RequestId):
31392
+ self._RequestId = RequestId
31393
+
31394
+
31395
+ def _deserialize(self, params):
31396
+ self._Data = params.get("Data")
31397
+ self._RequestId = params.get("RequestId")
31398
+
31399
+
28650
31400
  class ModifyBotStatusRequest(AbstractModel):
28651
31401
  """ModifyBotStatus请求参数结构体
28652
31402
 
@@ -34061,6 +36811,10 @@ class PostCKafkaFlowInfo(AbstractModel):
34061
36811
  :type Version: str
34062
36812
  :param _Topic: 主题名称
34063
36813
  :type Topic: str
36814
+ :param _Compression: 压缩算法,支持gzip 和 lz4
36815
+ :type Compression: str
36816
+ :param _Content: 描述信息
36817
+ :type Content: str
34064
36818
  """
34065
36819
  self._FlowId = None
34066
36820
  self._LogType = None
@@ -34070,6 +36824,8 @@ class PostCKafkaFlowInfo(AbstractModel):
34070
36824
  self._Brokers = None
34071
36825
  self._Version = None
34072
36826
  self._Topic = None
36827
+ self._Compression = None
36828
+ self._Content = None
34073
36829
 
34074
36830
  @property
34075
36831
  def FlowId(self):
@@ -34159,6 +36915,28 @@ class PostCKafkaFlowInfo(AbstractModel):
34159
36915
  def Topic(self, Topic):
34160
36916
  self._Topic = Topic
34161
36917
 
36918
+ @property
36919
+ def Compression(self):
36920
+ """压缩算法,支持gzip 和 lz4
36921
+ :rtype: str
36922
+ """
36923
+ return self._Compression
36924
+
36925
+ @Compression.setter
36926
+ def Compression(self, Compression):
36927
+ self._Compression = Compression
36928
+
36929
+ @property
36930
+ def Content(self):
36931
+ """描述信息
36932
+ :rtype: str
36933
+ """
36934
+ return self._Content
36935
+
36936
+ @Content.setter
36937
+ def Content(self, Content):
36938
+ self._Content = Content
36939
+
34162
36940
 
34163
36941
  def _deserialize(self, params):
34164
36942
  self._FlowId = params.get("FlowId")
@@ -34169,6 +36947,8 @@ class PostCKafkaFlowInfo(AbstractModel):
34169
36947
  self._Brokers = params.get("Brokers")
34170
36948
  self._Version = params.get("Version")
34171
36949
  self._Topic = params.get("Topic")
36950
+ self._Compression = params.get("Compression")
36951
+ self._Content = params.get("Content")
34172
36952
  memeber_set = set(params.keys())
34173
36953
  for name, value in vars(self).items():
34174
36954
  property_name = name[1:]
@@ -36916,6 +39696,153 @@ class TimedJob(AbstractModel):
36916
39696
 
36917
39697
 
36918
39698
 
39699
+ class UCBActionProportion(AbstractModel):
39700
+ """bot自定义规则动作灰度
39701
+
39702
+ """
39703
+
39704
+ def __init__(self):
39705
+ r"""
39706
+ :param _Action: 动作
39707
+ :type Action: str
39708
+ :param _Proportion: 比例
39709
+ :type Proportion: float
39710
+ """
39711
+ self._Action = None
39712
+ self._Proportion = None
39713
+
39714
+ @property
39715
+ def Action(self):
39716
+ """动作
39717
+ :rtype: str
39718
+ """
39719
+ return self._Action
39720
+
39721
+ @Action.setter
39722
+ def Action(self, Action):
39723
+ self._Action = Action
39724
+
39725
+ @property
39726
+ def Proportion(self):
39727
+ """比例
39728
+ :rtype: float
39729
+ """
39730
+ return self._Proportion
39731
+
39732
+ @Proportion.setter
39733
+ def Proportion(self, Proportion):
39734
+ self._Proportion = Proportion
39735
+
39736
+
39737
+ def _deserialize(self, params):
39738
+ self._Action = params.get("Action")
39739
+ self._Proportion = params.get("Proportion")
39740
+ memeber_set = set(params.keys())
39741
+ for name, value in vars(self).items():
39742
+ property_name = name[1:]
39743
+ if property_name in memeber_set:
39744
+ memeber_set.remove(property_name)
39745
+ if len(memeber_set) > 0:
39746
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
39747
+
39748
+
39749
+
39750
+ class UCBEntryValue(AbstractModel):
39751
+ """云图API改版后, 不支持将复杂json类型编码成string,因此通过此复杂类型识别传入的不同类型参数值
39752
+
39753
+ """
39754
+
39755
+ def __init__(self):
39756
+ r"""
39757
+ :param _BasicValue: string类型值
39758
+ :type BasicValue: str
39759
+ :param _LogicValue: 布尔类型值
39760
+ :type LogicValue: bool
39761
+ :param _BelongValue: string数组类型值
39762
+ :type BelongValue: list of str
39763
+ :param _ValidKey: 指示有效的字段
39764
+ :type ValidKey: str
39765
+ :param _MultiValue: string数组类型值
39766
+ :type MultiValue: list of str
39767
+ """
39768
+ self._BasicValue = None
39769
+ self._LogicValue = None
39770
+ self._BelongValue = None
39771
+ self._ValidKey = None
39772
+ self._MultiValue = None
39773
+
39774
+ @property
39775
+ def BasicValue(self):
39776
+ """string类型值
39777
+ :rtype: str
39778
+ """
39779
+ return self._BasicValue
39780
+
39781
+ @BasicValue.setter
39782
+ def BasicValue(self, BasicValue):
39783
+ self._BasicValue = BasicValue
39784
+
39785
+ @property
39786
+ def LogicValue(self):
39787
+ """布尔类型值
39788
+ :rtype: bool
39789
+ """
39790
+ return self._LogicValue
39791
+
39792
+ @LogicValue.setter
39793
+ def LogicValue(self, LogicValue):
39794
+ self._LogicValue = LogicValue
39795
+
39796
+ @property
39797
+ def BelongValue(self):
39798
+ """string数组类型值
39799
+ :rtype: list of str
39800
+ """
39801
+ return self._BelongValue
39802
+
39803
+ @BelongValue.setter
39804
+ def BelongValue(self, BelongValue):
39805
+ self._BelongValue = BelongValue
39806
+
39807
+ @property
39808
+ def ValidKey(self):
39809
+ """指示有效的字段
39810
+ :rtype: str
39811
+ """
39812
+ return self._ValidKey
39813
+
39814
+ @ValidKey.setter
39815
+ def ValidKey(self, ValidKey):
39816
+ self._ValidKey = ValidKey
39817
+
39818
+ @property
39819
+ def MultiValue(self):
39820
+ """string数组类型值
39821
+ :rtype: list of str
39822
+ """
39823
+ return self._MultiValue
39824
+
39825
+ @MultiValue.setter
39826
+ def MultiValue(self, MultiValue):
39827
+ self._MultiValue = MultiValue
39828
+
39829
+
39830
+ def _deserialize(self, params):
39831
+ self._BasicValue = params.get("BasicValue")
39832
+ self._LogicValue = params.get("LogicValue")
39833
+ self._BelongValue = params.get("BelongValue")
39834
+ self._ValidKey = params.get("ValidKey")
39835
+ self._MultiValue = params.get("MultiValue")
39836
+ memeber_set = set(params.keys())
39837
+ for name, value in vars(self).items():
39838
+ property_name = name[1:]
39839
+ if property_name in memeber_set:
39840
+ memeber_set.remove(property_name)
39841
+ if len(memeber_set) > 0:
39842
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
39843
+
39844
+
39845
+
36919
39846
  class UpdateProtectionModesRequest(AbstractModel):
36920
39847
  """UpdateProtectionModes请求参数结构体
36921
39848