tencentcloud-sdk-trtc 3.0.523 → 3.0.524

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190722/models.rb +58 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 68e4ba10259f89c46ab746f63df09af39e271097
4
- data.tar.gz: 7530601541c8497ce0d4b2b84dc6e30a66350814
3
+ metadata.gz: 7e23dd471e8be3d5c6f5e79c4b993ade3e95cf56
4
+ data.tar.gz: 72ae470c2a382acaeb8e52a8bc9a60ad07ccac92
5
5
  SHA512:
6
- metadata.gz: e654c072e3f3045199a24319c3f70a5fc325ba68df1857dddbe7700bae5337e74f1aac0b8347f3f041aabd7e559159e44cbe5307f890bdc705f60eedb94f2afe
7
- data.tar.gz: f3505a11403c44e6e5e53ea8ae5c264fa0406bd2bca056a30a8742fd778a0d86c2dfe8e7ceeed678517345b972f3c74dd0c8a28feca6d7e7cdb7e8c987f8bacc
6
+ metadata.gz: 4863b5003efe350041ee9d40467a7119da0761bfdc5d33fc0b736c6ac8119dddb7dd9d1e55829d3f8779033cfd153d3d19cf14e9caa393c0bd14b1fea1c2b563
7
+ data.tar.gz: 9ceea5f053c6b6fa47a860c1b1346510388912031f3751b30402bf395b06887e8ccf7ab5f90c6e81228d74895d65da87e03439aa0d5f28d63b754c4bcdc8581f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.523
1
+ 3.0.524
@@ -2312,16 +2312,20 @@ module TencentCloud
2312
2312
 
2313
2313
  # 水印参数。
2314
2314
  class McuWaterMarkParams < TencentCloud::Common::AbstractModel
2315
- # @param WaterMarkType: 水印类型,0为图片(默认)。
2315
+ # @param WaterMarkType: 水印类型,0为图片(默认),1为文字。
2316
2316
  # @type WaterMarkType: Integer
2317
2317
  # @param WaterMarkImage: 图片水印参数。WaterMarkType为0指定。
2318
2318
  # @type WaterMarkImage: :class:`Tencentcloud::Trtc.v20190722.models.McuWaterMarkImage`
2319
+ # @param WaterMarkText: 文字水印参数。WaterMarkType为1指定。
2320
+ # 注意:此字段可能返回 null,表示取不到有效值。
2321
+ # @type WaterMarkText: :class:`Tencentcloud::Trtc.v20190722.models.McuWaterMarkText`
2319
2322
 
2320
- attr_accessor :WaterMarkType, :WaterMarkImage
2323
+ attr_accessor :WaterMarkType, :WaterMarkImage, :WaterMarkText
2321
2324
 
2322
- def initialize(watermarktype=nil, watermarkimage=nil)
2325
+ def initialize(watermarktype=nil, watermarkimage=nil, watermarktext=nil)
2323
2326
  @WaterMarkType = watermarktype
2324
2327
  @WaterMarkImage = watermarkimage
2328
+ @WaterMarkText = watermarktext
2325
2329
  end
2326
2330
 
2327
2331
  def deserialize(params)
@@ -2330,6 +2334,57 @@ module TencentCloud
2330
2334
  @WaterMarkImage = McuWaterMarkImage.new
2331
2335
  @WaterMarkImage.deserialize(params['WaterMarkImage'])
2332
2336
  end
2337
+ unless params['WaterMarkText'].nil?
2338
+ @WaterMarkText = McuWaterMarkText.new
2339
+ @WaterMarkText.deserialize(params['WaterMarkText'])
2340
+ end
2341
+ end
2342
+ end
2343
+
2344
+ # 文字水印参数。
2345
+ class McuWaterMarkText < TencentCloud::Common::AbstractModel
2346
+ # @param Text: 文字水印内容。
2347
+ # @type Text: String
2348
+ # @param WaterMarkWidth: 水印在输出时的宽。单位为像素值。
2349
+ # @type WaterMarkWidth: Integer
2350
+ # @param WaterMarkHeight: 水印在输出时的高。单位为像素值。
2351
+ # @type WaterMarkHeight: Integer
2352
+ # @param LocationX: 水印在输出时的X偏移。单位为像素值。
2353
+ # @type LocationX: Integer
2354
+ # @param LocationY: 水印在输出时的Y偏移。单位为像素值。
2355
+ # @type LocationY: Integer
2356
+ # @param FontSize: 字体大小
2357
+ # 注意:此字段可能返回 null,表示取不到有效值。
2358
+ # @type FontSize: Integer
2359
+ # @param FontColor: 字体颜色,默认为白色。常用的颜色有: 红色:0xcc0033。 黄色:0xcc9900。 绿色:0xcccc33。 蓝色:0x99CCFF。 黑色:0x000000。 白色:0xFFFFFF。 灰色:0x999999。
2360
+ # 注意:此字段可能返回 null,表示取不到有效值。
2361
+ # @type FontColor: String
2362
+ # @param BackGroundColor: 字体背景色,不配置默认为透明。常用的颜色有: 红色:0xcc0033。 黄色:0xcc9900。 绿色:0xcccc33。 蓝色:0x99CCFF。 黑色:0x000000。 白色:0xFFFFFF。 灰色:0x999999。
2363
+ # 注意:此字段可能返回 null,表示取不到有效值。
2364
+ # @type BackGroundColor: String
2365
+
2366
+ attr_accessor :Text, :WaterMarkWidth, :WaterMarkHeight, :LocationX, :LocationY, :FontSize, :FontColor, :BackGroundColor
2367
+
2368
+ def initialize(text=nil, watermarkwidth=nil, watermarkheight=nil, locationx=nil, locationy=nil, fontsize=nil, fontcolor=nil, backgroundcolor=nil)
2369
+ @Text = text
2370
+ @WaterMarkWidth = watermarkwidth
2371
+ @WaterMarkHeight = watermarkheight
2372
+ @LocationX = locationx
2373
+ @LocationY = locationy
2374
+ @FontSize = fontsize
2375
+ @FontColor = fontcolor
2376
+ @BackGroundColor = backgroundcolor
2377
+ end
2378
+
2379
+ def deserialize(params)
2380
+ @Text = params['Text']
2381
+ @WaterMarkWidth = params['WaterMarkWidth']
2382
+ @WaterMarkHeight = params['WaterMarkHeight']
2383
+ @LocationX = params['LocationX']
2384
+ @LocationY = params['LocationY']
2385
+ @FontSize = params['FontSize']
2386
+ @FontColor = params['FontColor']
2387
+ @BackGroundColor = params['BackGroundColor']
2333
2388
  end
2334
2389
  end
2335
2390
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-trtc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.523
4
+ version: 3.0.524
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-03-07 00:00:00.000000000 Z
11
+ date: 2023-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common