tencentcloud-sdk-organization 3.0.769 → 3.0.771
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 +24 -0
- data/lib/v20210331/models.rb +104 -4
- 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: cf6a7969c90f6597212d72b71811649e29f1cb7d
|
4
|
+
data.tar.gz: dfa02622eba4f8260a84ea5a5a499024adf2ccf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 152456870896eca59359b2692e65b2020a59db00d45a2bf0daf6844a5b7ac434c8398d79a8bb19af10b0b983d9bbaab8bf6483f4fbe36203eb368e4e49e12ebe
|
7
|
+
data.tar.gz: b858af7eb161a9c9aa35fad4be433857c35dc6356f986897fff47a5576ad60c0b7a6ba4a4f5e3c86ff0ba58f458288b178388329c9c05f145709b58d2c9be4ab
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.771
|
data/lib/v20210331/client.rb
CHANGED
@@ -197,6 +197,30 @@ module TencentCloud
|
|
197
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
198
|
end
|
199
199
|
|
200
|
+
# 成员账号删除检查
|
201
|
+
|
202
|
+
# @param request: Request instance for CheckAccountDelete.
|
203
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::CheckAccountDeleteRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::CheckAccountDeleteResponse`
|
205
|
+
def CheckAccountDelete(request)
|
206
|
+
body = send_request('CheckAccountDelete', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = CheckAccountDeleteResponse.new
|
210
|
+
model.deserialize(response['Response'])
|
211
|
+
model
|
212
|
+
else
|
213
|
+
code = response['Response']['Error']['Code']
|
214
|
+
message = response['Response']['Error']['Message']
|
215
|
+
reqid = response['Response']['RequestId']
|
216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
+
end
|
218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
+
raise e
|
220
|
+
rescue StandardError => e
|
221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
+
end
|
223
|
+
|
200
224
|
# 创建企业组织
|
201
225
|
|
202
226
|
# @param request: Request instance for CreateOrganization.
|
data/lib/v20210331/models.rb
CHANGED
@@ -362,6 +362,49 @@ module TencentCloud
|
|
362
362
|
end
|
363
363
|
end
|
364
364
|
|
365
|
+
# CheckAccountDelete请求参数结构体
|
366
|
+
class CheckAccountDeleteRequest < TencentCloud::Common::AbstractModel
|
367
|
+
# @param MemberUin: 成员uin。
|
368
|
+
# @type MemberUin: Integer
|
369
|
+
|
370
|
+
attr_accessor :MemberUin
|
371
|
+
|
372
|
+
def initialize(memberuin=nil)
|
373
|
+
@MemberUin = memberuin
|
374
|
+
end
|
375
|
+
|
376
|
+
def deserialize(params)
|
377
|
+
@MemberUin = params['MemberUin']
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
# CheckAccountDelete返回参数结构体
|
382
|
+
class CheckAccountDeleteResponse < TencentCloud::Common::AbstractModel
|
383
|
+
# @param AllowDelete: 成员是否允许删除。 true-是、false-否
|
384
|
+
# @type AllowDelete: Boolean
|
385
|
+
# @param NotAllowReason: 不允许删除原因。
|
386
|
+
# @type NotAllowReason: :class:`Tencentcloud::Organization.v20210331.models.NotAllowReason`
|
387
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
388
|
+
# @type RequestId: String
|
389
|
+
|
390
|
+
attr_accessor :AllowDelete, :NotAllowReason, :RequestId
|
391
|
+
|
392
|
+
def initialize(allowdelete=nil, notallowreason=nil, requestid=nil)
|
393
|
+
@AllowDelete = allowdelete
|
394
|
+
@NotAllowReason = notallowreason
|
395
|
+
@RequestId = requestid
|
396
|
+
end
|
397
|
+
|
398
|
+
def deserialize(params)
|
399
|
+
@AllowDelete = params['AllowDelete']
|
400
|
+
unless params['NotAllowReason'].nil?
|
401
|
+
@NotAllowReason = NotAllowReason.new
|
402
|
+
@NotAllowReason.deserialize(params['NotAllowReason'])
|
403
|
+
end
|
404
|
+
@RequestId = params['RequestId']
|
405
|
+
end
|
406
|
+
end
|
407
|
+
|
365
408
|
# CreateOrganizationIdentity请求参数结构体
|
366
409
|
class CreateOrganizationIdentityRequest < TencentCloud::Common::AbstractModel
|
367
410
|
# @param IdentityAliasName: 身份名称
|
@@ -2239,6 +2282,63 @@ module TencentCloud
|
|
2239
2282
|
end
|
2240
2283
|
end
|
2241
2284
|
|
2285
|
+
# 不允许删除的原因。
|
2286
|
+
class NotAllowReason < TencentCloud::Common::AbstractModel
|
2287
|
+
# @param IsCreateMember: 是否创建的成员。true-是、false-否;成员不是创建的成员不允许删除
|
2288
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2289
|
+
# @type IsCreateMember: Boolean
|
2290
|
+
# @param DeletionPermission: 成员删除许可。true-开启、false-关闭;成员删除许可关闭时不允许删除
|
2291
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2292
|
+
# @type DeletionPermission: Boolean
|
2293
|
+
# @param IsAssignManager: 是否可信服务委派管理员。true-是、false-否;成员是可信服务委派管理员不允许删除
|
2294
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2295
|
+
# @type IsAssignManager: Boolean
|
2296
|
+
# @param IsAuthManager: 是否主体管理员。true-是、false-否;成员是主体管理员不允许删除
|
2297
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2298
|
+
# @type IsAuthManager: Boolean
|
2299
|
+
# @param IsShareManager: 是否共享资源管理员。true-是、false-否;成员是共享资源管理员不允许删除
|
2300
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2301
|
+
# @type IsShareManager: Boolean
|
2302
|
+
# @param OperateProcess: 成员是否设置了操作审批。true-是、false-否;成员设置了操作审批时不允许删除
|
2303
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2304
|
+
# @type OperateProcess: Boolean
|
2305
|
+
# @param BillingPermission: 是否允许解除成员财务权限。true-是、false-否;成员不能解除财务权限时不允许删除
|
2306
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2307
|
+
# @type BillingPermission: Boolean
|
2308
|
+
# @param ExistResources: 存在的资源列表。账号存在资源时不允许删除
|
2309
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2310
|
+
# @type ExistResources: Array
|
2311
|
+
# @param DetectFailedResources: 检测失败的资源列表。账号有资源检测失败时不允许删除。
|
2312
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2313
|
+
# @type DetectFailedResources: Array
|
2314
|
+
|
2315
|
+
attr_accessor :IsCreateMember, :DeletionPermission, :IsAssignManager, :IsAuthManager, :IsShareManager, :OperateProcess, :BillingPermission, :ExistResources, :DetectFailedResources
|
2316
|
+
|
2317
|
+
def initialize(iscreatemember=nil, deletionpermission=nil, isassignmanager=nil, isauthmanager=nil, issharemanager=nil, operateprocess=nil, billingpermission=nil, existresources=nil, detectfailedresources=nil)
|
2318
|
+
@IsCreateMember = iscreatemember
|
2319
|
+
@DeletionPermission = deletionpermission
|
2320
|
+
@IsAssignManager = isassignmanager
|
2321
|
+
@IsAuthManager = isauthmanager
|
2322
|
+
@IsShareManager = issharemanager
|
2323
|
+
@OperateProcess = operateprocess
|
2324
|
+
@BillingPermission = billingpermission
|
2325
|
+
@ExistResources = existresources
|
2326
|
+
@DetectFailedResources = detectfailedresources
|
2327
|
+
end
|
2328
|
+
|
2329
|
+
def deserialize(params)
|
2330
|
+
@IsCreateMember = params['IsCreateMember']
|
2331
|
+
@DeletionPermission = params['DeletionPermission']
|
2332
|
+
@IsAssignManager = params['IsAssignManager']
|
2333
|
+
@IsAuthManager = params['IsAuthManager']
|
2334
|
+
@IsShareManager = params['IsShareManager']
|
2335
|
+
@OperateProcess = params['OperateProcess']
|
2336
|
+
@BillingPermission = params['BillingPermission']
|
2337
|
+
@ExistResources = params['ExistResources']
|
2338
|
+
@DetectFailedResources = params['DetectFailedResources']
|
2339
|
+
end
|
2340
|
+
end
|
2341
|
+
|
2242
2342
|
# 按月获取组织财务信息
|
2243
2343
|
class OrgFinancialByMonth < TencentCloud::Common::AbstractModel
|
2244
2344
|
# @param Id: 记录ID。
|
@@ -2737,8 +2837,8 @@ module TencentCloud
|
|
2737
2837
|
|
2738
2838
|
attr_accessor :ProductResourceId, :ResourceGrantLast
|
2739
2839
|
extend Gem::Deprecate
|
2740
|
-
deprecate :ResourceGrantLast, :none, 2024,
|
2741
|
-
deprecate :ResourceGrantLast=, :none, 2024,
|
2840
|
+
deprecate :ResourceGrantLast, :none, 2024, 2
|
2841
|
+
deprecate :ResourceGrantLast=, :none, 2024, 2
|
2742
2842
|
|
2743
2843
|
def initialize(productresourceid=nil, resourcegrantlast=nil)
|
2744
2844
|
@ProductResourceId = productresourceid
|
@@ -2833,8 +2933,8 @@ module TencentCloud
|
|
2833
2933
|
|
2834
2934
|
attr_accessor :ResourceId, :ProductResourceId
|
2835
2935
|
extend Gem::Deprecate
|
2836
|
-
deprecate :ResourceId, :none, 2024,
|
2837
|
-
deprecate :ResourceId=, :none, 2024,
|
2936
|
+
deprecate :ResourceId, :none, 2024, 2
|
2937
|
+
deprecate :ResourceId=, :none, 2024, 2
|
2838
2938
|
|
2839
2939
|
def initialize(resourceid=nil, productresourceid=nil)
|
2840
2940
|
@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.
|
4
|
+
version: 3.0.771
|
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-02-
|
11
|
+
date: 2024-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|