tencentcloud-sdk-vod 3.0.742 → 3.0.744
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 +168 -0
- data/lib/v20180717/models.rb +442 -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: 58da193a59505a25122c44f79fdf3db1e52c04ba
|
|
4
|
+
data.tar.gz: a213fe6fa1226ede6d0964912f6a46ce0e35bac2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b04ada545fa424ecc513943e14a757f64fb1ba4e5c75f21748e13a66774e1de4aab2c993accb20a9fc7223d0cfeebe2ba031a25e8ff33d4aa5ac1a117c3b4e21
|
|
7
|
+
data.tar.gz: 818627fe1b81e8d0ba8dc983e61a75a001e4927808cdd7d91a18fb2e28582542b86882a69db64f2006046988f23417cb9005d9c29652d5b19aa8addfe0c9558a
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.744
|
data/lib/v20180717/client.rb
CHANGED
|
@@ -260,6 +260,54 @@ module TencentCloud
|
|
|
260
260
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
261
261
|
end
|
|
262
262
|
|
|
263
|
+
# 由 VOD 创建新的日志集。
|
|
264
|
+
|
|
265
|
+
# @param request: Request instance for CreateCLSLogset.
|
|
266
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::CreateCLSLogsetRequest`
|
|
267
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::CreateCLSLogsetResponse`
|
|
268
|
+
def CreateCLSLogset(request)
|
|
269
|
+
body = send_request('CreateCLSLogset', request.serialize)
|
|
270
|
+
response = JSON.parse(body)
|
|
271
|
+
if response['Response'].key?('Error') == false
|
|
272
|
+
model = CreateCLSLogsetResponse.new
|
|
273
|
+
model.deserialize(response['Response'])
|
|
274
|
+
model
|
|
275
|
+
else
|
|
276
|
+
code = response['Response']['Error']['Code']
|
|
277
|
+
message = response['Response']['Error']['Message']
|
|
278
|
+
reqid = response['Response']['RequestId']
|
|
279
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
280
|
+
end
|
|
281
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
282
|
+
raise e
|
|
283
|
+
rescue StandardError => e
|
|
284
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
# 创建 VOD 下新的 CLS 日志主题
|
|
288
|
+
|
|
289
|
+
# @param request: Request instance for CreateCLSTopic.
|
|
290
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::CreateCLSTopicRequest`
|
|
291
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::CreateCLSTopicResponse`
|
|
292
|
+
def CreateCLSTopic(request)
|
|
293
|
+
body = send_request('CreateCLSTopic', request.serialize)
|
|
294
|
+
response = JSON.parse(body)
|
|
295
|
+
if response['Response'].key?('Error') == false
|
|
296
|
+
model = CreateCLSTopicResponse.new
|
|
297
|
+
model.deserialize(response['Response'])
|
|
298
|
+
model
|
|
299
|
+
else
|
|
300
|
+
code = response['Response']['Error']['Code']
|
|
301
|
+
message = response['Response']['Error']['Message']
|
|
302
|
+
reqid = response['Response']['RequestId']
|
|
303
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
304
|
+
end
|
|
305
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
306
|
+
raise e
|
|
307
|
+
rescue StandardError => e
|
|
308
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
309
|
+
end
|
|
310
|
+
|
|
263
311
|
# * 用于对媒体进行分类管理;
|
|
264
312
|
# * 该接口不影响既有媒体的分类,如需修改媒体分类,请调用[修改媒体文件属性](/document/product/266/31762)接口。
|
|
265
313
|
# * 分类层次不可超过 4 层。
|
|
@@ -924,6 +972,30 @@ module TencentCloud
|
|
|
924
972
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
925
973
|
end
|
|
926
974
|
|
|
975
|
+
# 删除点播开通的日志主题。
|
|
976
|
+
|
|
977
|
+
# @param request: Request instance for DeleteCLSTopic.
|
|
978
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DeleteCLSTopicRequest`
|
|
979
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DeleteCLSTopicResponse`
|
|
980
|
+
def DeleteCLSTopic(request)
|
|
981
|
+
body = send_request('DeleteCLSTopic', request.serialize)
|
|
982
|
+
response = JSON.parse(body)
|
|
983
|
+
if response['Response'].key?('Error') == false
|
|
984
|
+
model = DeleteCLSTopicResponse.new
|
|
985
|
+
model.deserialize(response['Response'])
|
|
986
|
+
model
|
|
987
|
+
else
|
|
988
|
+
code = response['Response']['Error']['Code']
|
|
989
|
+
message = response['Response']['Error']['Message']
|
|
990
|
+
reqid = response['Response']['RequestId']
|
|
991
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
992
|
+
end
|
|
993
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
994
|
+
raise e
|
|
995
|
+
rescue StandardError => e
|
|
996
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
997
|
+
end
|
|
998
|
+
|
|
927
999
|
# * 仅当待删分类无子分类且无媒体关联情况下,可删除分类;
|
|
928
1000
|
# * 否则,请先执行[删除媒体](/document/product/266/31764)及子分类,再删除该分类;
|
|
929
1001
|
|
|
@@ -1613,6 +1685,78 @@ module TencentCloud
|
|
|
1613
1685
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1614
1686
|
end
|
|
1615
1687
|
|
|
1688
|
+
# 查询 VOD 创建的 CLS 日志集。
|
|
1689
|
+
|
|
1690
|
+
# @param request: Request instance for DescribeCLSLogsets.
|
|
1691
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DescribeCLSLogsetsRequest`
|
|
1692
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DescribeCLSLogsetsResponse`
|
|
1693
|
+
def DescribeCLSLogsets(request)
|
|
1694
|
+
body = send_request('DescribeCLSLogsets', request.serialize)
|
|
1695
|
+
response = JSON.parse(body)
|
|
1696
|
+
if response['Response'].key?('Error') == false
|
|
1697
|
+
model = DescribeCLSLogsetsResponse.new
|
|
1698
|
+
model.deserialize(response['Response'])
|
|
1699
|
+
model
|
|
1700
|
+
else
|
|
1701
|
+
code = response['Response']['Error']['Code']
|
|
1702
|
+
message = response['Response']['Error']['Message']
|
|
1703
|
+
reqid = response['Response']['RequestId']
|
|
1704
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1705
|
+
end
|
|
1706
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1707
|
+
raise e
|
|
1708
|
+
rescue StandardError => e
|
|
1709
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1710
|
+
end
|
|
1711
|
+
|
|
1712
|
+
# 查询点播域名下日志投递的目标主题。
|
|
1713
|
+
|
|
1714
|
+
# @param request: Request instance for DescribeCLSPushTargets.
|
|
1715
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DescribeCLSPushTargetsRequest`
|
|
1716
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DescribeCLSPushTargetsResponse`
|
|
1717
|
+
def DescribeCLSPushTargets(request)
|
|
1718
|
+
body = send_request('DescribeCLSPushTargets', request.serialize)
|
|
1719
|
+
response = JSON.parse(body)
|
|
1720
|
+
if response['Response'].key?('Error') == false
|
|
1721
|
+
model = DescribeCLSPushTargetsResponse.new
|
|
1722
|
+
model.deserialize(response['Response'])
|
|
1723
|
+
model
|
|
1724
|
+
else
|
|
1725
|
+
code = response['Response']['Error']['Code']
|
|
1726
|
+
message = response['Response']['Error']['Message']
|
|
1727
|
+
reqid = response['Response']['RequestId']
|
|
1728
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1729
|
+
end
|
|
1730
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1731
|
+
raise e
|
|
1732
|
+
rescue StandardError => e
|
|
1733
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1734
|
+
end
|
|
1735
|
+
|
|
1736
|
+
# 查询 VOD 创建的 CLS 日志主题列表。
|
|
1737
|
+
|
|
1738
|
+
# @param request: Request instance for DescribeCLSTopics.
|
|
1739
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DescribeCLSTopicsRequest`
|
|
1740
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DescribeCLSTopicsResponse`
|
|
1741
|
+
def DescribeCLSTopics(request)
|
|
1742
|
+
body = send_request('DescribeCLSTopics', request.serialize)
|
|
1743
|
+
response = JSON.parse(body)
|
|
1744
|
+
if response['Response'].key?('Error') == false
|
|
1745
|
+
model = DescribeCLSTopicsResponse.new
|
|
1746
|
+
model.deserialize(response['Response'])
|
|
1747
|
+
model
|
|
1748
|
+
else
|
|
1749
|
+
code = response['Response']['Error']['Code']
|
|
1750
|
+
message = response['Response']['Error']['Message']
|
|
1751
|
+
reqid = response['Response']['RequestId']
|
|
1752
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1753
|
+
end
|
|
1754
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1755
|
+
raise e
|
|
1756
|
+
rescue StandardError => e
|
|
1757
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1758
|
+
end
|
|
1759
|
+
|
|
1616
1760
|
# 查询点播域名的 CDN 访问日志的下载链接。
|
|
1617
1761
|
# 1. 可以查询最近30天内的 CDN 日志下载链接。
|
|
1618
1762
|
# 2. 默认情况下 CDN 每小时生成一个日志文件,如果某一个小时没有 CDN 访问,不会生成日志文件。
|
|
@@ -4185,6 +4329,30 @@ module TencentCloud
|
|
|
4185
4329
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4186
4330
|
end
|
|
4187
4331
|
|
|
4332
|
+
# 为点播域名设置投递 CLS 的目标。
|
|
4333
|
+
|
|
4334
|
+
# @param request: Request instance for SetCLSPushTarget.
|
|
4335
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::SetCLSPushTargetRequest`
|
|
4336
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::SetCLSPushTargetResponse`
|
|
4337
|
+
def SetCLSPushTarget(request)
|
|
4338
|
+
body = send_request('SetCLSPushTarget', request.serialize)
|
|
4339
|
+
response = JSON.parse(body)
|
|
4340
|
+
if response['Response'].key?('Error') == false
|
|
4341
|
+
model = SetCLSPushTargetResponse.new
|
|
4342
|
+
model.deserialize(response['Response'])
|
|
4343
|
+
model
|
|
4344
|
+
else
|
|
4345
|
+
code = response['Response']['Error']['Code']
|
|
4346
|
+
message = response['Response']['Error']['Message']
|
|
4347
|
+
reqid = response['Response']['RequestId']
|
|
4348
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
4349
|
+
end
|
|
4350
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
4351
|
+
raise e
|
|
4352
|
+
rescue StandardError => e
|
|
4353
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4354
|
+
end
|
|
4355
|
+
|
|
4188
4356
|
# 设置 DRM 密钥提供商信息。
|
|
4189
4357
|
|
|
4190
4358
|
# @param request: Request instance for SetDrmKeyProviderInfo.
|
data/lib/v20180717/models.rb
CHANGED
|
@@ -4052,6 +4052,38 @@ module TencentCloud
|
|
|
4052
4052
|
end
|
|
4053
4053
|
end
|
|
4054
4054
|
|
|
4055
|
+
# 日志推送目标。
|
|
4056
|
+
class AreaCLSTargetInfo < TencentCloud::Common::AbstractModel
|
|
4057
|
+
# @param CLSRegion: 日志集所属地区:
|
|
4058
|
+
# ap-guangzhou:广州;
|
|
4059
|
+
# ap-singapore:新加坡。
|
|
4060
|
+
# @type CLSRegion: String
|
|
4061
|
+
# @param TopicId: 投递的目标主题 ID。
|
|
4062
|
+
# @type TopicId: String
|
|
4063
|
+
# @param LogsetId: 投递的目标集 ID。
|
|
4064
|
+
# @type LogsetId: String
|
|
4065
|
+
# @param Switch: 日志投递状态。
|
|
4066
|
+
# ON:启用;
|
|
4067
|
+
# OFF:停用。
|
|
4068
|
+
# @type Switch: String
|
|
4069
|
+
|
|
4070
|
+
attr_accessor :CLSRegion, :TopicId, :LogsetId, :Switch
|
|
4071
|
+
|
|
4072
|
+
def initialize(clsregion=nil, topicid=nil, logsetid=nil, switch=nil)
|
|
4073
|
+
@CLSRegion = clsregion
|
|
4074
|
+
@TopicId = topicid
|
|
4075
|
+
@LogsetId = logsetid
|
|
4076
|
+
@Switch = switch
|
|
4077
|
+
end
|
|
4078
|
+
|
|
4079
|
+
def deserialize(params)
|
|
4080
|
+
@CLSRegion = params['CLSRegion']
|
|
4081
|
+
@TopicId = params['TopicId']
|
|
4082
|
+
@LogsetId = params['LogsetId']
|
|
4083
|
+
@Switch = params['Switch']
|
|
4084
|
+
end
|
|
4085
|
+
end
|
|
4086
|
+
|
|
4055
4087
|
# 去伪影(毛刺)控制信息
|
|
4056
4088
|
class ArtifactRepairInfo < TencentCloud::Common::AbstractModel
|
|
4057
4089
|
# @param Switch: 去伪影(毛刺)控制开关,可选值:
|
|
@@ -4559,6 +4591,53 @@ module TencentCloud
|
|
|
4559
4591
|
end
|
|
4560
4592
|
end
|
|
4561
4593
|
|
|
4594
|
+
# CLS 日志集信息
|
|
4595
|
+
class CLSLogsetInfo < TencentCloud::Common::AbstractModel
|
|
4596
|
+
# @param LogsetId: 日志集 ID。
|
|
4597
|
+
# @type LogsetId: String
|
|
4598
|
+
# @param LogsetName: 日志集名。
|
|
4599
|
+
# @type LogsetName: String
|
|
4600
|
+
|
|
4601
|
+
attr_accessor :LogsetId, :LogsetName
|
|
4602
|
+
|
|
4603
|
+
def initialize(logsetid=nil, logsetname=nil)
|
|
4604
|
+
@LogsetId = logsetid
|
|
4605
|
+
@LogsetName = logsetname
|
|
4606
|
+
end
|
|
4607
|
+
|
|
4608
|
+
def deserialize(params)
|
|
4609
|
+
@LogsetId = params['LogsetId']
|
|
4610
|
+
@LogsetName = params['LogsetName']
|
|
4611
|
+
end
|
|
4612
|
+
end
|
|
4613
|
+
|
|
4614
|
+
# CLS日志主题信息。
|
|
4615
|
+
class CLSTopicInfo < TencentCloud::Common::AbstractModel
|
|
4616
|
+
# @param TopicId: 日志主题 ID。
|
|
4617
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4618
|
+
# @type TopicId: String
|
|
4619
|
+
# @param TopicName: 日志主题名。
|
|
4620
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4621
|
+
# @type TopicName: String
|
|
4622
|
+
# @param LogsetId: 日志集 ID。
|
|
4623
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4624
|
+
# @type LogsetId: String
|
|
4625
|
+
|
|
4626
|
+
attr_accessor :TopicId, :TopicName, :LogsetId
|
|
4627
|
+
|
|
4628
|
+
def initialize(topicid=nil, topicname=nil, logsetid=nil)
|
|
4629
|
+
@TopicId = topicid
|
|
4630
|
+
@TopicName = topicname
|
|
4631
|
+
@LogsetId = logsetid
|
|
4632
|
+
end
|
|
4633
|
+
|
|
4634
|
+
def deserialize(params)
|
|
4635
|
+
@TopicId = params['TopicId']
|
|
4636
|
+
@TopicName = params['TopicName']
|
|
4637
|
+
@LogsetId = params['LogsetId']
|
|
4638
|
+
end
|
|
4639
|
+
end
|
|
4640
|
+
|
|
4562
4641
|
# 画布信息。制作视频时,如果源素材(视频或者图片)不能填满输出的视频窗口,将用设置的画布进行背景绘制。
|
|
4563
4642
|
class Canvas < TencentCloud::Common::AbstractModel
|
|
4564
4643
|
# @param Color: 背景颜色,取值有:
|
|
@@ -5859,6 +5938,90 @@ module TencentCloud
|
|
|
5859
5938
|
end
|
|
5860
5939
|
end
|
|
5861
5940
|
|
|
5941
|
+
# CreateCLSLogset请求参数结构体
|
|
5942
|
+
class CreateCLSLogsetRequest < TencentCloud::Common::AbstractModel
|
|
5943
|
+
# @param CLSRegion: 日志集所属地区:
|
|
5944
|
+
# ap-guangzhou:广州;
|
|
5945
|
+
# ap-singapore:新加坡。
|
|
5946
|
+
# @type CLSRegion: String
|
|
5947
|
+
|
|
5948
|
+
attr_accessor :CLSRegion
|
|
5949
|
+
|
|
5950
|
+
def initialize(clsregion=nil)
|
|
5951
|
+
@CLSRegion = clsregion
|
|
5952
|
+
end
|
|
5953
|
+
|
|
5954
|
+
def deserialize(params)
|
|
5955
|
+
@CLSRegion = params['CLSRegion']
|
|
5956
|
+
end
|
|
5957
|
+
end
|
|
5958
|
+
|
|
5959
|
+
# CreateCLSLogset返回参数结构体
|
|
5960
|
+
class CreateCLSLogsetResponse < TencentCloud::Common::AbstractModel
|
|
5961
|
+
# @param LogsetId: 日志集 ID。
|
|
5962
|
+
# @type LogsetId: String
|
|
5963
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5964
|
+
# @type RequestId: String
|
|
5965
|
+
|
|
5966
|
+
attr_accessor :LogsetId, :RequestId
|
|
5967
|
+
|
|
5968
|
+
def initialize(logsetid=nil, requestid=nil)
|
|
5969
|
+
@LogsetId = logsetid
|
|
5970
|
+
@RequestId = requestid
|
|
5971
|
+
end
|
|
5972
|
+
|
|
5973
|
+
def deserialize(params)
|
|
5974
|
+
@LogsetId = params['LogsetId']
|
|
5975
|
+
@RequestId = params['RequestId']
|
|
5976
|
+
end
|
|
5977
|
+
end
|
|
5978
|
+
|
|
5979
|
+
# CreateCLSTopic请求参数结构体
|
|
5980
|
+
class CreateCLSTopicRequest < TencentCloud::Common::AbstractModel
|
|
5981
|
+
# @param CLSRegion: 日志集所属地区:
|
|
5982
|
+
# ap-guangzhou:广州;
|
|
5983
|
+
# ap-singapore:新加坡。
|
|
5984
|
+
# @type CLSRegion: String
|
|
5985
|
+
# @param TopicName: 日志主题名。
|
|
5986
|
+
# @type TopicName: String
|
|
5987
|
+
# @param LogsetId: 日志集 ID。
|
|
5988
|
+
# @type LogsetId: String
|
|
5989
|
+
|
|
5990
|
+
attr_accessor :CLSRegion, :TopicName, :LogsetId
|
|
5991
|
+
|
|
5992
|
+
def initialize(clsregion=nil, topicname=nil, logsetid=nil)
|
|
5993
|
+
@CLSRegion = clsregion
|
|
5994
|
+
@TopicName = topicname
|
|
5995
|
+
@LogsetId = logsetid
|
|
5996
|
+
end
|
|
5997
|
+
|
|
5998
|
+
def deserialize(params)
|
|
5999
|
+
@CLSRegion = params['CLSRegion']
|
|
6000
|
+
@TopicName = params['TopicName']
|
|
6001
|
+
@LogsetId = params['LogsetId']
|
|
6002
|
+
end
|
|
6003
|
+
end
|
|
6004
|
+
|
|
6005
|
+
# CreateCLSTopic返回参数结构体
|
|
6006
|
+
class CreateCLSTopicResponse < TencentCloud::Common::AbstractModel
|
|
6007
|
+
# @param TopicId: 日志主题 ID。
|
|
6008
|
+
# @type TopicId: String
|
|
6009
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6010
|
+
# @type RequestId: String
|
|
6011
|
+
|
|
6012
|
+
attr_accessor :TopicId, :RequestId
|
|
6013
|
+
|
|
6014
|
+
def initialize(topicid=nil, requestid=nil)
|
|
6015
|
+
@TopicId = topicid
|
|
6016
|
+
@RequestId = requestid
|
|
6017
|
+
end
|
|
6018
|
+
|
|
6019
|
+
def deserialize(params)
|
|
6020
|
+
@TopicId = params['TopicId']
|
|
6021
|
+
@RequestId = params['RequestId']
|
|
6022
|
+
end
|
|
6023
|
+
end
|
|
6024
|
+
|
|
5862
6025
|
# CreateClass请求参数结构体
|
|
5863
6026
|
class CreateClassRequest < TencentCloud::Common::AbstractModel
|
|
5864
6027
|
# @param ParentId: 父类 ID,一级分类填写 -1。
|
|
@@ -7781,6 +7944,44 @@ module TencentCloud
|
|
|
7781
7944
|
end
|
|
7782
7945
|
end
|
|
7783
7946
|
|
|
7947
|
+
# DeleteCLSTopic请求参数结构体
|
|
7948
|
+
class DeleteCLSTopicRequest < TencentCloud::Common::AbstractModel
|
|
7949
|
+
# @param CLSRegion: 日志集所属地区:
|
|
7950
|
+
# ap-guangzhou:广州;
|
|
7951
|
+
# ap-singapore:新加坡。
|
|
7952
|
+
# @type CLSRegion: String
|
|
7953
|
+
# @param TopicId: 日志主题 ID。
|
|
7954
|
+
# @type TopicId: String
|
|
7955
|
+
|
|
7956
|
+
attr_accessor :CLSRegion, :TopicId
|
|
7957
|
+
|
|
7958
|
+
def initialize(clsregion=nil, topicid=nil)
|
|
7959
|
+
@CLSRegion = clsregion
|
|
7960
|
+
@TopicId = topicid
|
|
7961
|
+
end
|
|
7962
|
+
|
|
7963
|
+
def deserialize(params)
|
|
7964
|
+
@CLSRegion = params['CLSRegion']
|
|
7965
|
+
@TopicId = params['TopicId']
|
|
7966
|
+
end
|
|
7967
|
+
end
|
|
7968
|
+
|
|
7969
|
+
# DeleteCLSTopic返回参数结构体
|
|
7970
|
+
class DeleteCLSTopicResponse < TencentCloud::Common::AbstractModel
|
|
7971
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7972
|
+
# @type RequestId: String
|
|
7973
|
+
|
|
7974
|
+
attr_accessor :RequestId
|
|
7975
|
+
|
|
7976
|
+
def initialize(requestid=nil)
|
|
7977
|
+
@RequestId = requestid
|
|
7978
|
+
end
|
|
7979
|
+
|
|
7980
|
+
def deserialize(params)
|
|
7981
|
+
@RequestId = params['RequestId']
|
|
7982
|
+
end
|
|
7983
|
+
end
|
|
7984
|
+
|
|
7784
7985
|
# DeleteClass请求参数结构体
|
|
7785
7986
|
class DeleteClassRequest < TencentCloud::Common::AbstractModel
|
|
7786
7987
|
# @param ClassId: 分类 ID
|
|
@@ -9052,6 +9253,167 @@ module TencentCloud
|
|
|
9052
9253
|
end
|
|
9053
9254
|
end
|
|
9054
9255
|
|
|
9256
|
+
# DescribeCLSLogsets请求参数结构体
|
|
9257
|
+
class DescribeCLSLogsetsRequest < TencentCloud::Common::AbstractModel
|
|
9258
|
+
# @param CLSRegion: CLS 日志集所属的地域,取值有:
|
|
9259
|
+
# ap-guangzhou:广州;
|
|
9260
|
+
# ap-singapore:新加坡。
|
|
9261
|
+
# @type CLSRegion: String
|
|
9262
|
+
|
|
9263
|
+
attr_accessor :CLSRegion
|
|
9264
|
+
|
|
9265
|
+
def initialize(clsregion=nil)
|
|
9266
|
+
@CLSRegion = clsregion
|
|
9267
|
+
end
|
|
9268
|
+
|
|
9269
|
+
def deserialize(params)
|
|
9270
|
+
@CLSRegion = params['CLSRegion']
|
|
9271
|
+
end
|
|
9272
|
+
end
|
|
9273
|
+
|
|
9274
|
+
# DescribeCLSLogsets返回参数结构体
|
|
9275
|
+
class DescribeCLSLogsetsResponse < TencentCloud::Common::AbstractModel
|
|
9276
|
+
# @param Logsets: 查询到的日志集列表。
|
|
9277
|
+
# @type Logsets: Array
|
|
9278
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9279
|
+
# @type RequestId: String
|
|
9280
|
+
|
|
9281
|
+
attr_accessor :Logsets, :RequestId
|
|
9282
|
+
|
|
9283
|
+
def initialize(logsets=nil, requestid=nil)
|
|
9284
|
+
@Logsets = logsets
|
|
9285
|
+
@RequestId = requestid
|
|
9286
|
+
end
|
|
9287
|
+
|
|
9288
|
+
def deserialize(params)
|
|
9289
|
+
unless params['Logsets'].nil?
|
|
9290
|
+
@Logsets = []
|
|
9291
|
+
params['Logsets'].each do |i|
|
|
9292
|
+
clslogsetinfo_tmp = CLSLogsetInfo.new
|
|
9293
|
+
clslogsetinfo_tmp.deserialize(i)
|
|
9294
|
+
@Logsets << clslogsetinfo_tmp
|
|
9295
|
+
end
|
|
9296
|
+
end
|
|
9297
|
+
@RequestId = params['RequestId']
|
|
9298
|
+
end
|
|
9299
|
+
end
|
|
9300
|
+
|
|
9301
|
+
# DescribeCLSPushTargets请求参数结构体
|
|
9302
|
+
class DescribeCLSPushTargetsRequest < TencentCloud::Common::AbstractModel
|
|
9303
|
+
# @param Domains: 点播域名。
|
|
9304
|
+
# @type Domains: Array
|
|
9305
|
+
# @param SubAppId: 点播应用 ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
|
9306
|
+
# @type SubAppId: Integer
|
|
9307
|
+
|
|
9308
|
+
attr_accessor :Domains, :SubAppId
|
|
9309
|
+
|
|
9310
|
+
def initialize(domains=nil, subappid=nil)
|
|
9311
|
+
@Domains = domains
|
|
9312
|
+
@SubAppId = subappid
|
|
9313
|
+
end
|
|
9314
|
+
|
|
9315
|
+
def deserialize(params)
|
|
9316
|
+
@Domains = params['Domains']
|
|
9317
|
+
@SubAppId = params['SubAppId']
|
|
9318
|
+
end
|
|
9319
|
+
end
|
|
9320
|
+
|
|
9321
|
+
# DescribeCLSPushTargets返回参数结构体
|
|
9322
|
+
class DescribeCLSPushTargetsResponse < TencentCloud::Common::AbstractModel
|
|
9323
|
+
# @param TotalCount: 域名推送总数量。
|
|
9324
|
+
# @type TotalCount: Integer
|
|
9325
|
+
# @param DomainCLSTargets: 域名推送 CLS 目标列表。
|
|
9326
|
+
# @type DomainCLSTargets: Array
|
|
9327
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9328
|
+
# @type RequestId: String
|
|
9329
|
+
|
|
9330
|
+
attr_accessor :TotalCount, :DomainCLSTargets, :RequestId
|
|
9331
|
+
|
|
9332
|
+
def initialize(totalcount=nil, domainclstargets=nil, requestid=nil)
|
|
9333
|
+
@TotalCount = totalcount
|
|
9334
|
+
@DomainCLSTargets = domainclstargets
|
|
9335
|
+
@RequestId = requestid
|
|
9336
|
+
end
|
|
9337
|
+
|
|
9338
|
+
def deserialize(params)
|
|
9339
|
+
@TotalCount = params['TotalCount']
|
|
9340
|
+
unless params['DomainCLSTargets'].nil?
|
|
9341
|
+
@DomainCLSTargets = []
|
|
9342
|
+
params['DomainCLSTargets'].each do |i|
|
|
9343
|
+
domainclstargetinfo_tmp = DomainCLSTargetInfo.new
|
|
9344
|
+
domainclstargetinfo_tmp.deserialize(i)
|
|
9345
|
+
@DomainCLSTargets << domainclstargetinfo_tmp
|
|
9346
|
+
end
|
|
9347
|
+
end
|
|
9348
|
+
@RequestId = params['RequestId']
|
|
9349
|
+
end
|
|
9350
|
+
end
|
|
9351
|
+
|
|
9352
|
+
# DescribeCLSTopics请求参数结构体
|
|
9353
|
+
class DescribeCLSTopicsRequest < TencentCloud::Common::AbstractModel
|
|
9354
|
+
# @param CLSRegion: 日志集所属地区:
|
|
9355
|
+
# ap-guangzhou:广州;
|
|
9356
|
+
# ap-singapore:新加坡。
|
|
9357
|
+
# @type CLSRegion: String
|
|
9358
|
+
# @param LogsetId: 日志主题所属日志集 ID。
|
|
9359
|
+
# @type LogsetId: String
|
|
9360
|
+
# @param TopicIds: 日志主题 ID 列表。如果不填,表示查询所有的日志主题。
|
|
9361
|
+
# @type TopicIds: Array
|
|
9362
|
+
# @param Offset: 分页偏移量,默认值:0。
|
|
9363
|
+
# @type Offset: Integer
|
|
9364
|
+
# @param Limit: 返回记录条数,默认值:20,最大值:100。
|
|
9365
|
+
# @type Limit: Integer
|
|
9366
|
+
|
|
9367
|
+
attr_accessor :CLSRegion, :LogsetId, :TopicIds, :Offset, :Limit
|
|
9368
|
+
|
|
9369
|
+
def initialize(clsregion=nil, logsetid=nil, topicids=nil, offset=nil, limit=nil)
|
|
9370
|
+
@CLSRegion = clsregion
|
|
9371
|
+
@LogsetId = logsetid
|
|
9372
|
+
@TopicIds = topicids
|
|
9373
|
+
@Offset = offset
|
|
9374
|
+
@Limit = limit
|
|
9375
|
+
end
|
|
9376
|
+
|
|
9377
|
+
def deserialize(params)
|
|
9378
|
+
@CLSRegion = params['CLSRegion']
|
|
9379
|
+
@LogsetId = params['LogsetId']
|
|
9380
|
+
@TopicIds = params['TopicIds']
|
|
9381
|
+
@Offset = params['Offset']
|
|
9382
|
+
@Limit = params['Limit']
|
|
9383
|
+
end
|
|
9384
|
+
end
|
|
9385
|
+
|
|
9386
|
+
# DescribeCLSTopics返回参数结构体
|
|
9387
|
+
class DescribeCLSTopicsResponse < TencentCloud::Common::AbstractModel
|
|
9388
|
+
# @param TotalCount: 日志主题总数量。
|
|
9389
|
+
# @type TotalCount: Integer
|
|
9390
|
+
# @param Topics: 日志主题列表。
|
|
9391
|
+
# @type Topics: Array
|
|
9392
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9393
|
+
# @type RequestId: String
|
|
9394
|
+
|
|
9395
|
+
attr_accessor :TotalCount, :Topics, :RequestId
|
|
9396
|
+
|
|
9397
|
+
def initialize(totalcount=nil, topics=nil, requestid=nil)
|
|
9398
|
+
@TotalCount = totalcount
|
|
9399
|
+
@Topics = topics
|
|
9400
|
+
@RequestId = requestid
|
|
9401
|
+
end
|
|
9402
|
+
|
|
9403
|
+
def deserialize(params)
|
|
9404
|
+
@TotalCount = params['TotalCount']
|
|
9405
|
+
unless params['Topics'].nil?
|
|
9406
|
+
@Topics = []
|
|
9407
|
+
params['Topics'].each do |i|
|
|
9408
|
+
clstopicinfo_tmp = CLSTopicInfo.new
|
|
9409
|
+
clstopicinfo_tmp.deserialize(i)
|
|
9410
|
+
@Topics << clstopicinfo_tmp
|
|
9411
|
+
end
|
|
9412
|
+
end
|
|
9413
|
+
@RequestId = params['RequestId']
|
|
9414
|
+
end
|
|
9415
|
+
end
|
|
9416
|
+
|
|
9055
9417
|
# DescribeCdnLogs请求参数结构体
|
|
9056
9418
|
class DescribeCdnLogsRequest < TencentCloud::Common::AbstractModel
|
|
9057
9419
|
# @param DomainName: 域名。
|
|
@@ -11907,6 +12269,36 @@ module TencentCloud
|
|
|
11907
12269
|
end
|
|
11908
12270
|
end
|
|
11909
12271
|
|
|
12272
|
+
# 域名推送 CLS 目标。
|
|
12273
|
+
class DomainCLSTargetInfo < TencentCloud::Common::AbstractModel
|
|
12274
|
+
# @param Domain: 域名。
|
|
12275
|
+
# @type Domain: String
|
|
12276
|
+
# @param ChineseMainlandCLSTargetInfo: 中国大陆地区的日志推送目标。
|
|
12277
|
+
# @type ChineseMainlandCLSTargetInfo: :class:`Tencentcloud::Vod.v20180717.models.AreaCLSTargetInfo`
|
|
12278
|
+
# @param OutsideChineseMainlandCLSTargetInfo: 中国大陆以外地区的日志推送目标。
|
|
12279
|
+
# @type OutsideChineseMainlandCLSTargetInfo: :class:`Tencentcloud::Vod.v20180717.models.AreaCLSTargetInfo`
|
|
12280
|
+
|
|
12281
|
+
attr_accessor :Domain, :ChineseMainlandCLSTargetInfo, :OutsideChineseMainlandCLSTargetInfo
|
|
12282
|
+
|
|
12283
|
+
def initialize(domain=nil, chinesemainlandclstargetinfo=nil, outsidechinesemainlandclstargetinfo=nil)
|
|
12284
|
+
@Domain = domain
|
|
12285
|
+
@ChineseMainlandCLSTargetInfo = chinesemainlandclstargetinfo
|
|
12286
|
+
@OutsideChineseMainlandCLSTargetInfo = outsidechinesemainlandclstargetinfo
|
|
12287
|
+
end
|
|
12288
|
+
|
|
12289
|
+
def deserialize(params)
|
|
12290
|
+
@Domain = params['Domain']
|
|
12291
|
+
unless params['ChineseMainlandCLSTargetInfo'].nil?
|
|
12292
|
+
@ChineseMainlandCLSTargetInfo = AreaCLSTargetInfo.new
|
|
12293
|
+
@ChineseMainlandCLSTargetInfo.deserialize(params['ChineseMainlandCLSTargetInfo'])
|
|
12294
|
+
end
|
|
12295
|
+
unless params['OutsideChineseMainlandCLSTargetInfo'].nil?
|
|
12296
|
+
@OutsideChineseMainlandCLSTargetInfo = AreaCLSTargetInfo.new
|
|
12297
|
+
@OutsideChineseMainlandCLSTargetInfo.deserialize(params['OutsideChineseMainlandCLSTargetInfo'])
|
|
12298
|
+
end
|
|
12299
|
+
end
|
|
12300
|
+
end
|
|
12301
|
+
|
|
11910
12302
|
# 域名信息
|
|
11911
12303
|
class DomainDetailInfo < TencentCloud::Common::AbstractModel
|
|
11912
12304
|
# @param Domain: 域名名称。
|
|
@@ -24422,6 +24814,56 @@ module TencentCloud
|
|
|
24422
24814
|
end
|
|
24423
24815
|
end
|
|
24424
24816
|
|
|
24817
|
+
# SetCLSPushTarget请求参数结构体
|
|
24818
|
+
class SetCLSPushTargetRequest < TencentCloud::Common::AbstractModel
|
|
24819
|
+
# @param Domain: 域名。
|
|
24820
|
+
# @type Domain: String
|
|
24821
|
+
# @param SubAppId: 点播应用 ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
|
24822
|
+
# @type SubAppId: Integer
|
|
24823
|
+
# @param ChineseMainlandCLSTargetInfo: 要设置的中国大陆地区的日志推送目标。
|
|
24824
|
+
# @type ChineseMainlandCLSTargetInfo: :class:`Tencentcloud::Vod.v20180717.models.AreaCLSTargetInfo`
|
|
24825
|
+
# @param OutsideChineseMainlandCLSTargetInfo: 要设置的中国大陆以外地区的日志推送目标。
|
|
24826
|
+
# @type OutsideChineseMainlandCLSTargetInfo: :class:`Tencentcloud::Vod.v20180717.models.AreaCLSTargetInfo`
|
|
24827
|
+
|
|
24828
|
+
attr_accessor :Domain, :SubAppId, :ChineseMainlandCLSTargetInfo, :OutsideChineseMainlandCLSTargetInfo
|
|
24829
|
+
|
|
24830
|
+
def initialize(domain=nil, subappid=nil, chinesemainlandclstargetinfo=nil, outsidechinesemainlandclstargetinfo=nil)
|
|
24831
|
+
@Domain = domain
|
|
24832
|
+
@SubAppId = subappid
|
|
24833
|
+
@ChineseMainlandCLSTargetInfo = chinesemainlandclstargetinfo
|
|
24834
|
+
@OutsideChineseMainlandCLSTargetInfo = outsidechinesemainlandclstargetinfo
|
|
24835
|
+
end
|
|
24836
|
+
|
|
24837
|
+
def deserialize(params)
|
|
24838
|
+
@Domain = params['Domain']
|
|
24839
|
+
@SubAppId = params['SubAppId']
|
|
24840
|
+
unless params['ChineseMainlandCLSTargetInfo'].nil?
|
|
24841
|
+
@ChineseMainlandCLSTargetInfo = AreaCLSTargetInfo.new
|
|
24842
|
+
@ChineseMainlandCLSTargetInfo.deserialize(params['ChineseMainlandCLSTargetInfo'])
|
|
24843
|
+
end
|
|
24844
|
+
unless params['OutsideChineseMainlandCLSTargetInfo'].nil?
|
|
24845
|
+
@OutsideChineseMainlandCLSTargetInfo = AreaCLSTargetInfo.new
|
|
24846
|
+
@OutsideChineseMainlandCLSTargetInfo.deserialize(params['OutsideChineseMainlandCLSTargetInfo'])
|
|
24847
|
+
end
|
|
24848
|
+
end
|
|
24849
|
+
end
|
|
24850
|
+
|
|
24851
|
+
# SetCLSPushTarget返回参数结构体
|
|
24852
|
+
class SetCLSPushTargetResponse < TencentCloud::Common::AbstractModel
|
|
24853
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
24854
|
+
# @type RequestId: String
|
|
24855
|
+
|
|
24856
|
+
attr_accessor :RequestId
|
|
24857
|
+
|
|
24858
|
+
def initialize(requestid=nil)
|
|
24859
|
+
@RequestId = requestid
|
|
24860
|
+
end
|
|
24861
|
+
|
|
24862
|
+
def deserialize(params)
|
|
24863
|
+
@RequestId = params['RequestId']
|
|
24864
|
+
end
|
|
24865
|
+
end
|
|
24866
|
+
|
|
24425
24867
|
# SetDrmKeyProviderInfo请求参数结构体
|
|
24426
24868
|
class SetDrmKeyProviderInfoRequest < TencentCloud::Common::AbstractModel
|
|
24427
24869
|
# @param SDMCInfo: 华曦达(SDMC)相关的 DRM 密钥提供商信息。
|
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.744
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-01-
|
|
11
|
+
date: 2024-01-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|