tencentcloud-sdk-ams 3.0.732 → 3.0.733
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201229/client.rb +0 -2
- data/lib/v20201229/models.rb +78 -3
- 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: f0cd2091dbab2376924dae8e058d49795a18881d
|
|
4
|
+
data.tar.gz: a68d0f4d3a2315c1547902d941f2ab74e265670b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 46e93cdbbeeef8665dbfbef9e51281dd353ca28af33b7ab37afd0f9be70efa5d13c3a7554e04359a6ffdd5b5fa3c6331692f04c77d09900e5089ba5f0c251256
|
|
7
|
+
data.tar.gz: 4280a956ad951c8bf79faf552ee63378d11f6619c04a9f46495d588b94618e18bf5f42438bbc3a54b6bede3cd92bbee666fff50e906f636b5a6018ec888d702f
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.733
|
data/lib/v20201229/client.rb
CHANGED
|
@@ -121,8 +121,6 @@ module TencentCloud
|
|
|
121
121
|
# - 如果直播任务取消/结束,则终止直播拉流并退出审核。
|
|
122
122
|
# - 如果直播任务没有取消/结束,直播视频推流因故中断,产品将在将在10分钟内持续拉流重试。如果10分钟检测到音频切片数据,则恢复正常审核,反之,则终止拉流并退出审核。在拉流终止后,用户如有审核需求,需重新送审。
|
|
123
123
|
|
|
124
|
-
# 默认接口请求频率限制:20次/秒。
|
|
125
|
-
|
|
126
124
|
# @param request: Request instance for CreateAudioModerationTask.
|
|
127
125
|
# @type request: :class:`Tencentcloud::ams::V20201229::CreateAudioModerationTaskRequest`
|
|
128
126
|
# @rtype: :class:`Tencentcloud::ams::V20201229::CreateAudioModerationTaskResponse`
|
data/lib/v20201229/models.rb
CHANGED
|
@@ -315,7 +315,7 @@ module TencentCloud
|
|
|
315
315
|
# @param Region: 该字段用于标识腾讯云对象存储的托管机房的分布地区,对象存储 COS 的数据存放在这些地域的存储桶中。
|
|
316
316
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
317
317
|
# @type Region: String
|
|
318
|
-
# @param Object: 该字段用于标识腾讯云对象存储的对象Key
|
|
318
|
+
# @param Object: 该字段用于标识腾讯云对象存储的对象Key,对象作为基本单元被存放在存储桶中;用户可以通过腾讯云控制台、API、SDK 等多种方式管理对象。有关对象的详细描述敬请参阅相应 [产品文档](https://cloud.tencent.com/document/product/436/13324)。
|
|
319
319
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
320
320
|
# @type Object: String
|
|
321
321
|
|
|
@@ -536,15 +536,18 @@ module TencentCloud
|
|
|
536
536
|
# @type Seed: String
|
|
537
537
|
# @param CallbackUrl: 可选参数,该字段表示接受审核信息回调的地址,格式为URL链接默认格式。配置成功后,审核过程中产生的违规音频片段将通过此接口发送。回调返回内容格式请参考 [回调签名示例](https://cloud.tencent.com/document/product/1219/53257#.E7.A4.BA.E4.BE.8B2-.E5.9B.9E.E8.B0.83.E7.AD.BE.E5.90.8D.E7.A4.BA.E4.BE.8B)
|
|
538
538
|
# @type CallbackUrl: String
|
|
539
|
+
# @param User: 该字段表示待检测对象对应的用户相关信息,若填入则可甄别相应违规风险用户
|
|
540
|
+
# @type User: :class:`Tencentcloud::Ams.v20201229.models.User`
|
|
539
541
|
|
|
540
|
-
attr_accessor :Tasks, :BizType, :Type, :Seed, :CallbackUrl
|
|
542
|
+
attr_accessor :Tasks, :BizType, :Type, :Seed, :CallbackUrl, :User
|
|
541
543
|
|
|
542
|
-
def initialize(tasks=nil, biztype=nil, type=nil, seed=nil, callbackurl=nil)
|
|
544
|
+
def initialize(tasks=nil, biztype=nil, type=nil, seed=nil, callbackurl=nil, user=nil)
|
|
543
545
|
@Tasks = tasks
|
|
544
546
|
@BizType = biztype
|
|
545
547
|
@Type = type
|
|
546
548
|
@Seed = seed
|
|
547
549
|
@CallbackUrl = callbackurl
|
|
550
|
+
@User = user
|
|
548
551
|
end
|
|
549
552
|
|
|
550
553
|
def deserialize(params)
|
|
@@ -560,6 +563,10 @@ module TencentCloud
|
|
|
560
563
|
@Type = params['Type']
|
|
561
564
|
@Seed = params['Seed']
|
|
562
565
|
@CallbackUrl = params['CallbackUrl']
|
|
566
|
+
unless params['User'].nil?
|
|
567
|
+
@User = User.new
|
|
568
|
+
@User.deserialize(params['User'])
|
|
569
|
+
end
|
|
563
570
|
end
|
|
564
571
|
end
|
|
565
572
|
|
|
@@ -1247,6 +1254,74 @@ module TencentCloud
|
|
|
1247
1254
|
end
|
|
1248
1255
|
end
|
|
1249
1256
|
|
|
1257
|
+
# User结果
|
|
1258
|
+
class User < TencentCloud::Common::AbstractModel
|
|
1259
|
+
# @param Level: 用户等级,默认0 未知 1 低 2 中 3 高
|
|
1260
|
+
# @type Level: Integer
|
|
1261
|
+
# @param Gender: 性别 默认0 未知 1 男性 2 女性
|
|
1262
|
+
# @type Gender: Integer
|
|
1263
|
+
# @param Age: 年龄 默认0 未知
|
|
1264
|
+
# @type Age: Integer
|
|
1265
|
+
# @param UserId: 业务用户ID 如填写,会根据账号历史恶意情况,判定消息有害结果,特别是有利于可疑恶意情况下的辅助判断。账号可以填写微信uin、QQ号、微信openid、QQopenid、字符串等。该字段和账号类别确定唯一账号。
|
|
1266
|
+
# @type UserId: String
|
|
1267
|
+
# @param Phone: 手机号
|
|
1268
|
+
# @type Phone: String
|
|
1269
|
+
# @param AccountType: 业务用户ID类型 "1-微信uin 2-QQ号 3-微信群uin 4-qq群号 5-微信openid 6-QQopenid 7-其它string"
|
|
1270
|
+
# @type AccountType: String
|
|
1271
|
+
# @param Nickname: 用户昵称
|
|
1272
|
+
# @type Nickname: String
|
|
1273
|
+
# @param HeadUrl: 用户头像图片链接
|
|
1274
|
+
# @type HeadUrl: String
|
|
1275
|
+
# @param Desc: 用户简介,长度不超过5000字
|
|
1276
|
+
# @type Desc: String
|
|
1277
|
+
# @param RoomId: 群聊场景房间ID
|
|
1278
|
+
# @type RoomId: String
|
|
1279
|
+
# @param GroupId: 群聊场景群ID
|
|
1280
|
+
# @type GroupId: String
|
|
1281
|
+
# @param GroupSize: 群聊场景群用户数
|
|
1282
|
+
# @type GroupSize: Integer
|
|
1283
|
+
# @param ReceiverId: 消息接收者ID
|
|
1284
|
+
# @type ReceiverId: String
|
|
1285
|
+
# @param SendTime: 消息生成时间,毫秒
|
|
1286
|
+
# @type SendTime: String
|
|
1287
|
+
|
|
1288
|
+
attr_accessor :Level, :Gender, :Age, :UserId, :Phone, :AccountType, :Nickname, :HeadUrl, :Desc, :RoomId, :GroupId, :GroupSize, :ReceiverId, :SendTime
|
|
1289
|
+
|
|
1290
|
+
def initialize(level=nil, gender=nil, age=nil, userid=nil, phone=nil, accounttype=nil, nickname=nil, headurl=nil, desc=nil, roomid=nil, groupid=nil, groupsize=nil, receiverid=nil, sendtime=nil)
|
|
1291
|
+
@Level = level
|
|
1292
|
+
@Gender = gender
|
|
1293
|
+
@Age = age
|
|
1294
|
+
@UserId = userid
|
|
1295
|
+
@Phone = phone
|
|
1296
|
+
@AccountType = accounttype
|
|
1297
|
+
@Nickname = nickname
|
|
1298
|
+
@HeadUrl = headurl
|
|
1299
|
+
@Desc = desc
|
|
1300
|
+
@RoomId = roomid
|
|
1301
|
+
@GroupId = groupid
|
|
1302
|
+
@GroupSize = groupsize
|
|
1303
|
+
@ReceiverId = receiverid
|
|
1304
|
+
@SendTime = sendtime
|
|
1305
|
+
end
|
|
1306
|
+
|
|
1307
|
+
def deserialize(params)
|
|
1308
|
+
@Level = params['Level']
|
|
1309
|
+
@Gender = params['Gender']
|
|
1310
|
+
@Age = params['Age']
|
|
1311
|
+
@UserId = params['UserId']
|
|
1312
|
+
@Phone = params['Phone']
|
|
1313
|
+
@AccountType = params['AccountType']
|
|
1314
|
+
@Nickname = params['Nickname']
|
|
1315
|
+
@HeadUrl = params['HeadUrl']
|
|
1316
|
+
@Desc = params['Desc']
|
|
1317
|
+
@RoomId = params['RoomId']
|
|
1318
|
+
@GroupId = params['GroupId']
|
|
1319
|
+
@GroupSize = params['GroupSize']
|
|
1320
|
+
@ReceiverId = params['ReceiverId']
|
|
1321
|
+
@SendTime = params['SendTime']
|
|
1322
|
+
end
|
|
1323
|
+
end
|
|
1324
|
+
|
|
1250
1325
|
end
|
|
1251
1326
|
end
|
|
1252
1327
|
end
|