tencentcloud-sdk-organization 3.0.931 → 3.0.932
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210331/client.rb +144 -0
- data/lib/v20210331/models.rb +319 -8
- 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: 4f28cb4f45b1db847097c4f38f9ba15bf732af7e
|
4
|
+
data.tar.gz: 991deb60721aaf60f9712754c77aff8b56387033
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1679524c55a812a3cef77acfa1c094bcc0bec2f5210a04a1dac1c6366936c3f2ed044a4ca1b9d10fcd6febeacb10143d6ba8b74892ac30cad05f03cd6b16f827
|
7
|
+
data.tar.gz: b80cf5228c1b76dc2d114e9ad93a234466bfaeabf35461821c13b3df140d29fe2137e4cc086b3863b7c442c98ac999e0764e132fa07b36eeeaaff5288adb5eab
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.932
|
data/lib/v20210331/client.rb
CHANGED
@@ -629,6 +629,30 @@ module TencentCloud
|
|
629
629
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
630
630
|
end
|
631
631
|
|
632
|
+
# 创建SCIM密钥
|
633
|
+
|
634
|
+
# @param request: Request instance for CreateSCIMCredential.
|
635
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::CreateSCIMCredentialRequest`
|
636
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::CreateSCIMCredentialResponse`
|
637
|
+
def CreateSCIMCredential(request)
|
638
|
+
body = send_request('CreateSCIMCredential', request.serialize)
|
639
|
+
response = JSON.parse(body)
|
640
|
+
if response['Response'].key?('Error') == false
|
641
|
+
model = CreateSCIMCredentialResponse.new
|
642
|
+
model.deserialize(response['Response'])
|
643
|
+
model
|
644
|
+
else
|
645
|
+
code = response['Response']['Error']['Code']
|
646
|
+
message = response['Response']['Error']['Message']
|
647
|
+
reqid = response['Response']['RequestId']
|
648
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
649
|
+
end
|
650
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
651
|
+
raise e
|
652
|
+
rescue StandardError => e
|
653
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
654
|
+
end
|
655
|
+
|
632
656
|
# 创建用户
|
633
657
|
|
634
658
|
# @param request: Request instance for CreateUser.
|
@@ -965,6 +989,30 @@ module TencentCloud
|
|
965
989
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
990
|
end
|
967
991
|
|
992
|
+
# 删除SCIM密钥
|
993
|
+
|
994
|
+
# @param request: Request instance for DeleteSCIMCredential.
|
995
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::DeleteSCIMCredentialRequest`
|
996
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::DeleteSCIMCredentialResponse`
|
997
|
+
def DeleteSCIMCredential(request)
|
998
|
+
body = send_request('DeleteSCIMCredential', request.serialize)
|
999
|
+
response = JSON.parse(body)
|
1000
|
+
if response['Response'].key?('Error') == false
|
1001
|
+
model = DeleteSCIMCredentialResponse.new
|
1002
|
+
model.deserialize(response['Response'])
|
1003
|
+
model
|
1004
|
+
else
|
1005
|
+
code = response['Response']['Error']['Code']
|
1006
|
+
message = response['Response']['Error']['Message']
|
1007
|
+
reqid = response['Response']['RequestId']
|
1008
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1009
|
+
end
|
1010
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1011
|
+
raise e
|
1012
|
+
rescue StandardError => e
|
1013
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1014
|
+
end
|
1015
|
+
|
968
1016
|
# 删除共享单元。
|
969
1017
|
|
970
1018
|
# @param request: Request instance for DeleteShareUnit.
|
@@ -1733,6 +1781,30 @@ module TencentCloud
|
|
1733
1781
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1734
1782
|
end
|
1735
1783
|
|
1784
|
+
# 获取SCIM同步状态
|
1785
|
+
|
1786
|
+
# @param request: Request instance for GetSCIMSynchronizationStatus.
|
1787
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::GetSCIMSynchronizationStatusRequest`
|
1788
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::GetSCIMSynchronizationStatusResponse`
|
1789
|
+
def GetSCIMSynchronizationStatus(request)
|
1790
|
+
body = send_request('GetSCIMSynchronizationStatus', request.serialize)
|
1791
|
+
response = JSON.parse(body)
|
1792
|
+
if response['Response'].key?('Error') == false
|
1793
|
+
model = GetSCIMSynchronizationStatusResponse.new
|
1794
|
+
model.deserialize(response['Response'])
|
1795
|
+
model
|
1796
|
+
else
|
1797
|
+
code = response['Response']['Error']['Code']
|
1798
|
+
message = response['Response']['Error']['Message']
|
1799
|
+
reqid = response['Response']['RequestId']
|
1800
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1801
|
+
end
|
1802
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1803
|
+
raise e
|
1804
|
+
rescue StandardError => e
|
1805
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1806
|
+
end
|
1807
|
+
|
1736
1808
|
# 查询异步任务的状态
|
1737
1809
|
|
1738
1810
|
# @param request: Request instance for GetTaskStatus.
|
@@ -2213,6 +2285,30 @@ module TencentCloud
|
|
2213
2285
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2214
2286
|
end
|
2215
2287
|
|
2288
|
+
# 查询用户SCIM密钥列表
|
2289
|
+
|
2290
|
+
# @param request: Request instance for ListSCIMCredentials.
|
2291
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::ListSCIMCredentialsRequest`
|
2292
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::ListSCIMCredentialsResponse`
|
2293
|
+
def ListSCIMCredentials(request)
|
2294
|
+
body = send_request('ListSCIMCredentials', request.serialize)
|
2295
|
+
response = JSON.parse(body)
|
2296
|
+
if response['Response'].key?('Error') == false
|
2297
|
+
model = ListSCIMCredentialsResponse.new
|
2298
|
+
model.deserialize(response['Response'])
|
2299
|
+
model
|
2300
|
+
else
|
2301
|
+
code = response['Response']['Error']['Code']
|
2302
|
+
message = response['Response']['Error']['Message']
|
2303
|
+
reqid = response['Response']['RequestId']
|
2304
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2305
|
+
end
|
2306
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2307
|
+
raise e
|
2308
|
+
rescue StandardError => e
|
2309
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2310
|
+
end
|
2311
|
+
|
2216
2312
|
# 本接口(ListTargetsForPolicy)查询某个指定策略关联的目标列表
|
2217
2313
|
|
2218
2314
|
# @param request: Request instance for ListTargetsForPolicy.
|
@@ -2741,6 +2837,54 @@ module TencentCloud
|
|
2741
2837
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2742
2838
|
end
|
2743
2839
|
|
2840
|
+
# 启用/禁用SCIM密钥
|
2841
|
+
|
2842
|
+
# @param request: Request instance for UpdateSCIMCredentialStatus.
|
2843
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::UpdateSCIMCredentialStatusRequest`
|
2844
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::UpdateSCIMCredentialStatusResponse`
|
2845
|
+
def UpdateSCIMCredentialStatus(request)
|
2846
|
+
body = send_request('UpdateSCIMCredentialStatus', request.serialize)
|
2847
|
+
response = JSON.parse(body)
|
2848
|
+
if response['Response'].key?('Error') == false
|
2849
|
+
model = UpdateSCIMCredentialStatusResponse.new
|
2850
|
+
model.deserialize(response['Response'])
|
2851
|
+
model
|
2852
|
+
else
|
2853
|
+
code = response['Response']['Error']['Code']
|
2854
|
+
message = response['Response']['Error']['Message']
|
2855
|
+
reqid = response['Response']['RequestId']
|
2856
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2857
|
+
end
|
2858
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2859
|
+
raise e
|
2860
|
+
rescue StandardError => e
|
2861
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2862
|
+
end
|
2863
|
+
|
2864
|
+
# 启用/禁用用户SCIM同步
|
2865
|
+
|
2866
|
+
# @param request: Request instance for UpdateSCIMSynchronizationStatus.
|
2867
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::UpdateSCIMSynchronizationStatusRequest`
|
2868
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::UpdateSCIMSynchronizationStatusResponse`
|
2869
|
+
def UpdateSCIMSynchronizationStatus(request)
|
2870
|
+
body = send_request('UpdateSCIMSynchronizationStatus', request.serialize)
|
2871
|
+
response = JSON.parse(body)
|
2872
|
+
if response['Response'].key?('Error') == false
|
2873
|
+
model = UpdateSCIMSynchronizationStatusResponse.new
|
2874
|
+
model.deserialize(response['Response'])
|
2875
|
+
model
|
2876
|
+
else
|
2877
|
+
code = response['Response']['Error']['Code']
|
2878
|
+
message = response['Response']['Error']['Message']
|
2879
|
+
reqid = response['Response']['RequestId']
|
2880
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2881
|
+
end
|
2882
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2883
|
+
raise e
|
2884
|
+
rescue StandardError => e
|
2885
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2886
|
+
end
|
2887
|
+
|
2744
2888
|
# 更新共享单元。
|
2745
2889
|
|
2746
2890
|
# @param request: Request instance for UpdateShareUnit.
|
data/lib/v20210331/models.rb
CHANGED
@@ -697,19 +697,23 @@ module TencentCloud
|
|
697
697
|
# @type GroupName: String
|
698
698
|
# @param Description: 用户组的描述。 长度:最大 1024 个字符。
|
699
699
|
# @type Description: String
|
700
|
+
# @param GroupType: 用户组类型 Manual:手动创建,Synchronized:外部导入
|
701
|
+
# @type GroupType: String
|
700
702
|
|
701
|
-
attr_accessor :ZoneId, :GroupName, :Description
|
703
|
+
attr_accessor :ZoneId, :GroupName, :Description, :GroupType
|
702
704
|
|
703
|
-
def initialize(zoneid=nil, groupname=nil, description=nil)
|
705
|
+
def initialize(zoneid=nil, groupname=nil, description=nil, grouptype=nil)
|
704
706
|
@ZoneId = zoneid
|
705
707
|
@GroupName = groupname
|
706
708
|
@Description = description
|
709
|
+
@GroupType = grouptype
|
707
710
|
end
|
708
711
|
|
709
712
|
def deserialize(params)
|
710
713
|
@ZoneId = params['ZoneId']
|
711
714
|
@GroupName = params['GroupName']
|
712
715
|
@Description = params['Description']
|
716
|
+
@GroupType = params['GroupType']
|
713
717
|
end
|
714
718
|
end
|
715
719
|
|
@@ -1247,6 +1251,66 @@ module TencentCloud
|
|
1247
1251
|
end
|
1248
1252
|
end
|
1249
1253
|
|
1254
|
+
# CreateSCIMCredential请求参数结构体
|
1255
|
+
class CreateSCIMCredentialRequest < TencentCloud::Common::AbstractModel
|
1256
|
+
# @param ZoneId: 空间ID。z-前缀开头,后面是12位随机数字/小写字母
|
1257
|
+
# @type ZoneId: String
|
1258
|
+
|
1259
|
+
attr_accessor :ZoneId
|
1260
|
+
|
1261
|
+
def initialize(zoneid=nil)
|
1262
|
+
@ZoneId = zoneid
|
1263
|
+
end
|
1264
|
+
|
1265
|
+
def deserialize(params)
|
1266
|
+
@ZoneId = params['ZoneId']
|
1267
|
+
end
|
1268
|
+
end
|
1269
|
+
|
1270
|
+
# CreateSCIMCredential返回参数结构体
|
1271
|
+
class CreateSCIMCredentialResponse < TencentCloud::Common::AbstractModel
|
1272
|
+
# @param ZoneId: 空间ID。z-前缀开头,后面是12位随机数字/小写字母。
|
1273
|
+
# @type ZoneId: String
|
1274
|
+
# @param CredentialId: SCIM密钥ID。scimcred-前缀开头,后面是12位随机数字/小写字母。
|
1275
|
+
# @type CredentialId: String
|
1276
|
+
# @param CredentialType: SCIM密钥类型。
|
1277
|
+
# @type CredentialType: String
|
1278
|
+
# @param CreateTime: SCIM 密钥的创建时间。
|
1279
|
+
# @type CreateTime: String
|
1280
|
+
# @param ExpireTime: SCIM 密钥的过期时间。
|
1281
|
+
# @type ExpireTime: String
|
1282
|
+
# @param CredentialStatus: SCIM密钥状态,Enabled已开启,Disabled已关闭。
|
1283
|
+
# @type CredentialStatus: String
|
1284
|
+
# @param CredentialSecret: SCIM密钥。
|
1285
|
+
# @type CredentialSecret: String
|
1286
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1287
|
+
# @type RequestId: String
|
1288
|
+
|
1289
|
+
attr_accessor :ZoneId, :CredentialId, :CredentialType, :CreateTime, :ExpireTime, :CredentialStatus, :CredentialSecret, :RequestId
|
1290
|
+
|
1291
|
+
def initialize(zoneid=nil, credentialid=nil, credentialtype=nil, createtime=nil, expiretime=nil, credentialstatus=nil, credentialsecret=nil, requestid=nil)
|
1292
|
+
@ZoneId = zoneid
|
1293
|
+
@CredentialId = credentialid
|
1294
|
+
@CredentialType = credentialtype
|
1295
|
+
@CreateTime = createtime
|
1296
|
+
@ExpireTime = expiretime
|
1297
|
+
@CredentialStatus = credentialstatus
|
1298
|
+
@CredentialSecret = credentialsecret
|
1299
|
+
@RequestId = requestid
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
def deserialize(params)
|
1303
|
+
@ZoneId = params['ZoneId']
|
1304
|
+
@CredentialId = params['CredentialId']
|
1305
|
+
@CredentialType = params['CredentialType']
|
1306
|
+
@CreateTime = params['CreateTime']
|
1307
|
+
@ExpireTime = params['ExpireTime']
|
1308
|
+
@CredentialStatus = params['CredentialStatus']
|
1309
|
+
@CredentialSecret = params['CredentialSecret']
|
1310
|
+
@RequestId = params['RequestId']
|
1311
|
+
end
|
1312
|
+
end
|
1313
|
+
|
1250
1314
|
# CreateUser请求参数结构体
|
1251
1315
|
class CreateUserRequest < TencentCloud::Common::AbstractModel
|
1252
1316
|
# @param ZoneId: 空间 ID。
|
@@ -1265,10 +1329,12 @@ module TencentCloud
|
|
1265
1329
|
# @type Email: String
|
1266
1330
|
# @param UserStatus: 用户的状态。取值: Enabled(默认值):启用。 Disabled:禁用。
|
1267
1331
|
# @type UserStatus: String
|
1332
|
+
# @param UserType: 用户类型 Manual:手动创建,Synchronized:外部导入
|
1333
|
+
# @type UserType: String
|
1268
1334
|
|
1269
|
-
attr_accessor :ZoneId, :UserName, :FirstName, :LastName, :DisplayName, :Description, :Email, :UserStatus
|
1335
|
+
attr_accessor :ZoneId, :UserName, :FirstName, :LastName, :DisplayName, :Description, :Email, :UserStatus, :UserType
|
1270
1336
|
|
1271
|
-
def initialize(zoneid=nil, username=nil, firstname=nil, lastname=nil, displayname=nil, description=nil, email=nil, userstatus=nil)
|
1337
|
+
def initialize(zoneid=nil, username=nil, firstname=nil, lastname=nil, displayname=nil, description=nil, email=nil, userstatus=nil, usertype=nil)
|
1272
1338
|
@ZoneId = zoneid
|
1273
1339
|
@UserName = username
|
1274
1340
|
@FirstName = firstname
|
@@ -1277,6 +1343,7 @@ module TencentCloud
|
|
1277
1343
|
@Description = description
|
1278
1344
|
@Email = email
|
1279
1345
|
@UserStatus = userstatus
|
1346
|
+
@UserType = usertype
|
1280
1347
|
end
|
1281
1348
|
|
1282
1349
|
def deserialize(params)
|
@@ -1288,6 +1355,7 @@ module TencentCloud
|
|
1288
1355
|
@Description = params['Description']
|
1289
1356
|
@Email = params['Email']
|
1290
1357
|
@UserStatus = params['UserStatus']
|
1358
|
+
@UserType = params['UserType']
|
1291
1359
|
end
|
1292
1360
|
end
|
1293
1361
|
|
@@ -1798,6 +1866,42 @@ module TencentCloud
|
|
1798
1866
|
end
|
1799
1867
|
end
|
1800
1868
|
|
1869
|
+
# DeleteSCIMCredential请求参数结构体
|
1870
|
+
class DeleteSCIMCredentialRequest < TencentCloud::Common::AbstractModel
|
1871
|
+
# @param ZoneId: 空间ID。z-前缀开头,后面是12位随机数字/小写字母
|
1872
|
+
# @type ZoneId: String
|
1873
|
+
# @param CredentialId: SCIM密钥ID。scimcred-前缀开头,后面是12位随机数字/小写字母。
|
1874
|
+
# @type CredentialId: String
|
1875
|
+
|
1876
|
+
attr_accessor :ZoneId, :CredentialId
|
1877
|
+
|
1878
|
+
def initialize(zoneid=nil, credentialid=nil)
|
1879
|
+
@ZoneId = zoneid
|
1880
|
+
@CredentialId = credentialid
|
1881
|
+
end
|
1882
|
+
|
1883
|
+
def deserialize(params)
|
1884
|
+
@ZoneId = params['ZoneId']
|
1885
|
+
@CredentialId = params['CredentialId']
|
1886
|
+
end
|
1887
|
+
end
|
1888
|
+
|
1889
|
+
# DeleteSCIMCredential返回参数结构体
|
1890
|
+
class DeleteSCIMCredentialResponse < TencentCloud::Common::AbstractModel
|
1891
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1892
|
+
# @type RequestId: String
|
1893
|
+
|
1894
|
+
attr_accessor :RequestId
|
1895
|
+
|
1896
|
+
def initialize(requestid=nil)
|
1897
|
+
@RequestId = requestid
|
1898
|
+
end
|
1899
|
+
|
1900
|
+
def deserialize(params)
|
1901
|
+
@RequestId = params['RequestId']
|
1902
|
+
end
|
1903
|
+
end
|
1904
|
+
|
1801
1905
|
# DeleteShareUnitMembers请求参数结构体
|
1802
1906
|
class DeleteShareUnitMembersRequest < TencentCloud::Common::AbstractModel
|
1803
1907
|
# @param UnitId: 共享单元ID。
|
@@ -3595,6 +3699,42 @@ module TencentCloud
|
|
3595
3699
|
end
|
3596
3700
|
end
|
3597
3701
|
|
3702
|
+
# GetSCIMSynchronizationStatus请求参数结构体
|
3703
|
+
class GetSCIMSynchronizationStatusRequest < TencentCloud::Common::AbstractModel
|
3704
|
+
# @param ZoneId: 空间ID。z-前缀开头,后面是12位随机数字/小写字母
|
3705
|
+
# @type ZoneId: String
|
3706
|
+
|
3707
|
+
attr_accessor :ZoneId
|
3708
|
+
|
3709
|
+
def initialize(zoneid=nil)
|
3710
|
+
@ZoneId = zoneid
|
3711
|
+
end
|
3712
|
+
|
3713
|
+
def deserialize(params)
|
3714
|
+
@ZoneId = params['ZoneId']
|
3715
|
+
end
|
3716
|
+
end
|
3717
|
+
|
3718
|
+
# GetSCIMSynchronizationStatus返回参数结构体
|
3719
|
+
class GetSCIMSynchronizationStatusResponse < TencentCloud::Common::AbstractModel
|
3720
|
+
# @param SCIMSynchronizationStatus: SCIM 同步状态。Enabled:启用。 Disabled:禁用。
|
3721
|
+
# @type SCIMSynchronizationStatus: String
|
3722
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3723
|
+
# @type RequestId: String
|
3724
|
+
|
3725
|
+
attr_accessor :SCIMSynchronizationStatus, :RequestId
|
3726
|
+
|
3727
|
+
def initialize(scimsynchronizationstatus=nil, requestid=nil)
|
3728
|
+
@SCIMSynchronizationStatus = scimsynchronizationstatus
|
3729
|
+
@RequestId = requestid
|
3730
|
+
end
|
3731
|
+
|
3732
|
+
def deserialize(params)
|
3733
|
+
@SCIMSynchronizationStatus = params['SCIMSynchronizationStatus']
|
3734
|
+
@RequestId = params['RequestId']
|
3735
|
+
end
|
3736
|
+
end
|
3737
|
+
|
3598
3738
|
# GetTaskStatus请求参数结构体
|
3599
3739
|
class GetTaskStatusRequest < TencentCloud::Common::AbstractModel
|
3600
3740
|
# @param ZoneId: 空间ID。
|
@@ -4181,10 +4321,12 @@ module TencentCloud
|
|
4181
4321
|
# @type SortField: String
|
4182
4322
|
# @param SortType: 排序类型:Desc 倒序 Asc 正序,需要你和SortField一起设置
|
4183
4323
|
# @type SortType: String
|
4324
|
+
# @param Offset: 翻页offset. 不要与NextToken同时使用,优先使用NextToken
|
4325
|
+
# @type Offset: Integer
|
4184
4326
|
|
4185
|
-
attr_accessor :ZoneId, :NextToken, :MaxResults, :Filter, :GroupType, :FilterUsers, :SortField, :SortType
|
4327
|
+
attr_accessor :ZoneId, :NextToken, :MaxResults, :Filter, :GroupType, :FilterUsers, :SortField, :SortType, :Offset
|
4186
4328
|
|
4187
|
-
def initialize(zoneid=nil, nexttoken=nil, maxresults=nil, filter=nil, grouptype=nil, filterusers=nil, sortfield=nil, sorttype=nil)
|
4329
|
+
def initialize(zoneid=nil, nexttoken=nil, maxresults=nil, filter=nil, grouptype=nil, filterusers=nil, sortfield=nil, sorttype=nil, offset=nil)
|
4188
4330
|
@ZoneId = zoneid
|
4189
4331
|
@NextToken = nexttoken
|
4190
4332
|
@MaxResults = maxresults
|
@@ -4193,6 +4335,7 @@ module TencentCloud
|
|
4193
4335
|
@FilterUsers = filterusers
|
4194
4336
|
@SortField = sortfield
|
4195
4337
|
@SortType = sorttype
|
4338
|
+
@Offset = offset
|
4196
4339
|
end
|
4197
4340
|
|
4198
4341
|
def deserialize(params)
|
@@ -4204,6 +4347,7 @@ module TencentCloud
|
|
4204
4347
|
@FilterUsers = params['FilterUsers']
|
4205
4348
|
@SortField = params['SortField']
|
4206
4349
|
@SortType = params['SortType']
|
4350
|
+
@Offset = params['Offset']
|
4207
4351
|
end
|
4208
4352
|
end
|
4209
4353
|
|
@@ -5103,6 +5247,57 @@ module TencentCloud
|
|
5103
5247
|
end
|
5104
5248
|
end
|
5105
5249
|
|
5250
|
+
# ListSCIMCredentials请求参数结构体
|
5251
|
+
class ListSCIMCredentialsRequest < TencentCloud::Common::AbstractModel
|
5252
|
+
# @param ZoneId: 空间ID。z-前缀开头,后面是12位随机数字/小写字母
|
5253
|
+
# @type ZoneId: String
|
5254
|
+
# @param CredentialId: SCIM密钥ID
|
5255
|
+
# @type CredentialId: String
|
5256
|
+
|
5257
|
+
attr_accessor :ZoneId, :CredentialId
|
5258
|
+
|
5259
|
+
def initialize(zoneid=nil, credentialid=nil)
|
5260
|
+
@ZoneId = zoneid
|
5261
|
+
@CredentialId = credentialid
|
5262
|
+
end
|
5263
|
+
|
5264
|
+
def deserialize(params)
|
5265
|
+
@ZoneId = params['ZoneId']
|
5266
|
+
@CredentialId = params['CredentialId']
|
5267
|
+
end
|
5268
|
+
end
|
5269
|
+
|
5270
|
+
# ListSCIMCredentials返回参数结构体
|
5271
|
+
class ListSCIMCredentialsResponse < TencentCloud::Common::AbstractModel
|
5272
|
+
# @param TotalCounts: SCIM密钥数量。
|
5273
|
+
# @type TotalCounts: Integer
|
5274
|
+
# @param SCIMCredentials: SCIM 密钥信息。
|
5275
|
+
# @type SCIMCredentials: Array
|
5276
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5277
|
+
# @type RequestId: String
|
5278
|
+
|
5279
|
+
attr_accessor :TotalCounts, :SCIMCredentials, :RequestId
|
5280
|
+
|
5281
|
+
def initialize(totalcounts=nil, scimcredentials=nil, requestid=nil)
|
5282
|
+
@TotalCounts = totalcounts
|
5283
|
+
@SCIMCredentials = scimcredentials
|
5284
|
+
@RequestId = requestid
|
5285
|
+
end
|
5286
|
+
|
5287
|
+
def deserialize(params)
|
5288
|
+
@TotalCounts = params['TotalCounts']
|
5289
|
+
unless params['SCIMCredentials'].nil?
|
5290
|
+
@SCIMCredentials = []
|
5291
|
+
params['SCIMCredentials'].each do |i|
|
5292
|
+
scimcredential_tmp = SCIMCredential.new
|
5293
|
+
scimcredential_tmp.deserialize(i)
|
5294
|
+
@SCIMCredentials << scimcredential_tmp
|
5295
|
+
end
|
5296
|
+
end
|
5297
|
+
@RequestId = params['RequestId']
|
5298
|
+
end
|
5299
|
+
end
|
5300
|
+
|
5106
5301
|
# 查询某个指定SCP策略关联的目标列表
|
5107
5302
|
class ListTargetsForPolicyNode < TencentCloud::Common::AbstractModel
|
5108
5303
|
# @param Uin: scp账号uin或节点Id
|
@@ -5402,10 +5597,12 @@ module TencentCloud
|
|
5402
5597
|
# @type SortField: String
|
5403
5598
|
# @param SortType: 排序类型:Desc 倒序 Asc 正序,需要你和SortField一起设置
|
5404
5599
|
# @type SortType: String
|
5600
|
+
# @param Offset: 翻页offset. 不要与NextToken同时使用,优先使用NextToken
|
5601
|
+
# @type Offset: Integer
|
5405
5602
|
|
5406
|
-
attr_accessor :ZoneId, :UserStatus, :UserType, :Filter, :MaxResults, :NextToken, :FilterGroups, :SortField, :SortType
|
5603
|
+
attr_accessor :ZoneId, :UserStatus, :UserType, :Filter, :MaxResults, :NextToken, :FilterGroups, :SortField, :SortType, :Offset
|
5407
5604
|
|
5408
|
-
def initialize(zoneid=nil, userstatus=nil, usertype=nil, filter=nil, maxresults=nil, nexttoken=nil, filtergroups=nil, sortfield=nil, sorttype=nil)
|
5605
|
+
def initialize(zoneid=nil, userstatus=nil, usertype=nil, filter=nil, maxresults=nil, nexttoken=nil, filtergroups=nil, sortfield=nil, sorttype=nil, offset=nil)
|
5409
5606
|
@ZoneId = zoneid
|
5410
5607
|
@UserStatus = userstatus
|
5411
5608
|
@UserType = usertype
|
@@ -5415,6 +5612,7 @@ module TencentCloud
|
|
5415
5612
|
@FilterGroups = filtergroups
|
5416
5613
|
@SortField = sortfield
|
5417
5614
|
@SortType = sorttype
|
5615
|
+
@Offset = offset
|
5418
5616
|
end
|
5419
5617
|
|
5420
5618
|
def deserialize(params)
|
@@ -5427,6 +5625,7 @@ module TencentCloud
|
|
5427
5625
|
@FilterGroups = params['FilterGroups']
|
5428
5626
|
@SortField = params['SortField']
|
5429
5627
|
@SortType = params['SortType']
|
5628
|
+
@Offset = params['Offset']
|
5430
5629
|
end
|
5431
5630
|
end
|
5432
5631
|
|
@@ -7082,6 +7281,42 @@ module TencentCloud
|
|
7082
7281
|
end
|
7083
7282
|
end
|
7084
7283
|
|
7284
|
+
# SCIM密钥
|
7285
|
+
class SCIMCredential < TencentCloud::Common::AbstractModel
|
7286
|
+
# @param ZoneId: 空间ID。z-前缀开头,后面是12位随机数字/小写字母
|
7287
|
+
# @type ZoneId: String
|
7288
|
+
# @param Status: SCIM密钥状态,Enabled已开启,Disabled已关闭。
|
7289
|
+
# @type Status: String
|
7290
|
+
# @param CredentialId: SCIM密钥ID。scimcred-前缀开头,后面是12位随机数字/小写字母。
|
7291
|
+
# @type CredentialId: String
|
7292
|
+
# @param CredentialType: SCIM密钥类型。
|
7293
|
+
# @type CredentialType: String
|
7294
|
+
# @param CreateTime: SCIM 密钥的创建时间。
|
7295
|
+
# @type CreateTime: String
|
7296
|
+
# @param ExpireTime: SCIM 密钥的过期时间。
|
7297
|
+
# @type ExpireTime: String
|
7298
|
+
|
7299
|
+
attr_accessor :ZoneId, :Status, :CredentialId, :CredentialType, :CreateTime, :ExpireTime
|
7300
|
+
|
7301
|
+
def initialize(zoneid=nil, status=nil, credentialid=nil, credentialtype=nil, createtime=nil, expiretime=nil)
|
7302
|
+
@ZoneId = zoneid
|
7303
|
+
@Status = status
|
7304
|
+
@CredentialId = credentialid
|
7305
|
+
@CredentialType = credentialtype
|
7306
|
+
@CreateTime = createtime
|
7307
|
+
@ExpireTime = expiretime
|
7308
|
+
end
|
7309
|
+
|
7310
|
+
def deserialize(params)
|
7311
|
+
@ZoneId = params['ZoneId']
|
7312
|
+
@Status = params['Status']
|
7313
|
+
@CredentialId = params['CredentialId']
|
7314
|
+
@CredentialType = params['CredentialType']
|
7315
|
+
@CreateTime = params['CreateTime']
|
7316
|
+
@ExpireTime = params['ExpireTime']
|
7317
|
+
end
|
7318
|
+
end
|
7319
|
+
|
7085
7320
|
# SendOrgMemberAccountBindEmail请求参数结构体
|
7086
7321
|
class SendOrgMemberAccountBindEmailRequest < TencentCloud::Common::AbstractModel
|
7087
7322
|
# @param MemberUin: 成员Uin。
|
@@ -7847,6 +8082,82 @@ module TencentCloud
|
|
7847
8082
|
end
|
7848
8083
|
end
|
7849
8084
|
|
8085
|
+
# UpdateSCIMCredentialStatus请求参数结构体
|
8086
|
+
class UpdateSCIMCredentialStatusRequest < TencentCloud::Common::AbstractModel
|
8087
|
+
# @param ZoneId: 空间ID。z-前缀开头,后面是12位随机数字/小写字母
|
8088
|
+
# @type ZoneId: String
|
8089
|
+
# @param CredentialId: SCIM密钥ID。scimcred-前缀开头,后面是12位随机数字/小写字母。
|
8090
|
+
# @type CredentialId: String
|
8091
|
+
# @param NewStatus: SCIM密钥状态。Enabled:启用。 Disabled:禁用。
|
8092
|
+
# @type NewStatus: String
|
8093
|
+
|
8094
|
+
attr_accessor :ZoneId, :CredentialId, :NewStatus
|
8095
|
+
|
8096
|
+
def initialize(zoneid=nil, credentialid=nil, newstatus=nil)
|
8097
|
+
@ZoneId = zoneid
|
8098
|
+
@CredentialId = credentialid
|
8099
|
+
@NewStatus = newstatus
|
8100
|
+
end
|
8101
|
+
|
8102
|
+
def deserialize(params)
|
8103
|
+
@ZoneId = params['ZoneId']
|
8104
|
+
@CredentialId = params['CredentialId']
|
8105
|
+
@NewStatus = params['NewStatus']
|
8106
|
+
end
|
8107
|
+
end
|
8108
|
+
|
8109
|
+
# UpdateSCIMCredentialStatus返回参数结构体
|
8110
|
+
class UpdateSCIMCredentialStatusResponse < TencentCloud::Common::AbstractModel
|
8111
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8112
|
+
# @type RequestId: String
|
8113
|
+
|
8114
|
+
attr_accessor :RequestId
|
8115
|
+
|
8116
|
+
def initialize(requestid=nil)
|
8117
|
+
@RequestId = requestid
|
8118
|
+
end
|
8119
|
+
|
8120
|
+
def deserialize(params)
|
8121
|
+
@RequestId = params['RequestId']
|
8122
|
+
end
|
8123
|
+
end
|
8124
|
+
|
8125
|
+
# UpdateSCIMSynchronizationStatus请求参数结构体
|
8126
|
+
class UpdateSCIMSynchronizationStatusRequest < TencentCloud::Common::AbstractModel
|
8127
|
+
# @param ZoneId: 空间ID。z-前缀开头,后面是12位随机数字/小写字母
|
8128
|
+
# @type ZoneId: String
|
8129
|
+
# @param SCIMSynchronizationStatus: SCIM 同步状态。Enabled:启用。Disabled:禁用。
|
8130
|
+
# @type SCIMSynchronizationStatus: String
|
8131
|
+
|
8132
|
+
attr_accessor :ZoneId, :SCIMSynchronizationStatus
|
8133
|
+
|
8134
|
+
def initialize(zoneid=nil, scimsynchronizationstatus=nil)
|
8135
|
+
@ZoneId = zoneid
|
8136
|
+
@SCIMSynchronizationStatus = scimsynchronizationstatus
|
8137
|
+
end
|
8138
|
+
|
8139
|
+
def deserialize(params)
|
8140
|
+
@ZoneId = params['ZoneId']
|
8141
|
+
@SCIMSynchronizationStatus = params['SCIMSynchronizationStatus']
|
8142
|
+
end
|
8143
|
+
end
|
8144
|
+
|
8145
|
+
# UpdateSCIMSynchronizationStatus返回参数结构体
|
8146
|
+
class UpdateSCIMSynchronizationStatusResponse < TencentCloud::Common::AbstractModel
|
8147
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8148
|
+
# @type RequestId: String
|
8149
|
+
|
8150
|
+
attr_accessor :RequestId
|
8151
|
+
|
8152
|
+
def initialize(requestid=nil)
|
8153
|
+
@RequestId = requestid
|
8154
|
+
end
|
8155
|
+
|
8156
|
+
def deserialize(params)
|
8157
|
+
@RequestId = params['RequestId']
|
8158
|
+
end
|
8159
|
+
end
|
8160
|
+
|
7850
8161
|
# UpdateShareUnit请求参数结构体
|
7851
8162
|
class UpdateShareUnitRequest < TencentCloud::Common::AbstractModel
|
7852
8163
|
# @param UnitId: 共享单元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.932
|
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-10-
|
11
|
+
date: 2024-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|