tencentcloud-sdk-captcha 3.0.429 → 3.0.430

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2506b8c168f9ffb95096098cea5ba405022f933
4
- data.tar.gz: 805e6249817613919f5bf09dbd7b6fd9fd0fbe67
3
+ metadata.gz: dcebdc918d93589a6c264031b83daa02d8180219
4
+ data.tar.gz: 983f14c161c703909910289f01234597ef9f9320
5
5
  SHA512:
6
- metadata.gz: 9cf76835692b841245227eabe27cae3633c4f565ebf276afac87a20dd94ea40498caa836870597c9ca8731e571082c5c5c173666aa2cdc4c7e7a0b3397bc28f0
7
- data.tar.gz: 697f3ac2b1c5b581c39a52e0c573589511183e8888bf9e8e31969066542837044fbcffa803286a075436edff9240c92d33dd3eae2689c1735b6fc80d81ff04f5
6
+ metadata.gz: b4b580720d8c378bc245475c99702370c6f8a2b356e1b81fc53cb1578884ea4240c01ec69d612ef3a605ecc7ca3bdd43ec5ac8fb71fdbbcd466aaf42f751b3a9
7
+ data.tar.gz: e518c10aa51514642be4446b93a4998897dd2541d25c170d626d593879b078de7bec7baba48e5af809caebf1f9de0982ae8291e0092f821268359b28b9302b32
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.429
1
+ 3.0.430
@@ -317,6 +317,30 @@ module TencentCloud
317
317
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
318
  end
319
319
 
320
+ # 查询所有验证的统计数据,包括:总票据校验量、总票据校验通过量、总票据校验拦截量。
321
+
322
+ # @param request: Request instance for GetTotalTicketStatistics.
323
+ # @type request: :class:`Tencentcloud::captcha::V20190722::GetTotalTicketStatisticsRequest`
324
+ # @rtype: :class:`Tencentcloud::captcha::V20190722::GetTotalTicketStatisticsResponse`
325
+ def GetTotalTicketStatistics(request)
326
+ body = send_request('GetTotalTicketStatistics', request.serialize)
327
+ response = JSON.parse(body)
328
+ if response['Response'].key?('Error') == false
329
+ model = GetTotalTicketStatisticsResponse.new
330
+ model.deserialize(response['Response'])
331
+ model
332
+ else
333
+ code = response['Response']['Error']['Code']
334
+ message = response['Response']['Error']['Message']
335
+ reqid = response['Response']['RequestId']
336
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
337
+ end
338
+ rescue TencentCloud::Common::TencentCloudSDKException => e
339
+ raise e
340
+ rescue StandardError => e
341
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
+ end
343
+
320
344
  # 更新验证码应用APPId信息
321
345
 
322
346
  # @param request: Request instance for UpdateCaptchaAppIdInfo.
@@ -1161,6 +1161,33 @@ module TencentCloud
1161
1161
  end
1162
1162
  end
1163
1163
 
1164
+ # GetTotalTicketStatistics请求参数结构体
1165
+ class GetTotalTicketStatisticsRequest < TencentCloud::Common::AbstractModel
1166
+
1167
+
1168
+ def initialize()
1169
+ end
1170
+
1171
+ def deserialize(params)
1172
+ end
1173
+ end
1174
+
1175
+ # GetTotalTicketStatistics返回参数结构体
1176
+ class GetTotalTicketStatisticsResponse < TencentCloud::Common::AbstractModel
1177
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1178
+ # @type RequestId: String
1179
+
1180
+ attr_accessor :RequestId
1181
+
1182
+ def initialize(requestid=nil)
1183
+ @RequestId = requestid
1184
+ end
1185
+
1186
+ def deserialize(params)
1187
+ @RequestId = params['RequestId']
1188
+ end
1189
+ end
1190
+
1164
1191
  # 拦截策略返回信息
1165
1192
  class OutputManageMarketingRiskValue < TencentCloud::Common::AbstractModel
1166
1193
  # @param UserId: 账号 ID。对应输入参数: AccountType 是 1 时,对应 QQ 的 OpenID。
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.429
4
+ version: 3.0.430
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-16 00:00:00.000000000 Z
11
+ date: 2022-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common