tencentcloud-sdk-live 1.0.351 → 1.0.352

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c39269ec2193c06a31bc43b21e298f2047278d3d
4
- data.tar.gz: 7a72bd3a719cbaf063768b31525798845f185672
3
+ metadata.gz: bab7ac37552fa8eb1eba4ab25a19ed62e8f5e799
4
+ data.tar.gz: 1677f688319f18a7ef13d91163dfa19f099c181d
5
5
  SHA512:
6
- metadata.gz: 3d3bd366604c3529faacdd4e17131f99c16348e5d36455445469c7a3e078212ea1eb9717771a25ce5f475bf5b9858c5db7c4164cc2729c283ccb795cdc6edcb5
7
- data.tar.gz: 1c6cf4d842dba74114771d1e812f5f269cc30d94d449db9eaff2ee3e6243088a967a3efc34b5e682b79fdf28a77f65a45c3243263105cd2666cc4b353504b42c
6
+ metadata.gz: b8d56b54475c2cc5adaa91821265cf88f557d13b6b6fc486f36c3d7d4107084a33e7c550420b2ac5a0abd8105f24656663363edde9ac4c57f2c654c13d601848
7
+ data.tar.gz: d408b74180f767b977540aff16cf80177f9dfc9f1d283efefd80915e881df939b4af38d8a8641edb803ffac4aa6a04f8e5ec2d1d2d9e115adcec970a632283c8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.351
1
+ 1.0.352
@@ -104,31 +104,6 @@ module TencentCloud
104
104
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
105
105
  end
106
106
 
107
- # 域名绑定证书。
108
- # 注意:需先调用添加证书接口进行证书添加。获取到证书Id后再调用该接口进行绑定。
109
-
110
- # @param request: Request instance for BindLiveDomainCert.
111
- # @type request: :class:`Tencentcloud::live::V20180801::BindLiveDomainCertRequest`
112
- # @rtype: :class:`Tencentcloud::live::V20180801::BindLiveDomainCertResponse`
113
- def BindLiveDomainCert(request)
114
- body = send_request('BindLiveDomainCert', request.serialize)
115
- response = JSON.parse(body)
116
- if response['Response'].key?('Error') == false
117
- model = BindLiveDomainCertResponse.new
118
- model.deserialize(response['Response'])
119
- model
120
- else
121
- code = response['Response']['Error']['Code']
122
- message = response['Response']['Error']['Message']
123
- reqid = response['Response']['RequestId']
124
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
125
- end
126
- rescue TencentCloud::Common::TencentCloudSDKException => e
127
- raise e
128
- rescue StandardError => e
129
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
130
- end
131
-
132
107
  # 该接口用来取消混流。用法与 mix_streamv2.cancel_mix_stream 基本一致。
133
108
 
134
109
  # @param request: Request instance for CancelCommonMixStream.
@@ -230,30 +205,6 @@ module TencentCloud
230
205
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
231
206
  end
232
207
 
233
- # 添加证书
234
-
235
- # @param request: Request instance for CreateLiveCert.
236
- # @type request: :class:`Tencentcloud::live::V20180801::CreateLiveCertRequest`
237
- # @rtype: :class:`Tencentcloud::live::V20180801::CreateLiveCertResponse`
238
- def CreateLiveCert(request)
239
- body = send_request('CreateLiveCert', request.serialize)
240
- response = JSON.parse(body)
241
- if response['Response'].key?('Error') == false
242
- model = CreateLiveCertResponse.new
243
- model.deserialize(response['Response'])
244
- model
245
- else
246
- code = response['Response']['Error']['Code']
247
- message = response['Response']['Error']['Message']
248
- reqid = response['Response']['RequestId']
249
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
250
- end
251
- rescue TencentCloud::Common::TencentCloudSDKException => e
252
- raise e
253
- rescue StandardError => e
254
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
255
- end
256
-
257
208
  # 创建直播拉流任务。支持将外部已有的点播文件,或者直播源拉取过来转推到指定的目标地址。
258
209
  # 注意:
259
210
  # 1. 默认支持任务数上限20个,如有特殊需求,可通过提单到售后进行评估增加上限。
@@ -638,30 +589,6 @@ module TencentCloud
638
589
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
639
590
  end
640
591
 
641
- # 删除域名对应的证书
642
-
643
- # @param request: Request instance for DeleteLiveCert.
644
- # @type request: :class:`Tencentcloud::live::V20180801::DeleteLiveCertRequest`
645
- # @rtype: :class:`Tencentcloud::live::V20180801::DeleteLiveCertResponse`
646
- def DeleteLiveCert(request)
647
- body = send_request('DeleteLiveCert', request.serialize)
648
- response = JSON.parse(body)
649
- if response['Response'].key?('Error') == false
650
- model = DeleteLiveCertResponse.new
651
- model.deserialize(response['Response'])
652
- model
653
- else
654
- code = response['Response']['Error']['Code']
655
- message = response['Response']['Error']['Message']
656
- reqid = response['Response']['RequestId']
657
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
658
- end
659
- rescue TencentCloud::Common::TencentCloudSDKException => e
660
- raise e
661
- rescue StandardError => e
662
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
663
- end
664
-
665
592
  # 删除已添加的直播域名
666
593
 
667
594
  # @param request: Request instance for DeleteLiveDomain.
@@ -2598,54 +2525,6 @@ module TencentCloud
2598
2525
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2599
2526
  end
2600
2527
 
2601
- # 修改证书
2602
-
2603
- # @param request: Request instance for ModifyLiveCert.
2604
- # @type request: :class:`Tencentcloud::live::V20180801::ModifyLiveCertRequest`
2605
- # @rtype: :class:`Tencentcloud::live::V20180801::ModifyLiveCertResponse`
2606
- def ModifyLiveCert(request)
2607
- body = send_request('ModifyLiveCert', request.serialize)
2608
- response = JSON.parse(body)
2609
- if response['Response'].key?('Error') == false
2610
- model = ModifyLiveCertResponse.new
2611
- model.deserialize(response['Response'])
2612
- model
2613
- else
2614
- code = response['Response']['Error']['Code']
2615
- message = response['Response']['Error']['Message']
2616
- reqid = response['Response']['RequestId']
2617
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2618
- end
2619
- rescue TencentCloud::Common::TencentCloudSDKException => e
2620
- raise e
2621
- rescue StandardError => e
2622
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2623
- end
2624
-
2625
- # 修改域名和证书绑定信息
2626
-
2627
- # @param request: Request instance for ModifyLiveDomainCert.
2628
- # @type request: :class:`Tencentcloud::live::V20180801::ModifyLiveDomainCertRequest`
2629
- # @rtype: :class:`Tencentcloud::live::V20180801::ModifyLiveDomainCertResponse`
2630
- def ModifyLiveDomainCert(request)
2631
- body = send_request('ModifyLiveDomainCert', request.serialize)
2632
- response = JSON.parse(body)
2633
- if response['Response'].key?('Error') == false
2634
- model = ModifyLiveDomainCertResponse.new
2635
- model.deserialize(response['Response'])
2636
- model
2637
- else
2638
- code = response['Response']['Error']['Code']
2639
- message = response['Response']['Error']['Message']
2640
- reqid = response['Response']['RequestId']
2641
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2642
- end
2643
- rescue TencentCloud::Common::TencentCloudSDKException => e
2644
- raise e
2645
- rescue StandardError => e
2646
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2647
- end
2648
-
2649
2528
  # 设置直播域名 Referer 黑白名单。
2650
2529
  # 由于 Referer 信息包含在 http 协议中,在开启配置后,播放协议为 rtmp 或 WebRTC 不会校验 Referer 配置,仍可正常播放。如需配置 Referer 鉴权建议使用 http-flv 或 http-hls 协议播放。
2651
2530
 
@@ -291,46 +291,6 @@ module TencentCloud
291
291
  end
292
292
  end
293
293
 
294
- # BindLiveDomainCert请求参数结构体
295
- class BindLiveDomainCertRequest < TencentCloud::Common::AbstractModel
296
- # @param CertId: 证书Id。使用添加证书接口获取证书Id。
297
- # @type CertId: Integer
298
- # @param DomainName: 播放域名。
299
- # @type DomainName: String
300
- # @param Status: HTTPS开启状态,0: 关闭 1:打开。
301
- # @type Status: Integer
302
-
303
- attr_accessor :CertId, :DomainName, :Status
304
-
305
- def initialize(certid=nil, domainname=nil, status=nil)
306
- @CertId = certid
307
- @DomainName = domainname
308
- @Status = status
309
- end
310
-
311
- def deserialize(params)
312
- @CertId = params['CertId']
313
- @DomainName = params['DomainName']
314
- @Status = params['Status']
315
- end
316
- end
317
-
318
- # BindLiveDomainCert返回参数结构体
319
- class BindLiveDomainCertResponse < TencentCloud::Common::AbstractModel
320
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
321
- # @type RequestId: String
322
-
323
- attr_accessor :RequestId
324
-
325
- def initialize(requestid=nil)
326
- @RequestId = requestid
327
- end
328
-
329
- def deserialize(params)
330
- @RequestId = params['RequestId']
331
- end
332
- end
333
-
334
294
  # 规则信息
335
295
  class CallBackRuleInfo < TencentCloud::Common::AbstractModel
336
296
  # @param CreateTime: 规则创建时间。
@@ -1031,64 +991,6 @@ module TencentCloud
1031
991
  end
1032
992
  end
1033
993
 
1034
- # CreateLiveCert请求参数结构体
1035
- class CreateLiveCertRequest < TencentCloud::Common::AbstractModel
1036
- # @param CertType: 证书类型。0-用户添加证书;1-腾讯云托管证书。
1037
- # 注意:当证书类型为0时,HttpsCrt和HttpsKey必选;
1038
- # 当证书类型为1时,优先使用CloudCertId对应证书,若CloudCertId为空则使用HttpsCrt和HttpsKey。
1039
- # @type CertType: Integer
1040
- # @param CertName: 证书名称。
1041
- # @type CertName: String
1042
- # @param HttpsCrt: 证书内容,即公钥。
1043
- # @type HttpsCrt: String
1044
- # @param HttpsKey: 私钥。
1045
- # @type HttpsKey: String
1046
- # @param Description: 描述。
1047
- # @type Description: String
1048
- # @param CloudCertId: 腾讯云证书托管ID。
1049
- # @type CloudCertId: String
1050
-
1051
- attr_accessor :CertType, :CertName, :HttpsCrt, :HttpsKey, :Description, :CloudCertId
1052
-
1053
- def initialize(certtype=nil, certname=nil, httpscrt=nil, httpskey=nil, description=nil, cloudcertid=nil)
1054
- @CertType = certtype
1055
- @CertName = certname
1056
- @HttpsCrt = httpscrt
1057
- @HttpsKey = httpskey
1058
- @Description = description
1059
- @CloudCertId = cloudcertid
1060
- end
1061
-
1062
- def deserialize(params)
1063
- @CertType = params['CertType']
1064
- @CertName = params['CertName']
1065
- @HttpsCrt = params['HttpsCrt']
1066
- @HttpsKey = params['HttpsKey']
1067
- @Description = params['Description']
1068
- @CloudCertId = params['CloudCertId']
1069
- end
1070
- end
1071
-
1072
- # CreateLiveCert返回参数结构体
1073
- class CreateLiveCertResponse < TencentCloud::Common::AbstractModel
1074
- # @param CertId: 证书ID
1075
- # @type CertId: Integer
1076
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1077
- # @type RequestId: String
1078
-
1079
- attr_accessor :CertId, :RequestId
1080
-
1081
- def initialize(certid=nil, requestid=nil)
1082
- @CertId = certid
1083
- @RequestId = requestid
1084
- end
1085
-
1086
- def deserialize(params)
1087
- @CertId = params['CertId']
1088
- @RequestId = params['RequestId']
1089
- end
1090
- end
1091
-
1092
994
  # CreateLivePullStreamTask请求参数结构体
1093
995
  class CreateLivePullStreamTaskRequest < TencentCloud::Common::AbstractModel
1094
996
  # @param SourceType: 拉流源的类型:
@@ -2220,38 +2122,6 @@ module TencentCloud
2220
2122
  end
2221
2123
  end
2222
2124
 
2223
- # DeleteLiveCert请求参数结构体
2224
- class DeleteLiveCertRequest < TencentCloud::Common::AbstractModel
2225
- # @param CertId: DescribeLiveCerts接口获取到的证书Id。
2226
- # @type CertId: Integer
2227
-
2228
- attr_accessor :CertId
2229
-
2230
- def initialize(certid=nil)
2231
- @CertId = certid
2232
- end
2233
-
2234
- def deserialize(params)
2235
- @CertId = params['CertId']
2236
- end
2237
- end
2238
-
2239
- # DeleteLiveCert返回参数结构体
2240
- class DeleteLiveCertResponse < TencentCloud::Common::AbstractModel
2241
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2242
- # @type RequestId: String
2243
-
2244
- attr_accessor :RequestId
2245
-
2246
- def initialize(requestid=nil)
2247
- @RequestId = requestid
2248
- end
2249
-
2250
- def deserialize(params)
2251
- @RequestId = params['RequestId']
2252
- end
2253
- end
2254
-
2255
2125
  # DeleteLiveDomain请求参数结构体
2256
2126
  class DeleteLiveDomainRequest < TencentCloud::Common::AbstractModel
2257
2127
  # @param DomainName: 要删除的域名
@@ -7136,98 +7006,6 @@ module TencentCloud
7136
7006
  end
7137
7007
  end
7138
7008
 
7139
- # ModifyLiveCert请求参数结构体
7140
- class ModifyLiveCertRequest < TencentCloud::Common::AbstractModel
7141
- # @param CertId: 证书Id。
7142
- # @type CertId: String
7143
- # @param CertType: 证书类型。0-用户添加证书;1-腾讯云托管证书。
7144
- # @type CertType: Integer
7145
- # @param CertName: 证书名称。
7146
- # @type CertName: String
7147
- # @param HttpsCrt: 证书内容,即公钥。
7148
- # @type HttpsCrt: String
7149
- # @param HttpsKey: 私钥。
7150
- # @type HttpsKey: String
7151
- # @param Description: 描述信息。
7152
- # @type Description: String
7153
-
7154
- attr_accessor :CertId, :CertType, :CertName, :HttpsCrt, :HttpsKey, :Description
7155
-
7156
- def initialize(certid=nil, certtype=nil, certname=nil, httpscrt=nil, httpskey=nil, description=nil)
7157
- @CertId = certid
7158
- @CertType = certtype
7159
- @CertName = certname
7160
- @HttpsCrt = httpscrt
7161
- @HttpsKey = httpskey
7162
- @Description = description
7163
- end
7164
-
7165
- def deserialize(params)
7166
- @CertId = params['CertId']
7167
- @CertType = params['CertType']
7168
- @CertName = params['CertName']
7169
- @HttpsCrt = params['HttpsCrt']
7170
- @HttpsKey = params['HttpsKey']
7171
- @Description = params['Description']
7172
- end
7173
- end
7174
-
7175
- # ModifyLiveCert返回参数结构体
7176
- class ModifyLiveCertResponse < TencentCloud::Common::AbstractModel
7177
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7178
- # @type RequestId: String
7179
-
7180
- attr_accessor :RequestId
7181
-
7182
- def initialize(requestid=nil)
7183
- @RequestId = requestid
7184
- end
7185
-
7186
- def deserialize(params)
7187
- @RequestId = params['RequestId']
7188
- end
7189
- end
7190
-
7191
- # ModifyLiveDomainCert请求参数结构体
7192
- class ModifyLiveDomainCertRequest < TencentCloud::Common::AbstractModel
7193
- # @param DomainName: 播放域名。
7194
- # @type DomainName: String
7195
- # @param CertId: 证书Id。
7196
- # @type CertId: Integer
7197
- # @param Status: 状态,0:关闭 1:打开。
7198
- # @type Status: Integer
7199
-
7200
- attr_accessor :DomainName, :CertId, :Status
7201
-
7202
- def initialize(domainname=nil, certid=nil, status=nil)
7203
- @DomainName = domainname
7204
- @CertId = certid
7205
- @Status = status
7206
- end
7207
-
7208
- def deserialize(params)
7209
- @DomainName = params['DomainName']
7210
- @CertId = params['CertId']
7211
- @Status = params['Status']
7212
- end
7213
- end
7214
-
7215
- # ModifyLiveDomainCert返回参数结构体
7216
- class ModifyLiveDomainCertResponse < TencentCloud::Common::AbstractModel
7217
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7218
- # @type RequestId: String
7219
-
7220
- attr_accessor :RequestId
7221
-
7222
- def initialize(requestid=nil)
7223
- @RequestId = requestid
7224
- end
7225
-
7226
- def deserialize(params)
7227
- @RequestId = params['RequestId']
7228
- end
7229
- end
7230
-
7231
7009
  # ModifyLiveDomainReferer请求参数结构体
7232
7010
  class ModifyLiveDomainRefererRequest < TencentCloud::Common::AbstractModel
7233
7011
  # @param DomainName: 播放域名。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-live
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.351
4
+ version: 1.0.352
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-07-08 00:00:00.000000000 Z
11
+ date: 2022-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common