tencentcloud-sdk-mps 3.0.1173 → 3.0.1174
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/v20190612/client.rb +26 -0
- data/lib/v20190612/models.rb +260 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7ea9f9c7e403a9665490e46fbab83a1bd9f7a529
|
|
4
|
+
data.tar.gz: fc8e84941146fd3c20e36ac262559d728fad3e70
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f914f241f68f06cfdef91f259d277a76068710f9960c10a39fdc3d67f17b7c8d60512ade29189030df7e0a413eec8c6d1c47122628020650c29c8abbe062bff4
|
|
7
|
+
data.tar.gz: a5b3bda3c2208588fb77d2395c59a7f6a41d123856489ec90042d1fd17ca7622dbbc257e3333d5eca2e4f47e649e9411f6ffde0e03e50543db9a9f8a01a299dc
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1174
|
data/lib/v20190612/client.rb
CHANGED
|
@@ -2367,6 +2367,32 @@ module TencentCloud
|
|
|
2367
2367
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2368
2368
|
end
|
|
2369
2369
|
|
|
2370
|
+
# 该接口返回查询时间范围内每天使用的媒体处理用量信息。
|
|
2371
|
+
# 1. 可以查询最近365天内的媒体处理统计数据。
|
|
2372
|
+
# 2. 查询时间跨度不超过90天。
|
|
2373
|
+
|
|
2374
|
+
# @param request: Request instance for DescribeUsageData.
|
|
2375
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::DescribeUsageDataRequest`
|
|
2376
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::DescribeUsageDataResponse`
|
|
2377
|
+
def DescribeUsageData(request)
|
|
2378
|
+
body = send_request('DescribeUsageData', request.serialize)
|
|
2379
|
+
response = JSON.parse(body)
|
|
2380
|
+
if response['Response'].key?('Error') == false
|
|
2381
|
+
model = DescribeUsageDataResponse.new
|
|
2382
|
+
model.deserialize(response['Response'])
|
|
2383
|
+
model
|
|
2384
|
+
else
|
|
2385
|
+
code = response['Response']['Error']['Code']
|
|
2386
|
+
message = response['Response']['Error']['Message']
|
|
2387
|
+
reqid = response['Response']['RequestId']
|
|
2388
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2389
|
+
end
|
|
2390
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2391
|
+
raise e
|
|
2392
|
+
rescue StandardError => e
|
|
2393
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2394
|
+
end
|
|
2395
|
+
|
|
2370
2396
|
# 根据任务ID查询视频入库任务的状态。
|
|
2371
2397
|
|
|
2372
2398
|
# @param request: Request instance for DescribeVideoDatabaseEntryTaskDetail.
|
data/lib/v20190612/models.rb
CHANGED
|
@@ -14053,6 +14053,90 @@ module TencentCloud
|
|
|
14053
14053
|
end
|
|
14054
14054
|
end
|
|
14055
14055
|
|
|
14056
|
+
# DescribeUsageData请求参数结构体
|
|
14057
|
+
class DescribeUsageDataRequest < TencentCloud::Common::AbstractModel
|
|
14058
|
+
# @param StartTime: 起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。
|
|
14059
|
+
# @type StartTime: String
|
|
14060
|
+
# @param EndTime: 结束日期,需大于等于起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。
|
|
14061
|
+
# @type EndTime: String
|
|
14062
|
+
# @param Types: 查询媒体处理任务类型,默认查询转码。
|
|
14063
|
+
# <li>Transcode:转码</li>
|
|
14064
|
+
# <li>Enhance:增强</li>
|
|
14065
|
+
# <li>AIAnalysis:智能分析</li>
|
|
14066
|
+
# <li>AIRecognition:智能识别</li>
|
|
14067
|
+
# <li>AIReview:内容审核</li>
|
|
14068
|
+
# <li>Snapshot:截图</li>
|
|
14069
|
+
# <li>AnimatedGraphics:转动图</li>
|
|
14070
|
+
# <li>AiQualityControl:质检</li>
|
|
14071
|
+
# <li>Evaluation:视频评测</li>
|
|
14072
|
+
# <li>ImageProcess: 图片处理</li>
|
|
14073
|
+
# <li>AddBlindWatermark: 添加基础版权数字水印</li>
|
|
14074
|
+
# <li>AddNagraWatermark: 添加NAGRA数字水印</li>
|
|
14075
|
+
# <li>ExtractBlindWatermark: 提取基础版权数字水印</li>
|
|
14076
|
+
# @type Types: Array
|
|
14077
|
+
# @param ProcessRegions: 媒体处理园区,默认返回 ap-guangzhou 园区。
|
|
14078
|
+
# <li>ap-guangzhou:广州</li>
|
|
14079
|
+
# <li>ap-hongkong:中国香港</li>
|
|
14080
|
+
# <li>ap-taipei:中国台北</li>
|
|
14081
|
+
# <li>ap-singapore:新加坡</li>
|
|
14082
|
+
# <li>ap-mumbai:印度</li>
|
|
14083
|
+
# <li>ap-jakarta:雅加达</li>
|
|
14084
|
+
# <li>ap-seoul:首尔</li>
|
|
14085
|
+
# <li>ap-bangkok:泰国</li>
|
|
14086
|
+
# <li>ap-tokyo:日本</li>
|
|
14087
|
+
# <li>na-siliconvalley:美国硅谷</li>
|
|
14088
|
+
# <li>na-ashburn:弗吉尼亚</li>
|
|
14089
|
+
# <li>na-toronto:多伦多</li>
|
|
14090
|
+
# <li>sa-saopaulo:圣保罗</li>
|
|
14091
|
+
# <li>eu-frankfurt:法兰克福</li>
|
|
14092
|
+
# <li>eu-moscow:俄罗斯</li>
|
|
14093
|
+
# <li>aws:AWS</li>
|
|
14094
|
+
# @type ProcessRegions: Array
|
|
14095
|
+
|
|
14096
|
+
attr_accessor :StartTime, :EndTime, :Types, :ProcessRegions
|
|
14097
|
+
|
|
14098
|
+
def initialize(starttime=nil, endtime=nil, types=nil, processregions=nil)
|
|
14099
|
+
@StartTime = starttime
|
|
14100
|
+
@EndTime = endtime
|
|
14101
|
+
@Types = types
|
|
14102
|
+
@ProcessRegions = processregions
|
|
14103
|
+
end
|
|
14104
|
+
|
|
14105
|
+
def deserialize(params)
|
|
14106
|
+
@StartTime = params['StartTime']
|
|
14107
|
+
@EndTime = params['EndTime']
|
|
14108
|
+
@Types = params['Types']
|
|
14109
|
+
@ProcessRegions = params['ProcessRegions']
|
|
14110
|
+
end
|
|
14111
|
+
end
|
|
14112
|
+
|
|
14113
|
+
# DescribeUsageData返回参数结构体
|
|
14114
|
+
class DescribeUsageDataResponse < TencentCloud::Common::AbstractModel
|
|
14115
|
+
# @param Data: 媒体处理统计数据概览,展示所查询任务的概览以及详细数据。
|
|
14116
|
+
# @type Data: Array
|
|
14117
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14118
|
+
# @type RequestId: String
|
|
14119
|
+
|
|
14120
|
+
attr_accessor :Data, :RequestId
|
|
14121
|
+
|
|
14122
|
+
def initialize(data=nil, requestid=nil)
|
|
14123
|
+
@Data = data
|
|
14124
|
+
@RequestId = requestid
|
|
14125
|
+
end
|
|
14126
|
+
|
|
14127
|
+
def deserialize(params)
|
|
14128
|
+
unless params['Data'].nil?
|
|
14129
|
+
@Data = []
|
|
14130
|
+
params['Data'].each do |i|
|
|
14131
|
+
taskstatdata_tmp = TaskStatData.new
|
|
14132
|
+
taskstatdata_tmp.deserialize(i)
|
|
14133
|
+
@Data << taskstatdata_tmp
|
|
14134
|
+
end
|
|
14135
|
+
end
|
|
14136
|
+
@RequestId = params['RequestId']
|
|
14137
|
+
end
|
|
14138
|
+
end
|
|
14139
|
+
|
|
14056
14140
|
# DescribeVideoDatabaseEntryTaskDetail请求参数结构体
|
|
14057
14141
|
class DescribeVideoDatabaseEntryTaskDetailRequest < TencentCloud::Common::AbstractModel
|
|
14058
14142
|
# @param TaskId: 待查询的任务Id
|
|
@@ -26594,6 +26678,33 @@ module TencentCloud
|
|
|
26594
26678
|
end
|
|
26595
26679
|
end
|
|
26596
26680
|
|
|
26681
|
+
# 指定规格任务统计数据。
|
|
26682
|
+
class SpecificationDataItem < TencentCloud::Common::AbstractModel
|
|
26683
|
+
# @param Specification: 任务规格。
|
|
26684
|
+
# @type Specification: String
|
|
26685
|
+
# @param Data: 统计数据。
|
|
26686
|
+
# @type Data: Array
|
|
26687
|
+
|
|
26688
|
+
attr_accessor :Specification, :Data
|
|
26689
|
+
|
|
26690
|
+
def initialize(specification=nil, data=nil)
|
|
26691
|
+
@Specification = specification
|
|
26692
|
+
@Data = data
|
|
26693
|
+
end
|
|
26694
|
+
|
|
26695
|
+
def deserialize(params)
|
|
26696
|
+
@Specification = params['Specification']
|
|
26697
|
+
unless params['Data'].nil?
|
|
26698
|
+
@Data = []
|
|
26699
|
+
params['Data'].each do |i|
|
|
26700
|
+
taskstatdataitem_tmp = TaskStatDataItem.new
|
|
26701
|
+
taskstatdataitem_tmp.deserialize(i)
|
|
26702
|
+
@Data << taskstatdataitem_tmp
|
|
26703
|
+
end
|
|
26704
|
+
end
|
|
26705
|
+
end
|
|
26706
|
+
end
|
|
26707
|
+
|
|
26597
26708
|
# FairPlay,WideVine,PlayReady 等Drm加密方式。
|
|
26598
26709
|
class SpekeDrm < TencentCloud::Common::AbstractModel
|
|
26599
26710
|
# @param ResourceId: 资源标记,该字段内容为用户自定义;
|
|
@@ -27329,6 +27440,155 @@ module TencentCloud
|
|
|
27329
27440
|
end
|
|
27330
27441
|
end
|
|
27331
27442
|
|
|
27443
|
+
# 任务统计数据。
|
|
27444
|
+
class TaskStatData < TencentCloud::Common::AbstractModel
|
|
27445
|
+
# @param TaskType: 任务类型。
|
|
27446
|
+
# <li>Transcode: 转码</li>
|
|
27447
|
+
# <li>Enhance: 增强</li>
|
|
27448
|
+
# <li>AIAnalysis: 智能分析</li>
|
|
27449
|
+
# <li>AIRecognition: 智能识别</li>
|
|
27450
|
+
# <li>AIReview: 内容审核</li>
|
|
27451
|
+
# <li>Snapshot: 截图</li>
|
|
27452
|
+
# <li>AnimatedGraphics: 转动图</li>
|
|
27453
|
+
# <li>ImageProcess: 图片处理</li>
|
|
27454
|
+
# @type TaskType: String
|
|
27455
|
+
# @param Summary: 任务数统计数据概览。
|
|
27456
|
+
# <li>Transcode:用量单位为秒</li>
|
|
27457
|
+
# <li>Enhance:用量单位为秒</li>
|
|
27458
|
+
# <li>AIAnalysis:用量单位为秒</li>
|
|
27459
|
+
# <li>AIRecognition:用量单位为秒</li>
|
|
27460
|
+
# <li>AIReview:用量单位为秒</li>
|
|
27461
|
+
# <li>Snapshot:用量单位为张</li>
|
|
27462
|
+
# <li>AnimatedGraphics: 用量单位为秒</li>
|
|
27463
|
+
# <li>ImageProcess: 用量单位为张</li>
|
|
27464
|
+
# @type Summary: Array
|
|
27465
|
+
# @param Details: 不同规格任务统计数据详情。
|
|
27466
|
+
|
|
27467
|
+
# 1、转码规格:
|
|
27468
|
+
# <li>Audio:纯音频</li>
|
|
27469
|
+
# <li>Remuxing:转封装</li>
|
|
27470
|
+
# <li>其他转码规格:{TYPE}.{CODEC}.{SPECIFICATION}</li> 其中 TYPE 取值
|
|
27471
|
+
# Standard:普通转码
|
|
27472
|
+
# TESHD-10:视频极速高清
|
|
27473
|
+
# TESHD-20:音频极速高清
|
|
27474
|
+
# TESHD-30:音视频极速高清
|
|
27475
|
+
# TESHD-30-SDK:音视频极速高清SDK按时长计费
|
|
27476
|
+
# TESHD-30-SDKCores:音视频极速高清SDK按核心数计费
|
|
27477
|
+
# Edit:视频编辑
|
|
27478
|
+
# 其中 CODEC 取值
|
|
27479
|
+
# H264:H.264 编码
|
|
27480
|
+
# H265:H.265 编码
|
|
27481
|
+
# AV1:AV1 编码
|
|
27482
|
+
# MV-HEVC:MV-HEVC 编码
|
|
27483
|
+
# 其中 SPECIFICATION 取值
|
|
27484
|
+
# SD:标清
|
|
27485
|
+
# HD:高清
|
|
27486
|
+
# FHD:全高清
|
|
27487
|
+
# 2K:2K
|
|
27488
|
+
# 4K:4K
|
|
27489
|
+
# 例如 TESHD-10.H265.HD 表示 H.265 编码方式高清极速高清转码
|
|
27490
|
+
|
|
27491
|
+
# 2、增强规格:视频增强格式:{TYPE}.{CODEC}.{SPECIFICATION}.{FPS},其中 CODEC 和 SPECIFICATION 同转码,FPS在原子类型时才存在;音频增强格式:{TYPE}。
|
|
27492
|
+
# 增强TYPE 取值:
|
|
27493
|
+
# <li>Enhance:通用增强类型,可能是任意一种原子增强类型</li>
|
|
27494
|
+
# <li>原子增强类型</li> 视频原子增强类型取值:
|
|
27495
|
+
# Sdr2hdr:SDR2HDR
|
|
27496
|
+
# SuperResolution:超分
|
|
27497
|
+
# InsertFrame:插帧
|
|
27498
|
+
# ComprehensiveEnhancement:综合增强
|
|
27499
|
+
# NoiseReduction:视频降噪
|
|
27500
|
+
# ColorEnhancement:色彩增强
|
|
27501
|
+
# RemoveScratches:去划痕
|
|
27502
|
+
# Deburr:去毛刺
|
|
27503
|
+
# DetailEnhancement:细节增强
|
|
27504
|
+
# LightEnhancement:低光照增强
|
|
27505
|
+
# FaceEnhancement:人脸增强
|
|
27506
|
+
# 音频原子增强类型取值:
|
|
27507
|
+
# AudioNoiseReduction
|
|
27508
|
+
# VolumeBalance
|
|
27509
|
+
# AudioBeautify
|
|
27510
|
+
# AudioSeparation
|
|
27511
|
+
|
|
27512
|
+
# 3、截图规格:
|
|
27513
|
+
# <li>ImageSprite:雪碧图</li>
|
|
27514
|
+
# <li>SampleSnapshot:采样截图</li>
|
|
27515
|
+
# <li>SnapshotByTime:时间点截图</li>
|
|
27516
|
+
# 4、图片处理规格:{TYPE}.{CODEC}.{SPECIFICATION}
|
|
27517
|
+
# <li> ImageCompression:图片编码</li>
|
|
27518
|
+
# <li> ImageSuperResolution:图片超分</li>
|
|
27519
|
+
# <li> EnhanceImageColor:图片色彩增强</li>
|
|
27520
|
+
# 5、智能分析规格:
|
|
27521
|
+
# <li>AIAnalysis:分析大类,对于未拆分的</li>
|
|
27522
|
+
# <li>VideoTag:视频标签</li>
|
|
27523
|
+
# <li>VideoClassification:视频分类</li>
|
|
27524
|
+
# <li>SmartCover:智能封面</li>
|
|
27525
|
+
# <li>FrameLabel:帧标签</li>
|
|
27526
|
+
# <li>VideoSplit:视频拆条</li>
|
|
27527
|
+
# <li>Highlights:精彩集锦</li>
|
|
27528
|
+
# <li>OpeningAndEnding:片头片尾</li>
|
|
27529
|
+
# 6、智能识别规格:
|
|
27530
|
+
# <li>AIRecognition:识别大类,对于未拆分的</li>
|
|
27531
|
+
# <li>FaceRecognition:人脸识别</li>
|
|
27532
|
+
# <li>TextRecognition:文字识别</li>
|
|
27533
|
+
# <li>ObjectRecognition:物体识别</li>
|
|
27534
|
+
# <li>VoiceRecognition:语音识别</li>
|
|
27535
|
+
# <li>VoiceTranslation:语音翻译</li>
|
|
27536
|
+
# 7、内容审核、转动图无细分规格。
|
|
27537
|
+
# @type Details: Array
|
|
27538
|
+
|
|
27539
|
+
attr_accessor :TaskType, :Summary, :Details
|
|
27540
|
+
|
|
27541
|
+
def initialize(tasktype=nil, summary=nil, details=nil)
|
|
27542
|
+
@TaskType = tasktype
|
|
27543
|
+
@Summary = summary
|
|
27544
|
+
@Details = details
|
|
27545
|
+
end
|
|
27546
|
+
|
|
27547
|
+
def deserialize(params)
|
|
27548
|
+
@TaskType = params['TaskType']
|
|
27549
|
+
unless params['Summary'].nil?
|
|
27550
|
+
@Summary = []
|
|
27551
|
+
params['Summary'].each do |i|
|
|
27552
|
+
taskstatdataitem_tmp = TaskStatDataItem.new
|
|
27553
|
+
taskstatdataitem_tmp.deserialize(i)
|
|
27554
|
+
@Summary << taskstatdataitem_tmp
|
|
27555
|
+
end
|
|
27556
|
+
end
|
|
27557
|
+
unless params['Details'].nil?
|
|
27558
|
+
@Details = []
|
|
27559
|
+
params['Details'].each do |i|
|
|
27560
|
+
specificationdataitem_tmp = SpecificationDataItem.new
|
|
27561
|
+
specificationdataitem_tmp.deserialize(i)
|
|
27562
|
+
@Details << specificationdataitem_tmp
|
|
27563
|
+
end
|
|
27564
|
+
end
|
|
27565
|
+
end
|
|
27566
|
+
end
|
|
27567
|
+
|
|
27568
|
+
# 任务统计数据,包括任务数和用量。
|
|
27569
|
+
class TaskStatDataItem < TencentCloud::Common::AbstractModel
|
|
27570
|
+
# @param Time: 数据所在时间区间的开始时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。如:当时间粒度为天,2018-12-01T00:00:00+08:00,表示2018年12月1日(含)到2018年12月2日(不含)区间。
|
|
27571
|
+
# @type Time: String
|
|
27572
|
+
# @param Count: 任务数。
|
|
27573
|
+
# @type Count: Integer
|
|
27574
|
+
# @param Usage: 任务用量。
|
|
27575
|
+
# @type Usage: Integer
|
|
27576
|
+
|
|
27577
|
+
attr_accessor :Time, :Count, :Usage
|
|
27578
|
+
|
|
27579
|
+
def initialize(time=nil, count=nil, usage=nil)
|
|
27580
|
+
@Time = time
|
|
27581
|
+
@Count = count
|
|
27582
|
+
@Usage = usage
|
|
27583
|
+
end
|
|
27584
|
+
|
|
27585
|
+
def deserialize(params)
|
|
27586
|
+
@Time = params['Time']
|
|
27587
|
+
@Count = params['Count']
|
|
27588
|
+
@Usage = params['Usage']
|
|
27589
|
+
end
|
|
27590
|
+
end
|
|
27591
|
+
|
|
27332
27592
|
# 涉敏任务控制参数
|
|
27333
27593
|
class TerrorismConfigureInfo < TencentCloud::Common::AbstractModel
|
|
27334
27594
|
# @param ImgReviewInfo: 画面涉敏任务控制参数。
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-mps
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1174
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -34,8 +34,8 @@ extensions: []
|
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
36
|
- lib/tencentcloud-sdk-mps.rb
|
|
37
|
-
- lib/v20190612/client.rb
|
|
38
37
|
- lib/v20190612/models.rb
|
|
38
|
+
- lib/v20190612/client.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|