tencentcloud-sdk-csip 3.0.752 → 3.0.753
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/v20221121/client.rb +24 -0
- data/lib/v20221121/models.rb +36 -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: 8a88764f94ba7d22b0bcf4a2e388d291204bac3e
|
4
|
+
data.tar.gz: 5ef54b052050884920947ae82d8adb32b5676fac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd2a5f88771d99ae6e4d3ce08eb85789cfa7a4cee4a35a3f3731432a95ad36726cdd6dac11c245218a34f73d8aa08016fd202017d4017abe8474118a06f33b76
|
7
|
+
data.tar.gz: 3dc160896618a8eb40a8b5edf0f8c7784d9d869274333217344ef2558ad47fd2e68901cfc46abb73bd8a9802a85aa03a28ed4c97aee6706a3a8ab5155e8d28b8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.753
|
data/lib/v20221121/client.rb
CHANGED
@@ -797,6 +797,30 @@ module TencentCloud
|
|
797
797
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
798
798
|
end
|
799
799
|
|
800
|
+
# 修改集团账号状态
|
801
|
+
|
802
|
+
# @param request: Request instance for ModifyOrganizationAccountStatus.
|
803
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::ModifyOrganizationAccountStatusRequest`
|
804
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::ModifyOrganizationAccountStatusResponse`
|
805
|
+
def ModifyOrganizationAccountStatus(request)
|
806
|
+
body = send_request('ModifyOrganizationAccountStatus', request.serialize)
|
807
|
+
response = JSON.parse(body)
|
808
|
+
if response['Response'].key?('Error') == false
|
809
|
+
model = ModifyOrganizationAccountStatusResponse.new
|
810
|
+
model.deserialize(response['Response'])
|
811
|
+
model
|
812
|
+
else
|
813
|
+
code = response['Response']['Error']['Code']
|
814
|
+
message = response['Response']['Error']['Message']
|
815
|
+
reqid = response['Response']['RequestId']
|
816
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
817
|
+
end
|
818
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
819
|
+
raise e
|
820
|
+
rescue StandardError => e
|
821
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
822
|
+
end
|
823
|
+
|
800
824
|
# 修改风险中心风险状态
|
801
825
|
|
802
826
|
# @param request: Request instance for ModifyRiskCenterRiskStatus.
|
data/lib/v20221121/models.rb
CHANGED
@@ -4856,6 +4856,42 @@ module TencentCloud
|
|
4856
4856
|
end
|
4857
4857
|
end
|
4858
4858
|
|
4859
|
+
# ModifyOrganizationAccountStatus请求参数结构体
|
4860
|
+
class ModifyOrganizationAccountStatusRequest < TencentCloud::Common::AbstractModel
|
4861
|
+
# @param Status: 修改集团账号状态,1 开启, 2关闭
|
4862
|
+
# @type Status: Integer
|
4863
|
+
|
4864
|
+
attr_accessor :Status
|
4865
|
+
|
4866
|
+
def initialize(status=nil)
|
4867
|
+
@Status = status
|
4868
|
+
end
|
4869
|
+
|
4870
|
+
def deserialize(params)
|
4871
|
+
@Status = params['Status']
|
4872
|
+
end
|
4873
|
+
end
|
4874
|
+
|
4875
|
+
# ModifyOrganizationAccountStatus返回参数结构体
|
4876
|
+
class ModifyOrganizationAccountStatusResponse < TencentCloud::Common::AbstractModel
|
4877
|
+
# @param Status: 返回值为0,则修改成功
|
4878
|
+
# @type Status: Integer
|
4879
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4880
|
+
# @type RequestId: String
|
4881
|
+
|
4882
|
+
attr_accessor :Status, :RequestId
|
4883
|
+
|
4884
|
+
def initialize(status=nil, requestid=nil)
|
4885
|
+
@Status = status
|
4886
|
+
@RequestId = requestid
|
4887
|
+
end
|
4888
|
+
|
4889
|
+
def deserialize(params)
|
4890
|
+
@Status = params['Status']
|
4891
|
+
@RequestId = params['RequestId']
|
4892
|
+
end
|
4893
|
+
end
|
4894
|
+
|
4859
4895
|
# ModifyRiskCenterRiskStatus请求参数结构体
|
4860
4896
|
class ModifyRiskCenterRiskStatusRequest < TencentCloud::Common::AbstractModel
|
4861
4897
|
# @param RiskStatusKeys: 风险资产相关数据
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-csip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.753
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|