tencentcloud-sdk-rce 3.0.1094 → 3.0.1187
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/tencentcloud-sdk-rce.rb +3 -0
- data/lib/v20201103/client.rb +1 -1
- data/lib/v20250425/client.rb +60 -0
- data/lib/v20250425/models.rb +50 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 99b7d2d748adf6957558d2375bf3e26445bdea4c
|
|
4
|
+
data.tar.gz: 1fc00e945afcae06a0315dc103363d0ad9f88af2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 93437a8d3056397827868bbff1fcaef31391dd735646ecd79f9e64752f4f4852db6b34d542e05c300106241b5d09585f671301ccd200a36d67ac06a2439299fd
|
|
7
|
+
data.tar.gz: c408d76889b6dee4d68df0e4bd9bd9182677bb8580b76ae913633ac07d266612c043e2fc6cebb0f515c44480fa2966e1d14d86adc053f7c84dc2feb14224d2cc
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1187
|
data/lib/tencentcloud-sdk-rce.rb
CHANGED
data/lib/v20201103/client.rb
CHANGED
|
@@ -221,7 +221,7 @@ module TencentCloud
|
|
|
221
221
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
222
222
|
end
|
|
223
223
|
|
|
224
|
-
#
|
|
224
|
+
# 通用业务欺诈保护是基于人工智能技术和腾讯20年风控实战沉淀,依托腾讯海量业务构建的风控引擎,以轻量级的 SaaS 服务方式接入,帮助您快速解决注册、登录、营销活动等关键场景遇到的欺诈问题,实时防御黑灰产作恶。
|
|
225
225
|
|
|
226
226
|
# @param request: Request instance for ManageMarketingRisk.
|
|
227
227
|
# @type request: :class:`Tencentcloud::rce::V20201103::ManageMarketingRiskRequest`
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
require 'json'
|
|
18
|
+
|
|
19
|
+
module TencentCloud
|
|
20
|
+
module Rce
|
|
21
|
+
module V20250425
|
|
22
|
+
class Client < TencentCloud::Common::AbstractClient
|
|
23
|
+
|
|
24
|
+
def initialize(credential, region, profile = nil)
|
|
25
|
+
api_version = '2025-04-25'
|
|
26
|
+
api_endpoint = 'rce.tencentcloudapi.com'
|
|
27
|
+
sdk_version = 'RCE_' + File.read(File.expand_path('../VERSION', __dir__)).strip
|
|
28
|
+
super(credential, region, api_version, api_endpoint, sdk_version, profile)
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
# IP画像接口
|
|
33
|
+
|
|
34
|
+
# @param request: Request instance for ManageIPPortraitRisk.
|
|
35
|
+
# @type request: :class:`Tencentcloud::rce::V20250425::ManageIPPortraitRiskRequest`
|
|
36
|
+
# @rtype: :class:`Tencentcloud::rce::V20250425::ManageIPPortraitRiskResponse`
|
|
37
|
+
def ManageIPPortraitRisk(request)
|
|
38
|
+
body = send_request('ManageIPPortraitRisk', request.serialize)
|
|
39
|
+
response = JSON.parse(body)
|
|
40
|
+
if response['Response'].key?('Error') == false
|
|
41
|
+
model = ManageIPPortraitRiskResponse.new
|
|
42
|
+
model.deserialize(response['Response'])
|
|
43
|
+
model
|
|
44
|
+
else
|
|
45
|
+
code = response['Response']['Error']['Code']
|
|
46
|
+
message = response['Response']['Error']['Message']
|
|
47
|
+
reqid = response['Response']['RequestId']
|
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
49
|
+
end
|
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
51
|
+
raise e
|
|
52
|
+
rescue StandardError => e
|
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
module TencentCloud
|
|
18
|
+
module Rce
|
|
19
|
+
module V20250425
|
|
20
|
+
# ManageIPPortraitRisk请求参数结构体
|
|
21
|
+
class ManageIPPortraitRiskRequest < TencentCloud::Common::AbstractModel
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def initialize()
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def deserialize(params)
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# ManageIPPortraitRisk返回参数结构体
|
|
32
|
+
class ManageIPPortraitRiskResponse < TencentCloud::Common::AbstractModel
|
|
33
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
34
|
+
# @type RequestId: String
|
|
35
|
+
|
|
36
|
+
attr_accessor :RequestId
|
|
37
|
+
|
|
38
|
+
def initialize(requestid=nil)
|
|
39
|
+
@RequestId = requestid
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
def deserialize(params)
|
|
43
|
+
@RequestId = params['RequestId']
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-rce
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1187
|
|
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-
|
|
11
|
+
date: 2025-12-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -35,6 +35,8 @@ extra_rdoc_files: []
|
|
|
35
35
|
files:
|
|
36
36
|
- lib/v20201103/client.rb
|
|
37
37
|
- lib/v20201103/models.rb
|
|
38
|
+
- lib/v20250425/client.rb
|
|
39
|
+
- lib/v20250425/models.rb
|
|
38
40
|
- lib/tencentcloud-sdk-rce.rb
|
|
39
41
|
- lib/VERSION
|
|
40
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|