tencentcloud-sdk-vod 3.0.545 → 3.0.546

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37648cb6b8625f8b798d7f3a043e2c2a1850f8fa
4
- data.tar.gz: 25f933514a3abf2a45fc0781670e8a7fc2d63398
3
+ metadata.gz: 101b686506e0c6a32d69df7f8c4d04af67d30ba1
4
+ data.tar.gz: a3de2358db290ec462380e713febebc9bd99ee38
5
5
  SHA512:
6
- metadata.gz: cfe41849e5da4f32d90baf0654213ca1b1bf87a8ef73431adc79d4c9d2fad26ecd189cbca2fec90a096489a6d17e469906b7477c72d2fa649ab19f97093fa39b
7
- data.tar.gz: 0e8fbeafd3ae36ecbfbfc58caa8eb9f0a4da8e1bda2634b3a79d91b2c1c5718d2856d378a2b5a22668bb6bf1eb27bd9ec598a6c86a3a73f0f11ed058508d71d0
6
+ metadata.gz: a0bff106c732e6442e9787a5ba58e4d7a8a30ff8854067834601b1affee15e10404058b989b1d0c355a7119e458d4a461fcf7da0345f489ba13b61e3b652577e
7
+ data.tar.gz: cc3c15625fe0f68956f8840f1ad74e22c35de0cace44514fcf48edeadc49cfb99bd6403cfa130b941b8c6348ca43d4fdc6f15b4afd4674114a1da62c67eee74f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.545
1
+ 3.0.546
@@ -336,7 +336,7 @@ module TencentCloud
336
336
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
337
337
  end
338
338
 
339
- # 创建一个用户自定义的图片处理模板,数量上限:16。最多支持三次操作,例如:裁剪-缩略-裁剪。
339
+ # 创建一个用户自定义的图片处理模板,数量上限:16。最多支持十次操作,例如:裁剪-缩略-裁剪-模糊-缩略-裁剪-缩略-裁剪-模糊-缩略。
340
340
 
341
341
  # @param request: Request instance for CreateImageProcessingTemplate.
342
342
  # @type request: :class:`Tencentcloud::vod::V20180717::CreateImageProcessingTemplateRequest`
@@ -432,7 +432,7 @@ module TencentCloud
432
432
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
433
433
  end
434
434
 
435
- # 创建音画质重生模版。
435
+ # 创建音画质重生模板。
436
436
 
437
437
  # @param request: Request instance for CreateRebuildMediaTemplate.
438
438
  # @type request: :class:`Tencentcloud::vod::V20180717::CreateRebuildMediaTemplateRequest`
@@ -1021,7 +1021,7 @@ module TencentCloud
1021
1021
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1022
1022
  end
1023
1023
 
1024
- # 删除音画质重生模版。
1024
+ # 删除音画质重生模板。
1025
1025
 
1026
1026
  # @param request: Request instance for DeleteRebuildMediaTemplate.
1027
1027
  # @type request: :class:`Tencentcloud::vod::V20180717::DeleteRebuildMediaTemplateRequest`
@@ -2021,7 +2021,7 @@ module TencentCloud
2021
2021
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2022
2022
  end
2023
2023
 
2024
- # 获取音画质重生模版列表。
2024
+ # 获取音画质重生模板列表。
2025
2025
 
2026
2026
  # @param request: Request instance for DescribeRebuildMediaTemplates.
2027
2027
  # @type request: :class:`Tencentcloud::vod::V20180717::DescribeRebuildMediaTemplatesRequest`
@@ -2958,7 +2958,7 @@ module TencentCloud
2958
2958
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2959
2959
  end
2960
2960
 
2961
- # 修改音画质重生模版。
2961
+ # 修改音画质重生模板。
2962
2962
 
2963
2963
  # @param request: Request instance for ModifyRebuildMediaTemplate.
2964
2964
  # @type request: :class:`Tencentcloud::vod::V20180717::ModifyRebuildMediaTemplateRequest`
@@ -3524,7 +3524,7 @@ module TencentCloud
3524
3524
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3525
3525
  end
3526
3526
 
3527
- # 使用模版发起音画质重生。
3527
+ # 使用模板发起音画质重生。
3528
3528
 
3529
3529
  # @param request: Request instance for RebuildMediaByTemplate.
3530
3530
  # @type request: :class:`Tencentcloud::vod::V20180717::RebuildMediaByTemplateRequest`
@@ -5719,7 +5719,7 @@ module TencentCloud
5719
5719
  # CreateImageProcessingTemplate请求参数结构体
5720
5720
  class CreateImageProcessingTemplateRequest < TencentCloud::Common::AbstractModel
5721
5721
  # @param Operations: 图片处理操作数组,操作将以其在数组中的顺序执行。
5722
- # <li>长度限制:3。</li>
5722
+ # <li>长度限制:10。</li>
5723
5723
  # @type Operations: Array
5724
5724
  # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
5725
5725
  # @type SubAppId: Integer
@@ -6080,9 +6080,9 @@ module TencentCloud
6080
6080
  # @type Container: String
6081
6081
  # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
6082
6082
  # @type SubAppId: Integer
6083
- # @param Name: 音画质重生模版名称。
6083
+ # @param Name: 音画质重生模板名称。
6084
6084
  # @type Name: String
6085
- # @param Comment: 模版描述。
6085
+ # @param Comment: 模板描述。
6086
6086
  # @type Comment: String
6087
6087
  # @param RebuildVideoInfo: 音画质重生视频控制控制信息。
6088
6088
  # @type RebuildVideoInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildVideoInfo`
@@ -6146,7 +6146,7 @@ module TencentCloud
6146
6146
 
6147
6147
  # CreateRebuildMediaTemplate返回参数结构体
6148
6148
  class CreateRebuildMediaTemplateResponse < TencentCloud::Common::AbstractModel
6149
- # @param Definition: 音画质重生模版 ID。
6149
+ # @param Definition: 音画质重生模板 ID。
6150
6150
  # @type Definition: Integer
6151
6151
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6152
6152
  # @type RequestId: String
@@ -7405,7 +7405,7 @@ module TencentCloud
7405
7405
 
7406
7406
  # DeleteRebuildMediaTemplate请求参数结构体
7407
7407
  class DeleteRebuildMediaTemplateRequest < TencentCloud::Common::AbstractModel
7408
- # @param Definition: 音画质重生模版号。
7408
+ # @param Definition: 音画质重生模板号。
7409
7409
  # @type Definition: Integer
7410
7410
  # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
7411
7411
  # @type SubAppId: Integer
@@ -9603,7 +9603,7 @@ module TencentCloud
9603
9603
 
9604
9604
  # DescribeRebuildMediaTemplates请求参数结构体
9605
9605
  class DescribeRebuildMediaTemplatesRequest < TencentCloud::Common::AbstractModel
9606
- # @param Definitions: 音画质重生模版列表。
9606
+ # @param Definitions: 音画质重生模板列表。
9607
9607
  # @type Definitions: Array
9608
9608
  # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
9609
9609
  # @type SubAppId: Integer
@@ -12372,6 +12372,31 @@ module TencentCloud
12372
12372
  end
12373
12373
  end
12374
12374
 
12375
+ # 图片模糊处理。
12376
+ class ImageBlur < TencentCloud::Common::AbstractModel
12377
+ # @param Type: 图片模糊的操作类型。可选模式有:
12378
+ # <li>Gaussian : 高斯模糊。</li>
12379
+ # @type Type: String
12380
+ # @param Radius: 模糊半径,取值范围为1 - 50。当 Type 取值为 Gaussian 时此字段有效。
12381
+ # @type Radius: Integer
12382
+ # @param Sigma: 正态分布的标准差,必须大于0。当 Type 取值为 Gaussian 时此字段有效。
12383
+ # @type Sigma: Integer
12384
+
12385
+ attr_accessor :Type, :Radius, :Sigma
12386
+
12387
+ def initialize(type=nil, radius=nil, sigma=nil)
12388
+ @Type = type
12389
+ @Radius = radius
12390
+ @Sigma = sigma
12391
+ end
12392
+
12393
+ def deserialize(params)
12394
+ @Type = params['Type']
12395
+ @Radius = params['Radius']
12396
+ @Sigma = params['Sigma']
12397
+ end
12398
+ end
12399
+
12375
12400
  # 图片中心裁剪处理。
12376
12401
  class ImageCenterCut < TencentCloud::Common::AbstractModel
12377
12402
  # @param Type: 图片的裁剪模式,可选 Circle 和 Rectangle。
@@ -12429,13 +12454,16 @@ module TencentCloud
12429
12454
  # @type Scale: :class:`Tencentcloud::Vod.v20180717.models.ImageScale`
12430
12455
  # @param CenterCut: 图片裁剪处理,仅当 Type 为 CenterCut 时有效。
12431
12456
  # @type CenterCut: :class:`Tencentcloud::Vod.v20180717.models.ImageCenterCut`
12457
+ # @param Blur: 图片模糊处理,仅当 Type 为 Blur 时有效。
12458
+ # @type Blur: :class:`Tencentcloud::Vod.v20180717.models.ImageBlur`
12432
12459
 
12433
- attr_accessor :Type, :Scale, :CenterCut
12460
+ attr_accessor :Type, :Scale, :CenterCut, :Blur
12434
12461
 
12435
- def initialize(type=nil, scale=nil, centercut=nil)
12462
+ def initialize(type=nil, scale=nil, centercut=nil, blur=nil)
12436
12463
  @Type = type
12437
12464
  @Scale = scale
12438
12465
  @CenterCut = centercut
12466
+ @Blur = blur
12439
12467
  end
12440
12468
 
12441
12469
  def deserialize(params)
@@ -12448,6 +12476,10 @@ module TencentCloud
12448
12476
  @CenterCut = ImageCenterCut.new
12449
12477
  @CenterCut.deserialize(params['CenterCut'])
12450
12478
  end
12479
+ unless params['Blur'].nil?
12480
+ @Blur = ImageBlur.new
12481
+ @Blur.deserialize(params['Blur'])
12482
+ end
12451
12483
  end
12452
12484
  end
12453
12485
 
@@ -16193,13 +16225,13 @@ module TencentCloud
16193
16225
 
16194
16226
  # ModifyRebuildMediaTemplate请求参数结构体
16195
16227
  class ModifyRebuildMediaTemplateRequest < TencentCloud::Common::AbstractModel
16196
- # @param Definition: 音画质重生模版号。
16228
+ # @param Definition: 音画质重生模板号。
16197
16229
  # @type Definition: Integer
16198
16230
  # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
16199
16231
  # @type SubAppId: String
16200
- # @param Name: 音画质重生模版名称。
16232
+ # @param Name: 音画质重生模板名称。
16201
16233
  # @type Name: String
16202
- # @param Comment: 音画质重生模版描述。
16234
+ # @param Comment: 音画质重生模板描述。
16203
16235
  # @type Comment: String
16204
16236
  # @param RebuildVideoInfo: 音画质重生视频控制信息。
16205
16237
  # @type RebuildVideoInfo: :class:`Tencentcloud::Vod.v20180717.models.RebuildVideoInfo`
@@ -19149,7 +19181,7 @@ module TencentCloud
19149
19181
  class RebuildMediaByTemplateRequest < TencentCloud::Common::AbstractModel
19150
19182
  # @param FileId: 媒体文件 ID。
19151
19183
  # @type FileId: String
19152
- # @param Definition: 音画质重生模版 ID。
19184
+ # @param Definition: 音画质重生模板 ID。
19153
19185
  # @type Definition: Integer
19154
19186
  # @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
19155
19187
  # @type SubAppId: String
@@ -19816,17 +19848,17 @@ module TencentCloud
19816
19848
  end
19817
19849
  end
19818
19850
 
19819
- # 音画质重生模版详情。
19851
+ # 音画质重生模板详情。
19820
19852
  class RebuildMediaTemplate < TencentCloud::Common::AbstractModel
19821
- # @param Definition: 音画质重生模版号。
19853
+ # @param Definition: 音画质重生模板号。
19822
19854
  # @type Definition: Integer
19823
19855
  # @param Type: 模板类型,可选值:
19824
19856
  # <li>Preset:系统预置模板;</li>
19825
19857
  # <li>Custom:用户自定义模板。</li>
19826
19858
  # @type Type: String
19827
- # @param Name: 音画质重生模版名称。
19859
+ # @param Name: 音画质重生模板名称。
19828
19860
  # @type Name: String
19829
- # @param Comment: 音画质重生模版描述。
19861
+ # @param Comment: 音画质重生模板描述。
19830
19862
  # @type Comment: String
19831
19863
  # @param RebuildVideoInfo: 音画质重生视频控制信息。
19832
19864
  # 注意:此字段可能返回 null,表示取不到有效值。
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.545
4
+ version: 3.0.546
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-04-05 00:00:00.000000000 Z
11
+ date: 2023-04-07 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-vod.rb
37
- - lib/v20180717/models.rb
38
37
  - lib/v20180717/client.rb
38
+ - lib/v20180717/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: