tencentcloud-sdk-csip 3.0.751 → 3.0.753

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc6921988c95e6dbd4ab8ed855d9788736a868c9
4
- data.tar.gz: bfd2dfc7965a27bcfcf1b66ec96b806637ed925a
3
+ metadata.gz: 8a88764f94ba7d22b0bcf4a2e388d291204bac3e
4
+ data.tar.gz: 5ef54b052050884920947ae82d8adb32b5676fac
5
5
  SHA512:
6
- metadata.gz: fb5bb4fc50798d3fedaeddef7da47b7d9d386c6fd2fd753c4e4df3d8f38ccacd0074b420e6d2d90b5d5f940ecaa1bf9c4e8ba151195735ec8ddf92d6498ece79
7
- data.tar.gz: 2617f19b8f02764036ba48dcb031196362e66cdf52bf837e0e1bee0e86b8de7a76f2a1513ce213a7a6218c86cfe979f75a526e7fc42c1cc794a469110f667206
6
+ metadata.gz: bd2a5f88771d99ae6e4d3ce08eb85789cfa7a4cee4a35a3f3731432a95ad36726cdd6dac11c245218a34f73d8aa08016fd202017d4017abe8474118a06f33b76
7
+ data.tar.gz: 3dc160896618a8eb40a8b5edf0f8c7784d9d869274333217344ef2558ad47fd2e68901cfc46abb73bd8a9802a85aa03a28ed4c97aee6706a3a8ab5155e8d28b8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.751
1
+ 3.0.753
@@ -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.
@@ -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.751
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-16 00:00:00.000000000 Z
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