tencentcloud-sdk-bda 3.0.403 → 3.0.406

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/v20200324/models.rb +25 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a683d22e49d4a8660bdf07a97eae66e7bfae0742
4
- data.tar.gz: f6a5d3b771ac5f3dc251a3de24f9fda336d062cb
3
+ metadata.gz: d6efefcd43d92b4db1d008b7e6a0086ff3970715
4
+ data.tar.gz: 45bc2e0ee5d895cdfc9f4c49d41807fbfa19dbca
5
5
  SHA512:
6
- metadata.gz: d07ef57ec952bc148d0482908d061593f51f697b87081d4149d5689d4c6c916a47521b6d0afe1ba3ca08d7e151b7f4994983e681bc4108df0044f3301413e59d
7
- data.tar.gz: e5835d866931d1710af2b9b6cff5e08e7d36b8f87b22bb2461d6e4c0cdfdf51ccc0a9ab317721d154f6cb9f61618670e7b5820c8c5464b4bce6cf6cda543464b
6
+ metadata.gz: c4d8d1f5503d78e5f6766be04c91ebef44866547820af4e67fb7c45476c73b2e4b849a941f6727a2465e8a77bdc3b80489b19c5d357f37b02a3d8377079b25bd
7
+ data.tar.gz: de54c7f426611a9c779e3c1b8a1c783054f756efd09424c326b5a196d414b80fd72564207b271be3423f317bd78af11942fb708f292f93644b4bcdc57d7913ab
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.403
1
+ 3.0.406
@@ -1439,40 +1439,61 @@ module TencentCloud
1439
1439
  # 非腾讯云存储的Url速度和稳定性可能受一定影响。
1440
1440
  # 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
1441
1441
  # @type Url: String
1442
+ # @param RspImgType: 返回图像方式(base64 或 url ) ,二选一。url有效期为30分钟。
1443
+ # @type RspImgType: String
1442
1444
 
1443
- attr_accessor :Image, :Url
1445
+ attr_accessor :Image, :Url, :RspImgType
1444
1446
 
1445
- def initialize(image=nil, url=nil)
1447
+ def initialize(image=nil, url=nil, rspimgtype=nil)
1446
1448
  @Image = image
1447
1449
  @Url = url
1450
+ @RspImgType = rspimgtype
1448
1451
  end
1449
1452
 
1450
1453
  def deserialize(params)
1451
1454
  @Image = params['Image']
1452
1455
  @Url = params['Url']
1456
+ @RspImgType = params['RspImgType']
1453
1457
  end
1454
1458
  end
1455
1459
 
1456
1460
  # SegmentPortraitPic返回参数结构体
1457
1461
  class SegmentPortraitPicResponse < TencentCloud::Common::AbstractModel
1458
1462
  # @param ResultImage: 处理后的图片 base64 数据,透明背景图
1463
+ # 注意:此字段可能返回 null,表示取不到有效值。
1459
1464
  # @type ResultImage: String
1460
1465
  # @param ResultMask: 一个通过 Base64 编码的文件,解码后文件由 Float 型浮点数组成。这些浮点数代表原图从左上角开始的每一行的每一个像素点,每一个浮点数的值是原图相应像素点位于人体轮廓内的置信度(0-1)转化的灰度值(0-255)
1466
+ # 注意:此字段可能返回 null,表示取不到有效值。
1461
1467
  # @type ResultMask: String
1468
+ # @param HasForeground: 图片是否存在前景。
1469
+ # 注意:此字段可能返回 null,表示取不到有效值。
1470
+ # @type HasForeground: Boolean
1471
+ # @param ResultImageUrl: 支持将处理过的图片 base64 数据,透明背景图以URL的形式返回值,URL有效期为30分钟。
1472
+ # 注意:此字段可能返回 null,表示取不到有效值。
1473
+ # @type ResultImageUrl: String
1474
+ # @param ResultMaskUrl: 一个通过 Base64 编码的文件,解码后文件由 Float 型浮点数组成。支持以URL形式的返回值;URL有效期为30分钟。
1475
+ # 注意:此字段可能返回 null,表示取不到有效值。
1476
+ # @type ResultMaskUrl: String
1462
1477
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1463
1478
  # @type RequestId: String
1464
1479
 
1465
- attr_accessor :ResultImage, :ResultMask, :RequestId
1480
+ attr_accessor :ResultImage, :ResultMask, :HasForeground, :ResultImageUrl, :ResultMaskUrl, :RequestId
1466
1481
 
1467
- def initialize(resultimage=nil, resultmask=nil, requestid=nil)
1482
+ def initialize(resultimage=nil, resultmask=nil, hasforeground=nil, resultimageurl=nil, resultmaskurl=nil, requestid=nil)
1468
1483
  @ResultImage = resultimage
1469
1484
  @ResultMask = resultmask
1485
+ @HasForeground = hasforeground
1486
+ @ResultImageUrl = resultimageurl
1487
+ @ResultMaskUrl = resultmaskurl
1470
1488
  @RequestId = requestid
1471
1489
  end
1472
1490
 
1473
1491
  def deserialize(params)
1474
1492
  @ResultImage = params['ResultImage']
1475
1493
  @ResultMask = params['ResultMask']
1494
+ @HasForeground = params['HasForeground']
1495
+ @ResultImageUrl = params['ResultImageUrl']
1496
+ @ResultMaskUrl = params['ResultMaskUrl']
1476
1497
  @RequestId = params['RequestId']
1477
1498
  end
1478
1499
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-bda
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.403
4
+ version: 3.0.406
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-09-02 00:00:00.000000000 Z
11
+ date: 2022-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common