tencentcloud-sdk-lkeap 3.0.1130 → 3.0.1131

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/v20240522/models.rb +39 -5
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c5a0138ff8a045db3d9bfaef02e5cc827ddc988
4
- data.tar.gz: 7b4e1a3d3e3bdb9127bc2561ca0067238dbe38bd
3
+ metadata.gz: 0aa17499ee3e4e235bebba5f71c8faa9f163d967
4
+ data.tar.gz: 36295b364fe561a87ac47b132b5fc0b608cd4870
5
5
  SHA512:
6
- metadata.gz: 51a4d1798eec2ac60accc40cef1436647cccd68d1e28f42495510df76a81c422c40a225037d8e4f7e73f742ea1afed605c204d09cc785f2d49ab998ea2654ce9
7
- data.tar.gz: a7c9bca42cdadb495bd0d4710a05d3b30d5b7e87158e50ec6131c7d193f3ce9c95349c9d5eee64a779a778473cabbfda088f528611a6f6603442722bd70fece5
6
+ metadata.gz: cfdebdeed4c25b9e78de58eb344ee30a3a6760f9ceca0bc144e05bf106e0206a6fb2f4237c06e2beca5880e0024d1abfd60f90cdec4012dfdcecd423c413db62
7
+ data.tar.gz: 537d7cb0b2f041ed1f12f5ba1631fcc12cd37b30866e515c127a545e9c2de363a579c81392796e7cbe812f13dec0ca80d49931bdd8e5bfd056eafa5abadd4c0e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1130
1
+ 3.0.1131
@@ -921,7 +921,7 @@ module TencentCloud
921
921
  # @type SuccessPageNum: Integer
922
922
  # @param FailPageNum: 解析失败页数
923
923
  # @type FailPageNum: Integer
924
- # @param FileSize: 文件大小,单位KB
924
+ # @param FileSize: 文件大小,单位:字节
925
925
  # @type FileSize: Integer
926
926
 
927
927
  attr_accessor :PageNumber, :TotalToken, :TotalTokens, :SplitTokens, :MllmTokens, :SuccessPageNum, :FailPageNum, :FileSize
@@ -968,6 +968,26 @@ module TencentCloud
968
968
  end
969
969
  end
970
970
 
971
+ # 错误信息
972
+ class ErrorInfo < TencentCloud::Common::AbstractModel
973
+ # @param Code: 错误码
974
+ # @type Code: String
975
+ # @param Message: 错误信息
976
+ # @type Message: String
977
+
978
+ attr_accessor :Code, :Message
979
+
980
+ def initialize(code=nil, message=nil)
981
+ @Code = code
982
+ @Message = message
983
+ end
984
+
985
+ def deserialize(params)
986
+ @Code = params['Code']
987
+ @Message = params['Message']
988
+ end
989
+ end
990
+
971
991
  # GetCharacterUsage请求参数结构体
972
992
  class GetCharacterUsageRequest < TencentCloud::Common::AbstractModel
973
993
 
@@ -1091,16 +1111,19 @@ module TencentCloud
1091
1111
  # @type FailedPages: Array
1092
1112
  # @param Usage: 文档拆分任务的用量
1093
1113
  # @type Usage: :class:`Tencentcloud::Lkeap.v20240522.models.DocumentUsage`
1114
+ # @param Error: 文档解析任务失败错误信息,当文档解析任务失败会返回具体的错误信息
1115
+ # @type Error: :class:`Tencentcloud::Lkeap.v20240522.models.ErrorInfo`
1094
1116
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1095
1117
  # @type RequestId: String
1096
1118
 
1097
- attr_accessor :Status, :DocumentRecognizeResultUrl, :FailedPages, :Usage, :RequestId
1119
+ attr_accessor :Status, :DocumentRecognizeResultUrl, :FailedPages, :Usage, :Error, :RequestId
1098
1120
 
1099
- def initialize(status=nil, documentrecognizeresulturl=nil, failedpages=nil, usage=nil, requestid=nil)
1121
+ def initialize(status=nil, documentrecognizeresulturl=nil, failedpages=nil, usage=nil, error=nil, requestid=nil)
1100
1122
  @Status = status
1101
1123
  @DocumentRecognizeResultUrl = documentrecognizeresulturl
1102
1124
  @FailedPages = failedpages
1103
1125
  @Usage = usage
1126
+ @Error = error
1104
1127
  @RequestId = requestid
1105
1128
  end
1106
1129
 
@@ -1119,6 +1142,10 @@ module TencentCloud
1119
1142
  @Usage = DocumentUsage.new
1120
1143
  @Usage.deserialize(params['Usage'])
1121
1144
  end
1145
+ unless params['Error'].nil?
1146
+ @Error = ErrorInfo.new
1147
+ @Error.deserialize(params['Error'])
1148
+ end
1122
1149
  @RequestId = params['RequestId']
1123
1150
  end
1124
1151
  end
@@ -1165,19 +1192,22 @@ module TencentCloud
1165
1192
  # @type FailedPages: Array
1166
1193
  # @param Usage: 文档拆分任务的用量
1167
1194
  # @type Usage: :class:`Tencentcloud::Lkeap.v20240522.models.DocumentUsage`
1195
+ # @param Error: 文档拆分失败的错误信息,当拆分任务失败时返回该错误信息
1196
+ # @type Error: :class:`Tencentcloud::Lkeap.v20240522.models.ErrorInfo`
1168
1197
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1169
1198
  # @type RequestId: String
1170
1199
 
1171
- attr_accessor :Status, :DocumentRecognizeResultUrl, :FailedPages, :Usage, :RequestId
1200
+ attr_accessor :Status, :DocumentRecognizeResultUrl, :FailedPages, :Usage, :Error, :RequestId
1172
1201
  extend Gem::Deprecate
1173
1202
  deprecate :FailedPages, :none, 2025, 8
1174
1203
  deprecate :FailedPages=, :none, 2025, 8
1175
1204
 
1176
- def initialize(status=nil, documentrecognizeresulturl=nil, failedpages=nil, usage=nil, requestid=nil)
1205
+ def initialize(status=nil, documentrecognizeresulturl=nil, failedpages=nil, usage=nil, error=nil, requestid=nil)
1177
1206
  @Status = status
1178
1207
  @DocumentRecognizeResultUrl = documentrecognizeresulturl
1179
1208
  @FailedPages = failedpages
1180
1209
  @Usage = usage
1210
+ @Error = error
1181
1211
  @RequestId = requestid
1182
1212
  end
1183
1213
 
@@ -1196,6 +1226,10 @@ module TencentCloud
1196
1226
  @Usage = DocumentUsage.new
1197
1227
  @Usage.deserialize(params['Usage'])
1198
1228
  end
1229
+ unless params['Error'].nil?
1230
+ @Error = ErrorInfo.new
1231
+ @Error.deserialize(params['Error'])
1232
+ end
1199
1233
  @RequestId = params['RequestId']
1200
1234
  end
1201
1235
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-lkeap
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1130
4
+ version: 3.0.1131
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-26 00:00:00.000000000 Z
11
+ date: 2025-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common