tencentcloud-sdk-organization 3.0.631 → 3.0.633

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: 582857cb2a8739bfcd91d6f86ca7573e7b180cfa
4
- data.tar.gz: 7f8c1ff45998151ab427763bef4252aaef246f0d
3
+ metadata.gz: 897036cbd3bb08f047c361ca377d3d298c044f0b
4
+ data.tar.gz: 8320bf947a47f8531801c363992391d5188294ac
5
5
  SHA512:
6
- metadata.gz: aa7923dd2dbb27e5e4463dad624c29dd71e99c074e0ac4121fe6626a2d84873de88acf0bb726178fb70df291d27c8a342e9d9ab21202493a24744d327e4761d9
7
- data.tar.gz: 6dc1153e6115ccbd7d31c1663689901323800f6b6ff804c4e6c102dcde55e9d0f648f0b80f51c4a62063e0432ca27ad648d19ff87d746b391bb9d04f4ea26a38
6
+ metadata.gz: decb60afe72c739c8cd3d56e14d7ffa196b8976536a28cbe17b9ca622c84dc8d47e65c0b7433911d4b4f25dda207611900688a57131216a4a59c45e7374c3241
7
+ data.tar.gz: 95d7d63a4e23a5571a236eb0a94574954ab3dacc3fea21f994f5f378cfad329a880497eae03cfbe44c27a75d1a63943c92442ffc4a8ad438ac7a8c5b98c1b2b9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.631
1
+ 3.0.633
@@ -149,6 +149,30 @@ module TencentCloud
149
149
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
150
  end
151
151
 
152
+ # 添加组织成员访问授权
153
+
154
+ # @param request: Request instance for CreateOrganizationMemberAuthIdentity.
155
+ # @type request: :class:`Tencentcloud::organization::V20210331::CreateOrganizationMemberAuthIdentityRequest`
156
+ # @rtype: :class:`Tencentcloud::organization::V20210331::CreateOrganizationMemberAuthIdentityResponse`
157
+ def CreateOrganizationMemberAuthIdentity(request)
158
+ body = send_request('CreateOrganizationMemberAuthIdentity', request.serialize)
159
+ response = JSON.parse(body)
160
+ if response['Response'].key?('Error') == false
161
+ model = CreateOrganizationMemberAuthIdentityResponse.new
162
+ model.deserialize(response['Response'])
163
+ model
164
+ else
165
+ code = response['Response']['Error']['Code']
166
+ message = response['Response']['Error']['Message']
167
+ reqid = response['Response']['RequestId']
168
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
169
+ end
170
+ rescue TencentCloud::Common::TencentCloudSDKException => e
171
+ raise e
172
+ rescue StandardError => e
173
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
+ end
175
+
152
176
  # 创建组织成员访问授权策略
153
177
 
154
178
  # @param request: Request instance for CreateOrganizationMemberPolicy.
@@ -173,6 +197,30 @@ module TencentCloud
173
197
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
198
  end
175
199
 
200
+ # 删除组织成员访问授权
201
+
202
+ # @param request: Request instance for DeleteOrganizationMemberAuthIdentity.
203
+ # @type request: :class:`Tencentcloud::organization::V20210331::DeleteOrganizationMemberAuthIdentityRequest`
204
+ # @rtype: :class:`Tencentcloud::organization::V20210331::DeleteOrganizationMemberAuthIdentityResponse`
205
+ def DeleteOrganizationMemberAuthIdentity(request)
206
+ body = send_request('DeleteOrganizationMemberAuthIdentity', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = DeleteOrganizationMemberAuthIdentityResponse.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
+
176
224
  # 批量删除企业组织成员
177
225
 
178
226
  # @param request: Request instance for DeleteOrganizationMembers.
@@ -197,6 +245,30 @@ module TencentCloud
197
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
246
  end
199
247
 
248
+ # 删除组织成员访问策略
249
+
250
+ # @param request: Request instance for DeleteOrganizationMembersPolicy.
251
+ # @type request: :class:`Tencentcloud::organization::V20210331::DeleteOrganizationMembersPolicyRequest`
252
+ # @rtype: :class:`Tencentcloud::organization::V20210331::DeleteOrganizationMembersPolicyResponse`
253
+ def DeleteOrganizationMembersPolicy(request)
254
+ body = send_request('DeleteOrganizationMembersPolicy', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = DeleteOrganizationMembersPolicyResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
200
272
  # 批量删除企业组织节点
201
273
 
202
274
  # @param request: Request instance for DeleteOrganizationNodes.
@@ -215,6 +215,42 @@ module TencentCloud
215
215
  end
216
216
  end
217
217
 
218
+ # CreateOrganizationMemberAuthIdentity请求参数结构体
219
+ class CreateOrganizationMemberAuthIdentityRequest < TencentCloud::Common::AbstractModel
220
+ # @param MemberUins: 成员uin列表。最多10个
221
+ # @type MemberUins: Array
222
+ # @param IdentityIds: 身份Id列表。最多5个
223
+ # @type IdentityIds: Array
224
+
225
+ attr_accessor :MemberUins, :IdentityIds
226
+
227
+ def initialize(memberuins=nil, identityids=nil)
228
+ @MemberUins = memberuins
229
+ @IdentityIds = identityids
230
+ end
231
+
232
+ def deserialize(params)
233
+ @MemberUins = params['MemberUins']
234
+ @IdentityIds = params['IdentityIds']
235
+ end
236
+ end
237
+
238
+ # CreateOrganizationMemberAuthIdentity返回参数结构体
239
+ class CreateOrganizationMemberAuthIdentityResponse < TencentCloud::Common::AbstractModel
240
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
241
+ # @type RequestId: String
242
+
243
+ attr_accessor :RequestId
244
+
245
+ def initialize(requestid=nil)
246
+ @RequestId = requestid
247
+ end
248
+
249
+ def deserialize(params)
250
+ @RequestId = params['RequestId']
251
+ end
252
+ end
253
+
218
254
  # CreateOrganizationMemberPolicy请求参数结构体
219
255
  class CreateOrganizationMemberPolicyRequest < TencentCloud::Common::AbstractModel
220
256
  # @param MemberUin: 成员Uin。
@@ -337,6 +373,74 @@ module TencentCloud
337
373
  end
338
374
  end
339
375
 
376
+ # DeleteOrganizationMemberAuthIdentity请求参数结构体
377
+ class DeleteOrganizationMemberAuthIdentityRequest < TencentCloud::Common::AbstractModel
378
+ # @param MemberUin: 成员uin。
379
+ # @type MemberUin: Integer
380
+ # @param IdentityId: 身份Id。
381
+ # @type IdentityId: Integer
382
+
383
+ attr_accessor :MemberUin, :IdentityId
384
+
385
+ def initialize(memberuin=nil, identityid=nil)
386
+ @MemberUin = memberuin
387
+ @IdentityId = identityid
388
+ end
389
+
390
+ def deserialize(params)
391
+ @MemberUin = params['MemberUin']
392
+ @IdentityId = params['IdentityId']
393
+ end
394
+ end
395
+
396
+ # DeleteOrganizationMemberAuthIdentity返回参数结构体
397
+ class DeleteOrganizationMemberAuthIdentityResponse < TencentCloud::Common::AbstractModel
398
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
399
+ # @type RequestId: String
400
+
401
+ attr_accessor :RequestId
402
+
403
+ def initialize(requestid=nil)
404
+ @RequestId = requestid
405
+ end
406
+
407
+ def deserialize(params)
408
+ @RequestId = params['RequestId']
409
+ end
410
+ end
411
+
412
+ # DeleteOrganizationMembersPolicy请求参数结构体
413
+ class DeleteOrganizationMembersPolicyRequest < TencentCloud::Common::AbstractModel
414
+ # @param PolicyId: 访问策略ID。
415
+ # @type PolicyId: Integer
416
+
417
+ attr_accessor :PolicyId
418
+
419
+ def initialize(policyid=nil)
420
+ @PolicyId = policyid
421
+ end
422
+
423
+ def deserialize(params)
424
+ @PolicyId = params['PolicyId']
425
+ end
426
+ end
427
+
428
+ # DeleteOrganizationMembersPolicy返回参数结构体
429
+ class DeleteOrganizationMembersPolicyResponse < TencentCloud::Common::AbstractModel
430
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
431
+ # @type RequestId: String
432
+
433
+ attr_accessor :RequestId
434
+
435
+ def initialize(requestid=nil)
436
+ @RequestId = requestid
437
+ end
438
+
439
+ def deserialize(params)
440
+ @RequestId = params['RequestId']
441
+ end
442
+ end
443
+
340
444
  # DeleteOrganizationMembers请求参数结构体
341
445
  class DeleteOrganizationMembersRequest < TencentCloud::Common::AbstractModel
342
446
  # @param MemberUin: 被删除成员的UIN列表。
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.631
4
+ version: 3.0.633
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-08 00:00:00.000000000 Z
11
+ date: 2023-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common