tencentcloud-sdk-gme 1.0.266 → 1.0.267

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2dca1f016c329a39678d933e32caeab67809c95f
4
- data.tar.gz: 81776096e1f5e1c24324c64c8ed59791bd501092
3
+ metadata.gz: c8d69a209a7443aea492c47f680abbaa11092d11
4
+ data.tar.gz: 34e91742ea742ea43894e340dcd954c3ba1e93e2
5
5
  SHA512:
6
- metadata.gz: 02aed165f04acda3144d621dc6d622816a222ec218bdefa2f2b67a10939287bcfb89ab37acfa764a1afc096972c3d52ab450178ab9263983622880f359760f1b
7
- data.tar.gz: db267c29d3c8983cb6e5175a387e731fa038d4792ef28c3b7775330520dc485b85fc1ef87469ddac17f8ad1900a70aec1e0f59267c7c3978741bf0785552c3eb
6
+ metadata.gz: 49245f897b62f0e59c98bbe0e2206bde94d46a7bb49fff36ce41335c46bb96786c0a6f9174075ed6b2153d992007bbfdf5bed50ac7fac218399f83993701de78
7
+ data.tar.gz: 14c9ea71273d1e7297c93f3f9d5ac4767bd502dba402fb161af1807e9c8f2c6adf6c7b4faafdad3f53151820e68bb92db988b96470268242f5bdab68cdb57a8a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.266
1
+ 1.0.267
@@ -207,6 +207,30 @@ module TencentCloud
207
207
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
208
208
  end
209
209
 
210
+ # 获取用户自定义送检信息
211
+
212
+ # @param request: Request instance for DescribeRealtimeScanConfig.
213
+ # @type request: :class:`Tencentcloud::gme::V20180711::DescribeRealtimeScanConfigRequest`
214
+ # @rtype: :class:`Tencentcloud::gme::V20180711::DescribeRealtimeScanConfigResponse`
215
+ def DescribeRealtimeScanConfig(request)
216
+ body = send_request('DescribeRealtimeScanConfig', request.serialize)
217
+ response = JSON.parse(body)
218
+ if response['Response'].key?('Error') == false
219
+ model = DescribeRealtimeScanConfigResponse.new
220
+ model.deserialize(response['Response'])
221
+ model
222
+ else
223
+ code = response['Response']['Error']['Code']
224
+ message = response['Response']['Error']['Message']
225
+ reqid = response['Response']['RequestId']
226
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
227
+ end
228
+ rescue TencentCloud::Common::TencentCloudSDKException => e
229
+ raise e
230
+ rescue StandardError => e
231
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
232
+ end
233
+
210
234
  # 获取房间内用户信息
211
235
 
212
236
  # @param request: Request instance for DescribeRoomInfo.
@@ -486,6 +510,54 @@ module TencentCloud
486
510
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
487
511
  end
488
512
 
513
+ # 更新自定义送检房间号
514
+
515
+ # @param request: Request instance for UpdateScanRooms.
516
+ # @type request: :class:`Tencentcloud::gme::V20180711::UpdateScanRoomsRequest`
517
+ # @rtype: :class:`Tencentcloud::gme::V20180711::UpdateScanRoomsResponse`
518
+ def UpdateScanRooms(request)
519
+ body = send_request('UpdateScanRooms', request.serialize)
520
+ response = JSON.parse(body)
521
+ if response['Response'].key?('Error') == false
522
+ model = UpdateScanRoomsResponse.new
523
+ model.deserialize(response['Response'])
524
+ model
525
+ else
526
+ code = response['Response']['Error']['Code']
527
+ message = response['Response']['Error']['Message']
528
+ reqid = response['Response']['RequestId']
529
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
530
+ end
531
+ rescue TencentCloud::Common::TencentCloudSDKException => e
532
+ raise e
533
+ rescue StandardError => e
534
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
535
+ end
536
+
537
+ # 更新自定义送检用户号
538
+
539
+ # @param request: Request instance for UpdateScanUsers.
540
+ # @type request: :class:`Tencentcloud::gme::V20180711::UpdateScanUsersRequest`
541
+ # @rtype: :class:`Tencentcloud::gme::V20180711::UpdateScanUsersResponse`
542
+ def UpdateScanUsers(request)
543
+ body = send_request('UpdateScanUsers', request.serialize)
544
+ response = JSON.parse(body)
545
+ if response['Response'].key?('Error') == false
546
+ model = UpdateScanUsersResponse.new
547
+ model.deserialize(response['Response'])
548
+ model
549
+ else
550
+ code = response['Response']['Error']['Code']
551
+ message = response['Response']['Error']['Message']
552
+ reqid = response['Response']['RequestId']
553
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
554
+ end
555
+ rescue TencentCloud::Common::TencentCloudSDKException => e
556
+ raise e
557
+ rescue StandardError => e
558
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
559
+ end
560
+
489
561
  # 本接口用于识别涉黄等违规音频,成功会回调配置在应用的回调地址。回调示例如下:
490
562
  # {"BizId":0,"FileId":"test_file_id","FileName":"test_file_name","FileUrl":"test_file_url","OpenId":"test_open_id","TimeStamp":"0000-00-00 00:00:00","Data":[{"Type":1,"Word":"xx"}]}
491
563
  # Type表示过滤类型,1:色情,2:谩骂
@@ -706,6 +706,66 @@ module TencentCloud
706
706
  end
707
707
  end
708
708
 
709
+ # DescribeRealtimeScanConfig请求参数结构体
710
+ class DescribeRealtimeScanConfigRequest < TencentCloud::Common::AbstractModel
711
+ # @param BizId: 应用ID
712
+ # @type BizId: Integer
713
+
714
+ attr_accessor :BizId
715
+
716
+ def initialize(bizid=nil)
717
+ @BizId = bizid
718
+ end
719
+
720
+ def deserialize(params)
721
+ @BizId = params['BizId']
722
+ end
723
+ end
724
+
725
+ # DescribeRealtimeScanConfig返回参数结构体
726
+ class DescribeRealtimeScanConfigResponse < TencentCloud::Common::AbstractModel
727
+ # @param ErrorCode: 返回结果码
728
+ # @type ErrorCode: Integer
729
+ # @param BizId: 应用ID
730
+ # @type BizId: Integer
731
+ # @param AuditType: 送检类型
732
+ # @type AuditType: Integer
733
+ # @param UserIdRegex: 用户号正则
734
+ # @type UserIdRegex: Array
735
+ # @param RoomIdRegex: 房间号正则
736
+ # @type RoomIdRegex: Array
737
+ # @param UserIdString: 用户号字符串,逗号分隔
738
+ # @type UserIdString: String
739
+ # @param RoomIdString: 房间号字符串,逗号分隔
740
+ # @type RoomIdString: String
741
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
742
+ # @type RequestId: String
743
+
744
+ attr_accessor :ErrorCode, :BizId, :AuditType, :UserIdRegex, :RoomIdRegex, :UserIdString, :RoomIdString, :RequestId
745
+
746
+ def initialize(errorcode=nil, bizid=nil, audittype=nil, useridregex=nil, roomidregex=nil, useridstring=nil, roomidstring=nil, requestid=nil)
747
+ @ErrorCode = errorcode
748
+ @BizId = bizid
749
+ @AuditType = audittype
750
+ @UserIdRegex = useridregex
751
+ @RoomIdRegex = roomidregex
752
+ @UserIdString = useridstring
753
+ @RoomIdString = roomidstring
754
+ @RequestId = requestid
755
+ end
756
+
757
+ def deserialize(params)
758
+ @ErrorCode = params['ErrorCode']
759
+ @BizId = params['BizId']
760
+ @AuditType = params['AuditType']
761
+ @UserIdRegex = params['UserIdRegex']
762
+ @RoomIdRegex = params['RoomIdRegex']
763
+ @UserIdString = params['UserIdString']
764
+ @RoomIdString = params['RoomIdString']
765
+ @RequestId = params['RequestId']
766
+ end
767
+ end
768
+
709
769
  # DescribeRoomInfo请求参数结构体
710
770
  class DescribeRoomInfoRequest < TencentCloud::Common::AbstractModel
711
771
  # @param SdkAppId: 应用ID,登录[控制台 - 服务管理](https://console.cloud.tencent.com/gamegme)创建应用得到的AppID
@@ -1425,6 +1485,95 @@ module TencentCloud
1425
1485
  end
1426
1486
  end
1427
1487
 
1488
+ # UpdateScanRooms请求参数结构体
1489
+ class UpdateScanRoomsRequest < TencentCloud::Common::AbstractModel
1490
+ # @param BizId: 应用ID
1491
+ # @type BizId: Integer
1492
+ # @param RoomIdString: 字符串房间号,逗号分隔
1493
+ # @type RoomIdString: String
1494
+ # @param RoomIdRegex: 正则表达式房间号,["^6.*"]6开头的房间号
1495
+ # @type RoomIdRegex: Array
1496
+
1497
+ attr_accessor :BizId, :RoomIdString, :RoomIdRegex
1498
+
1499
+ def initialize(bizid=nil, roomidstring=nil, roomidregex=nil)
1500
+ @BizId = bizid
1501
+ @RoomIdString = roomidstring
1502
+ @RoomIdRegex = roomidregex
1503
+ end
1504
+
1505
+ def deserialize(params)
1506
+ @BizId = params['BizId']
1507
+ @RoomIdString = params['RoomIdString']
1508
+ @RoomIdRegex = params['RoomIdRegex']
1509
+ end
1510
+ end
1511
+
1512
+ # UpdateScanRooms返回参数结构体
1513
+ class UpdateScanRoomsResponse < TencentCloud::Common::AbstractModel
1514
+ # @param ErrorCode: 返回结果码
1515
+ # 注意:此字段可能返回 null,表示取不到有效值。
1516
+ # @type ErrorCode: Integer
1517
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1518
+ # @type RequestId: String
1519
+
1520
+ attr_accessor :ErrorCode, :RequestId
1521
+
1522
+ def initialize(errorcode=nil, requestid=nil)
1523
+ @ErrorCode = errorcode
1524
+ @RequestId = requestid
1525
+ end
1526
+
1527
+ def deserialize(params)
1528
+ @ErrorCode = params['ErrorCode']
1529
+ @RequestId = params['RequestId']
1530
+ end
1531
+ end
1532
+
1533
+ # UpdateScanUsers请求参数结构体
1534
+ class UpdateScanUsersRequest < TencentCloud::Common::AbstractModel
1535
+ # @param BizId: 应用ID
1536
+ # @type BizId: Integer
1537
+ # @param UserIdString: 字符串用户号,逗号分隔
1538
+ # @type UserIdString: String
1539
+ # @param UserIdRegex: 正则表达式用户号,["^6.*"]6开头的用户号
1540
+ # @type UserIdRegex: Array
1541
+
1542
+ attr_accessor :BizId, :UserIdString, :UserIdRegex
1543
+
1544
+ def initialize(bizid=nil, useridstring=nil, useridregex=nil)
1545
+ @BizId = bizid
1546
+ @UserIdString = useridstring
1547
+ @UserIdRegex = useridregex
1548
+ end
1549
+
1550
+ def deserialize(params)
1551
+ @BizId = params['BizId']
1552
+ @UserIdString = params['UserIdString']
1553
+ @UserIdRegex = params['UserIdRegex']
1554
+ end
1555
+ end
1556
+
1557
+ # UpdateScanUsers返回参数结构体
1558
+ class UpdateScanUsersResponse < TencentCloud::Common::AbstractModel
1559
+ # @param ErrorCode: 返回结果码
1560
+ # @type ErrorCode: Integer
1561
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1562
+ # @type RequestId: String
1563
+
1564
+ attr_accessor :ErrorCode, :RequestId
1565
+
1566
+ def initialize(errorcode=nil, requestid=nil)
1567
+ @ErrorCode = errorcode
1568
+ @RequestId = requestid
1569
+ end
1570
+
1571
+ def deserialize(params)
1572
+ @ErrorCode = params['ErrorCode']
1573
+ @RequestId = params['RequestId']
1574
+ end
1575
+ end
1576
+
1428
1577
  # 过滤结果
1429
1578
  class VoiceFilter < TencentCloud::Common::AbstractModel
1430
1579
  # @param Type: 过滤类型,1:色情,2:涉毒,3:谩骂
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-gme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.266
4
+ version: 1.0.267
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-02-28 00:00:00.000000000 Z
11
+ date: 2022-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common