tencentcloud-sdk-organization 3.0.876 → 3.0.877

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: b4705928f18ccc13673a1da4f3b26865351951f3
4
- data.tar.gz: 9c4ca852a72e08b79df6ca43a3b985abe79bcd9d
3
+ metadata.gz: 55deb7418500257b3b13e40b88d2ca1b08040bfb
4
+ data.tar.gz: 90f0ed1c0c0dc9151936b1a990f8a3a3dc6dfc52
5
5
  SHA512:
6
- metadata.gz: 84cf7da3cedbc7dfa98714c7eed0e283d3d4d4fadfdea5849937c659c4aa736c486ceef37fc058c4824b9a834ebc12e8404edc636044251a786f2797c10da1d7
7
- data.tar.gz: b85262fa414e26b7a0becde2b3cc8ff69c04c536bb3357c2644d63d167c2a4e9b745ff610a4ef2a76f95e99a82a6bede02724a28db8d1c25f6f2d1ce246649ff
6
+ metadata.gz: 43794de63e3e89a7d0f9cc1a3cc09af20590b1d33b2e85a835ec34dbd49e0e8d1257518e603e8a582f589a762c40b075dc6b190b4849c49a2a719338ebf4650a
7
+ data.tar.gz: d5adf8fc13486147eb956aaf83c7ca19c3b5eba3e509be4a453825b61611006f9d30a86ef917e4da925ecd5e0de3934137bc6153d0ab817a7346ed85e0668fa0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.876
1
+ 3.0.877
@@ -1253,6 +1253,30 @@ module TencentCloud
1253
1253
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1254
1254
  end
1255
1255
 
1256
+ # 获取集团服务设置列表
1257
+
1258
+ # @param request: Request instance for ListOrganizationService.
1259
+ # @type request: :class:`Tencentcloud::organization::V20210331::ListOrganizationServiceRequest`
1260
+ # @rtype: :class:`Tencentcloud::organization::V20210331::ListOrganizationServiceResponse`
1261
+ def ListOrganizationService(request)
1262
+ body = send_request('ListOrganizationService', request.serialize)
1263
+ response = JSON.parse(body)
1264
+ if response['Response'].key?('Error') == false
1265
+ model = ListOrganizationServiceResponse.new
1266
+ model.deserialize(response['Response'])
1267
+ model
1268
+ else
1269
+ code = response['Response']['Error']['Code']
1270
+ message = response['Response']['Error']['Message']
1271
+ reqid = response['Response']['RequestId']
1272
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1273
+ end
1274
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1275
+ raise e
1276
+ rescue StandardError => e
1277
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1278
+ end
1279
+
1256
1280
  # 本接口(ListPolicies)可用于查询查看策略列表数据
1257
1281
 
1258
1282
  # @param request: Request instance for ListPolicies.
@@ -2670,6 +2670,63 @@ module TencentCloud
2670
2670
  end
2671
2671
  end
2672
2672
 
2673
+ # ListOrganizationService请求参数结构体
2674
+ class ListOrganizationServiceRequest < TencentCloud::Common::AbstractModel
2675
+ # @param Offset: 偏移量。取值是limit的整数倍,默认值 : 0
2676
+ # @type Offset: Integer
2677
+ # @param Limit: 限制数目。取值范围:1~50,默认值:10
2678
+ # @type Limit: Integer
2679
+ # @param SearchKey: 名称搜索关键字。
2680
+ # @type SearchKey: String
2681
+
2682
+ attr_accessor :Offset, :Limit, :SearchKey
2683
+
2684
+ def initialize(offset=nil, limit=nil, searchkey=nil)
2685
+ @Offset = offset
2686
+ @Limit = limit
2687
+ @SearchKey = searchkey
2688
+ end
2689
+
2690
+ def deserialize(params)
2691
+ @Offset = params['Offset']
2692
+ @Limit = params['Limit']
2693
+ @SearchKey = params['SearchKey']
2694
+ end
2695
+ end
2696
+
2697
+ # ListOrganizationService返回参数结构体
2698
+ class ListOrganizationServiceResponse < TencentCloud::Common::AbstractModel
2699
+ # @param Total: 总数。
2700
+ # 注意:此字段可能返回 null,表示取不到有效值。
2701
+ # @type Total: Integer
2702
+ # @param Items: 集团服务列表。
2703
+ # 注意:此字段可能返回 null,表示取不到有效值。
2704
+ # @type Items: Array
2705
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2706
+ # @type RequestId: String
2707
+
2708
+ attr_accessor :Total, :Items, :RequestId
2709
+
2710
+ def initialize(total=nil, items=nil, requestid=nil)
2711
+ @Total = total
2712
+ @Items = items
2713
+ @RequestId = requestid
2714
+ end
2715
+
2716
+ def deserialize(params)
2717
+ @Total = params['Total']
2718
+ unless params['Items'].nil?
2719
+ @Items = []
2720
+ params['Items'].each do |i|
2721
+ organizationserviceassign_tmp = OrganizationServiceAssign.new
2722
+ organizationserviceassign_tmp.deserialize(i)
2723
+ @Items << organizationserviceassign_tmp
2724
+ end
2725
+ end
2726
+ @RequestId = params['RequestId']
2727
+ end
2728
+ end
2729
+
2673
2730
  # 查询目标关联的SCP策略列表
2674
2731
  class ListPoliciesForTarget < TencentCloud::Common::AbstractModel
2675
2732
  # @param StrategyId: 策略Id
@@ -3675,6 +3732,84 @@ module TencentCloud
3675
3732
  end
3676
3733
  end
3677
3734
 
3735
+ # 集团服务设置
3736
+ class OrganizationServiceAssign < TencentCloud::Common::AbstractModel
3737
+ # @param ServiceId: 集团服务ID。
3738
+ # 注意:此字段可能返回 null,表示取不到有效值。
3739
+ # @type ServiceId: Integer
3740
+ # @param ProductName: 集团服务产品名称。
3741
+ # 注意:此字段可能返回 null,表示取不到有效值。
3742
+ # @type ProductName: String
3743
+ # @param IsAssign: 是否支持委派。取值: 1-是 2-否
3744
+ # 注意:此字段可能返回 null,表示取不到有效值。
3745
+ # @type IsAssign: Integer
3746
+ # @param Description: 集团服务描述。
3747
+ # 注意:此字段可能返回 null,表示取不到有效值。
3748
+ # @type Description: String
3749
+ # @param MemberNum: 当前委派管理员数。
3750
+ # 注意:此字段可能返回 null,表示取不到有效值。
3751
+ # @type MemberNum: String
3752
+ # @param Document: 帮助文档。
3753
+ # 注意:此字段可能返回 null,表示取不到有效值。
3754
+ # @type Document: String
3755
+ # @param ConsoleUrl: 集团服务产品控制台路径。
3756
+ # 注意:此字段可能返回 null,表示取不到有效值。
3757
+ # @type ConsoleUrl: String
3758
+ # @param IsUsageStatus: 是否接入使用状态。取值: 1-是
3759
+ # 2-否
3760
+ # 注意:此字段可能返回 null,表示取不到有效值。
3761
+ # @type IsUsageStatus: Integer
3762
+ # @param CanAssignCount: 委派管理员数量限制。
3763
+ # 注意:此字段可能返回 null,表示取不到有效值。
3764
+ # @type CanAssignCount: Integer
3765
+ # @param Product: 集团服务产品标识。
3766
+ # 注意:此字段可能返回 null,表示取不到有效值。
3767
+ # @type Product: String
3768
+ # @param ServiceGrant: 是否支持集团服务授权。取值 1-是、2-否
3769
+ # 注意:此字段可能返回 null,表示取不到有效值。
3770
+ # @type ServiceGrant: Integer
3771
+ # @param GrantStatus: 集团服务授权启用状态。ServiceGrant值为1时该字段有效 ,取值:Enabled-开启 Disabled-关闭
3772
+ # 注意:此字段可能返回 null,表示取不到有效值。
3773
+ # @type GrantStatus: String
3774
+ # @param IsSetManagementScope: 是否支持设置委派管理范围。取值: 1-是 2-否
3775
+ # 注意:此字段可能返回 null,表示取不到有效值。
3776
+ # @type IsSetManagementScope: Integer
3777
+
3778
+ attr_accessor :ServiceId, :ProductName, :IsAssign, :Description, :MemberNum, :Document, :ConsoleUrl, :IsUsageStatus, :CanAssignCount, :Product, :ServiceGrant, :GrantStatus, :IsSetManagementScope
3779
+
3780
+ def initialize(serviceid=nil, productname=nil, isassign=nil, description=nil, membernum=nil, document=nil, consoleurl=nil, isusagestatus=nil, canassigncount=nil, product=nil, servicegrant=nil, grantstatus=nil, issetmanagementscope=nil)
3781
+ @ServiceId = serviceid
3782
+ @ProductName = productname
3783
+ @IsAssign = isassign
3784
+ @Description = description
3785
+ @MemberNum = membernum
3786
+ @Document = document
3787
+ @ConsoleUrl = consoleurl
3788
+ @IsUsageStatus = isusagestatus
3789
+ @CanAssignCount = canassigncount
3790
+ @Product = product
3791
+ @ServiceGrant = servicegrant
3792
+ @GrantStatus = grantstatus
3793
+ @IsSetManagementScope = issetmanagementscope
3794
+ end
3795
+
3796
+ def deserialize(params)
3797
+ @ServiceId = params['ServiceId']
3798
+ @ProductName = params['ProductName']
3799
+ @IsAssign = params['IsAssign']
3800
+ @Description = params['Description']
3801
+ @MemberNum = params['MemberNum']
3802
+ @Document = params['Document']
3803
+ @ConsoleUrl = params['ConsoleUrl']
3804
+ @IsUsageStatus = params['IsUsageStatus']
3805
+ @CanAssignCount = params['CanAssignCount']
3806
+ @Product = params['Product']
3807
+ @ServiceGrant = params['ServiceGrant']
3808
+ @GrantStatus = params['GrantStatus']
3809
+ @IsSetManagementScope = params['IsSetManagementScope']
3810
+ end
3811
+ end
3812
+
3678
3813
  # 产品资源
3679
3814
  class ProductResource < TencentCloud::Common::AbstractModel
3680
3815
  # @param ProductResourceId: 产品资源ID。
@@ -3684,8 +3819,8 @@ module TencentCloud
3684
3819
 
3685
3820
  attr_accessor :ProductResourceId, :ResourceGrantLast
3686
3821
  extend Gem::Deprecate
3687
- deprecate :ResourceGrantLast, :none, 2024, 7
3688
- deprecate :ResourceGrantLast=, :none, 2024, 7
3822
+ deprecate :ResourceGrantLast, :none, 2024, 8
3823
+ deprecate :ResourceGrantLast=, :none, 2024, 8
3689
3824
 
3690
3825
  def initialize(productresourceid=nil, resourcegrantlast=nil)
3691
3826
  @ProductResourceId = productresourceid
@@ -3850,8 +3985,8 @@ module TencentCloud
3850
3985
 
3851
3986
  attr_accessor :ResourceId, :ProductResourceId
3852
3987
  extend Gem::Deprecate
3853
- deprecate :ResourceId, :none, 2024, 7
3854
- deprecate :ResourceId=, :none, 2024, 7
3988
+ deprecate :ResourceId, :none, 2024, 8
3989
+ deprecate :ResourceId=, :none, 2024, 8
3855
3990
 
3856
3991
  def initialize(resourceid=nil, productresourceid=nil)
3857
3992
  @ResourceId = resourceid
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-organization
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.876
4
+ version: 3.0.877
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-07-30 00:00:00.000000000 Z
11
+ date: 2024-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common