tencentcloud-sdk-rce 3.0.1127 → 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: 59a46012d435a8203afae3b0b04e64c6925c5612
4
- data.tar.gz: 17ecd69c71332a4444847835bfadcede4ee6337b
3
+ metadata.gz: 99b7d2d748adf6957558d2375bf3e26445bdea4c
4
+ data.tar.gz: 1fc00e945afcae06a0315dc103363d0ad9f88af2
5
5
  SHA512:
6
- metadata.gz: 919e573804eba6c470910e55a1f88339cea1f1a8f791c383d8839119ef5c642720390335dab0965c94b5979e697bffa230c4e8a814787481ef54d812947dff56
7
- data.tar.gz: bb7701fdd2c6b556b24d2a4b20210e790cb342273460e84a90f099c6dcb84be5adaedcf25f40ff0a26ee393bf6c4fdb38f4b720a9feacdbf099b5f31ed229d1b
6
+ metadata.gz: 93437a8d3056397827868bbff1fcaef31391dd735646ecd79f9e64752f4f4852db6b34d542e05c300106241b5d09585f671301ccd200a36d67ac06a2439299fd
7
+ data.tar.gz: c408d76889b6dee4d68df0e4bd9bd9182677bb8580b76ae913633ac07d266612c043e2fc6cebb0f515c44480fa2966e1d14d86adc053f7c84dc2feb14224d2cc
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1127
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
@@ -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.1127
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-08-22 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