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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45dd487ce1f45f6e3458c01ad05b571a98c6c7c2
4
- data.tar.gz: 5fbb0f37afcf80e3fd489154aa8e98d8edd256a8
3
+ metadata.gz: 99b7d2d748adf6957558d2375bf3e26445bdea4c
4
+ data.tar.gz: 1fc00e945afcae06a0315dc103363d0ad9f88af2
5
5
  SHA512:
6
- metadata.gz: 75a92ad08e76247f49b454baa546b25e8d827b90b77287dcccb3e32c79bc41f47a5f42489837d230a42fcd43a2c9b13393b701b8cea3ad0db4648480c2738876
7
- data.tar.gz: ee06e6264fd47eb6457830eb9e7a2e996fc46c7097170fecd5f58db62214d244e96eed2d9f4145148cfe9157bc7429a6c79ab2e7ef428571187969ee9ebf4a4a
6
+ metadata.gz: 93437a8d3056397827868bbff1fcaef31391dd735646ecd79f9e64752f4f4852db6b34d542e05c300106241b5d09585f671301ccd200a36d67ac06a2439299fd
7
+ data.tar.gz: c408d76889b6dee4d68df0e4bd9bd9182677bb8580b76ae913633ac07d266612c043e2fc6cebb0f515c44480fa2966e1d14d86adc053f7c84dc2feb14224d2cc
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1094
1
+ 3.0.1187
@@ -5,6 +5,9 @@ require 'tencentcloud-sdk-common'
5
5
  require_relative 'v20201103/client'
6
6
  require_relative 'v20201103/models'
7
7
 
8
+ require_relative 'v20250425/client'
9
+ require_relative 'v20250425/models'
10
+
8
11
  module TencentCloud
9
12
  module Rce
10
13
  end
@@ -221,7 +221,7 @@ module TencentCloud
221
221
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
222
  end
223
223
 
224
- # 全栈式风控引擎(RiskControlEngine,RCE)是基于人工智能技术和腾讯20年风控实战沉淀,依托腾讯海量业务构建的风控引擎,以轻量级的 SaaS 服务方式接入,帮助您快速解决注册、登录、营销活动等关键场景遇到的欺诈问题,实时防御黑灰产作恶。
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.1094
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-07-05 00:00:00.000000000 Z
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