Class: TencentCloud::Cdn::V20180606::BotRecord

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180606/models.rb

Overview

BOT记录详细内容

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(action = nil, nums = nil, rulename = nil, sessionduration = nil, srcip = nil, botfeature = nil, time = nil, score = nil, avgspeed = nil, tcbdetail = nil, id = nil, domain = nil) ⇒ BotRecord

Returns a new instance of BotRecord.



1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
# File 'lib/v20180606/models.rb', line 1823

def initialize(action=nil, nums=nil, rulename=nil, sessionduration=nil, srcip=nil, botfeature=nil, time=nil, score=nil, avgspeed=nil, tcbdetail=nil, id=nil, domain=nil)
  @Action = action
  @Nums = nums
  @RuleName = rulename
  @SessionDuration = sessionduration
  @SrcIp = srcip
  @BotFeature = botfeature
  @Time = time
  @Score = score
  @AvgSpeed = avgspeed
  @TcbDetail = tcbdetail
  @Id = id
  @Domain = domain
end

Instance Attribute Details

#ActionObject

BotType=TCB时,表示Bot分类,取值如下:

"Uncategorised",
"Search engine bot",
"Site monitor",
"Screenshot creator",
"Link checker",
"Web scraper",
"Vulnerability scanner",
"Virus scanner",
"Speed tester",
"Feed Fetcher",
"Tool",
"Marketing"

BotType=UCB时,为二期接口,暂时未定义内容 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Action:

    动作,取值为以为3个类型中的一个:“intercept”,“permit”,“monitor”,分别表示: 拦截, 放行,监控

  • Nums:

    会话总次数

  • RuleName:

    BotType=UB时,表示预测标签,取值如下: “crawler_unregular”, “crawler_regular”, “request_repeat”, “credential_miss_user”, “credential_without_user”, “credential_only_action”, “credential_user_password”, “credential_cracking”, “credential_stuffing”, “brush_sms”, “brush_captcha”, “reg_malicious”

  • SessionDuration:

    会话持续时间

  • SrcIp:

    访问源IP

  • BotFeature:

    异常特征

  • Time:

    最新检测时间

  • Score:

    BOT得分

  • AvgSpeed:

    平均速率

  • TcbDetail:

    BotType=TCB,表示TCB名称

  • Id:

    BOT记录唯一ID,用于查询访问详情

  • Domain:

    域名



1821
1822
1823
# File 'lib/v20180606/models.rb', line 1821

def Action
  @Action
end

#AvgSpeedObject

BotType=TCB时,表示Bot分类,取值如下:

"Uncategorised",
"Search engine bot",
"Site monitor",
"Screenshot creator",
"Link checker",
"Web scraper",
"Vulnerability scanner",
"Virus scanner",
"Speed tester",
"Feed Fetcher",
"Tool",
"Marketing"

BotType=UCB时,为二期接口,暂时未定义内容 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Action:

    动作,取值为以为3个类型中的一个:“intercept”,“permit”,“monitor”,分别表示: 拦截, 放行,监控

  • Nums:

    会话总次数

  • RuleName:

    BotType=UB时,表示预测标签,取值如下: “crawler_unregular”, “crawler_regular”, “request_repeat”, “credential_miss_user”, “credential_without_user”, “credential_only_action”, “credential_user_password”, “credential_cracking”, “credential_stuffing”, “brush_sms”, “brush_captcha”, “reg_malicious”

  • SessionDuration:

    会话持续时间

  • SrcIp:

    访问源IP

  • BotFeature:

    异常特征

  • Time:

    最新检测时间

  • Score:

    BOT得分

  • AvgSpeed:

    平均速率

  • TcbDetail:

    BotType=TCB,表示TCB名称

  • Id:

    BOT记录唯一ID,用于查询访问详情

  • Domain:

    域名



1821
1822
1823
# File 'lib/v20180606/models.rb', line 1821

def AvgSpeed
  @AvgSpeed
end

#BotFeatureObject

BotType=TCB时,表示Bot分类,取值如下:

"Uncategorised",
"Search engine bot",
"Site monitor",
"Screenshot creator",
"Link checker",
"Web scraper",
"Vulnerability scanner",
"Virus scanner",
"Speed tester",
"Feed Fetcher",
"Tool",
"Marketing"

BotType=UCB时,为二期接口,暂时未定义内容 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Action:

    动作,取值为以为3个类型中的一个:“intercept”,“permit”,“monitor”,分别表示: 拦截, 放行,监控

  • Nums:

    会话总次数

  • RuleName:

    BotType=UB时,表示预测标签,取值如下: “crawler_unregular”, “crawler_regular”, “request_repeat”, “credential_miss_user”, “credential_without_user”, “credential_only_action”, “credential_user_password”, “credential_cracking”, “credential_stuffing”, “brush_sms”, “brush_captcha”, “reg_malicious”

  • SessionDuration:

    会话持续时间

  • SrcIp:

    访问源IP

  • BotFeature:

    异常特征

  • Time:

    最新检测时间

  • Score:

    BOT得分

  • AvgSpeed:

    平均速率

  • TcbDetail:

    BotType=TCB,表示TCB名称

  • Id:

    BOT记录唯一ID,用于查询访问详情

  • Domain:

    域名



1821
1822
1823
# File 'lib/v20180606/models.rb', line 1821

def BotFeature
  @BotFeature
end

#DomainObject

BotType=TCB时,表示Bot分类,取值如下:

"Uncategorised",
"Search engine bot",
"Site monitor",
"Screenshot creator",
"Link checker",
"Web scraper",
"Vulnerability scanner",
"Virus scanner",
"Speed tester",
"Feed Fetcher",
"Tool",
"Marketing"

BotType=UCB时,为二期接口,暂时未定义内容 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Action:

    动作,取值为以为3个类型中的一个:“intercept”,“permit”,“monitor”,分别表示: 拦截, 放行,监控

  • Nums:

    会话总次数

  • RuleName:

    BotType=UB时,表示预测标签,取值如下: “crawler_unregular”, “crawler_regular”, “request_repeat”, “credential_miss_user”, “credential_without_user”, “credential_only_action”, “credential_user_password”, “credential_cracking”, “credential_stuffing”, “brush_sms”, “brush_captcha”, “reg_malicious”

  • SessionDuration:

    会话持续时间

  • SrcIp:

    访问源IP

  • BotFeature:

    异常特征

  • Time:

    最新检测时间

  • Score:

    BOT得分

  • AvgSpeed:

    平均速率

  • TcbDetail:

    BotType=TCB,表示TCB名称

  • Id:

    BOT记录唯一ID,用于查询访问详情

  • Domain:

    域名



1821
1822
1823
# File 'lib/v20180606/models.rb', line 1821

def Domain
  @Domain
end

#IdObject

BotType=TCB时,表示Bot分类,取值如下:

"Uncategorised",
"Search engine bot",
"Site monitor",
"Screenshot creator",
"Link checker",
"Web scraper",
"Vulnerability scanner",
"Virus scanner",
"Speed tester",
"Feed Fetcher",
"Tool",
"Marketing"

BotType=UCB时,为二期接口,暂时未定义内容 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Action:

    动作,取值为以为3个类型中的一个:“intercept”,“permit”,“monitor”,分别表示: 拦截, 放行,监控

  • Nums:

    会话总次数

  • RuleName:

    BotType=UB时,表示预测标签,取值如下: “crawler_unregular”, “crawler_regular”, “request_repeat”, “credential_miss_user”, “credential_without_user”, “credential_only_action”, “credential_user_password”, “credential_cracking”, “credential_stuffing”, “brush_sms”, “brush_captcha”, “reg_malicious”

  • SessionDuration:

    会话持续时间

  • SrcIp:

    访问源IP

  • BotFeature:

    异常特征

  • Time:

    最新检测时间

  • Score:

    BOT得分

  • AvgSpeed:

    平均速率

  • TcbDetail:

    BotType=TCB,表示TCB名称

  • Id:

    BOT记录唯一ID,用于查询访问详情

  • Domain:

    域名



1821
1822
1823
# File 'lib/v20180606/models.rb', line 1821

def Id
  @Id
end

#NumsObject

BotType=TCB时,表示Bot分类,取值如下:

"Uncategorised",
"Search engine bot",
"Site monitor",
"Screenshot creator",
"Link checker",
"Web scraper",
"Vulnerability scanner",
"Virus scanner",
"Speed tester",
"Feed Fetcher",
"Tool",
"Marketing"

BotType=UCB时,为二期接口,暂时未定义内容 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Action:

    动作,取值为以为3个类型中的一个:“intercept”,“permit”,“monitor”,分别表示: 拦截, 放行,监控

  • Nums:

    会话总次数

  • RuleName:

    BotType=UB时,表示预测标签,取值如下: “crawler_unregular”, “crawler_regular”, “request_repeat”, “credential_miss_user”, “credential_without_user”, “credential_only_action”, “credential_user_password”, “credential_cracking”, “credential_stuffing”, “brush_sms”, “brush_captcha”, “reg_malicious”

  • SessionDuration:

    会话持续时间

  • SrcIp:

    访问源IP

  • BotFeature:

    异常特征

  • Time:

    最新检测时间

  • Score:

    BOT得分

  • AvgSpeed:

    平均速率

  • TcbDetail:

    BotType=TCB,表示TCB名称

  • Id:

    BOT记录唯一ID,用于查询访问详情

  • Domain:

    域名



1821
1822
1823
# File 'lib/v20180606/models.rb', line 1821

def Nums
  @Nums
end

#RuleNameObject

BotType=TCB时,表示Bot分类,取值如下:

"Uncategorised",
"Search engine bot",
"Site monitor",
"Screenshot creator",
"Link checker",
"Web scraper",
"Vulnerability scanner",
"Virus scanner",
"Speed tester",
"Feed Fetcher",
"Tool",
"Marketing"

BotType=UCB时,为二期接口,暂时未定义内容 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Action:

    动作,取值为以为3个类型中的一个:“intercept”,“permit”,“monitor”,分别表示: 拦截, 放行,监控

  • Nums:

    会话总次数

  • RuleName:

    BotType=UB时,表示预测标签,取值如下: “crawler_unregular”, “crawler_regular”, “request_repeat”, “credential_miss_user”, “credential_without_user”, “credential_only_action”, “credential_user_password”, “credential_cracking”, “credential_stuffing”, “brush_sms”, “brush_captcha”, “reg_malicious”

  • SessionDuration:

    会话持续时间

  • SrcIp:

    访问源IP

  • BotFeature:

    异常特征

  • Time:

    最新检测时间

  • Score:

    BOT得分

  • AvgSpeed:

    平均速率

  • TcbDetail:

    BotType=TCB,表示TCB名称

  • Id:

    BOT记录唯一ID,用于查询访问详情

  • Domain:

    域名



1821
1822
1823
# File 'lib/v20180606/models.rb', line 1821

def RuleName
  @RuleName
end

#ScoreObject

BotType=TCB时,表示Bot分类,取值如下:

"Uncategorised",
"Search engine bot",
"Site monitor",
"Screenshot creator",
"Link checker",
"Web scraper",
"Vulnerability scanner",
"Virus scanner",
"Speed tester",
"Feed Fetcher",
"Tool",
"Marketing"

BotType=UCB时,为二期接口,暂时未定义内容 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Action:

    动作,取值为以为3个类型中的一个:“intercept”,“permit”,“monitor”,分别表示: 拦截, 放行,监控

  • Nums:

    会话总次数

  • RuleName:

    BotType=UB时,表示预测标签,取值如下: “crawler_unregular”, “crawler_regular”, “request_repeat”, “credential_miss_user”, “credential_without_user”, “credential_only_action”, “credential_user_password”, “credential_cracking”, “credential_stuffing”, “brush_sms”, “brush_captcha”, “reg_malicious”

  • SessionDuration:

    会话持续时间

  • SrcIp:

    访问源IP

  • BotFeature:

    异常特征

  • Time:

    最新检测时间

  • Score:

    BOT得分

  • AvgSpeed:

    平均速率

  • TcbDetail:

    BotType=TCB,表示TCB名称

  • Id:

    BOT记录唯一ID,用于查询访问详情

  • Domain:

    域名



1821
1822
1823
# File 'lib/v20180606/models.rb', line 1821

def Score
  @Score
end

#SessionDurationObject

BotType=TCB时,表示Bot分类,取值如下:

"Uncategorised",
"Search engine bot",
"Site monitor",
"Screenshot creator",
"Link checker",
"Web scraper",
"Vulnerability scanner",
"Virus scanner",
"Speed tester",
"Feed Fetcher",
"Tool",
"Marketing"

BotType=UCB时,为二期接口,暂时未定义内容 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Action:

    动作,取值为以为3个类型中的一个:“intercept”,“permit”,“monitor”,分别表示: 拦截, 放行,监控

  • Nums:

    会话总次数

  • RuleName:

    BotType=UB时,表示预测标签,取值如下: “crawler_unregular”, “crawler_regular”, “request_repeat”, “credential_miss_user”, “credential_without_user”, “credential_only_action”, “credential_user_password”, “credential_cracking”, “credential_stuffing”, “brush_sms”, “brush_captcha”, “reg_malicious”

  • SessionDuration:

    会话持续时间

  • SrcIp:

    访问源IP

  • BotFeature:

    异常特征

  • Time:

    最新检测时间

  • Score:

    BOT得分

  • AvgSpeed:

    平均速率

  • TcbDetail:

    BotType=TCB,表示TCB名称

  • Id:

    BOT记录唯一ID,用于查询访问详情

  • Domain:

    域名



1821
1822
1823
# File 'lib/v20180606/models.rb', line 1821

def SessionDuration
  @SessionDuration
end

#SrcIpObject

BotType=TCB时,表示Bot分类,取值如下:

"Uncategorised",
"Search engine bot",
"Site monitor",
"Screenshot creator",
"Link checker",
"Web scraper",
"Vulnerability scanner",
"Virus scanner",
"Speed tester",
"Feed Fetcher",
"Tool",
"Marketing"

BotType=UCB时,为二期接口,暂时未定义内容 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Action:

    动作,取值为以为3个类型中的一个:“intercept”,“permit”,“monitor”,分别表示: 拦截, 放行,监控

  • Nums:

    会话总次数

  • RuleName:

    BotType=UB时,表示预测标签,取值如下: “crawler_unregular”, “crawler_regular”, “request_repeat”, “credential_miss_user”, “credential_without_user”, “credential_only_action”, “credential_user_password”, “credential_cracking”, “credential_stuffing”, “brush_sms”, “brush_captcha”, “reg_malicious”

  • SessionDuration:

    会话持续时间

  • SrcIp:

    访问源IP

  • BotFeature:

    异常特征

  • Time:

    最新检测时间

  • Score:

    BOT得分

  • AvgSpeed:

    平均速率

  • TcbDetail:

    BotType=TCB,表示TCB名称

  • Id:

    BOT记录唯一ID,用于查询访问详情

  • Domain:

    域名



1821
1822
1823
# File 'lib/v20180606/models.rb', line 1821

def SrcIp
  @SrcIp
end

#TcbDetailObject

BotType=TCB时,表示Bot分类,取值如下:

"Uncategorised",
"Search engine bot",
"Site monitor",
"Screenshot creator",
"Link checker",
"Web scraper",
"Vulnerability scanner",
"Virus scanner",
"Speed tester",
"Feed Fetcher",
"Tool",
"Marketing"

BotType=UCB时,为二期接口,暂时未定义内容 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Action:

    动作,取值为以为3个类型中的一个:“intercept”,“permit”,“monitor”,分别表示: 拦截, 放行,监控

  • Nums:

    会话总次数

  • RuleName:

    BotType=UB时,表示预测标签,取值如下: “crawler_unregular”, “crawler_regular”, “request_repeat”, “credential_miss_user”, “credential_without_user”, “credential_only_action”, “credential_user_password”, “credential_cracking”, “credential_stuffing”, “brush_sms”, “brush_captcha”, “reg_malicious”

  • SessionDuration:

    会话持续时间

  • SrcIp:

    访问源IP

  • BotFeature:

    异常特征

  • Time:

    最新检测时间

  • Score:

    BOT得分

  • AvgSpeed:

    平均速率

  • TcbDetail:

    BotType=TCB,表示TCB名称

  • Id:

    BOT记录唯一ID,用于查询访问详情

  • Domain:

    域名



1821
1822
1823
# File 'lib/v20180606/models.rb', line 1821

def TcbDetail
  @TcbDetail
end

#TimeObject

BotType=TCB时,表示Bot分类,取值如下:

"Uncategorised",
"Search engine bot",
"Site monitor",
"Screenshot creator",
"Link checker",
"Web scraper",
"Vulnerability scanner",
"Virus scanner",
"Speed tester",
"Feed Fetcher",
"Tool",
"Marketing"

BotType=UCB时,为二期接口,暂时未定义内容 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Action:

    动作,取值为以为3个类型中的一个:“intercept”,“permit”,“monitor”,分别表示: 拦截, 放行,监控

  • Nums:

    会话总次数

  • RuleName:

    BotType=UB时,表示预测标签,取值如下: “crawler_unregular”, “crawler_regular”, “request_repeat”, “credential_miss_user”, “credential_without_user”, “credential_only_action”, “credential_user_password”, “credential_cracking”, “credential_stuffing”, “brush_sms”, “brush_captcha”, “reg_malicious”

  • SessionDuration:

    会话持续时间

  • SrcIp:

    访问源IP

  • BotFeature:

    异常特征

  • Time:

    最新检测时间

  • Score:

    BOT得分

  • AvgSpeed:

    平均速率

  • TcbDetail:

    BotType=TCB,表示TCB名称

  • Id:

    BOT记录唯一ID,用于查询访问详情

  • Domain:

    域名



1821
1822
1823
# File 'lib/v20180606/models.rb', line 1821

def Time
  @Time
end

Instance Method Details

#deserialize(params) ⇒ Object



1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
# File 'lib/v20180606/models.rb', line 1838

def deserialize(params)
  @Action = params['Action']
  @Nums = params['Nums']
  @RuleName = params['RuleName']
  @SessionDuration = params['SessionDuration']
  @SrcIp = params['SrcIp']
  @BotFeature = params['BotFeature']
  @Time = params['Time']
  @Score = params['Score']
  @AvgSpeed = params['AvgSpeed']
  @TcbDetail = params['TcbDetail']
  @Id = params['Id']
  @Domain = params['Domain']
end