| Package | Description |
|---|---|
| com.tencentcloudapi.teo.v20220901.models |
| Modifier and Type | Method and Description |
|---|---|
BotManagementCustomRule[] |
BotManagementCustomRules.getRules()
Get Bot 自定义规则的列表。使用 ModifySecurityPolicy 修改 Web 防护配置时:
若未指定 SecurityPolicy.BotManagement.CustomRules 中的 Rules 参数,或 Rules 参数长度为零:清空所有 Bot 自定义规则配置。 若 SecurityPolicy.BotManagement 参数中,未指定 CustomRules 参数值:保持已有 Bot 自定义规则配置,不做修改。 |
| Modifier and Type | Method and Description |
|---|---|
void |
BotManagementCustomRules.setRules(BotManagementCustomRule[] Rules)
Set Bot 自定义规则的列表。使用 ModifySecurityPolicy 修改 Web 防护配置时:
若未指定 SecurityPolicy.BotManagement.CustomRules 中的 Rules 参数,或 Rules 参数长度为零:清空所有 Bot 自定义规则配置。 若 SecurityPolicy.BotManagement 参数中,未指定 CustomRules 参数值:保持已有 Bot 自定义规则配置,不做修改。 |
| Constructor and Description |
|---|
BotManagementCustomRule(BotManagementCustomRule source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Copyright © 2025. All rights reserved.