tencentcloud-sdk-gme 1.0.280 → 1.0.281
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/v20180711/client.rb +48 -0
- data/lib/v20180711/models.rb +80 -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: bb85535cfa4df7d826662f25ae214d4c03b69c5e
|
4
|
+
data.tar.gz: 8b9e6c2366a8e41a3202f85ce0cd2cacf7ee21f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8ab435cb26166fe90329f2c6b029c1445e7800cd82a83922dcdb6ce4764292eadac3f1ffcc8d65171ac539fe18fb1de7b86e0cc38a3d51b80d3f89625dc59d1
|
7
|
+
data.tar.gz: 9ac1abe70263c7a2e6ad509798857df814384aa52b4cc442d36ffa422b32061898f41b923a2a7d3854d9a3283d48cb8e2caad820406a555b1763384782891bef
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.281
|
data/lib/v20180711/client.rb
CHANGED
@@ -87,6 +87,54 @@ module TencentCloud
|
|
87
87
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
88
88
|
end
|
89
89
|
|
90
|
+
# 新增自定义送检用户
|
91
|
+
|
92
|
+
# @param request: Request instance for CreateScanUser.
|
93
|
+
# @type request: :class:`Tencentcloud::gme::V20180711::CreateScanUserRequest`
|
94
|
+
# @rtype: :class:`Tencentcloud::gme::V20180711::CreateScanUserResponse`
|
95
|
+
def CreateScanUser(request)
|
96
|
+
body = send_request('CreateScanUser', request.serialize)
|
97
|
+
response = JSON.parse(body)
|
98
|
+
if response['Response'].key?('Error') == false
|
99
|
+
model = CreateScanUserResponse.new
|
100
|
+
model.deserialize(response['Response'])
|
101
|
+
model
|
102
|
+
else
|
103
|
+
code = response['Response']['Error']['Code']
|
104
|
+
message = response['Response']['Error']['Message']
|
105
|
+
reqid = response['Response']['RequestId']
|
106
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
107
|
+
end
|
108
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
109
|
+
raise e
|
110
|
+
rescue StandardError => e
|
111
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
112
|
+
end
|
113
|
+
|
114
|
+
# 删除自定义送检用户
|
115
|
+
|
116
|
+
# @param request: Request instance for DeleteScanUser.
|
117
|
+
# @type request: :class:`Tencentcloud::gme::V20180711::DeleteScanUserRequest`
|
118
|
+
# @rtype: :class:`Tencentcloud::gme::V20180711::DeleteScanUserResponse`
|
119
|
+
def DeleteScanUser(request)
|
120
|
+
body = send_request('DeleteScanUser', request.serialize)
|
121
|
+
response = JSON.parse(body)
|
122
|
+
if response['Response'].key?('Error') == false
|
123
|
+
model = DeleteScanUserResponse.new
|
124
|
+
model.deserialize(response['Response'])
|
125
|
+
model
|
126
|
+
else
|
127
|
+
code = response['Response']['Error']['Code']
|
128
|
+
message = response['Response']['Error']['Message']
|
129
|
+
reqid = response['Response']['RequestId']
|
130
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
131
|
+
end
|
132
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
133
|
+
raise e
|
134
|
+
rescue StandardError => e
|
135
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
136
|
+
end
|
137
|
+
|
90
138
|
# 查询年龄语音识别任务结果,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。
|
91
139
|
|
92
140
|
# @param request: Request instance for DescribeAgeDetectTask.
|
data/lib/v20180711/models.rb
CHANGED
@@ -421,6 +421,86 @@ module TencentCloud
|
|
421
421
|
end
|
422
422
|
end
|
423
423
|
|
424
|
+
# CreateScanUser请求参数结构体
|
425
|
+
class CreateScanUserRequest < TencentCloud::Common::AbstractModel
|
426
|
+
# @param BizId: 应用ID,登录控制台 - 服务管理创建应用得到的AppID
|
427
|
+
# @type BizId: Integer
|
428
|
+
# @param UserId: 需要新增送检的用户号。示例:1234
|
429
|
+
# @type UserId: Integer
|
430
|
+
|
431
|
+
attr_accessor :BizId, :UserId
|
432
|
+
|
433
|
+
def initialize(bizid=nil, userid=nil)
|
434
|
+
@BizId = bizid
|
435
|
+
@UserId = userid
|
436
|
+
end
|
437
|
+
|
438
|
+
def deserialize(params)
|
439
|
+
@BizId = params['BizId']
|
440
|
+
@UserId = params['UserId']
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
444
|
+
# CreateScanUser返回参数结构体
|
445
|
+
class CreateScanUserResponse < TencentCloud::Common::AbstractModel
|
446
|
+
# @param ErrorCode: 返回结果码
|
447
|
+
# @type ErrorCode: Integer
|
448
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
449
|
+
# @type RequestId: String
|
450
|
+
|
451
|
+
attr_accessor :ErrorCode, :RequestId
|
452
|
+
|
453
|
+
def initialize(errorcode=nil, requestid=nil)
|
454
|
+
@ErrorCode = errorcode
|
455
|
+
@RequestId = requestid
|
456
|
+
end
|
457
|
+
|
458
|
+
def deserialize(params)
|
459
|
+
@ErrorCode = params['ErrorCode']
|
460
|
+
@RequestId = params['RequestId']
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
464
|
+
# DeleteScanUser请求参数结构体
|
465
|
+
class DeleteScanUserRequest < TencentCloud::Common::AbstractModel
|
466
|
+
# @param BizId: 应用ID,登录控制台 - 服务管理创建应用得到的AppID
|
467
|
+
# @type BizId: Integer
|
468
|
+
# @param UserId: 需要删除送检的用户号。示例:1234
|
469
|
+
# @type UserId: Integer
|
470
|
+
|
471
|
+
attr_accessor :BizId, :UserId
|
472
|
+
|
473
|
+
def initialize(bizid=nil, userid=nil)
|
474
|
+
@BizId = bizid
|
475
|
+
@UserId = userid
|
476
|
+
end
|
477
|
+
|
478
|
+
def deserialize(params)
|
479
|
+
@BizId = params['BizId']
|
480
|
+
@UserId = params['UserId']
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
484
|
+
# DeleteScanUser返回参数结构体
|
485
|
+
class DeleteScanUserResponse < TencentCloud::Common::AbstractModel
|
486
|
+
# @param ErrorCode: 返回结果码
|
487
|
+
# @type ErrorCode: Integer
|
488
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
489
|
+
# @type RequestId: String
|
490
|
+
|
491
|
+
attr_accessor :ErrorCode, :RequestId
|
492
|
+
|
493
|
+
def initialize(errorcode=nil, requestid=nil)
|
494
|
+
@ErrorCode = errorcode
|
495
|
+
@RequestId = requestid
|
496
|
+
end
|
497
|
+
|
498
|
+
def deserialize(params)
|
499
|
+
@ErrorCode = params['ErrorCode']
|
500
|
+
@RequestId = params['RequestId']
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
424
504
|
# DescribeAgeDetectTask请求参数结构体
|
425
505
|
class DescribeAgeDetectTaskRequest < TencentCloud::Common::AbstractModel
|
426
506
|
# @param BizId: 应用id
|
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.
|
4
|
+
version: 1.0.281
|
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-03-
|
11
|
+
date: 2022-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|