tencentcloud-sdk-ocr 3.0.1115 → 3.0.1116
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/models.rb +37 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40e6858fc954c92c23764848f83c02663d9d2f01
|
4
|
+
data.tar.gz: e12d05afb4b4810dc9bda19fa2093bd6aa95e6ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b598a45529bfd31a4fcb92a7980007c8bf91da316b6ec1c521964acf8cb1224c7cf7c8b74dde1d81ad3f0be6164b9b14d82f6abd57b744f4782b022c2167749
|
7
|
+
data.tar.gz: db8d6a1db91df0b9d44996420b3c1bc25f4e2f124ce479746ffd3036b8da1d083386ccf4b48d0bbe8502cee08bc034c9800f71442522de0838a8dc64c38a760d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1116
|
data/lib/v20181119/models.rb
CHANGED
@@ -4326,14 +4326,17 @@ module TencentCloud
|
|
4326
4326
|
# @type Type: String
|
4327
4327
|
# @param OCRResult: ocr结果
|
4328
4328
|
# @type OCRResult: :class:`Tencentcloud::Ocr.v20181119.models.OCRResult`
|
4329
|
+
# @param RequestIdInfos: requestid 信息
|
4330
|
+
# @type RequestIdInfos: Array
|
4329
4331
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4330
4332
|
# @type RequestId: String
|
4331
4333
|
|
4332
|
-
attr_accessor :Type, :OCRResult, :RequestId
|
4334
|
+
attr_accessor :Type, :OCRResult, :RequestIdInfos, :RequestId
|
4333
4335
|
|
4334
|
-
def initialize(type=nil, ocrresult=nil, requestid=nil)
|
4336
|
+
def initialize(type=nil, ocrresult=nil, requestidinfos=nil, requestid=nil)
|
4335
4337
|
@Type = type
|
4336
4338
|
@OCRResult = ocrresult
|
4339
|
+
@RequestIdInfos = requestidinfos
|
4337
4340
|
@RequestId = requestid
|
4338
4341
|
end
|
4339
4342
|
|
@@ -4343,6 +4346,14 @@ module TencentCloud
|
|
4343
4346
|
@OCRResult = OCRResult.new
|
4344
4347
|
@OCRResult.deserialize(params['OCRResult'])
|
4345
4348
|
end
|
4349
|
+
unless params['RequestIdInfos'].nil?
|
4350
|
+
@RequestIdInfos = []
|
4351
|
+
params['RequestIdInfos'].each do |i|
|
4352
|
+
requestidinfo_tmp = RequestIdInfo.new
|
4353
|
+
requestidinfo_tmp.deserialize(i)
|
4354
|
+
@RequestIdInfos << requestidinfo_tmp
|
4355
|
+
end
|
4356
|
+
end
|
4346
4357
|
@RequestId = params['RequestId']
|
4347
4358
|
end
|
4348
4359
|
end
|
@@ -10005,6 +10016,30 @@ module TencentCloud
|
|
10005
10016
|
end
|
10006
10017
|
end
|
10007
10018
|
|
10019
|
+
# 请求 id 信息
|
10020
|
+
class RequestIdInfo < TencentCloud::Common::AbstractModel
|
10021
|
+
# @param ApiRequestId: 请求 api 的 requestid
|
10022
|
+
# @type ApiRequestId: String
|
10023
|
+
# @param ApiErrorCode: 请求 api 的错误码
|
10024
|
+
# @type ApiErrorCode: String
|
10025
|
+
# @param WarnCodes: 告警码
|
10026
|
+
# @type WarnCodes: Array
|
10027
|
+
|
10028
|
+
attr_accessor :ApiRequestId, :ApiErrorCode, :WarnCodes
|
10029
|
+
|
10030
|
+
def initialize(apirequestid=nil, apierrorcode=nil, warncodes=nil)
|
10031
|
+
@ApiRequestId = apirequestid
|
10032
|
+
@ApiErrorCode = apierrorcode
|
10033
|
+
@WarnCodes = warncodes
|
10034
|
+
end
|
10035
|
+
|
10036
|
+
def deserialize(params)
|
10037
|
+
@ApiRequestId = params['ApiRequestId']
|
10038
|
+
@ApiErrorCode = params['ApiErrorCode']
|
10039
|
+
@WarnCodes = params['WarnCodes']
|
10040
|
+
end
|
10041
|
+
end
|
10042
|
+
|
10008
10043
|
# ResidenceBookletOCR请求参数结构体
|
10009
10044
|
class ResidenceBookletOCRRequest < TencentCloud::Common::AbstractModel
|
10010
10045
|
# @param ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
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.
|
4
|
+
version: 3.0.1116
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|