tencentcloud-sdk-ms 1.0.345 → 1.0.346
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180408/client.rb +24 -0
- data/lib/v20180408/models.rb +84 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9d5221bb999527f5d97b42abb05033dcc0b02dd
|
4
|
+
data.tar.gz: 504f86362ed6d817bc9019420feffbddd77979fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e96c0784196d24cb819cd48b57aeff0d126435be01de69a2e41be9945654a8ddc89d8a3f59da6f70c6243f0e205755e5ee68119e649f291934d56718307b98c6
|
7
|
+
data.tar.gz: d1fda5cab76a7e5e7d96d1ea0465c988a732e0845d60a712df1c02e86810d85582b0f687e1793aba27dedcbda94adf709c78720ea6f83ada74a4721f196e63b4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.346
|
data/lib/v20180408/client.rb
CHANGED
@@ -367,6 +367,30 @@ module TencentCloud
|
|
367
367
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
368
368
|
end
|
369
369
|
|
370
|
+
# 移动安全-网址检测服务
|
371
|
+
|
372
|
+
# @param request: Request instance for DescribeUrlDetectionResult.
|
373
|
+
# @type request: :class:`Tencentcloud::ms::V20180408::DescribeUrlDetectionResultRequest`
|
374
|
+
# @rtype: :class:`Tencentcloud::ms::V20180408::DescribeUrlDetectionResultResponse`
|
375
|
+
def DescribeUrlDetectionResult(request)
|
376
|
+
body = send_request('DescribeUrlDetectionResult', request.serialize)
|
377
|
+
response = JSON.parse(body)
|
378
|
+
if response['Response'].key?('Error') == false
|
379
|
+
model = DescribeUrlDetectionResultResponse.new
|
380
|
+
model.deserialize(response['Response'])
|
381
|
+
model
|
382
|
+
else
|
383
|
+
code = response['Response']['Error']['Code']
|
384
|
+
message = response['Response']['Error']['Message']
|
385
|
+
reqid = response['Response']['RequestId']
|
386
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
387
|
+
end
|
388
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
389
|
+
raise e
|
390
|
+
rescue StandardError => e
|
391
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
392
|
+
end
|
393
|
+
|
370
394
|
# 获取用户基础信息
|
371
395
|
|
372
396
|
# @param request: Request instance for DescribeUserBaseInfoInstance.
|
data/lib/v20180408/models.rb
CHANGED
@@ -1130,6 +1130,90 @@ module TencentCloud
|
|
1130
1130
|
end
|
1131
1131
|
end
|
1132
1132
|
|
1133
|
+
# DescribeUrlDetectionResult请求参数结构体
|
1134
|
+
class DescribeUrlDetectionResultRequest < TencentCloud::Common::AbstractModel
|
1135
|
+
# @param Url: 查询的网址
|
1136
|
+
# @type Url: String
|
1137
|
+
|
1138
|
+
attr_accessor :Url
|
1139
|
+
|
1140
|
+
def initialize(url=nil)
|
1141
|
+
@Url = url
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
def deserialize(params)
|
1145
|
+
@Url = params['Url']
|
1146
|
+
end
|
1147
|
+
end
|
1148
|
+
|
1149
|
+
# DescribeUrlDetectionResult返回参数结构体
|
1150
|
+
class DescribeUrlDetectionResultResponse < TencentCloud::Common::AbstractModel
|
1151
|
+
# @param ResultCode: [查询结果]查询结果;枚举值:0 查询成功,否则查询失败
|
1152
|
+
# @type ResultCode: Integer
|
1153
|
+
# @param RespVer: [固定信息]响应协议版本号;
|
1154
|
+
# @type RespVer: Integer
|
1155
|
+
# @param UrlType: [查询结果]url恶意状态;枚举值:1-灰, 2-黑(具体的恶意类型参考恶意类型定义Eviltype字段) ,3-非腾讯白名单,4-腾讯白名单。查询结果(level、evilclass、eviltype)这3个字段在Urltype=2(url状态为黑)下才有意义。
|
1156
|
+
# @type UrlType: Integer
|
1157
|
+
# @param EvilClass: [查询结果]url恶意大类;枚举值:1-链接,2-Cgi,3-路劲,4-整站,5-整域。
|
1158
|
+
# @type EvilClass: Integer
|
1159
|
+
# @param EvilType: [查询结果]url恶意类型;枚举值:1-社工欺诈(仿冒、账号钓鱼、中奖诈骗);2-信息诈骗(虚假充值、虚假兼职、虚假金融投资、虚假信用卡代办、网络赌博诈骗;3-虚假销售(男女保健美容减肥产品、电子产品、虚假广告、违法销售);4-恶意文件(病毒文件,木马文件,恶意apk文件的下载链接以及站点,挂马网站);5-博彩网站(博彩网站,在线赌博网站);6-色情网站(涉嫌传播色情内容,提供色情服务的网站;7-风险网站(弱类型,传播垃圾信息的网站, 如果客户端有阻断,不建议使用这个数据);8-非法内容(根据法律法规不能传播的内容,主要为政治敏感内容,默认内部使用)
|
1160
|
+
# @type EvilType: Integer
|
1161
|
+
# @param Level: [查询结果]url恶意级别
|
1162
|
+
# @type Level: Integer
|
1163
|
+
# @param DetectTime: [查询详情]url检出时间
|
1164
|
+
# @type DetectTime: Integer
|
1165
|
+
# @param Wording: [查询详情]拦截Wording
|
1166
|
+
# @type Wording: String
|
1167
|
+
# @param WordingTitle: [查询详情]拦截Wording 标题
|
1168
|
+
# @type WordingTitle: String
|
1169
|
+
# @param UrlTypeDesc: [查询结果]url恶意状态说明
|
1170
|
+
# @type UrlTypeDesc: String
|
1171
|
+
# @param EvilClassDesc: [查询结果]url恶意大类说明
|
1172
|
+
# @type EvilClassDesc: String
|
1173
|
+
# @param EvilTypeDesc: [查询结果]url恶意类型说明
|
1174
|
+
# @type EvilTypeDesc: String
|
1175
|
+
# @param LevelDesc: [查询结果]url恶意级别说明
|
1176
|
+
# @type LevelDesc: String
|
1177
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1178
|
+
# @type RequestId: String
|
1179
|
+
|
1180
|
+
attr_accessor :ResultCode, :RespVer, :UrlType, :EvilClass, :EvilType, :Level, :DetectTime, :Wording, :WordingTitle, :UrlTypeDesc, :EvilClassDesc, :EvilTypeDesc, :LevelDesc, :RequestId
|
1181
|
+
|
1182
|
+
def initialize(resultcode=nil, respver=nil, urltype=nil, evilclass=nil, eviltype=nil, level=nil, detecttime=nil, wording=nil, wordingtitle=nil, urltypedesc=nil, evilclassdesc=nil, eviltypedesc=nil, leveldesc=nil, requestid=nil)
|
1183
|
+
@ResultCode = resultcode
|
1184
|
+
@RespVer = respver
|
1185
|
+
@UrlType = urltype
|
1186
|
+
@EvilClass = evilclass
|
1187
|
+
@EvilType = eviltype
|
1188
|
+
@Level = level
|
1189
|
+
@DetectTime = detecttime
|
1190
|
+
@Wording = wording
|
1191
|
+
@WordingTitle = wordingtitle
|
1192
|
+
@UrlTypeDesc = urltypedesc
|
1193
|
+
@EvilClassDesc = evilclassdesc
|
1194
|
+
@EvilTypeDesc = eviltypedesc
|
1195
|
+
@LevelDesc = leveldesc
|
1196
|
+
@RequestId = requestid
|
1197
|
+
end
|
1198
|
+
|
1199
|
+
def deserialize(params)
|
1200
|
+
@ResultCode = params['ResultCode']
|
1201
|
+
@RespVer = params['RespVer']
|
1202
|
+
@UrlType = params['UrlType']
|
1203
|
+
@EvilClass = params['EvilClass']
|
1204
|
+
@EvilType = params['EvilType']
|
1205
|
+
@Level = params['Level']
|
1206
|
+
@DetectTime = params['DetectTime']
|
1207
|
+
@Wording = params['Wording']
|
1208
|
+
@WordingTitle = params['WordingTitle']
|
1209
|
+
@UrlTypeDesc = params['UrlTypeDesc']
|
1210
|
+
@EvilClassDesc = params['EvilClassDesc']
|
1211
|
+
@EvilTypeDesc = params['EvilTypeDesc']
|
1212
|
+
@LevelDesc = params['LevelDesc']
|
1213
|
+
@RequestId = params['RequestId']
|
1214
|
+
end
|
1215
|
+
end
|
1216
|
+
|
1133
1217
|
# DescribeUserBaseInfoInstance请求参数结构体
|
1134
1218
|
class DescribeUserBaseInfoInstanceRequest < TencentCloud::Common::AbstractModel
|
1135
1219
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.346
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|