tencentcloud-sdk-vod 3.0.476 → 3.0.478
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/v20180717/client.rb +100 -2
- data/lib/v20180717/models.rb +482 -13
- 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: 7877458ececa8a7d8f14f5318a977fa0342f6e8a
|
4
|
+
data.tar.gz: bf09b9d65427dab8a13344a1116bfd9997fabd41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61cc69588fea30458fd318ebbac318c9f528a522c81c18feced4d5ba24dacf480318d6acf2231cbec8ce849366d08965ecc865d341da21b481894d99e78f83ce
|
7
|
+
data.tar.gz: 06f4814e397e3dfd34bcc0d1b540f29e5804c6545396cefd5dc9d77db29263ece29576f2d4263e753070d63174c819d67b5021981a79ce2f12d133437f1b51d5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.478
|
data/lib/v20180717/client.rb
CHANGED
@@ -431,6 +431,30 @@ module TencentCloud
|
|
431
431
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
432
432
|
end
|
433
433
|
|
434
|
+
# 创建用户自定义审核模板,数量上限:50。
|
435
|
+
|
436
|
+
# @param request: Request instance for CreateReviewTemplate.
|
437
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::CreateReviewTemplateRequest`
|
438
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::CreateReviewTemplateResponse`
|
439
|
+
def CreateReviewTemplate(request)
|
440
|
+
body = send_request('CreateReviewTemplate', request.serialize)
|
441
|
+
response = JSON.parse(body)
|
442
|
+
if response['Response'].key?('Error') == false
|
443
|
+
model = CreateReviewTemplateResponse.new
|
444
|
+
model.deserialize(response['Response'])
|
445
|
+
model
|
446
|
+
else
|
447
|
+
code = response['Response']['Error']['Code']
|
448
|
+
message = response['Response']['Error']['Message']
|
449
|
+
reqid = response['Response']['RequestId']
|
450
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
451
|
+
end
|
452
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
453
|
+
raise e
|
454
|
+
rescue StandardError => e
|
455
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
456
|
+
end
|
457
|
+
|
434
458
|
# 创建用户自定义采样截图模板,数量上限:16。
|
435
459
|
|
436
460
|
# @param request: Request instance for CreateSampleSnapshotTemplate.
|
@@ -944,6 +968,30 @@ module TencentCloud
|
|
944
968
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
945
969
|
end
|
946
970
|
|
971
|
+
# 删除用户自定义审核模板。
|
972
|
+
|
973
|
+
# @param request: Request instance for DeleteReviewTemplate.
|
974
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DeleteReviewTemplateRequest`
|
975
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DeleteReviewTemplateResponse`
|
976
|
+
def DeleteReviewTemplate(request)
|
977
|
+
body = send_request('DeleteReviewTemplate', request.serialize)
|
978
|
+
response = JSON.parse(body)
|
979
|
+
if response['Response'].key?('Error') == false
|
980
|
+
model = DeleteReviewTemplateResponse.new
|
981
|
+
model.deserialize(response['Response'])
|
982
|
+
model
|
983
|
+
else
|
984
|
+
code = response['Response']['Error']['Code']
|
985
|
+
message = response['Response']['Error']['Message']
|
986
|
+
reqid = response['Response']['RequestId']
|
987
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
988
|
+
end
|
989
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
990
|
+
raise e
|
991
|
+
rescue StandardError => e
|
992
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
993
|
+
end
|
994
|
+
|
947
995
|
# 删除用户自定义采样截图模板。
|
948
996
|
|
949
997
|
# @param request: Request instance for DeleteSampleSnapshotTemplate.
|
@@ -1454,8 +1502,9 @@ module TencentCloud
|
|
1454
1502
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1455
1503
|
end
|
1456
1504
|
|
1457
|
-
# 本 API 是 [旧版本加密](https://cloud.tencent.com/document/product/266/9638) 中[DescribeDrmDataKey 的 API 2017 接口](https://cloud.tencent.com/document/product/266/9643)的升级版本。
|
1458
|
-
|
1505
|
+
# 本 API 是 [旧版本加密](https://cloud.tencent.com/document/product/266/9638) 中 [DescribeDrmDataKey 的 API 2017 接口](https://cloud.tencent.com/document/product/266/9643) 的升级版本。
|
1506
|
+
|
1507
|
+
# 如果您是新接入点播加密的用户,不要使用该 API,请参考 [视频加密综述](https://cloud.tencent.com/document/product/266/45552) 使用推荐的加密方式。
|
1459
1508
|
|
1460
1509
|
# @param request: Request instance for DescribeDrmDataKey.
|
1461
1510
|
# @type request: :class:`Tencentcloud::vod::V20180717::DescribeDrmDataKeyRequest`
|
@@ -1717,6 +1766,7 @@ module TencentCloud
|
|
1717
1766
|
# 7. 指定时间点截图信息(snapshotByTimeOffsetInfo):对视频依照指定时间点截图后,的截图信息。
|
1718
1767
|
# 8. 视频打点信息(keyFrameDescInfo):对视频设置的打点信息。
|
1719
1768
|
# 9. 转自适应码流信息(adaptiveDynamicStreamingInfo):包括规格、加密类型、打包格式等相关信息。
|
1769
|
+
# 10. 审核信息(reviewInfo):包括媒体审核及媒体封面审核信息。
|
1720
1770
|
# 2. 可以指定回包只返回部分信息。
|
1721
1771
|
|
1722
1772
|
# @param request: Request instance for DescribeMediaInfos.
|
@@ -1897,6 +1947,30 @@ module TencentCloud
|
|
1897
1947
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1898
1948
|
end
|
1899
1949
|
|
1950
|
+
# 获取审核模板列表
|
1951
|
+
|
1952
|
+
# @param request: Request instance for DescribeReviewTemplates.
|
1953
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DescribeReviewTemplatesRequest`
|
1954
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DescribeReviewTemplatesResponse`
|
1955
|
+
def DescribeReviewTemplates(request)
|
1956
|
+
body = send_request('DescribeReviewTemplates', request.serialize)
|
1957
|
+
response = JSON.parse(body)
|
1958
|
+
if response['Response'].key?('Error') == false
|
1959
|
+
model = DescribeReviewTemplatesResponse.new
|
1960
|
+
model.deserialize(response['Response'])
|
1961
|
+
model
|
1962
|
+
else
|
1963
|
+
code = response['Response']['Error']['Code']
|
1964
|
+
message = response['Response']['Error']['Message']
|
1965
|
+
reqid = response['Response']['RequestId']
|
1966
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1967
|
+
end
|
1968
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1969
|
+
raise e
|
1970
|
+
rescue StandardError => e
|
1971
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1972
|
+
end
|
1973
|
+
|
1900
1974
|
# 查询采样截图模板,支持根据条件,分页查询。
|
1901
1975
|
|
1902
1976
|
# @param request: Request instance for DescribeSampleSnapshotTemplates.
|
@@ -2731,6 +2805,30 @@ module TencentCloud
|
|
2731
2805
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2732
2806
|
end
|
2733
2807
|
|
2808
|
+
# 修改用户自定义审核模板。
|
2809
|
+
|
2810
|
+
# @param request: Request instance for ModifyReviewTemplate.
|
2811
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::ModifyReviewTemplateRequest`
|
2812
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::ModifyReviewTemplateResponse`
|
2813
|
+
def ModifyReviewTemplate(request)
|
2814
|
+
body = send_request('ModifyReviewTemplate', request.serialize)
|
2815
|
+
response = JSON.parse(body)
|
2816
|
+
if response['Response'].key?('Error') == false
|
2817
|
+
model = ModifyReviewTemplateResponse.new
|
2818
|
+
model.deserialize(response['Response'])
|
2819
|
+
model
|
2820
|
+
else
|
2821
|
+
code = response['Response']['Error']['Code']
|
2822
|
+
message = response['Response']['Error']['Message']
|
2823
|
+
reqid = response['Response']['RequestId']
|
2824
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2825
|
+
end
|
2826
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2827
|
+
raise e
|
2828
|
+
rescue StandardError => e
|
2829
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2830
|
+
end
|
2831
|
+
|
2734
2832
|
# 修改用户自定义采样截图模板。
|
2735
2833
|
|
2736
2834
|
# @param request: Request instance for ModifySampleSnapshotTemplate.
|
data/lib/v20180717/models.rb
CHANGED
@@ -5970,6 +5970,62 @@ module TencentCloud
|
|
5970
5970
|
end
|
5971
5971
|
end
|
5972
5972
|
|
5973
|
+
# CreateReviewTemplate请求参数结构体
|
5974
|
+
class CreateReviewTemplateRequest < TencentCloud::Common::AbstractModel
|
5975
|
+
# @param Labels: 需要返回的违规标签列表,可选值为:
|
5976
|
+
# <li>Porn:色情;</li>
|
5977
|
+
# <li>Terror:暴恐;</li>
|
5978
|
+
# <li>Polity:不适宜的信息;</li>
|
5979
|
+
# <li>Illegal:违法;</li>
|
5980
|
+
# <li>Religion:宗教;</li>
|
5981
|
+
# <li>Abuse:谩骂;</li>
|
5982
|
+
# <li>Ad:广告;</li>
|
5983
|
+
# <li>Moan:娇喘。</li>
|
5984
|
+
# @type Labels: Array
|
5985
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
5986
|
+
# @type SubAppId: String
|
5987
|
+
# @param Name: 审核模板名称,长度限制:64 个字符。
|
5988
|
+
# @type Name: String
|
5989
|
+
# @param Comment: 审核模板描述信息,长度限制:256 个字符。
|
5990
|
+
# @type Comment: String
|
5991
|
+
|
5992
|
+
attr_accessor :Labels, :SubAppId, :Name, :Comment
|
5993
|
+
|
5994
|
+
def initialize(labels=nil, subappid=nil, name=nil, comment=nil)
|
5995
|
+
@Labels = labels
|
5996
|
+
@SubAppId = subappid
|
5997
|
+
@Name = name
|
5998
|
+
@Comment = comment
|
5999
|
+
end
|
6000
|
+
|
6001
|
+
def deserialize(params)
|
6002
|
+
@Labels = params['Labels']
|
6003
|
+
@SubAppId = params['SubAppId']
|
6004
|
+
@Name = params['Name']
|
6005
|
+
@Comment = params['Comment']
|
6006
|
+
end
|
6007
|
+
end
|
6008
|
+
|
6009
|
+
# CreateReviewTemplate返回参数结构体
|
6010
|
+
class CreateReviewTemplateResponse < TencentCloud::Common::AbstractModel
|
6011
|
+
# @param Definition: 审核模板唯一标识。
|
6012
|
+
# @type Definition: Integer
|
6013
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6014
|
+
# @type RequestId: String
|
6015
|
+
|
6016
|
+
attr_accessor :Definition, :RequestId
|
6017
|
+
|
6018
|
+
def initialize(definition=nil, requestid=nil)
|
6019
|
+
@Definition = definition
|
6020
|
+
@RequestId = requestid
|
6021
|
+
end
|
6022
|
+
|
6023
|
+
def deserialize(params)
|
6024
|
+
@Definition = params['Definition']
|
6025
|
+
@RequestId = params['RequestId']
|
6026
|
+
end
|
6027
|
+
end
|
6028
|
+
|
5973
6029
|
# CreateSampleSnapshotTemplate请求参数结构体
|
5974
6030
|
class CreateSampleSnapshotTemplateRequest < TencentCloud::Common::AbstractModel
|
5975
6031
|
# @param SampleType: 采样截图类型,取值:
|
@@ -7090,6 +7146,42 @@ module TencentCloud
|
|
7090
7146
|
end
|
7091
7147
|
end
|
7092
7148
|
|
7149
|
+
# DeleteReviewTemplate请求参数结构体
|
7150
|
+
class DeleteReviewTemplateRequest < TencentCloud::Common::AbstractModel
|
7151
|
+
# @param Definition: 审核模板唯一标识。
|
7152
|
+
# @type Definition: Integer
|
7153
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
7154
|
+
# @type SubAppId: Integer
|
7155
|
+
|
7156
|
+
attr_accessor :Definition, :SubAppId
|
7157
|
+
|
7158
|
+
def initialize(definition=nil, subappid=nil)
|
7159
|
+
@Definition = definition
|
7160
|
+
@SubAppId = subappid
|
7161
|
+
end
|
7162
|
+
|
7163
|
+
def deserialize(params)
|
7164
|
+
@Definition = params['Definition']
|
7165
|
+
@SubAppId = params['SubAppId']
|
7166
|
+
end
|
7167
|
+
end
|
7168
|
+
|
7169
|
+
# DeleteReviewTemplate返回参数结构体
|
7170
|
+
class DeleteReviewTemplateResponse < TencentCloud::Common::AbstractModel
|
7171
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7172
|
+
# @type RequestId: String
|
7173
|
+
|
7174
|
+
attr_accessor :RequestId
|
7175
|
+
|
7176
|
+
def initialize(requestid=nil)
|
7177
|
+
@RequestId = requestid
|
7178
|
+
end
|
7179
|
+
|
7180
|
+
def deserialize(params)
|
7181
|
+
@RequestId = params['RequestId']
|
7182
|
+
end
|
7183
|
+
end
|
7184
|
+
|
7093
7185
|
# DeleteSampleSnapshotTemplate请求参数结构体
|
7094
7186
|
class DeleteSampleSnapshotTemplateRequest < TencentCloud::Common::AbstractModel
|
7095
7187
|
# @param Definition: 采样截图模板唯一标识。
|
@@ -8210,15 +8302,19 @@ module TencentCloud
|
|
8210
8302
|
class DescribeDrmDataKeyRequest < TencentCloud::Common::AbstractModel
|
8211
8303
|
# @param EdkList: 加密后的数据密钥列表,最大支持10个。
|
8212
8304
|
# @type EdkList: Array
|
8305
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID 。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
8306
|
+
# @type SubAppId: Integer
|
8213
8307
|
|
8214
|
-
attr_accessor :EdkList
|
8308
|
+
attr_accessor :EdkList, :SubAppId
|
8215
8309
|
|
8216
|
-
def initialize(edklist=nil)
|
8310
|
+
def initialize(edklist=nil, subappid=nil)
|
8217
8311
|
@EdkList = edklist
|
8312
|
+
@SubAppId = subappid
|
8218
8313
|
end
|
8219
8314
|
|
8220
8315
|
def deserialize(params)
|
8221
8316
|
@EdkList = params['EdkList']
|
8317
|
+
@SubAppId = params['SubAppId']
|
8222
8318
|
end
|
8223
8319
|
end
|
8224
8320
|
|
@@ -8804,6 +8900,8 @@ module TencentCloud
|
|
8804
8900
|
class DescribeMediaInfosRequest < TencentCloud::Common::AbstractModel
|
8805
8901
|
# @param FileIds: 媒体文件 ID 列表,N 从 0 开始取值,最大 19。
|
8806
8902
|
# @type FileIds: Array
|
8903
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID 。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
8904
|
+
# @type SubAppId: Integer
|
8807
8905
|
# @param Filters: 指定所有媒体文件需要返回的信息,可同时指定多个信息,N 从 0 开始递增。如果未填写该字段,默认返回所有信息。选项有:
|
8808
8906
|
# <li>basicInfo(视频基础信息)。</li>
|
8809
8907
|
# <li>metaData(视频元信息)。</li>
|
@@ -8815,22 +8913,22 @@ module TencentCloud
|
|
8815
8913
|
# <li>keyFrameDescInfo(打点信息)。</li>
|
8816
8914
|
# <li>adaptiveDynamicStreamingInfo(转自适应码流信息)。</li>
|
8817
8915
|
# <li>miniProgramReviewInfo(小程序审核信息)。</li>
|
8916
|
+
# <li>subtitleInfo(字幕信息)。</li>
|
8917
|
+
# <li>reviewInfo(审核信息)。</li>
|
8818
8918
|
# @type Filters: Array
|
8819
|
-
# @param SubAppId: 点播[子应用](/document/product/266/14574) ID 。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
8820
|
-
# @type SubAppId: Integer
|
8821
8919
|
|
8822
|
-
attr_accessor :FileIds, :
|
8920
|
+
attr_accessor :FileIds, :SubAppId, :Filters
|
8823
8921
|
|
8824
|
-
def initialize(fileids=nil,
|
8922
|
+
def initialize(fileids=nil, subappid=nil, filters=nil)
|
8825
8923
|
@FileIds = fileids
|
8826
|
-
@Filters = filters
|
8827
8924
|
@SubAppId = subappid
|
8925
|
+
@Filters = filters
|
8828
8926
|
end
|
8829
8927
|
|
8830
8928
|
def deserialize(params)
|
8831
8929
|
@FileIds = params['FileIds']
|
8832
|
-
@Filters = params['Filters']
|
8833
8930
|
@SubAppId = params['SubAppId']
|
8931
|
+
@Filters = params['Filters']
|
8834
8932
|
end
|
8835
8933
|
end
|
8836
8934
|
|
@@ -9231,6 +9329,71 @@ module TencentCloud
|
|
9231
9329
|
end
|
9232
9330
|
end
|
9233
9331
|
|
9332
|
+
# DescribeReviewTemplates请求参数结构体
|
9333
|
+
class DescribeReviewTemplatesRequest < TencentCloud::Common::AbstractModel
|
9334
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
9335
|
+
# @type SubAppId: Integer
|
9336
|
+
# @param Definitions: 审核模版唯一标识过滤条件,数组长度限制:100。
|
9337
|
+
# @type Definitions: Array
|
9338
|
+
# @param Type: 模板类型过滤条件,可选值:
|
9339
|
+
# <li>Preset:系统预置模板;</li>
|
9340
|
+
# <li>Custom:用户自定义模板。</li>
|
9341
|
+
# @type Type: String
|
9342
|
+
# @param Offset: 分页偏移量,默认值:0。
|
9343
|
+
# @type Offset: Integer
|
9344
|
+
# @param Limit: 返回记录条数,默认值:10,最大值:100。
|
9345
|
+
# @type Limit: Integer
|
9346
|
+
|
9347
|
+
attr_accessor :SubAppId, :Definitions, :Type, :Offset, :Limit
|
9348
|
+
|
9349
|
+
def initialize(subappid=nil, definitions=nil, type=nil, offset=nil, limit=nil)
|
9350
|
+
@SubAppId = subappid
|
9351
|
+
@Definitions = definitions
|
9352
|
+
@Type = type
|
9353
|
+
@Offset = offset
|
9354
|
+
@Limit = limit
|
9355
|
+
end
|
9356
|
+
|
9357
|
+
def deserialize(params)
|
9358
|
+
@SubAppId = params['SubAppId']
|
9359
|
+
@Definitions = params['Definitions']
|
9360
|
+
@Type = params['Type']
|
9361
|
+
@Offset = params['Offset']
|
9362
|
+
@Limit = params['Limit']
|
9363
|
+
end
|
9364
|
+
end
|
9365
|
+
|
9366
|
+
# DescribeReviewTemplates返回参数结构体
|
9367
|
+
class DescribeReviewTemplatesResponse < TencentCloud::Common::AbstractModel
|
9368
|
+
# @param TotalCount: 符合过滤条件的记录总数。
|
9369
|
+
# @type TotalCount: Integer
|
9370
|
+
# @param ReviewTemplateSet: 审核模板详情列表。
|
9371
|
+
# @type ReviewTemplateSet: Array
|
9372
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9373
|
+
# @type RequestId: String
|
9374
|
+
|
9375
|
+
attr_accessor :TotalCount, :ReviewTemplateSet, :RequestId
|
9376
|
+
|
9377
|
+
def initialize(totalcount=nil, reviewtemplateset=nil, requestid=nil)
|
9378
|
+
@TotalCount = totalcount
|
9379
|
+
@ReviewTemplateSet = reviewtemplateset
|
9380
|
+
@RequestId = requestid
|
9381
|
+
end
|
9382
|
+
|
9383
|
+
def deserialize(params)
|
9384
|
+
@TotalCount = params['TotalCount']
|
9385
|
+
unless params['ReviewTemplateSet'].nil?
|
9386
|
+
@ReviewTemplateSet = []
|
9387
|
+
params['ReviewTemplateSet'].each do |i|
|
9388
|
+
reviewtemplate_tmp = ReviewTemplate.new
|
9389
|
+
reviewtemplate_tmp.deserialize(i)
|
9390
|
+
@ReviewTemplateSet << reviewtemplate_tmp
|
9391
|
+
end
|
9392
|
+
end
|
9393
|
+
@RequestId = params['RequestId']
|
9394
|
+
end
|
9395
|
+
end
|
9396
|
+
|
9234
9397
|
# DescribeSampleSnapshotTemplates请求参数结构体
|
9235
9398
|
class DescribeSampleSnapshotTemplatesRequest < TencentCloud::Common::AbstractModel
|
9236
9399
|
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
@@ -11339,6 +11502,38 @@ module TencentCloud
|
|
11339
11502
|
end
|
11340
11503
|
end
|
11341
11504
|
|
11505
|
+
# 文件审核信息。
|
11506
|
+
class FileReviewInfo < TencentCloud::Common::AbstractModel
|
11507
|
+
# @param MediaReviewInfo: 媒体审核信息\*。
|
11508
|
+
|
11509
|
+
# \* 只展示通过 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 或 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217) 发起的审核结果信息。
|
11510
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11511
|
+
# @type MediaReviewInfo: :class:`Tencentcloud::Vod.v20180717.models.ReviewInfo`
|
11512
|
+
# @param CoverReviewInfo: 媒体封面审核信息\*。
|
11513
|
+
|
11514
|
+
# \* 只展示通过 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 或 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217) 发起的审核结果信息。
|
11515
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11516
|
+
# @type CoverReviewInfo: :class:`Tencentcloud::Vod.v20180717.models.ReviewInfo`
|
11517
|
+
|
11518
|
+
attr_accessor :MediaReviewInfo, :CoverReviewInfo
|
11519
|
+
|
11520
|
+
def initialize(mediareviewinfo=nil, coverreviewinfo=nil)
|
11521
|
+
@MediaReviewInfo = mediareviewinfo
|
11522
|
+
@CoverReviewInfo = coverreviewinfo
|
11523
|
+
end
|
11524
|
+
|
11525
|
+
def deserialize(params)
|
11526
|
+
unless params['MediaReviewInfo'].nil?
|
11527
|
+
@MediaReviewInfo = ReviewInfo.new
|
11528
|
+
@MediaReviewInfo.deserialize(params['MediaReviewInfo'])
|
11529
|
+
end
|
11530
|
+
unless params['CoverReviewInfo'].nil?
|
11531
|
+
@CoverReviewInfo = ReviewInfo.new
|
11532
|
+
@CoverReviewInfo.deserialize(params['CoverReviewInfo'])
|
11533
|
+
end
|
11534
|
+
end
|
11535
|
+
end
|
11536
|
+
|
11342
11537
|
# 文件上传任务信息
|
11343
11538
|
class FileUploadTask < TencentCloud::Common::AbstractModel
|
11344
11539
|
# @param FileId: 文件唯一 ID。
|
@@ -13026,10 +13221,13 @@ module TencentCloud
|
|
13026
13221
|
# @type SubtitleInfo: :class:`Tencentcloud::Vod.v20180717.models.MediaSubtitleInfo`
|
13027
13222
|
# @param FileId: 媒体文件唯一标识 ID。
|
13028
13223
|
# @type FileId: String
|
13224
|
+
# @param ReviewInfo: 审核信息。
|
13225
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13226
|
+
# @type ReviewInfo: :class:`Tencentcloud::Vod.v20180717.models.FileReviewInfo`
|
13029
13227
|
|
13030
|
-
attr_accessor :BasicInfo, :MetaData, :TranscodeInfo, :AnimatedGraphicsInfo, :SampleSnapshotInfo, :ImageSpriteInfo, :SnapshotByTimeOffsetInfo, :KeyFrameDescInfo, :AdaptiveDynamicStreamingInfo, :MiniProgramReviewInfo, :SubtitleInfo, :FileId
|
13228
|
+
attr_accessor :BasicInfo, :MetaData, :TranscodeInfo, :AnimatedGraphicsInfo, :SampleSnapshotInfo, :ImageSpriteInfo, :SnapshotByTimeOffsetInfo, :KeyFrameDescInfo, :AdaptiveDynamicStreamingInfo, :MiniProgramReviewInfo, :SubtitleInfo, :FileId, :ReviewInfo
|
13031
13229
|
|
13032
|
-
def initialize(basicinfo=nil, metadata=nil, transcodeinfo=nil, animatedgraphicsinfo=nil, samplesnapshotinfo=nil, imagespriteinfo=nil, snapshotbytimeoffsetinfo=nil, keyframedescinfo=nil, adaptivedynamicstreaminginfo=nil, miniprogramreviewinfo=nil, subtitleinfo=nil, fileid=nil)
|
13230
|
+
def initialize(basicinfo=nil, metadata=nil, transcodeinfo=nil, animatedgraphicsinfo=nil, samplesnapshotinfo=nil, imagespriteinfo=nil, snapshotbytimeoffsetinfo=nil, keyframedescinfo=nil, adaptivedynamicstreaminginfo=nil, miniprogramreviewinfo=nil, subtitleinfo=nil, fileid=nil, reviewinfo=nil)
|
13033
13231
|
@BasicInfo = basicinfo
|
13034
13232
|
@MetaData = metadata
|
13035
13233
|
@TranscodeInfo = transcodeinfo
|
@@ -13042,6 +13240,7 @@ module TencentCloud
|
|
13042
13240
|
@MiniProgramReviewInfo = miniprogramreviewinfo
|
13043
13241
|
@SubtitleInfo = subtitleinfo
|
13044
13242
|
@FileId = fileid
|
13243
|
+
@ReviewInfo = reviewinfo
|
13045
13244
|
end
|
13046
13245
|
|
13047
13246
|
def deserialize(params)
|
@@ -13090,6 +13289,10 @@ module TencentCloud
|
|
13090
13289
|
@SubtitleInfo.deserialize(params['SubtitleInfo'])
|
13091
13290
|
end
|
13092
13291
|
@FileId = params['FileId']
|
13292
|
+
unless params['ReviewInfo'].nil?
|
13293
|
+
@ReviewInfo = FileReviewInfo.new
|
13294
|
+
@ReviewInfo.deserialize(params['ReviewInfo'])
|
13295
|
+
end
|
13093
13296
|
end
|
13094
13297
|
end
|
13095
13298
|
|
@@ -15363,6 +15566,64 @@ module TencentCloud
|
|
15363
15566
|
end
|
15364
15567
|
end
|
15365
15568
|
|
15569
|
+
# ModifyReviewTemplate请求参数结构体
|
15570
|
+
class ModifyReviewTemplateRequest < TencentCloud::Common::AbstractModel
|
15571
|
+
# @param Definition: 审核模板唯一标识。
|
15572
|
+
# @type Definition: Integer
|
15573
|
+
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
15574
|
+
# @type SubAppId: Integer
|
15575
|
+
# @param Name: 审核模板名称,长度限制:64 个字符。
|
15576
|
+
# @type Name: String
|
15577
|
+
# @param Comment: 审核模板描述信息,长度限制:256 个字符。
|
15578
|
+
# @type Comment: String
|
15579
|
+
# @param Labels: 需要返回的违规标签列表,可选值为:
|
15580
|
+
# <li>Porn:色情;</li>
|
15581
|
+
# <li>Terror:暴恐;</li>
|
15582
|
+
# <li>Polity:不适宜的信息;</li>
|
15583
|
+
# <li>Illegal:违法;</li>
|
15584
|
+
# <li>Religion:宗教;</li>
|
15585
|
+
# <li>Abuse:谩骂;</li>
|
15586
|
+
# <li>Ad:广告;</li>
|
15587
|
+
# <li>Moan:娇喘。</li>
|
15588
|
+
|
15589
|
+
# 注意:不填表示不更新。
|
15590
|
+
# @type Labels: Array
|
15591
|
+
|
15592
|
+
attr_accessor :Definition, :SubAppId, :Name, :Comment, :Labels
|
15593
|
+
|
15594
|
+
def initialize(definition=nil, subappid=nil, name=nil, comment=nil, labels=nil)
|
15595
|
+
@Definition = definition
|
15596
|
+
@SubAppId = subappid
|
15597
|
+
@Name = name
|
15598
|
+
@Comment = comment
|
15599
|
+
@Labels = labels
|
15600
|
+
end
|
15601
|
+
|
15602
|
+
def deserialize(params)
|
15603
|
+
@Definition = params['Definition']
|
15604
|
+
@SubAppId = params['SubAppId']
|
15605
|
+
@Name = params['Name']
|
15606
|
+
@Comment = params['Comment']
|
15607
|
+
@Labels = params['Labels']
|
15608
|
+
end
|
15609
|
+
end
|
15610
|
+
|
15611
|
+
# ModifyReviewTemplate返回参数结构体
|
15612
|
+
class ModifyReviewTemplateResponse < TencentCloud::Common::AbstractModel
|
15613
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
15614
|
+
# @type RequestId: String
|
15615
|
+
|
15616
|
+
attr_accessor :RequestId
|
15617
|
+
|
15618
|
+
def initialize(requestid=nil)
|
15619
|
+
@RequestId = requestid
|
15620
|
+
end
|
15621
|
+
|
15622
|
+
def deserialize(params)
|
15623
|
+
@RequestId = params['RequestId']
|
15624
|
+
end
|
15625
|
+
end
|
15626
|
+
|
15366
15627
|
# ModifySampleSnapshotTemplate请求参数结构体
|
15367
15628
|
class ModifySampleSnapshotTemplateRequest < TencentCloud::Common::AbstractModel
|
15368
15629
|
# @param Definition: 采样截图模板唯一标识。
|
@@ -18942,7 +19203,8 @@ module TencentCloud
|
|
18942
19203
|
class ReviewImageRequest < TencentCloud::Common::AbstractModel
|
18943
19204
|
# @param FileId: 媒体文件 ID,即该文件在云点播上的全局唯一标识符。本接口要求媒体文件必须是图片格式。
|
18944
19205
|
# @type FileId: String
|
18945
|
-
# @param Definition: 图片审核模板 ID
|
19206
|
+
# @param Definition: 图片审核模板 ID,取值范围:
|
19207
|
+
# <li>10:预置模板,支持检测的违规标签包括色情(Porn)、暴恐(Terror)和不适宜的信息(Polity)。</li>
|
18946
19208
|
# @type Definition: Integer
|
18947
19209
|
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
18948
19210
|
# @type SubAppId: Integer
|
@@ -18965,14 +19227,19 @@ module TencentCloud
|
|
18965
19227
|
# ReviewImage返回参数结构体
|
18966
19228
|
class ReviewImageResponse < TencentCloud::Common::AbstractModel
|
18967
19229
|
# @param ReviewResultSet: 图片审核任务结果。
|
19230
|
+
# <font color=red>注意:该字段已废弃,建议使用 ReviewResult。</font>
|
18968
19231
|
# @type ReviewResultSet: Array
|
19232
|
+
# @param MediaReviewResult: 图片审核任务结果。
|
19233
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19234
|
+
# @type MediaReviewResult: :class:`Tencentcloud::Vod.v20180717.models.ReviewImageResult`
|
18969
19235
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
18970
19236
|
# @type RequestId: String
|
18971
19237
|
|
18972
|
-
attr_accessor :ReviewResultSet, :RequestId
|
19238
|
+
attr_accessor :ReviewResultSet, :MediaReviewResult, :RequestId
|
18973
19239
|
|
18974
|
-
def initialize(reviewresultset=nil, requestid=nil)
|
19240
|
+
def initialize(reviewresultset=nil, mediareviewresult=nil, requestid=nil)
|
18975
19241
|
@ReviewResultSet = reviewresultset
|
19242
|
+
@MediaReviewResult = mediareviewresult
|
18976
19243
|
@RequestId = requestid
|
18977
19244
|
end
|
18978
19245
|
|
@@ -18985,10 +19252,212 @@ module TencentCloud
|
|
18985
19252
|
@ReviewResultSet << contentreviewresult_tmp
|
18986
19253
|
end
|
18987
19254
|
end
|
19255
|
+
unless params['MediaReviewResult'].nil?
|
19256
|
+
@MediaReviewResult = ReviewImageResult.new
|
19257
|
+
@MediaReviewResult.deserialize(params['MediaReviewResult'])
|
19258
|
+
end
|
18988
19259
|
@RequestId = params['RequestId']
|
18989
19260
|
end
|
18990
19261
|
end
|
18991
19262
|
|
19263
|
+
# 图片审核结果。
|
19264
|
+
class ReviewImageResult < TencentCloud::Common::AbstractModel
|
19265
|
+
# @param Suggestion: 图片审核的结果建议,取值范围:
|
19266
|
+
# <li>pass:建议通过;</li>
|
19267
|
+
# <li>review:建议复审;</li>
|
19268
|
+
# <li>block:建议封禁。</li>
|
19269
|
+
# @type Suggestion: String
|
19270
|
+
# @param Label: 当 Suggestion 为 review 或 block 时有效,表示最可能的违规的标签,取值范围:
|
19271
|
+
# <li>Porn:色情;</li>
|
19272
|
+
# <li>Terror:暴恐;</li>
|
19273
|
+
# <li>Polity:不适宜的信息;</li>
|
19274
|
+
# <li>Ad:广告;</li>
|
19275
|
+
# <li>Illegal:违法;</li>
|
19276
|
+
# <li>Religion:宗教;</li>
|
19277
|
+
# <li>Abuse:谩骂。</li>
|
19278
|
+
# @type Label: String
|
19279
|
+
# @param Form: 当 Suggestion 为 review 或 block 时有效,表示最可能的违禁的形式,取值范围:
|
19280
|
+
# <li>Image:画面上的人物或图标;</li>
|
19281
|
+
# <li>OCR:画面上的文字。</li>
|
19282
|
+
# @type Form: String
|
19283
|
+
# @param SegmentSet: 有违规信息的嫌疑的视频片段列表。
|
19284
|
+
# <font color=red>注意</font> :该列表最多仅展示前 10个 元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
|
19285
|
+
# @type SegmentSet: Array
|
19286
|
+
# @param SegmentSetFileUrl: 涉及违规信息的嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
|
19287
|
+
# @type SegmentSetFileUrl: String
|
19288
|
+
# @param SegmentSetFileUrlExpireTime: 涉及违规信息的嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
19289
|
+
# @type SegmentSetFileUrlExpireTime: String
|
19290
|
+
|
19291
|
+
attr_accessor :Suggestion, :Label, :Form, :SegmentSet, :SegmentSetFileUrl, :SegmentSetFileUrlExpireTime
|
19292
|
+
|
19293
|
+
def initialize(suggestion=nil, label=nil, form=nil, segmentset=nil, segmentsetfileurl=nil, segmentsetfileurlexpiretime=nil)
|
19294
|
+
@Suggestion = suggestion
|
19295
|
+
@Label = label
|
19296
|
+
@Form = form
|
19297
|
+
@SegmentSet = segmentset
|
19298
|
+
@SegmentSetFileUrl = segmentsetfileurl
|
19299
|
+
@SegmentSetFileUrlExpireTime = segmentsetfileurlexpiretime
|
19300
|
+
end
|
19301
|
+
|
19302
|
+
def deserialize(params)
|
19303
|
+
@Suggestion = params['Suggestion']
|
19304
|
+
@Label = params['Label']
|
19305
|
+
@Form = params['Form']
|
19306
|
+
unless params['SegmentSet'].nil?
|
19307
|
+
@SegmentSet = []
|
19308
|
+
params['SegmentSet'].each do |i|
|
19309
|
+
reviewimagesegmentitem_tmp = ReviewImageSegmentItem.new
|
19310
|
+
reviewimagesegmentitem_tmp.deserialize(i)
|
19311
|
+
@SegmentSet << reviewimagesegmentitem_tmp
|
19312
|
+
end
|
19313
|
+
end
|
19314
|
+
@SegmentSetFileUrl = params['SegmentSetFileUrl']
|
19315
|
+
@SegmentSetFileUrlExpireTime = params['SegmentSetFileUrlExpireTime']
|
19316
|
+
end
|
19317
|
+
end
|
19318
|
+
|
19319
|
+
# 图片审核片段。
|
19320
|
+
class ReviewImageSegmentItem < TencentCloud::Common::AbstractModel
|
19321
|
+
# @param Confidence: 嫌疑片段涉及令人反感的信息的分数。
|
19322
|
+
# @type Confidence: Float
|
19323
|
+
# @param Suggestion: 嫌疑片段鉴别涉及违规信息的结果建议,取值范围:
|
19324
|
+
# <li>review:疑似违规,建议复审;</li>
|
19325
|
+
# <li>block:确认违规,建议封禁。</li>
|
19326
|
+
# @type Suggestion: String
|
19327
|
+
# @param Label: 嫌疑片段最可能的违规的标签,取值范围:
|
19328
|
+
# <li>Porn:色情;</li>
|
19329
|
+
# <li>Terror:暴恐;</li>
|
19330
|
+
# <li>Polity:不适宜的信息;</li>
|
19331
|
+
# <li>Ad:广告;</li>
|
19332
|
+
# <li>Illegal:违法;</li>
|
19333
|
+
# <li>Religion:宗教;</li>
|
19334
|
+
# <li>Abuse:谩骂。</li>
|
19335
|
+
# @type Label: String
|
19336
|
+
# @param SubLabel: 违规子标签。
|
19337
|
+
# @type SubLabel: String
|
19338
|
+
# @param Form: 嫌疑片段违禁的形式,取值范围:
|
19339
|
+
# <li>Image:画面上的人物或图标;</li>
|
19340
|
+
# <li>OCR:画面上的文字。</li>
|
19341
|
+
# @type Form: String
|
19342
|
+
# @param AreaCoordSet: 嫌疑人物、图标或文字出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
|
19343
|
+
# @type AreaCoordSet: Array
|
19344
|
+
# @param Text: 当 Form 为 OCR 时有效,表示识别出来的 OCR 文本内容。
|
19345
|
+
# @type Text: String
|
19346
|
+
# @param KeywordSet: 当 Form 为 OCR 时有效,表示嫌疑片段命中的违规关键词列表。
|
19347
|
+
# @type KeywordSet: Array
|
19348
|
+
|
19349
|
+
attr_accessor :Confidence, :Suggestion, :Label, :SubLabel, :Form, :AreaCoordSet, :Text, :KeywordSet
|
19350
|
+
|
19351
|
+
def initialize(confidence=nil, suggestion=nil, label=nil, sublabel=nil, form=nil, areacoordset=nil, text=nil, keywordset=nil)
|
19352
|
+
@Confidence = confidence
|
19353
|
+
@Suggestion = suggestion
|
19354
|
+
@Label = label
|
19355
|
+
@SubLabel = sublabel
|
19356
|
+
@Form = form
|
19357
|
+
@AreaCoordSet = areacoordset
|
19358
|
+
@Text = text
|
19359
|
+
@KeywordSet = keywordset
|
19360
|
+
end
|
19361
|
+
|
19362
|
+
def deserialize(params)
|
19363
|
+
@Confidence = params['Confidence']
|
19364
|
+
@Suggestion = params['Suggestion']
|
19365
|
+
@Label = params['Label']
|
19366
|
+
@SubLabel = params['SubLabel']
|
19367
|
+
@Form = params['Form']
|
19368
|
+
@AreaCoordSet = params['AreaCoordSet']
|
19369
|
+
@Text = params['Text']
|
19370
|
+
@KeywordSet = params['KeywordSet']
|
19371
|
+
end
|
19372
|
+
end
|
19373
|
+
|
19374
|
+
# 审核信息。
|
19375
|
+
class ReviewInfo < TencentCloud::Common::AbstractModel
|
19376
|
+
# @param Definition: 审核模板 ID。
|
19377
|
+
# @type Definition: Integer
|
19378
|
+
# @param Suggestion: 审核的结果建议,取值范围:
|
19379
|
+
# <li>pass:建议通过;</li>
|
19380
|
+
# <li>review:建议复审;</li>
|
19381
|
+
# <li>block:建议封禁。</li>
|
19382
|
+
# @type Suggestion: String
|
19383
|
+
# @param TypeSet: 审核类型,当 Suggestion 为 review 或 block 时有效,格式为:Form.Label。
|
19384
|
+
# Form 表示违禁的形式,取值范围:
|
19385
|
+
# <li>Image:画面上的人物或图标;</li>
|
19386
|
+
# <li>OCR:画面上的文字;</li>
|
19387
|
+
# <li>ASR:语音中的文字;</li>
|
19388
|
+
# <li>Voice:声音。</li>
|
19389
|
+
# Label 表示违禁的标签,取值范围:
|
19390
|
+
# <li>Porn:色情;</li>
|
19391
|
+
# <li>Terror:暴恐;</li>
|
19392
|
+
# <li>Polity:不适宜的信息;</li>
|
19393
|
+
# <li>Ad:广告;</li>
|
19394
|
+
# <li>Illegal:违法;</li>
|
19395
|
+
# <li>Religion:宗教;</li>
|
19396
|
+
# <li>Abuse:谩骂;</li>
|
19397
|
+
# <li>Moan:娇喘。</li>
|
19398
|
+
# @type TypeSet: Array
|
19399
|
+
# @param ReviewTime: 审核时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
19400
|
+
# @type ReviewTime: String
|
19401
|
+
|
19402
|
+
attr_accessor :Definition, :Suggestion, :TypeSet, :ReviewTime
|
19403
|
+
|
19404
|
+
def initialize(definition=nil, suggestion=nil, typeset=nil, reviewtime=nil)
|
19405
|
+
@Definition = definition
|
19406
|
+
@Suggestion = suggestion
|
19407
|
+
@TypeSet = typeset
|
19408
|
+
@ReviewTime = reviewtime
|
19409
|
+
end
|
19410
|
+
|
19411
|
+
def deserialize(params)
|
19412
|
+
@Definition = params['Definition']
|
19413
|
+
@Suggestion = params['Suggestion']
|
19414
|
+
@TypeSet = params['TypeSet']
|
19415
|
+
@ReviewTime = params['ReviewTime']
|
19416
|
+
end
|
19417
|
+
end
|
19418
|
+
|
19419
|
+
# 审核模版详情
|
19420
|
+
class ReviewTemplate < TencentCloud::Common::AbstractModel
|
19421
|
+
# @param Definition: 审核模版唯一标签。
|
19422
|
+
# @type Definition: Integer
|
19423
|
+
# @param Name: 模板名称。
|
19424
|
+
# @type Name: String
|
19425
|
+
# @param Comment: 模板描述信息。
|
19426
|
+
# @type Comment: String
|
19427
|
+
# @param Type: 模板类型,可选值:
|
19428
|
+
# <li>Preset:系统预置模板;</li>
|
19429
|
+
# <li>Custom:用户自定义模板。</li>
|
19430
|
+
# @type Type: String
|
19431
|
+
# @param Labels: 需要返回的违规标签列表。
|
19432
|
+
# @type Labels: Array
|
19433
|
+
# @param CreateTime: 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
19434
|
+
# @type CreateTime: String
|
19435
|
+
# @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
19436
|
+
# @type UpdateTime: String
|
19437
|
+
|
19438
|
+
attr_accessor :Definition, :Name, :Comment, :Type, :Labels, :CreateTime, :UpdateTime
|
19439
|
+
|
19440
|
+
def initialize(definition=nil, name=nil, comment=nil, type=nil, labels=nil, createtime=nil, updatetime=nil)
|
19441
|
+
@Definition = definition
|
19442
|
+
@Name = name
|
19443
|
+
@Comment = comment
|
19444
|
+
@Type = type
|
19445
|
+
@Labels = labels
|
19446
|
+
@CreateTime = createtime
|
19447
|
+
@UpdateTime = updatetime
|
19448
|
+
end
|
19449
|
+
|
19450
|
+
def deserialize(params)
|
19451
|
+
@Definition = params['Definition']
|
19452
|
+
@Name = params['Name']
|
19453
|
+
@Comment = params['Comment']
|
19454
|
+
@Type = params['Type']
|
19455
|
+
@Labels = params['Labels']
|
19456
|
+
@CreateTime = params['CreateTime']
|
19457
|
+
@UpdateTime = params['UpdateTime']
|
19458
|
+
end
|
19459
|
+
end
|
19460
|
+
|
18992
19461
|
# 华曦达(SDMC)相关的 DRM 密钥提供商信息。
|
18993
19462
|
class SDMCDrmKeyProviderInfo < TencentCloud::Common::AbstractModel
|
18994
19463
|
# @param Uid: 华曦达分配的用户 ID。最大长度为128个字符。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-vod
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.478
|
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-12-
|
11
|
+
date: 2022-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|