tencentcloud-sdk-vod 3.0.597 → 3.0.598
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/v20180717/client.rb +120 -0
- data/lib/v20180717/models.rb +1132 -15
- 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: 4b53d5480426fb5f8f9d88fffa6cd151d0ebf048
|
|
4
|
+
data.tar.gz: 34f05a354bacd8ff9812c4838d41f3f570f7e9a1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 07df22a85a862d56f7e27d43b2a41854d01f4619363e6c493d89467531fb143bfec6b61305de678de6f32c5e162264581024c3bdc3e3952f433ba3d3f3f2de78
|
|
7
|
+
data.tar.gz: 692c9e7d3a3551eef00e2877ecc4acde19c7f60f5a86e1d773c7bd7c99a000f824ca1110a255ea7911d2c4b4c0828924077a1a35a17484fb1938a1f6233afa58
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.598
|
data/lib/v20180717/client.rb
CHANGED
|
@@ -456,6 +456,30 @@ module TencentCloud
|
|
|
456
456
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
457
457
|
end
|
|
458
458
|
|
|
459
|
+
# 创建音画质检测模板。
|
|
460
|
+
|
|
461
|
+
# @param request: Request instance for CreateQualityInspectTemplate.
|
|
462
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::CreateQualityInspectTemplateRequest`
|
|
463
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::CreateQualityInspectTemplateResponse`
|
|
464
|
+
def CreateQualityInspectTemplate(request)
|
|
465
|
+
body = send_request('CreateQualityInspectTemplate', request.serialize)
|
|
466
|
+
response = JSON.parse(body)
|
|
467
|
+
if response['Response'].key?('Error') == false
|
|
468
|
+
model = CreateQualityInspectTemplateResponse.new
|
|
469
|
+
model.deserialize(response['Response'])
|
|
470
|
+
model
|
|
471
|
+
else
|
|
472
|
+
code = response['Response']['Error']['Code']
|
|
473
|
+
message = response['Response']['Error']['Message']
|
|
474
|
+
reqid = response['Response']['RequestId']
|
|
475
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
476
|
+
end
|
|
477
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
478
|
+
raise e
|
|
479
|
+
rescue StandardError => e
|
|
480
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
481
|
+
end
|
|
482
|
+
|
|
459
483
|
# 创建音画质重生模板。
|
|
460
484
|
|
|
461
485
|
# @param request: Request instance for CreateRebuildMediaTemplate.
|
|
@@ -1069,6 +1093,30 @@ module TencentCloud
|
|
|
1069
1093
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1070
1094
|
end
|
|
1071
1095
|
|
|
1096
|
+
# 删除音画质检测模板。
|
|
1097
|
+
|
|
1098
|
+
# @param request: Request instance for DeleteQualityInspectTemplate.
|
|
1099
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DeleteQualityInspectTemplateRequest`
|
|
1100
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DeleteQualityInspectTemplateResponse`
|
|
1101
|
+
def DeleteQualityInspectTemplate(request)
|
|
1102
|
+
body = send_request('DeleteQualityInspectTemplate', request.serialize)
|
|
1103
|
+
response = JSON.parse(body)
|
|
1104
|
+
if response['Response'].key?('Error') == false
|
|
1105
|
+
model = DeleteQualityInspectTemplateResponse.new
|
|
1106
|
+
model.deserialize(response['Response'])
|
|
1107
|
+
model
|
|
1108
|
+
else
|
|
1109
|
+
code = response['Response']['Error']['Code']
|
|
1110
|
+
message = response['Response']['Error']['Message']
|
|
1111
|
+
reqid = response['Response']['RequestId']
|
|
1112
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1113
|
+
end
|
|
1114
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1115
|
+
raise e
|
|
1116
|
+
rescue StandardError => e
|
|
1117
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1118
|
+
end
|
|
1119
|
+
|
|
1072
1120
|
# 删除音画质重生模板。
|
|
1073
1121
|
|
|
1074
1122
|
# @param request: Request instance for DeleteRebuildMediaTemplate.
|
|
@@ -2093,6 +2141,30 @@ module TencentCloud
|
|
|
2093
2141
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2094
2142
|
end
|
|
2095
2143
|
|
|
2144
|
+
# 获取音画质检测模板列表。
|
|
2145
|
+
|
|
2146
|
+
# @param request: Request instance for DescribeQualityInspectTemplates.
|
|
2147
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DescribeQualityInspectTemplatesRequest`
|
|
2148
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DescribeQualityInspectTemplatesResponse`
|
|
2149
|
+
def DescribeQualityInspectTemplates(request)
|
|
2150
|
+
body = send_request('DescribeQualityInspectTemplates', request.serialize)
|
|
2151
|
+
response = JSON.parse(body)
|
|
2152
|
+
if response['Response'].key?('Error') == false
|
|
2153
|
+
model = DescribeQualityInspectTemplatesResponse.new
|
|
2154
|
+
model.deserialize(response['Response'])
|
|
2155
|
+
model
|
|
2156
|
+
else
|
|
2157
|
+
code = response['Response']['Error']['Code']
|
|
2158
|
+
message = response['Response']['Error']['Message']
|
|
2159
|
+
reqid = response['Response']['RequestId']
|
|
2160
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2161
|
+
end
|
|
2162
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2163
|
+
raise e
|
|
2164
|
+
rescue StandardError => e
|
|
2165
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2166
|
+
end
|
|
2167
|
+
|
|
2096
2168
|
# 获取音画质重生模板列表。
|
|
2097
2169
|
|
|
2098
2170
|
# @param request: Request instance for DescribeRebuildMediaTemplates.
|
|
@@ -2675,6 +2747,30 @@ module TencentCloud
|
|
|
2675
2747
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2676
2748
|
end
|
|
2677
2749
|
|
|
2750
|
+
# 对点播中的音视频媒体发起音画质检测任务。
|
|
2751
|
+
|
|
2752
|
+
# @param request: Request instance for InspectMediaQuality.
|
|
2753
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::InspectMediaQualityRequest`
|
|
2754
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::InspectMediaQualityResponse`
|
|
2755
|
+
def InspectMediaQuality(request)
|
|
2756
|
+
body = send_request('InspectMediaQuality', request.serialize)
|
|
2757
|
+
response = JSON.parse(body)
|
|
2758
|
+
if response['Response'].key?('Error') == false
|
|
2759
|
+
model = InspectMediaQualityResponse.new
|
|
2760
|
+
model.deserialize(response['Response'])
|
|
2761
|
+
model
|
|
2762
|
+
else
|
|
2763
|
+
code = response['Response']['Error']['Code']
|
|
2764
|
+
message = response['Response']['Error']['Message']
|
|
2765
|
+
reqid = response['Response']['RequestId']
|
|
2766
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2767
|
+
end
|
|
2768
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2769
|
+
raise e
|
|
2770
|
+
rescue StandardError => e
|
|
2771
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2772
|
+
end
|
|
2773
|
+
|
|
2678
2774
|
# 直播即时剪辑,是指在直播过程中(即直播尚未结束时),客户可以在过往直播内容中选择一段,实时生成一个新的视频(HLS 格式),开发者可以将其立即分享出去,或者长久保存起来。
|
|
2679
2775
|
|
|
2680
2776
|
# 腾讯云点播支持两种即时剪辑模式:
|
|
@@ -3102,6 +3198,30 @@ module TencentCloud
|
|
|
3102
3198
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3103
3199
|
end
|
|
3104
3200
|
|
|
3201
|
+
# 修改音画质检测模板。
|
|
3202
|
+
|
|
3203
|
+
# @param request: Request instance for ModifyQualityInspectTemplate.
|
|
3204
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::ModifyQualityInspectTemplateRequest`
|
|
3205
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::ModifyQualityInspectTemplateResponse`
|
|
3206
|
+
def ModifyQualityInspectTemplate(request)
|
|
3207
|
+
body = send_request('ModifyQualityInspectTemplate', request.serialize)
|
|
3208
|
+
response = JSON.parse(body)
|
|
3209
|
+
if response['Response'].key?('Error') == false
|
|
3210
|
+
model = ModifyQualityInspectTemplateResponse.new
|
|
3211
|
+
model.deserialize(response['Response'])
|
|
3212
|
+
model
|
|
3213
|
+
else
|
|
3214
|
+
code = response['Response']['Error']['Code']
|
|
3215
|
+
message = response['Response']['Error']['Message']
|
|
3216
|
+
reqid = response['Response']['RequestId']
|
|
3217
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
3218
|
+
end
|
|
3219
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
3220
|
+
raise e
|
|
3221
|
+
rescue StandardError => e
|
|
3222
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3223
|
+
end
|
|
3224
|
+
|
|
3105
3225
|
# 修改音画质重生模板。
|
|
3106
3226
|
|
|
3107
3227
|
# @param request: Request instance for ModifyRebuildMediaTemplate.
|