tencentcloud-sdk-vod 3.0.593 → 3.0.594

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: 9069f5d69c33c155e126b79b94f0ec73f1cf8fac
4
- data.tar.gz: 962e987cf4842fc74a06cb0887fa8cdbb1521688
3
+ metadata.gz: b770f4869dbe303470fde1bf279f3a193d186768
4
+ data.tar.gz: d4279ffbd83afcae97d2283853b450ed8d2ebf6b
5
5
  SHA512:
6
- metadata.gz: 7beb18dd30e0efd8cb1d85e478b9504b558259231524fac027a6ce9318458efc0c9eff4ae41c5c00ac5bef10e9c147dcf57308e9e04c16967dcf10496412a764
7
- data.tar.gz: a2ad8719ba6c0ba0369836e10e9445912ea862959e08d3d32d3511425d34f41631b868da57792a480465ca7e82046b7aa69f19fc677b73bc36bfd903faaafbc0
6
+ metadata.gz: 0c38385186af79a9db4ca2b533fedc8b728347641c3da0f3d5824c2843167898cc0f527460c3d25da9895ebd897dd821d0e0505115ec653163e247699f9af83c
7
+ data.tar.gz: 4da66496b7f790a4e220bccfe200780874f3fcedfc2f6833808e53c015bb732c97d32e68e6f0a93e4b4590acf6e060a38ee037bb387ecadc5981a2d7599f6142
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.593
1
+ 3.0.594
@@ -2602,6 +2602,30 @@ module TencentCloud
2602
2602
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2603
2603
  end
2604
2604
 
2605
+ # 提取版权水印信息。
2606
+
2607
+ # @param request: Request instance for ExtractCopyRightWatermark.
2608
+ # @type request: :class:`Tencentcloud::vod::V20180717::ExtractCopyRightWatermarkRequest`
2609
+ # @rtype: :class:`Tencentcloud::vod::V20180717::ExtractCopyRightWatermarkResponse`
2610
+ def ExtractCopyRightWatermark(request)
2611
+ body = send_request('ExtractCopyRightWatermark', request.serialize)
2612
+ response = JSON.parse(body)
2613
+ if response['Response'].key?('Error') == false
2614
+ model = ExtractCopyRightWatermarkResponse.new
2615
+ model.deserialize(response['Response'])
2616
+ model
2617
+ else
2618
+ code = response['Response']['Error']['Code']
2619
+ message = response['Response']['Error']['Message']
2620
+ reqid = response['Response']['RequestId']
2621
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2622
+ end
2623
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2624
+ raise e
2625
+ rescue StandardError => e
2626
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2627
+ end
2628
+
2605
2629
  # 用于提取溯源水印。
2606
2630
 
2607
2631
  # @param request: Request instance for ExtractTraceWatermark.
@@ -12196,6 +12196,62 @@ module TencentCloud
12196
12196
  end
12197
12197
  end
12198
12198
 
12199
+ # ExtractCopyRightWatermark请求参数结构体
12200
+ class ExtractCopyRightWatermarkRequest < TencentCloud::Common::AbstractModel
12201
+ # @param Url: 需要提取水印的媒体 URL。
12202
+ # @type Url: String
12203
+ # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
12204
+ # @type SubAppId: Integer
12205
+ # @param SessionContext: 标识来源上下文,用于透传用户请求信息,在 ExtractCopyRightWatermarkComplete 回调和任务流状态变更回调将返回该字段值,最长 1000 个字符。
12206
+ # @type SessionContext: String
12207
+ # @param SessionId: 用于任务去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
12208
+ # @type SessionId: String
12209
+ # @param TasksPriority: 任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
12210
+ # @type TasksPriority: Integer
12211
+ # @param ExtInfo: 保留字段,特殊用途时使用。
12212
+ # @type ExtInfo: String
12213
+
12214
+ attr_accessor :Url, :SubAppId, :SessionContext, :SessionId, :TasksPriority, :ExtInfo
12215
+
12216
+ def initialize(url=nil, subappid=nil, sessioncontext=nil, sessionid=nil, taskspriority=nil, extinfo=nil)
12217
+ @Url = url
12218
+ @SubAppId = subappid
12219
+ @SessionContext = sessioncontext
12220
+ @SessionId = sessionid
12221
+ @TasksPriority = taskspriority
12222
+ @ExtInfo = extinfo
12223
+ end
12224
+
12225
+ def deserialize(params)
12226
+ @Url = params['Url']
12227
+ @SubAppId = params['SubAppId']
12228
+ @SessionContext = params['SessionContext']
12229
+ @SessionId = params['SessionId']
12230
+ @TasksPriority = params['TasksPriority']
12231
+ @ExtInfo = params['ExtInfo']
12232
+ end
12233
+ end
12234
+
12235
+ # ExtractCopyRightWatermark返回参数结构体
12236
+ class ExtractCopyRightWatermarkResponse < TencentCloud::Common::AbstractModel
12237
+ # @param TaskId: 任务 ID。
12238
+ # @type TaskId: String
12239
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12240
+ # @type RequestId: String
12241
+
12242
+ attr_accessor :TaskId, :RequestId
12243
+
12244
+ def initialize(taskid=nil, requestid=nil)
12245
+ @TaskId = taskid
12246
+ @RequestId = requestid
12247
+ end
12248
+
12249
+ def deserialize(params)
12250
+ @TaskId = params['TaskId']
12251
+ @RequestId = params['RequestId']
12252
+ end
12253
+ end
12254
+
12199
12255
  # 提取版权水印任务。
12200
12256
  class ExtractCopyRightWatermarkTask < TencentCloud::Common::AbstractModel
12201
12257
  # @param TaskId: 任务 ID。
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.593
4
+ version: 3.0.594
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-15 00:00:00.000000000 Z
11
+ date: 2023-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-vod.rb
37
36
  - lib/v20180717/client.rb
38
37
  - lib/v20180717/models.rb
38
+ - lib/tencentcloud-sdk-vod.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: