tencentcloud-sdk-bma 3.0.428 → 3.0.429
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/v20210624/client.rb +24 -0
- data/lib/v20210624/models.rb +79 -7
- 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: d2a19e3f934a8152eb823914ca27cf8620e76607
|
4
|
+
data.tar.gz: 3525251944fc932114e1b1024dc4241fce880489
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1896596ab835bd77199d1dcae7a98f546bf8b7cb2999addd4feb515ccd2b4403734d3fa5eca6f5a42ffd33f237cd0860d08b10b06cd104b82bf2940b15802249
|
7
|
+
data.tar.gz: d8337cab186715bdac60d5f2de7a7ee48136c70f92c8d492cae45b821fd32db1077518ee3d2092a568dc1e5c4168a434c6adb0d0762b945ddc4442e84e17e3c0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.429
|
data/lib/v20210624/client.rb
CHANGED
@@ -197,6 +197,30 @@ module TencentCloud
|
|
197
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
198
|
end
|
199
199
|
|
200
|
+
# 版权保护-新建取证接口
|
201
|
+
|
202
|
+
# @param request: Request instance for CreateCRObtain.
|
203
|
+
# @type request: :class:`Tencentcloud::bma::V20210624::CreateCRObtainRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::bma::V20210624::CreateCRObtainResponse`
|
205
|
+
def CreateCRObtain(request)
|
206
|
+
body = send_request('CreateCRObtain', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = CreateCRObtainResponse.new
|
210
|
+
model.deserialize(response['Response'])
|
211
|
+
model
|
212
|
+
else
|
213
|
+
code = response['Response']['Error']['Code']
|
214
|
+
message = response['Response']['Error']['Message']
|
215
|
+
reqid = response['Response']['RequestId']
|
216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
+
end
|
218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
+
raise e
|
220
|
+
rescue StandardError => e
|
221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
+
end
|
223
|
+
|
200
224
|
# 版权保护-新建发函接口
|
201
225
|
|
202
226
|
# @param request: Request instance for CreateCRRight.
|
data/lib/v20210624/models.rb
CHANGED
@@ -425,6 +425,78 @@ module TencentCloud
|
|
425
425
|
end
|
426
426
|
end
|
427
427
|
|
428
|
+
# CreateCRObtain请求参数结构体
|
429
|
+
class CreateCRObtainRequest < TencentCloud::Common::AbstractModel
|
430
|
+
# @param WorkId: 已存证的作品ID
|
431
|
+
# @type WorkId: Integer
|
432
|
+
# @param TortUrl: 侵权链接
|
433
|
+
# @type TortUrl: String
|
434
|
+
# @param ObtainType: 取证类型 1-网页取证 2-过程取证
|
435
|
+
# @type ObtainType: Integer
|
436
|
+
# @param WorkTitle: 侵权标题
|
437
|
+
# @type WorkTitle: String
|
438
|
+
# @param TortPlat: 侵权平台
|
439
|
+
# @type TortPlat: String
|
440
|
+
# @param ObtainDuration: 过程取证的取证时长 6-300分钟
|
441
|
+
# @type ObtainDuration: Integer
|
442
|
+
# @param ObtainUrl: 取证回调地址
|
443
|
+
# @type ObtainUrl: String
|
444
|
+
# @param WorkCategory: xxx
|
445
|
+
# @type WorkCategory: String
|
446
|
+
# @param WorkType: xxx
|
447
|
+
# @type WorkType: String
|
448
|
+
|
449
|
+
attr_accessor :WorkId, :TortUrl, :ObtainType, :WorkTitle, :TortPlat, :ObtainDuration, :ObtainUrl, :WorkCategory, :WorkType
|
450
|
+
|
451
|
+
def initialize(workid=nil, torturl=nil, obtaintype=nil, worktitle=nil, tortplat=nil, obtainduration=nil, obtainurl=nil, workcategory=nil, worktype=nil)
|
452
|
+
@WorkId = workid
|
453
|
+
@TortUrl = torturl
|
454
|
+
@ObtainType = obtaintype
|
455
|
+
@WorkTitle = worktitle
|
456
|
+
@TortPlat = tortplat
|
457
|
+
@ObtainDuration = obtainduration
|
458
|
+
@ObtainUrl = obtainurl
|
459
|
+
@WorkCategory = workcategory
|
460
|
+
@WorkType = worktype
|
461
|
+
end
|
462
|
+
|
463
|
+
def deserialize(params)
|
464
|
+
@WorkId = params['WorkId']
|
465
|
+
@TortUrl = params['TortUrl']
|
466
|
+
@ObtainType = params['ObtainType']
|
467
|
+
@WorkTitle = params['WorkTitle']
|
468
|
+
@TortPlat = params['TortPlat']
|
469
|
+
@ObtainDuration = params['ObtainDuration']
|
470
|
+
@ObtainUrl = params['ObtainUrl']
|
471
|
+
@WorkCategory = params['WorkCategory']
|
472
|
+
@WorkType = params['WorkType']
|
473
|
+
end
|
474
|
+
end
|
475
|
+
|
476
|
+
# CreateCRObtain返回参数结构体
|
477
|
+
class CreateCRObtainResponse < TencentCloud::Common::AbstractModel
|
478
|
+
# @param TortId: 侵权ID
|
479
|
+
# @type TortId: Integer
|
480
|
+
# @param TortNum: xxx
|
481
|
+
# @type TortNum: String
|
482
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
483
|
+
# @type RequestId: String
|
484
|
+
|
485
|
+
attr_accessor :TortId, :TortNum, :RequestId
|
486
|
+
|
487
|
+
def initialize(tortid=nil, tortnum=nil, requestid=nil)
|
488
|
+
@TortId = tortid
|
489
|
+
@TortNum = tortnum
|
490
|
+
@RequestId = requestid
|
491
|
+
end
|
492
|
+
|
493
|
+
def deserialize(params)
|
494
|
+
@TortId = params['TortId']
|
495
|
+
@TortNum = params['TortNum']
|
496
|
+
@RequestId = params['RequestId']
|
497
|
+
end
|
498
|
+
end
|
499
|
+
|
428
500
|
# CreateCRRightFile请求参数结构体
|
429
501
|
class CreateCRRightFileRequest < TencentCloud::Common::AbstractModel
|
430
502
|
# @param WorkId: 作品ID
|
@@ -975,11 +1047,11 @@ module TencentCloud
|
|
975
1047
|
|
976
1048
|
# DescribeBPFakeURLs返回参数结构体
|
977
1049
|
class DescribeBPFakeURLsResponse < TencentCloud::Common::AbstractModel
|
978
|
-
# @param FakeURLInfos:
|
1050
|
+
# @param FakeURLInfos: 仿冒网址列表
|
979
1051
|
# @type FakeURLInfos: Array
|
980
|
-
# @param TotalCount:
|
1052
|
+
# @param TotalCount: 总量
|
981
1053
|
# @type TotalCount: Integer
|
982
|
-
# @param ExportURL:
|
1054
|
+
# @param ExportURL: 导出量
|
983
1055
|
# @type ExportURL: String
|
984
1056
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
985
1057
|
# @type RequestId: String
|
@@ -1030,9 +1102,9 @@ module TencentCloud
|
|
1030
1102
|
|
1031
1103
|
# DescribeBPProtectURLs返回参数结构体
|
1032
1104
|
class DescribeBPProtectURLsResponse < TencentCloud::Common::AbstractModel
|
1033
|
-
# @param ProtectURLInfos:
|
1105
|
+
# @param ProtectURLInfos: 保护网址列表
|
1034
1106
|
# @type ProtectURLInfos: Array
|
1035
|
-
# @param TotalCount:
|
1107
|
+
# @param TotalCount: 总量
|
1036
1108
|
# @type TotalCount: Integer
|
1037
1109
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1038
1110
|
# @type RequestId: String
|
@@ -1092,9 +1164,9 @@ module TencentCloud
|
|
1092
1164
|
|
1093
1165
|
# DescribeBPReportFakeURLs返回参数结构体
|
1094
1166
|
class DescribeBPReportFakeURLsResponse < TencentCloud::Common::AbstractModel
|
1095
|
-
# @param ReportFakeURLInfos:
|
1167
|
+
# @param ReportFakeURLInfos: 举报网站列表
|
1096
1168
|
# @type ReportFakeURLInfos: Array
|
1097
|
-
# @param TotalCount:
|
1169
|
+
# @param TotalCount: 总量
|
1098
1170
|
# @type TotalCount: Integer
|
1099
1171
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1100
1172
|
# @type RequestId: String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-bma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.429
|
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-10-
|
11
|
+
date: 2022-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|