tencentcloud-sdk-captcha 3.0.430 → 3.0.432

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 +200 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dcebdc918d93589a6c264031b83daa02d8180219
4
- data.tar.gz: 983f14c161c703909910289f01234597ef9f9320
3
+ metadata.gz: 19aa205aaacfa37fdef46b5ea6764190d8a47b5f
4
+ data.tar.gz: 8cb72234a79a59448eb0cf5988236c5a98a90dab
5
5
  SHA512:
6
- metadata.gz: b4b580720d8c378bc245475c99702370c6f8a2b356e1b81fc53cb1578884ea4240c01ec69d612ef3a605ecc7ca3bdd43ec5ac8fb71fdbbcd466aaf42f751b3a9
7
- data.tar.gz: e518c10aa51514642be4446b93a4998897dd2541d25c170d626d593879b078de7bec7baba48e5af809caebf1f9de0982ae8291e0092f821268359b28b9302b32
6
+ metadata.gz: 652883e9fc5dedb82078b64889399d793261c3c4eb1149659d07465f7cd6b183ec7a7c8efa46542af7e9ab354ceeff073423583b5ae4d48676ac9d139dccc096
7
+ data.tar.gz: d67e701eeff87b79dd57072b840e90c6657737458b5e6be65ee7721a96421934f9678149d4d5109b017dc94a37a6a31c242753dc5ff985c662fc14a85b0bf78a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.430
1
+ 3.0.432
@@ -193,6 +193,82 @@ module TencentCloud
193
193
  end
194
194
  end
195
195
 
196
+ # 验证码统计图Obj
197
+ class CaptchaStatisticObj < TencentCloud::Common::AbstractModel
198
+ # @param ActionTotal: 请求总量
199
+ # @type ActionTotal: Integer
200
+ # @param VerifyTotal: 验证总量
201
+ # @type VerifyTotal: Integer
202
+ # @param VerifyThroughTotal: 验证通过总量
203
+ # @type VerifyThroughTotal: Integer
204
+ # @param VerifyInterceptTotal: 验证拦截总量
205
+ # @type VerifyInterceptTotal: Integer
206
+ # @param TicketTotal: 票据校验总量
207
+ # @type TicketTotal: Integer
208
+ # @param TicketThroughTotal: 票据通过总量
209
+ # @type TicketThroughTotal: Integer
210
+ # @param TicketInterceptTotal: 票据拦截总量
211
+ # @type TicketInterceptTotal: Integer
212
+ # @param RequestTrend: 请求趋势图
213
+ # 注意:此字段可能返回 null,表示取不到有效值。
214
+ # @type RequestTrend: Array
215
+ # @param InterceptPerTrend: 拦截率趋势图
216
+ # 注意:此字段可能返回 null,表示取不到有效值。
217
+ # @type InterceptPerTrend: Array
218
+ # @param TicketCheckTrend: 票据校验趋势图
219
+ # 注意:此字段可能返回 null,表示取不到有效值。
220
+ # @type TicketCheckTrend: Array
221
+
222
+ attr_accessor :ActionTotal, :VerifyTotal, :VerifyThroughTotal, :VerifyInterceptTotal, :TicketTotal, :TicketThroughTotal, :TicketInterceptTotal, :RequestTrend, :InterceptPerTrend, :TicketCheckTrend
223
+
224
+ def initialize(actiontotal=nil, verifytotal=nil, verifythroughtotal=nil, verifyintercepttotal=nil, tickettotal=nil, ticketthroughtotal=nil, ticketintercepttotal=nil, requesttrend=nil, interceptpertrend=nil, ticketchecktrend=nil)
225
+ @ActionTotal = actiontotal
226
+ @VerifyTotal = verifytotal
227
+ @VerifyThroughTotal = verifythroughtotal
228
+ @VerifyInterceptTotal = verifyintercepttotal
229
+ @TicketTotal = tickettotal
230
+ @TicketThroughTotal = ticketthroughtotal
231
+ @TicketInterceptTotal = ticketintercepttotal
232
+ @RequestTrend = requesttrend
233
+ @InterceptPerTrend = interceptpertrend
234
+ @TicketCheckTrend = ticketchecktrend
235
+ end
236
+
237
+ def deserialize(params)
238
+ @ActionTotal = params['ActionTotal']
239
+ @VerifyTotal = params['VerifyTotal']
240
+ @VerifyThroughTotal = params['VerifyThroughTotal']
241
+ @VerifyInterceptTotal = params['VerifyInterceptTotal']
242
+ @TicketTotal = params['TicketTotal']
243
+ @TicketThroughTotal = params['TicketThroughTotal']
244
+ @TicketInterceptTotal = params['TicketInterceptTotal']
245
+ unless params['RequestTrend'].nil?
246
+ @RequestTrend = []
247
+ params['RequestTrend'].each do |i|
248
+ requesttrendobj_tmp = RequestTrendObj.new
249
+ requesttrendobj_tmp.deserialize(i)
250
+ @RequestTrend << requesttrendobj_tmp
251
+ end
252
+ end
253
+ unless params['InterceptPerTrend'].nil?
254
+ @InterceptPerTrend = []
255
+ params['InterceptPerTrend'].each do |i|
256
+ interceptpertrendobj_tmp = InterceptPerTrendObj.new
257
+ interceptpertrendobj_tmp.deserialize(i)
258
+ @InterceptPerTrend << interceptpertrendobj_tmp
259
+ end
260
+ end
261
+ unless params['TicketCheckTrend'].nil?
262
+ @TicketCheckTrend = []
263
+ params['TicketCheckTrend'].each do |i|
264
+ ticketchecktrendobj_tmp = TicketCheckTrendObj.new
265
+ ticketchecktrendobj_tmp.deserialize(i)
266
+ @TicketCheckTrend << ticketchecktrendobj_tmp
267
+ end
268
+ end
269
+ end
270
+ end
271
+
196
272
  # DescribeCaptchaTicketData 接口 返回数据类型集合
197
273
  class CaptchaTicketDataRes < TencentCloud::Common::AbstractModel
198
274
  # @param TicketAmountArray: 票据验证总量返回
@@ -1163,31 +1239,91 @@ module TencentCloud
1163
1239
 
1164
1240
  # GetTotalTicketStatistics请求参数结构体
1165
1241
  class GetTotalTicketStatisticsRequest < TencentCloud::Common::AbstractModel
1166
-
1242
+ # @param StartTimeStr: 开始时间
1243
+ # @type StartTimeStr: String
1244
+ # @param EndTimeStr: 结束时间
1245
+ # @type EndTimeStr: String
1246
+ # @param Dimension: 查询粒度
1247
+ # 分钟:“1”
1248
+ # 小时:“2”
1249
+ # 天:“3”
1250
+ # @type Dimension: String
1251
+
1252
+ attr_accessor :StartTimeStr, :EndTimeStr, :Dimension
1167
1253
 
1168
- def initialize()
1254
+ def initialize(starttimestr=nil, endtimestr=nil, dimension=nil)
1255
+ @StartTimeStr = starttimestr
1256
+ @EndTimeStr = endtimestr
1257
+ @Dimension = dimension
1169
1258
  end
1170
1259
 
1171
1260
  def deserialize(params)
1261
+ @StartTimeStr = params['StartTimeStr']
1262
+ @EndTimeStr = params['EndTimeStr']
1263
+ @Dimension = params['Dimension']
1172
1264
  end
1173
1265
  end
1174
1266
 
1175
1267
  # GetTotalTicketStatistics返回参数结构体
1176
1268
  class GetTotalTicketStatisticsResponse < TencentCloud::Common::AbstractModel
1269
+ # @param Data: 返回数据
1270
+ # 注意:此字段可能返回 null,表示取不到有效值。
1271
+ # @type Data: :class:`Tencentcloud::Captcha.v20190722.models.CaptchaStatisticObj`
1272
+ # @param CaptchaCode: 返回码
1273
+ # @type CaptchaCode: Integer
1274
+ # @param CaptchaMsg: 返回信息
1275
+ # @type CaptchaMsg: String
1177
1276
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1178
1277
  # @type RequestId: String
1179
1278
 
1180
- attr_accessor :RequestId
1279
+ attr_accessor :Data, :CaptchaCode, :CaptchaMsg, :RequestId
1181
1280
 
1182
- def initialize(requestid=nil)
1281
+ def initialize(data=nil, captchacode=nil, captchamsg=nil, requestid=nil)
1282
+ @Data = data
1283
+ @CaptchaCode = captchacode
1284
+ @CaptchaMsg = captchamsg
1183
1285
  @RequestId = requestid
1184
1286
  end
1185
1287
 
1186
1288
  def deserialize(params)
1289
+ unless params['Data'].nil?
1290
+ @Data = CaptchaStatisticObj.new
1291
+ @Data.deserialize(params['Data'])
1292
+ end
1293
+ @CaptchaCode = params['CaptchaCode']
1294
+ @CaptchaMsg = params['CaptchaMsg']
1187
1295
  @RequestId = params['RequestId']
1188
1296
  end
1189
1297
  end
1190
1298
 
1299
+ # 拦截率趋势obj
1300
+ class InterceptPerTrendObj < TencentCloud::Common::AbstractModel
1301
+ # @param Ftime: 时间参数
1302
+ # @type Ftime: String
1303
+ # @param RequestInterceptPer: 拦截率
1304
+ # @type RequestInterceptPer: Float
1305
+ # @param AnswerInterceptPer: 答案拦截率
1306
+ # @type AnswerInterceptPer: Float
1307
+ # @param PolicyInterceptPer: 策略拦截率
1308
+ # @type PolicyInterceptPer: Float
1309
+
1310
+ attr_accessor :Ftime, :RequestInterceptPer, :AnswerInterceptPer, :PolicyInterceptPer
1311
+
1312
+ def initialize(ftime=nil, requestinterceptper=nil, answerinterceptper=nil, policyinterceptper=nil)
1313
+ @Ftime = ftime
1314
+ @RequestInterceptPer = requestinterceptper
1315
+ @AnswerInterceptPer = answerinterceptper
1316
+ @PolicyInterceptPer = policyinterceptper
1317
+ end
1318
+
1319
+ def deserialize(params)
1320
+ @Ftime = params['Ftime']
1321
+ @RequestInterceptPer = params['RequestInterceptPer']
1322
+ @AnswerInterceptPer = params['AnswerInterceptPer']
1323
+ @PolicyInterceptPer = params['PolicyInterceptPer']
1324
+ end
1325
+ end
1326
+
1191
1327
  # 拦截策略返回信息
1192
1328
  class OutputManageMarketingRiskValue < TencentCloud::Common::AbstractModel
1193
1329
  # @param UserId: 账号 ID。对应输入参数: AccountType 是 1 时,对应 QQ 的 OpenID。
@@ -1261,6 +1397,38 @@ module TencentCloud
1261
1397
  end
1262
1398
  end
1263
1399
 
1400
+ # 验证码请求趋势图obj
1401
+ class RequestTrendObj < TencentCloud::Common::AbstractModel
1402
+ # @param Ftime: 时间参数
1403
+ # @type Ftime: String
1404
+ # @param RequestAction: 请求量
1405
+ # @type RequestAction: Integer
1406
+ # @param RequestVerify: 验证量
1407
+ # @type RequestVerify: Integer
1408
+ # @param RequestThroughput: 通过量
1409
+ # @type RequestThroughput: Integer
1410
+ # @param RequestIntercept: 拦截量
1411
+ # @type RequestIntercept: Integer
1412
+
1413
+ attr_accessor :Ftime, :RequestAction, :RequestVerify, :RequestThroughput, :RequestIntercept
1414
+
1415
+ def initialize(ftime=nil, requestaction=nil, requestverify=nil, requestthroughput=nil, requestintercept=nil)
1416
+ @Ftime = ftime
1417
+ @RequestAction = requestaction
1418
+ @RequestVerify = requestverify
1419
+ @RequestThroughput = requestthroughput
1420
+ @RequestIntercept = requestintercept
1421
+ end
1422
+
1423
+ def deserialize(params)
1424
+ @Ftime = params['Ftime']
1425
+ @RequestAction = params['RequestAction']
1426
+ @RequestVerify = params['RequestVerify']
1427
+ @RequestThroughput = params['RequestThroughput']
1428
+ @RequestIntercept = params['RequestIntercept']
1429
+ end
1430
+ end
1431
+
1264
1432
  # DescribeCaptchaTicketData 返回的数据结构
1265
1433
  class TicketAmountUnit < TencentCloud::Common::AbstractModel
1266
1434
  # @param DateKey: 时间
@@ -1281,6 +1449,34 @@ module TencentCloud
1281
1449
  end
1282
1450
  end
1283
1451
 
1452
+ # 验证码票据校验趋势obj
1453
+ class TicketCheckTrendObj < TencentCloud::Common::AbstractModel
1454
+ # @param Ftime: 时间参数
1455
+ # @type Ftime: String
1456
+ # @param TicketCount: 票据校验量
1457
+ # @type TicketCount: Integer
1458
+ # @param TicketThroughput: 票据通过量
1459
+ # @type TicketThroughput: Integer
1460
+ # @param TicketIntercept: 票据拦截量
1461
+ # @type TicketIntercept: Integer
1462
+
1463
+ attr_accessor :Ftime, :TicketCount, :TicketThroughput, :TicketIntercept
1464
+
1465
+ def initialize(ftime=nil, ticketcount=nil, ticketthroughput=nil, ticketintercept=nil)
1466
+ @Ftime = ftime
1467
+ @TicketCount = ticketcount
1468
+ @TicketThroughput = ticketthroughput
1469
+ @TicketIntercept = ticketintercept
1470
+ end
1471
+
1472
+ def deserialize(params)
1473
+ @Ftime = params['Ftime']
1474
+ @TicketCount = params['TicketCount']
1475
+ @TicketThroughput = params['TicketThroughput']
1476
+ @TicketIntercept = params['TicketIntercept']
1477
+ end
1478
+ end
1479
+
1284
1480
  # DescribeCaptchaTicketData 返回的数据结构
1285
1481
  class TicketInterceptUnit < TencentCloud::Common::AbstractModel
1286
1482
  # @param DateKey: 时间
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-captcha
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.430
4
+ version: 3.0.432
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-10-18 00:00:00.000000000 Z
11
+ date: 2022-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common