tencentcloud-sdk-ocr 3.0.902 → 3.0.904

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20181119/models.rb +14 -10
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: afa565933746d1342d294d2850c8df505729ef92
4
- data.tar.gz: 8235a416ebbff7f9af7d27ae5fbc6cd393cc2b40
3
+ metadata.gz: 1e0972c8d2489991fa0f2075c132698b1ec2eb7d
4
+ data.tar.gz: 769ebdca19152057f8f58701c6786056dba8c301
5
5
  SHA512:
6
- metadata.gz: d3e14af55040e053b0fbdb0a65c63a1d0c03a42cae46dce2cad314389b09af4f1eeeba126f1909f26a19f8853e04bf6301ea1576668699058ed7b5425b619f90
7
- data.tar.gz: 11f19317111d8498a33aa508168dc34d37e2b8cf7fbb9f359c02a3338a1bd4b55cb6b142e0d357649afed974951793bffe97f88022cf4b80f10dadc18e1da916
6
+ metadata.gz: b0a9ada63297941f61a5fdde7239dae755e1d94352adf22e9763bf3f367eb4aca6644888578311acae950c76a85138d3bad5b59d44bd204d4b5d19b608d2fcbf
7
+ data.tar.gz: 7f96c47019c868a17b4c89cd8239069ebb186299128f7e779bccc7b14fa93f2f24f6067b6de1d1507094f9bd6644e222aec8c933c10de80acc56bf5b983e96f7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.902
1
+ 3.0.904
@@ -3457,13 +3457,9 @@ module TencentCloud
3457
3457
 
3458
3458
  # GeneralBasicOCR请求参数结构体
3459
3459
  class GeneralBasicOCRRequest < TencentCloud::Common::AbstractModel
3460
- # @param ImageBase64: 图片/PDF的 Base64 值。
3461
- # 要求图片/PDF经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。
3462
- # 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
3460
+ # @param ImageBase64: 图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
3463
3461
  # @type ImageBase64: String
3464
- # @param ImageUrl: 图片/PDF的 Url 地址。
3465
- # 要求图片/PDF经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。
3466
- # 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
3462
+ # @param ImageUrl: 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
3467
3463
  # @type ImageUrl: String
3468
3464
  # @param Scene: 保留字段。
3469
3465
  # @type Scene: String
@@ -5432,14 +5428,16 @@ module TencentCloud
5432
5428
  # @type Type: String
5433
5429
  # @param Profile: RetProfile为True时返回头像字段, Base64编码
5434
5430
  # @type Profile: String
5431
+ # @param Nationality: 国籍
5432
+ # @type Nationality: String
5435
5433
  # @param MainlandTravelPermitBackInfos: 背面字段信息
5436
5434
  # @type MainlandTravelPermitBackInfos: :class:`Tencentcloud::Ocr.v20181119.models.MainlandTravelPermitBackInfos`
5437
5435
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5438
5436
  # @type RequestId: String
5439
5437
 
5440
- attr_accessor :Name, :EnglishName, :Sex, :Birthday, :IssueAuthority, :ValidDate, :Number, :IssueAddress, :IssueNumber, :Type, :Profile, :MainlandTravelPermitBackInfos, :RequestId
5438
+ attr_accessor :Name, :EnglishName, :Sex, :Birthday, :IssueAuthority, :ValidDate, :Number, :IssueAddress, :IssueNumber, :Type, :Profile, :Nationality, :MainlandTravelPermitBackInfos, :RequestId
5441
5439
 
5442
- def initialize(name=nil, englishname=nil, sex=nil, birthday=nil, issueauthority=nil, validdate=nil, number=nil, issueaddress=nil, issuenumber=nil, type=nil, profile=nil, mainlandtravelpermitbackinfos=nil, requestid=nil)
5440
+ def initialize(name=nil, englishname=nil, sex=nil, birthday=nil, issueauthority=nil, validdate=nil, number=nil, issueaddress=nil, issuenumber=nil, type=nil, profile=nil, nationality=nil, mainlandtravelpermitbackinfos=nil, requestid=nil)
5443
5441
  @Name = name
5444
5442
  @EnglishName = englishname
5445
5443
  @Sex = sex
@@ -5451,6 +5449,7 @@ module TencentCloud
5451
5449
  @IssueNumber = issuenumber
5452
5450
  @Type = type
5453
5451
  @Profile = profile
5452
+ @Nationality = nationality
5454
5453
  @MainlandTravelPermitBackInfos = mainlandtravelpermitbackinfos
5455
5454
  @RequestId = requestid
5456
5455
  end
@@ -5467,6 +5466,7 @@ module TencentCloud
5467
5466
  @IssueNumber = params['IssueNumber']
5468
5467
  @Type = params['Type']
5469
5468
  @Profile = params['Profile']
5469
+ @Nationality = params['Nationality']
5470
5470
  unless params['MainlandTravelPermitBackInfos'].nil?
5471
5471
  @MainlandTravelPermitBackInfos = MainlandTravelPermitBackInfos.new
5472
5472
  @MainlandTravelPermitBackInfos.deserialize(params['MainlandTravelPermitBackInfos'])
@@ -6611,12 +6611,14 @@ module TencentCloud
6611
6611
  # @type Birthday: String
6612
6612
  # @param PortraitImage: 头像照片的base64
6613
6613
  # @type PortraitImage: String
6614
+ # @param Type: 返回类型
6615
+ # @type Type: String
6614
6616
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6615
6617
  # @type RequestId: String
6616
6618
 
6617
- attr_accessor :Name, :EnglishName, :Number, :Sex, :ValidDate, :IssueAuthority, :IssueAddress, :Birthday, :PortraitImage, :RequestId
6619
+ attr_accessor :Name, :EnglishName, :Number, :Sex, :ValidDate, :IssueAuthority, :IssueAddress, :Birthday, :PortraitImage, :Type, :RequestId
6618
6620
 
6619
- def initialize(name=nil, englishname=nil, number=nil, sex=nil, validdate=nil, issueauthority=nil, issueaddress=nil, birthday=nil, portraitimage=nil, requestid=nil)
6621
+ def initialize(name=nil, englishname=nil, number=nil, sex=nil, validdate=nil, issueauthority=nil, issueaddress=nil, birthday=nil, portraitimage=nil, type=nil, requestid=nil)
6620
6622
  @Name = name
6621
6623
  @EnglishName = englishname
6622
6624
  @Number = number
@@ -6626,6 +6628,7 @@ module TencentCloud
6626
6628
  @IssueAddress = issueaddress
6627
6629
  @Birthday = birthday
6628
6630
  @PortraitImage = portraitimage
6631
+ @Type = type
6629
6632
  @RequestId = requestid
6630
6633
  end
6631
6634
 
@@ -6639,6 +6642,7 @@ module TencentCloud
6639
6642
  @IssueAddress = params['IssueAddress']
6640
6643
  @Birthday = params['Birthday']
6641
6644
  @PortraitImage = params['PortraitImage']
6645
+ @Type = params['Type']
6642
6646
  @RequestId = params['RequestId']
6643
6647
  end
6644
6648
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ocr
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.902
4
+ version: 3.0.904
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-09 00:00:00.000000000 Z
11
+ date: 2024-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common