tencentcloud-sdk-vm 3.0.732 → 3.0.733
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/v20210922/models.rb +78 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 409c00759eb76c549ad30aa12b96d77c511e9b3a
|
4
|
+
data.tar.gz: 91515ec8c2fd3239789a59ab8d5d2179fcc7b524
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0ecaff48897858b5ca08d1dad2bf59cffdcb2895e6f8189da0c933e007d50b7a261e0137125b04d7dd8885e21090fc495e8dea5cb77a12c9b06e77942b161a9
|
7
|
+
data.tar.gz: 2f9d0cf2f16145961f7d10a48bb7757a3f92e1ccecdd200cf3b8f16c9361834ec1f001289c6474326ea89a4e29d69eee039441e7e25ed4c4f2a400fbe279c1a5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.733
|
data/lib/v20210922/models.rb
CHANGED
@@ -353,16 +353,19 @@ module TencentCloud
|
|
353
353
|
# @type CallbackUrl: String
|
354
354
|
# @param Priority: 审核排队优先级。当您有多个视频审核任务排队时,可以根据这个参数控制排队优先级。用于处理插队等逻辑。默认该参数为0
|
355
355
|
# @type Priority: Integer
|
356
|
+
# @param User: 该字段表示待检测对象对应的用户相关信息,若填入则可甄别相应违规风险用户
|
357
|
+
# @type User: :class:`Tencentcloud::Vm.v20210922.models.User`
|
356
358
|
|
357
|
-
attr_accessor :BizType, :Type, :Tasks, :Seed, :CallbackUrl, :Priority
|
359
|
+
attr_accessor :BizType, :Type, :Tasks, :Seed, :CallbackUrl, :Priority, :User
|
358
360
|
|
359
|
-
def initialize(biztype=nil, type=nil, tasks=nil, seed=nil, callbackurl=nil, priority=nil)
|
361
|
+
def initialize(biztype=nil, type=nil, tasks=nil, seed=nil, callbackurl=nil, priority=nil, user=nil)
|
360
362
|
@BizType = biztype
|
361
363
|
@Type = type
|
362
364
|
@Tasks = tasks
|
363
365
|
@Seed = seed
|
364
366
|
@CallbackUrl = callbackurl
|
365
367
|
@Priority = priority
|
368
|
+
@User = user
|
366
369
|
end
|
367
370
|
|
368
371
|
def deserialize(params)
|
@@ -379,6 +382,10 @@ module TencentCloud
|
|
379
382
|
@Seed = params['Seed']
|
380
383
|
@CallbackUrl = params['CallbackUrl']
|
381
384
|
@Priority = params['Priority']
|
385
|
+
unless params['User'].nil?
|
386
|
+
@User = User.new
|
387
|
+
@User.deserialize(params['User'])
|
388
|
+
end
|
382
389
|
end
|
383
390
|
end
|
384
391
|
|
@@ -1363,6 +1370,75 @@ module TencentCloud
|
|
1363
1370
|
end
|
1364
1371
|
end
|
1365
1372
|
|
1373
|
+
# 用户信息
|
1374
|
+
class User < TencentCloud::Common::AbstractModel
|
1375
|
+
# @param UserId: 业务用户ID 如填写,会根据账号历史恶意情况,判定消息有害结果,特别是有利于可疑恶意情况下的辅助判断。账号可以填写微信uin、QQ号、微信openid、QQopenid、字符串等。该字段和账号类别确定唯一账号。
|
1376
|
+
# @type UserId: String
|
1377
|
+
# @param AccountType: 该字段表示业务用户ID对应的账号类型,取值:1-微信uin,2-QQ号,3-微信群uin,4-qq群号,5-微信openid,6-QQopenid,7-其它string。
|
1378
|
+
# 该字段与账号ID参数(UserId)配合使用可确定唯一账号。
|
1379
|
+
# @type AccountType: String
|
1380
|
+
# @param Nickname: 用户昵称
|
1381
|
+
# @type Nickname: String
|
1382
|
+
# @param Gender: 性别 默认0 未知 1 男性 2 女性
|
1383
|
+
# @type Gender: Integer
|
1384
|
+
# @param Age: 年龄 默认0 未知
|
1385
|
+
# @type Age: Integer
|
1386
|
+
# @param Level: 用户等级,默认0 未知 1 低 2 中 3 高
|
1387
|
+
# @type Level: Integer
|
1388
|
+
# @param Phone: 手机号
|
1389
|
+
# @type Phone: String
|
1390
|
+
# @param Desc: 用户简介,长度不超过5000字
|
1391
|
+
# @type Desc: String
|
1392
|
+
# @param HeadUrl: 用户头像图片链接
|
1393
|
+
# @type HeadUrl: String
|
1394
|
+
# @param RoomId: 群聊场景房间ID
|
1395
|
+
# @type RoomId: String
|
1396
|
+
# @param GroupId: 群聊场景群ID
|
1397
|
+
# @type GroupId: String
|
1398
|
+
# @param GroupSize: 群聊场景群用户数
|
1399
|
+
# @type GroupSize: Integer
|
1400
|
+
# @param ReceiverId: 消息接收者ID
|
1401
|
+
# @type ReceiverId: String
|
1402
|
+
# @param SendTime: 消息生成时间,毫秒
|
1403
|
+
# @type SendTime: String
|
1404
|
+
|
1405
|
+
attr_accessor :UserId, :AccountType, :Nickname, :Gender, :Age, :Level, :Phone, :Desc, :HeadUrl, :RoomId, :GroupId, :GroupSize, :ReceiverId, :SendTime
|
1406
|
+
|
1407
|
+
def initialize(userid=nil, accounttype=nil, nickname=nil, gender=nil, age=nil, level=nil, phone=nil, desc=nil, headurl=nil, roomid=nil, groupid=nil, groupsize=nil, receiverid=nil, sendtime=nil)
|
1408
|
+
@UserId = userid
|
1409
|
+
@AccountType = accounttype
|
1410
|
+
@Nickname = nickname
|
1411
|
+
@Gender = gender
|
1412
|
+
@Age = age
|
1413
|
+
@Level = level
|
1414
|
+
@Phone = phone
|
1415
|
+
@Desc = desc
|
1416
|
+
@HeadUrl = headurl
|
1417
|
+
@RoomId = roomid
|
1418
|
+
@GroupId = groupid
|
1419
|
+
@GroupSize = groupsize
|
1420
|
+
@ReceiverId = receiverid
|
1421
|
+
@SendTime = sendtime
|
1422
|
+
end
|
1423
|
+
|
1424
|
+
def deserialize(params)
|
1425
|
+
@UserId = params['UserId']
|
1426
|
+
@AccountType = params['AccountType']
|
1427
|
+
@Nickname = params['Nickname']
|
1428
|
+
@Gender = params['Gender']
|
1429
|
+
@Age = params['Age']
|
1430
|
+
@Level = params['Level']
|
1431
|
+
@Phone = params['Phone']
|
1432
|
+
@Desc = params['Desc']
|
1433
|
+
@HeadUrl = params['HeadUrl']
|
1434
|
+
@RoomId = params['RoomId']
|
1435
|
+
@GroupId = params['GroupId']
|
1436
|
+
@GroupSize = params['GroupSize']
|
1437
|
+
@ReceiverId = params['ReceiverId']
|
1438
|
+
@SendTime = params['SendTime']
|
1439
|
+
end
|
1440
|
+
end
|
1441
|
+
|
1366
1442
|
end
|
1367
1443
|
end
|
1368
1444
|
end
|