tencentcloud-sdk-organization 3.0.910 → 3.0.912
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/v20210331/client.rb +48 -0
- data/lib/v20210331/models.rb +261 -19
- 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: d9e86c4b81378c2e709034f547bea5e150920ac9
|
4
|
+
data.tar.gz: d962666a14912236508d151ab8d69867b543ce35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ceddc3a1472f3210485c28a5a23da7badf8d9c7ab682e7b63933b51217a628d284758fa3ceb30a4cb66bf72519d2fccbe4c1cf5bb48d64a4bf126d70693440af
|
7
|
+
data.tar.gz: ce05c8c792b7c58f0514a9cfff4ce5822c2a80b8a62b90de0207ef77b1ca253f7caec17ccd4410ed48c70fc5dcea9c5a9ac50e37f61f1254b594f96b6d2a2a24
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.912
|
data/lib/v20210331/client.rb
CHANGED
@@ -1853,6 +1853,30 @@ module TencentCloud
|
|
1853
1853
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1854
1854
|
end
|
1855
1855
|
|
1856
|
+
# 邀请组织成员
|
1857
|
+
|
1858
|
+
# @param request: Request instance for InviteOrganizationMember.
|
1859
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::InviteOrganizationMemberRequest`
|
1860
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::InviteOrganizationMemberResponse`
|
1861
|
+
def InviteOrganizationMember(request)
|
1862
|
+
body = send_request('InviteOrganizationMember', request.serialize)
|
1863
|
+
response = JSON.parse(body)
|
1864
|
+
if response['Response'].key?('Error') == false
|
1865
|
+
model = InviteOrganizationMemberResponse.new
|
1866
|
+
model.deserialize(response['Response'])
|
1867
|
+
model
|
1868
|
+
else
|
1869
|
+
code = response['Response']['Error']['Code']
|
1870
|
+
message = response['Response']['Error']['Message']
|
1871
|
+
reqid = response['Response']['RequestId']
|
1872
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1873
|
+
end
|
1874
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1875
|
+
raise e
|
1876
|
+
rescue StandardError => e
|
1877
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1878
|
+
end
|
1879
|
+
|
1856
1880
|
# 查询SAML签名证书列表
|
1857
1881
|
|
1858
1882
|
# @param request: Request instance for ListExternalSAMLIdPCertificates.
|
@@ -2525,6 +2549,30 @@ module TencentCloud
|
|
2525
2549
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2526
2550
|
end
|
2527
2551
|
|
2552
|
+
# 为权限配置修改自定义策略
|
2553
|
+
|
2554
|
+
# @param request: Request instance for UpdateCustomPolicyForRoleConfiguration.
|
2555
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::UpdateCustomPolicyForRoleConfigurationRequest`
|
2556
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::UpdateCustomPolicyForRoleConfigurationResponse`
|
2557
|
+
def UpdateCustomPolicyForRoleConfiguration(request)
|
2558
|
+
body = send_request('UpdateCustomPolicyForRoleConfiguration', request.serialize)
|
2559
|
+
response = JSON.parse(body)
|
2560
|
+
if response['Response'].key?('Error') == false
|
2561
|
+
model = UpdateCustomPolicyForRoleConfigurationResponse.new
|
2562
|
+
model.deserialize(response['Response'])
|
2563
|
+
model
|
2564
|
+
else
|
2565
|
+
code = response['Response']['Error']['Code']
|
2566
|
+
message = response['Response']['Error']['Message']
|
2567
|
+
reqid = response['Response']['RequestId']
|
2568
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2569
|
+
end
|
2570
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2571
|
+
raise e
|
2572
|
+
rescue StandardError => e
|
2573
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2574
|
+
end
|
2575
|
+
|
2528
2576
|
# 修改用户组信息
|
2529
2577
|
|
2530
2578
|
# @param request: Request instance for UpdateGroup.
|
data/lib/v20210331/models.rb
CHANGED
@@ -146,19 +146,30 @@ module TencentCloud
|
|
146
146
|
# @type Name: String
|
147
147
|
# @param Remark: 备注。
|
148
148
|
# @type Remark: String
|
149
|
+
# @param Tags: 部门标签列表。最大10个
|
150
|
+
# @type Tags: Array
|
149
151
|
|
150
|
-
attr_accessor :ParentNodeId, :Name, :Remark
|
152
|
+
attr_accessor :ParentNodeId, :Name, :Remark, :Tags
|
151
153
|
|
152
|
-
def initialize(parentnodeid=nil, name=nil, remark=nil)
|
154
|
+
def initialize(parentnodeid=nil, name=nil, remark=nil, tags=nil)
|
153
155
|
@ParentNodeId = parentnodeid
|
154
156
|
@Name = name
|
155
157
|
@Remark = remark
|
158
|
+
@Tags = tags
|
156
159
|
end
|
157
160
|
|
158
161
|
def deserialize(params)
|
159
162
|
@ParentNodeId = params['ParentNodeId']
|
160
163
|
@Name = params['Name']
|
161
164
|
@Remark = params['Remark']
|
165
|
+
unless params['Tags'].nil?
|
166
|
+
@Tags = []
|
167
|
+
params['Tags'].each do |i|
|
168
|
+
tag_tmp = Tag.new
|
169
|
+
tag_tmp.deserialize(i)
|
170
|
+
@Tags << tag_tmp
|
171
|
+
end
|
172
|
+
end
|
162
173
|
end
|
163
174
|
end
|
164
175
|
|
@@ -188,11 +199,11 @@ module TencentCloud
|
|
188
199
|
# @type ZoneId: String
|
189
200
|
# @param RoleConfigurationId: 权限配置 ID
|
190
201
|
# @type RoleConfigurationId: String
|
191
|
-
# @param RolePolicyType: 权限策略类型。取值: System:系统策略。复用 CAM 的系统策略。 Custom: 自定义策略。按照 CAM 权限策略语法和结构编写的自定义策略。
|
202
|
+
# @param RolePolicyType: 权限策略类型。取值: System:系统策略。复用 CAM 的系统策略。 Custom: 自定义策略。按照 CAM 权限策略语法和结构编写的自定义策略。
|
192
203
|
# @type RolePolicyType: String
|
193
|
-
# @param RolePolicyNames: 权限策略名称,长度最大为 20策略,每个策略长度最大32
|
204
|
+
# @param RolePolicyNames: 权限策略名称,长度最大为 20策略,每个策略长度最大32个字符。如果要添加系统策略,建议使用RolePolicies参数。自定义策略时,数组长度最大为1。
|
194
205
|
# @type RolePolicyNames: Array
|
195
|
-
# @param RolePolicies:
|
206
|
+
# @param RolePolicies: 添加的系统策略详情。
|
196
207
|
# @type RolePolicies: Array
|
197
208
|
# @param CustomPolicyDocument: 自定义策略内容。长度:最大 4096 个字符。当RolePolicyType为Inline时,该参数必须配置。关于权限策略的语法和结构,请参见权限策略语法和结构。
|
198
209
|
# @type CustomPolicyDocument: String
|
@@ -501,6 +512,28 @@ module TencentCloud
|
|
501
512
|
end
|
502
513
|
end
|
503
514
|
|
515
|
+
# 野鹤实名互信申请证明文件
|
516
|
+
class AuthRelationFile < TencentCloud::Common::AbstractModel
|
517
|
+
# @param Name: 文件名。
|
518
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
519
|
+
# @type Name: String
|
520
|
+
# @param Url: 文件路径。
|
521
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
522
|
+
# @type Url: String
|
523
|
+
|
524
|
+
attr_accessor :Name, :Url
|
525
|
+
|
526
|
+
def initialize(name=nil, url=nil)
|
527
|
+
@Name = name
|
528
|
+
@Url = url
|
529
|
+
end
|
530
|
+
|
531
|
+
def deserialize(params)
|
532
|
+
@Name = params['Name']
|
533
|
+
@Url = params['Url']
|
534
|
+
end
|
535
|
+
end
|
536
|
+
|
504
537
|
# BindOrganizationMemberAuthAccount请求参数结构体
|
505
538
|
class BindOrganizationMemberAuthAccountRequest < TencentCloud::Common::AbstractModel
|
506
539
|
# @param MemberUin: 成员Uin。
|
@@ -910,10 +943,12 @@ module TencentCloud
|
|
910
943
|
# @type IdentityRoleID: Array
|
911
944
|
# @param AuthRelationId: 认证主体关系ID。给不同主体创建成员时需要,可以调用DescribeOrganizationAuthNode获取
|
912
945
|
# @type AuthRelationId: Integer
|
946
|
+
# @param Tags: 成员标签列表。最大10个
|
947
|
+
# @type Tags: Array
|
913
948
|
|
914
|
-
attr_accessor :Name, :PolicyType, :PermissionIds, :NodeId, :AccountName, :Remark, :RecordId, :PayUin, :IdentityRoleID, :AuthRelationId
|
949
|
+
attr_accessor :Name, :PolicyType, :PermissionIds, :NodeId, :AccountName, :Remark, :RecordId, :PayUin, :IdentityRoleID, :AuthRelationId, :Tags
|
915
950
|
|
916
|
-
def initialize(name=nil, policytype=nil, permissionids=nil, nodeid=nil, accountname=nil, remark=nil, recordid=nil, payuin=nil, identityroleid=nil, authrelationid=nil)
|
951
|
+
def initialize(name=nil, policytype=nil, permissionids=nil, nodeid=nil, accountname=nil, remark=nil, recordid=nil, payuin=nil, identityroleid=nil, authrelationid=nil, tags=nil)
|
917
952
|
@Name = name
|
918
953
|
@PolicyType = policytype
|
919
954
|
@PermissionIds = permissionids
|
@@ -924,6 +959,7 @@ module TencentCloud
|
|
924
959
|
@PayUin = payuin
|
925
960
|
@IdentityRoleID = identityroleid
|
926
961
|
@AuthRelationId = authrelationid
|
962
|
+
@Tags = tags
|
927
963
|
end
|
928
964
|
|
929
965
|
def deserialize(params)
|
@@ -937,6 +973,14 @@ module TencentCloud
|
|
937
973
|
@PayUin = params['PayUin']
|
938
974
|
@IdentityRoleID = params['IdentityRoleID']
|
939
975
|
@AuthRelationId = params['AuthRelationId']
|
976
|
+
unless params['Tags'].nil?
|
977
|
+
@Tags = []
|
978
|
+
params['Tags'].each do |i|
|
979
|
+
tag_tmp = Tag.new
|
980
|
+
tag_tmp.deserialize(i)
|
981
|
+
@Tags << tag_tmp
|
982
|
+
end
|
983
|
+
end
|
940
984
|
end
|
941
985
|
end
|
942
986
|
|
@@ -2589,16 +2633,19 @@ module TencentCloud
|
|
2589
2633
|
# @type AuthName: String
|
2590
2634
|
# @param Product: 可信服务产品简称。可信服务管理员查询时必须指定
|
2591
2635
|
# @type Product: String
|
2636
|
+
# @param Tags: 成员标签搜索列表,最大10个
|
2637
|
+
# @type Tags: Array
|
2592
2638
|
|
2593
|
-
attr_accessor :Offset, :Limit, :Lang, :SearchKey, :AuthName, :Product
|
2639
|
+
attr_accessor :Offset, :Limit, :Lang, :SearchKey, :AuthName, :Product, :Tags
|
2594
2640
|
|
2595
|
-
def initialize(offset=nil, limit=nil, lang=nil, searchkey=nil, authname=nil, product=nil)
|
2641
|
+
def initialize(offset=nil, limit=nil, lang=nil, searchkey=nil, authname=nil, product=nil, tags=nil)
|
2596
2642
|
@Offset = offset
|
2597
2643
|
@Limit = limit
|
2598
2644
|
@Lang = lang
|
2599
2645
|
@SearchKey = searchkey
|
2600
2646
|
@AuthName = authname
|
2601
2647
|
@Product = product
|
2648
|
+
@Tags = tags
|
2602
2649
|
end
|
2603
2650
|
|
2604
2651
|
def deserialize(params)
|
@@ -2608,6 +2655,14 @@ module TencentCloud
|
|
2608
2655
|
@SearchKey = params['SearchKey']
|
2609
2656
|
@AuthName = params['AuthName']
|
2610
2657
|
@Product = params['Product']
|
2658
|
+
unless params['Tags'].nil?
|
2659
|
+
@Tags = []
|
2660
|
+
params['Tags'].each do |i|
|
2661
|
+
tag_tmp = Tag.new
|
2662
|
+
tag_tmp.deserialize(i)
|
2663
|
+
@Tags << tag_tmp
|
2664
|
+
end
|
2665
|
+
end
|
2611
2666
|
end
|
2612
2667
|
end
|
2613
2668
|
|
@@ -2648,17 +2703,28 @@ module TencentCloud
|
|
2648
2703
|
# @type Limit: Integer
|
2649
2704
|
# @param Offset: 偏移量。取值是limit的整数倍。默认值 : 0。
|
2650
2705
|
# @type Offset: Integer
|
2706
|
+
# @param Tags: 部门标签搜索列表,最大10个
|
2707
|
+
# @type Tags: Array
|
2651
2708
|
|
2652
|
-
attr_accessor :Limit, :Offset
|
2709
|
+
attr_accessor :Limit, :Offset, :Tags
|
2653
2710
|
|
2654
|
-
def initialize(limit=nil, offset=nil)
|
2711
|
+
def initialize(limit=nil, offset=nil, tags=nil)
|
2655
2712
|
@Limit = limit
|
2656
2713
|
@Offset = offset
|
2714
|
+
@Tags = tags
|
2657
2715
|
end
|
2658
2716
|
|
2659
2717
|
def deserialize(params)
|
2660
2718
|
@Limit = params['Limit']
|
2661
2719
|
@Offset = params['Offset']
|
2720
|
+
unless params['Tags'].nil?
|
2721
|
+
@Tags = []
|
2722
|
+
params['Tags'].each do |i|
|
2723
|
+
tag_tmp = Tag.new
|
2724
|
+
tag_tmp.deserialize(i)
|
2725
|
+
@Tags << tag_tmp
|
2726
|
+
end
|
2727
|
+
end
|
2662
2728
|
end
|
2663
2729
|
end
|
2664
2730
|
|
@@ -3854,6 +3920,92 @@ module TencentCloud
|
|
3854
3920
|
end
|
3855
3921
|
end
|
3856
3922
|
|
3923
|
+
# InviteOrganizationMember请求参数结构体
|
3924
|
+
class InviteOrganizationMemberRequest < TencentCloud::Common::AbstractModel
|
3925
|
+
# @param MemberUin: 被邀请账号Uin。
|
3926
|
+
# @type MemberUin: Integer
|
3927
|
+
# @param Name: 成员名称。最大长度为25个字符,支持英文字母、数字、汉字、符号+@、&._[]-:,
|
3928
|
+
# @type Name: String
|
3929
|
+
# @param PolicyType: 关系策略。取值:Financial
|
3930
|
+
# @type PolicyType: String
|
3931
|
+
# @param PermissionIds: 成员财务权限ID列表。取值:1-查看账单、2-查看余额、3-资金划拨、4-合并出账、5-开票、6-优惠继承、7-代付费,1、2 默认必须
|
3932
|
+
# @type PermissionIds: Array
|
3933
|
+
# @param NodeId: 成员所属部门的节点ID。可以通过[DescribeOrganizationNodes](https://cloud.tencent.com/document/product/850/82926)获取
|
3934
|
+
# @type NodeId: Integer
|
3935
|
+
# @param Remark: 备注。
|
3936
|
+
# @type Remark: String
|
3937
|
+
# @param IsAllowQuit: 是否允许成员退出。允许:Allow,不允许:Denied。
|
3938
|
+
# @type IsAllowQuit: String
|
3939
|
+
# @param PayUin: 代付者Uin。成员代付费时需要
|
3940
|
+
# @type PayUin: String
|
3941
|
+
# @param RelationAuthName: 互信实名主体名称。
|
3942
|
+
# @type RelationAuthName: String
|
3943
|
+
# @param AuthFile: 互信主体证明文件列表。
|
3944
|
+
# @type AuthFile: Array
|
3945
|
+
# @param Tags: 成员标签列表。最大10个
|
3946
|
+
# @type Tags: Array
|
3947
|
+
|
3948
|
+
attr_accessor :MemberUin, :Name, :PolicyType, :PermissionIds, :NodeId, :Remark, :IsAllowQuit, :PayUin, :RelationAuthName, :AuthFile, :Tags
|
3949
|
+
|
3950
|
+
def initialize(memberuin=nil, name=nil, policytype=nil, permissionids=nil, nodeid=nil, remark=nil, isallowquit=nil, payuin=nil, relationauthname=nil, authfile=nil, tags=nil)
|
3951
|
+
@MemberUin = memberuin
|
3952
|
+
@Name = name
|
3953
|
+
@PolicyType = policytype
|
3954
|
+
@PermissionIds = permissionids
|
3955
|
+
@NodeId = nodeid
|
3956
|
+
@Remark = remark
|
3957
|
+
@IsAllowQuit = isallowquit
|
3958
|
+
@PayUin = payuin
|
3959
|
+
@RelationAuthName = relationauthname
|
3960
|
+
@AuthFile = authfile
|
3961
|
+
@Tags = tags
|
3962
|
+
end
|
3963
|
+
|
3964
|
+
def deserialize(params)
|
3965
|
+
@MemberUin = params['MemberUin']
|
3966
|
+
@Name = params['Name']
|
3967
|
+
@PolicyType = params['PolicyType']
|
3968
|
+
@PermissionIds = params['PermissionIds']
|
3969
|
+
@NodeId = params['NodeId']
|
3970
|
+
@Remark = params['Remark']
|
3971
|
+
@IsAllowQuit = params['IsAllowQuit']
|
3972
|
+
@PayUin = params['PayUin']
|
3973
|
+
@RelationAuthName = params['RelationAuthName']
|
3974
|
+
unless params['AuthFile'].nil?
|
3975
|
+
@AuthFile = []
|
3976
|
+
params['AuthFile'].each do |i|
|
3977
|
+
authrelationfile_tmp = AuthRelationFile.new
|
3978
|
+
authrelationfile_tmp.deserialize(i)
|
3979
|
+
@AuthFile << authrelationfile_tmp
|
3980
|
+
end
|
3981
|
+
end
|
3982
|
+
unless params['Tags'].nil?
|
3983
|
+
@Tags = []
|
3984
|
+
params['Tags'].each do |i|
|
3985
|
+
tag_tmp = Tag.new
|
3986
|
+
tag_tmp.deserialize(i)
|
3987
|
+
@Tags << tag_tmp
|
3988
|
+
end
|
3989
|
+
end
|
3990
|
+
end
|
3991
|
+
end
|
3992
|
+
|
3993
|
+
# InviteOrganizationMember返回参数结构体
|
3994
|
+
class InviteOrganizationMemberResponse < TencentCloud::Common::AbstractModel
|
3995
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3996
|
+
# @type RequestId: String
|
3997
|
+
|
3998
|
+
attr_accessor :RequestId
|
3999
|
+
|
4000
|
+
def initialize(requestid=nil)
|
4001
|
+
@RequestId = requestid
|
4002
|
+
end
|
4003
|
+
|
4004
|
+
def deserialize(params)
|
4005
|
+
@RequestId = params['RequestId']
|
4006
|
+
end
|
4007
|
+
end
|
4008
|
+
|
3857
4009
|
# 用户加入的用户组
|
3858
4010
|
class JoinedGroups < TencentCloud::Common::AbstractModel
|
3859
4011
|
# @param GroupName: 用户组的名称。
|
@@ -5707,10 +5859,13 @@ module TencentCloud
|
|
5707
5859
|
# @param PermissionStatus: 成员权限状态 已确认:Confirmed ,待确认:UnConfirmed
|
5708
5860
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5709
5861
|
# @type PermissionStatus: String
|
5862
|
+
# @param Tags: 成员标签列表
|
5863
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5864
|
+
# @type Tags: Array
|
5710
5865
|
|
5711
|
-
attr_accessor :MemberUin, :Name, :MemberType, :OrgPolicyType, :OrgPolicyName, :OrgPermission, :NodeId, :NodeName, :Remark, :CreateTime, :UpdateTime, :IsAllowQuit, :PayUin, :PayName, :OrgIdentity, :BindStatus, :PermissionStatus
|
5866
|
+
attr_accessor :MemberUin, :Name, :MemberType, :OrgPolicyType, :OrgPolicyName, :OrgPermission, :NodeId, :NodeName, :Remark, :CreateTime, :UpdateTime, :IsAllowQuit, :PayUin, :PayName, :OrgIdentity, :BindStatus, :PermissionStatus, :Tags
|
5712
5867
|
|
5713
|
-
def initialize(memberuin=nil, name=nil, membertype=nil, orgpolicytype=nil, orgpolicyname=nil, orgpermission=nil, nodeid=nil, nodename=nil, remark=nil, createtime=nil, updatetime=nil, isallowquit=nil, payuin=nil, payname=nil, orgidentity=nil, bindstatus=nil, permissionstatus=nil)
|
5868
|
+
def initialize(memberuin=nil, name=nil, membertype=nil, orgpolicytype=nil, orgpolicyname=nil, orgpermission=nil, nodeid=nil, nodename=nil, remark=nil, createtime=nil, updatetime=nil, isallowquit=nil, payuin=nil, payname=nil, orgidentity=nil, bindstatus=nil, permissionstatus=nil, tags=nil)
|
5714
5869
|
@MemberUin = memberuin
|
5715
5870
|
@Name = name
|
5716
5871
|
@MemberType = membertype
|
@@ -5728,6 +5883,7 @@ module TencentCloud
|
|
5728
5883
|
@OrgIdentity = orgidentity
|
5729
5884
|
@BindStatus = bindstatus
|
5730
5885
|
@PermissionStatus = permissionstatus
|
5886
|
+
@Tags = tags
|
5731
5887
|
end
|
5732
5888
|
|
5733
5889
|
def deserialize(params)
|
@@ -5762,6 +5918,14 @@ module TencentCloud
|
|
5762
5918
|
end
|
5763
5919
|
@BindStatus = params['BindStatus']
|
5764
5920
|
@PermissionStatus = params['PermissionStatus']
|
5921
|
+
unless params['Tags'].nil?
|
5922
|
+
@Tags = []
|
5923
|
+
params['Tags'].each do |i|
|
5924
|
+
tag_tmp = Tag.new
|
5925
|
+
tag_tmp.deserialize(i)
|
5926
|
+
@Tags << tag_tmp
|
5927
|
+
end
|
5928
|
+
end
|
5765
5929
|
end
|
5766
5930
|
end
|
5767
5931
|
|
@@ -5988,16 +6152,20 @@ module TencentCloud
|
|
5988
6152
|
# @param UpdateTime: 更新时间
|
5989
6153
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5990
6154
|
# @type UpdateTime: String
|
6155
|
+
# @param Tags: 成员标签列表
|
6156
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6157
|
+
# @type Tags: Array
|
5991
6158
|
|
5992
|
-
attr_accessor :NodeId, :Name, :ParentNodeId, :Remark, :CreateTime, :UpdateTime
|
6159
|
+
attr_accessor :NodeId, :Name, :ParentNodeId, :Remark, :CreateTime, :UpdateTime, :Tags
|
5993
6160
|
|
5994
|
-
def initialize(nodeid=nil, name=nil, parentnodeid=nil, remark=nil, createtime=nil, updatetime=nil)
|
6161
|
+
def initialize(nodeid=nil, name=nil, parentnodeid=nil, remark=nil, createtime=nil, updatetime=nil, tags=nil)
|
5995
6162
|
@NodeId = nodeid
|
5996
6163
|
@Name = name
|
5997
6164
|
@ParentNodeId = parentnodeid
|
5998
6165
|
@Remark = remark
|
5999
6166
|
@CreateTime = createtime
|
6000
6167
|
@UpdateTime = updatetime
|
6168
|
+
@Tags = tags
|
6001
6169
|
end
|
6002
6170
|
|
6003
6171
|
def deserialize(params)
|
@@ -6007,6 +6175,14 @@ module TencentCloud
|
|
6007
6175
|
@Remark = params['Remark']
|
6008
6176
|
@CreateTime = params['CreateTime']
|
6009
6177
|
@UpdateTime = params['UpdateTime']
|
6178
|
+
unless params['Tags'].nil?
|
6179
|
+
@Tags = []
|
6180
|
+
params['Tags'].each do |i|
|
6181
|
+
tag_tmp = Tag.new
|
6182
|
+
tag_tmp.deserialize(i)
|
6183
|
+
@Tags << tag_tmp
|
6184
|
+
end
|
6185
|
+
end
|
6010
6186
|
end
|
6011
6187
|
end
|
6012
6188
|
|
@@ -6241,8 +6417,8 @@ module TencentCloud
|
|
6241
6417
|
|
6242
6418
|
attr_accessor :ProductResourceId, :ResourceGrantLast
|
6243
6419
|
extend Gem::Deprecate
|
6244
|
-
deprecate :ResourceGrantLast, :none, 2024,
|
6245
|
-
deprecate :ResourceGrantLast=, :none, 2024,
|
6420
|
+
deprecate :ResourceGrantLast, :none, 2024, 9
|
6421
|
+
deprecate :ResourceGrantLast=, :none, 2024, 9
|
6246
6422
|
|
6247
6423
|
def initialize(productresourceid=nil, resourcegrantlast=nil)
|
6248
6424
|
@ProductResourceId = productresourceid
|
@@ -7044,8 +7220,8 @@ module TencentCloud
|
|
7044
7220
|
|
7045
7221
|
attr_accessor :ResourceId, :ProductResourceId
|
7046
7222
|
extend Gem::Deprecate
|
7047
|
-
deprecate :ResourceId, :none, 2024,
|
7048
|
-
deprecate :ResourceId=, :none, 2024,
|
7223
|
+
deprecate :ResourceId, :none, 2024, 9
|
7224
|
+
deprecate :ResourceId=, :none, 2024, 9
|
7049
7225
|
|
7050
7226
|
def initialize(resourceid=nil, productresourceid=nil)
|
7051
7227
|
@ResourceId = resourceid
|
@@ -7123,6 +7299,28 @@ module TencentCloud
|
|
7123
7299
|
end
|
7124
7300
|
end
|
7125
7301
|
|
7302
|
+
# 标签键值对
|
7303
|
+
class Tag < TencentCloud::Common::AbstractModel
|
7304
|
+
# @param TagKey: 标签键
|
7305
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7306
|
+
# @type TagKey: String
|
7307
|
+
# @param TagValue: 标签值
|
7308
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7309
|
+
# @type TagValue: String
|
7310
|
+
|
7311
|
+
attr_accessor :TagKey, :TagValue
|
7312
|
+
|
7313
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
7314
|
+
@TagKey = tagkey
|
7315
|
+
@TagValue = tagvalue
|
7316
|
+
end
|
7317
|
+
|
7318
|
+
def deserialize(params)
|
7319
|
+
@TagKey = params['TagKey']
|
7320
|
+
@TagValue = params['TagValue']
|
7321
|
+
end
|
7322
|
+
end
|
7323
|
+
|
7126
7324
|
# 标签合规信息
|
7127
7325
|
class TagComplianceDetails < TencentCloud::Common::AbstractModel
|
7128
7326
|
# @param ComplianceStatus: 合规状态。true-合规,false-不合规
|
@@ -7259,6 +7457,50 @@ module TencentCloud
|
|
7259
7457
|
end
|
7260
7458
|
end
|
7261
7459
|
|
7460
|
+
# UpdateCustomPolicyForRoleConfiguration请求参数结构体
|
7461
|
+
class UpdateCustomPolicyForRoleConfigurationRequest < TencentCloud::Common::AbstractModel
|
7462
|
+
# @param ZoneId: 空间 ID
|
7463
|
+
# @type ZoneId: String
|
7464
|
+
# @param RoleConfigurationId: 权限配置 ID
|
7465
|
+
# @type RoleConfigurationId: String
|
7466
|
+
# @param CustomPolicyName: 权限策略名称,长度最大为 32 个字符。
|
7467
|
+
# @type CustomPolicyName: String
|
7468
|
+
# @param NewCustomPolicyDocument: 自定义策略内容。长度:最大 4096 个字符。当RolePolicyType为Inline时,该参数必须配置。关于权限策略的语法和结构,请参见权限策略语法和结构。
|
7469
|
+
# @type NewCustomPolicyDocument: String
|
7470
|
+
|
7471
|
+
attr_accessor :ZoneId, :RoleConfigurationId, :CustomPolicyName, :NewCustomPolicyDocument
|
7472
|
+
|
7473
|
+
def initialize(zoneid=nil, roleconfigurationid=nil, custompolicyname=nil, newcustompolicydocument=nil)
|
7474
|
+
@ZoneId = zoneid
|
7475
|
+
@RoleConfigurationId = roleconfigurationid
|
7476
|
+
@CustomPolicyName = custompolicyname
|
7477
|
+
@NewCustomPolicyDocument = newcustompolicydocument
|
7478
|
+
end
|
7479
|
+
|
7480
|
+
def deserialize(params)
|
7481
|
+
@ZoneId = params['ZoneId']
|
7482
|
+
@RoleConfigurationId = params['RoleConfigurationId']
|
7483
|
+
@CustomPolicyName = params['CustomPolicyName']
|
7484
|
+
@NewCustomPolicyDocument = params['NewCustomPolicyDocument']
|
7485
|
+
end
|
7486
|
+
end
|
7487
|
+
|
7488
|
+
# UpdateCustomPolicyForRoleConfiguration返回参数结构体
|
7489
|
+
class UpdateCustomPolicyForRoleConfigurationResponse < TencentCloud::Common::AbstractModel
|
7490
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7491
|
+
# @type RequestId: String
|
7492
|
+
|
7493
|
+
attr_accessor :RequestId
|
7494
|
+
|
7495
|
+
def initialize(requestid=nil)
|
7496
|
+
@RequestId = requestid
|
7497
|
+
end
|
7498
|
+
|
7499
|
+
def deserialize(params)
|
7500
|
+
@RequestId = params['RequestId']
|
7501
|
+
end
|
7502
|
+
end
|
7503
|
+
|
7262
7504
|
# UpdateGroup请求参数结构体
|
7263
7505
|
class UpdateGroupRequest < TencentCloud::Common::AbstractModel
|
7264
7506
|
# @param ZoneId: 空间 ID。
|
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.
|
4
|
+
version: 3.0.912
|
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-09-
|
11
|
+
date: 2024-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|