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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190722/client.rb +24 -0
- data/lib/v20190722/models.rb +27 -0
- 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: dcebdc918d93589a6c264031b83daa02d8180219
|
4
|
+
data.tar.gz: 983f14c161c703909910289f01234597ef9f9320
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4b580720d8c378bc245475c99702370c6f8a2b356e1b81fc53cb1578884ea4240c01ec69d612ef3a605ecc7ca3bdd43ec5ac8fb71fdbbcd466aaf42f751b3a9
|
7
|
+
data.tar.gz: e518c10aa51514642be4446b93a4998897dd2541d25c170d626d593879b078de7bec7baba48e5af809caebf1f9de0982ae8291e0092f821268359b28b9302b32
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.430
|
data/lib/v20190722/client.rb
CHANGED
@@ -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.
|
data/lib/v20190722/models.rb
CHANGED
@@ -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.
|
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-
|
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
|