tencentcloud-sdk-ess 3.0.646 → 3.0.648

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: 7cd0f35f95b4a3f72c05e2278cc05197f404f3cb
4
- data.tar.gz: 1c375a12ca0f0a2b97481b37a07a9708e722efc1
3
+ metadata.gz: 1d77f500bfa9d14a0c6a40d2115469de16a997ce
4
+ data.tar.gz: 7a5b042463c6100a10f6146bdecd7839689ca1fb
5
5
  SHA512:
6
- metadata.gz: e2333a12a8bdbfe9f126b5142889e94825d831a647b682deded066d78a7e2304b2f242c7a73c4ca0923687b43c3ac0a2ed5ba28ac386fa5ebf51790d41d51341
7
- data.tar.gz: a7ff4f59c9a7bd95f351eba2dda17c07fcb6bad978bd0b4d9e46da806fc91d622e2b2ef441e51c9e1e1289a9559b7affbe6248bf93c24b3f7aed6806233370cd
6
+ metadata.gz: 3e2790ab65c5c8c18e787ddd9b38166ed1307630a93807618ebc9a36d1b480d3eb9bbe48ac18669c0194dfce678a75e5cb8c1a60d58b6fa3084910b0578fb551
7
+ data.tar.gz: a5b47cab696042d7929592b1dfe5376045cc47f0557150bad77bad5545496ee8f140a1c197bf2adccf42f32ac4a67d88e2f718c052fc0e0cb4db5ebc0a87c2c0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.646
1
+ 3.0.648
@@ -550,6 +550,39 @@ module TencentCloud
550
550
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
551
551
  end
552
552
 
553
+ # 此接口(CreateIntegrationRole)用来创建企业自定义的SaaS角色或集团角色。
554
+
555
+ # 适用场景1:创建当前企业的自定义SaaS角色或集团角色,并且创建时不进行权限的设置(PermissionGroups 参数不传),角色中的权限内容可通过控制台编辑角色或通过接口 ModifyIntegrationRole 完成更新。
556
+
557
+ # 适用场景2:创建当前企业的自定义SaaS角色或集团角色,并且创建时进行权限的设置(PermissionGroups 参数要传),权限树内容 PermissionGroups 可参考接口 DescribeIntegrationRoles 的输出。
558
+ # 适用场景3:创建集团角色时可同时设置角色管理的子企业列表,可通过设置 SubOrganizationIds 参数达到此效果。
559
+
560
+ # 适用场景4:主企业代理子企业操作的场景,需要设置Agent参数,并且ProxyOrganizationId设置为子企业的id即可。
561
+
562
+ # 注意事项:SaaS角色和集团角色对应的权限树是不一样的。
563
+
564
+ # @param request: Request instance for CreateIntegrationRole.
565
+ # @type request: :class:`Tencentcloud::ess::V20201111::CreateIntegrationRoleRequest`
566
+ # @rtype: :class:`Tencentcloud::ess::V20201111::CreateIntegrationRoleResponse`
567
+ def CreateIntegrationRole(request)
568
+ body = send_request('CreateIntegrationRole', request.serialize)
569
+ response = JSON.parse(body)
570
+ if response['Response'].key?('Error') == false
571
+ model = CreateIntegrationRoleResponse.new
572
+ model.deserialize(response['Response'])
573
+ model
574
+ else
575
+ code = response['Response']['Error']['Code']
576
+ message = response['Response']['Error']['Message']
577
+ reqid = response['Response']['RequestId']
578
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
579
+ end
580
+ rescue TencentCloud::Common::TencentCloudSDKException => e
581
+ raise e
582
+ rescue StandardError => e
583
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
584
+ end
585
+
553
586
  # 绑定员工与对应角色
554
587
 
555
588
  # @param request: Request instance for CreateIntegrationUserRoles.
@@ -1440,6 +1473,39 @@ module TencentCloud
1440
1473
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1441
1474
  end
1442
1475
 
1476
+ # 此接口(ModifyIntegrationRole)用来更新企业自定义的SaaS角色或集团角色。
1477
+
1478
+ # 适用场景1:更新当前企业的自定义SaaS角色或集团角色,并且更新时不进行角色中权限的更新(PermissionGroups 参数不传)。
1479
+
1480
+ # 适用场景2:更新当前企业的自定义SaaS角色或集团角色,并且更新时进行角色中权限的设置(PermissionGroups 参数要传),权限树内容 PermissionGroups 可参考接口 DescribeIntegrationRoles 的输出。
1481
+ # 适用场景3:更新集团角色管理的子企业列表,可通过设置 SubOrganizationIds 参数达到此效果。
1482
+
1483
+ # 适用场景4:主企业代理子企业操作的场景,需要设置Agent参数,并且ProxyOrganizationId设置为子企业的id即可。
1484
+
1485
+ # 注意事项:SaaS角色和集团角色对应的权限树是不一样的。
1486
+
1487
+ # @param request: Request instance for ModifyIntegrationRole.
1488
+ # @type request: :class:`Tencentcloud::ess::V20201111::ModifyIntegrationRoleRequest`
1489
+ # @rtype: :class:`Tencentcloud::ess::V20201111::ModifyIntegrationRoleResponse`
1490
+ def ModifyIntegrationRole(request)
1491
+ body = send_request('ModifyIntegrationRole', request.serialize)
1492
+ response = JSON.parse(body)
1493
+ if response['Response'].key?('Error') == false
1494
+ model = ModifyIntegrationRoleResponse.new
1495
+ model.deserialize(response['Response'])
1496
+ model
1497
+ else
1498
+ code = response['Response']['Error']['Code']
1499
+ message = response['Response']['Error']['Message']
1500
+ reqid = response['Response']['RequestId']
1501
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1502
+ end
1503
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1504
+ raise e
1505
+ rescue StandardError => e
1506
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1507
+ end
1508
+
1443
1509
  # 此接口用于发起流程
1444
1510
  # 适用场景:见创建签署流程接口。
1445
1511
  # 注:该接口是“创建电子文档”接口的后置接口,用于激活包含完整合同信息(模板及内容信息)的流程。激活后的流程就是一份待签署的电子合同。
@@ -87,10 +87,8 @@ module TencentCloud
87
87
  # @param ApproverName: 签署方经办人的姓名。
88
88
  # 经办人的姓名将用于身份认证和电子签名,请确保填写的姓名为签署方的真实姓名,而非昵称等代名。
89
89
  # @type ApproverName: String
90
- # @param ApproverMobile: 本企业的签署方经办人的员工UserId
91
- # 可登录腾讯电子签控制台,在 "更多能力"->"组织管理" 中查看某位员工的UserId(在页面中展示为用户ID)。
92
-
93
- # 注: `若传该字段,则签署方经办人的其他信息(如签署方经办人的姓名、证件号码、手机号码等)将被忽略。`
90
+ # @param ApproverMobile: 签署方经办人手机号码, 支持国内手机号11位数字(无需加+86前缀或其他字符)。
91
+ # 请确认手机号所有方为此合同签署方。
94
92
  # @type ApproverMobile: String
95
93
  # @param OrganizationName: 组织机构名称。
96
94
  # 请确认该名称与企业营业执照中注册的名称一致。
@@ -2305,6 +2303,84 @@ module TencentCloud
2305
2303
  end
2306
2304
  end
2307
2305
 
2306
+ # CreateIntegrationRole请求参数结构体
2307
+ class CreateIntegrationRoleRequest < TencentCloud::Common::AbstractModel
2308
+ # @param Name: 角色名称,最大长度为20个字符,仅限中文、字母、数字和下划线组成。
2309
+ # @type Name: String
2310
+ # @param Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。
2311
+ # 支持填入集团子公司经办人 userId 代发合同。
2312
+
2313
+ # 注: 在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。
2314
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
2315
+ # @param Description: 角色描述,最大长度为50个字符
2316
+ # @type Description: String
2317
+ # @param IsGroupRole: 角色类型,0:saas角色,1:集团角色
2318
+ # 默认0,saas角色
2319
+ # @type IsGroupRole: Integer
2320
+ # @param PermissionGroups: 权限树
2321
+ # @type PermissionGroups: Array
2322
+ # @param SubOrganizationIds: 集团角色的话,需要传递集团子企业列表,如果是全选,则传1
2323
+ # @type SubOrganizationIds: String
2324
+ # @param Agent: 代理企业和员工的信息。
2325
+ # 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
2326
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
2327
+
2328
+ attr_accessor :Name, :Operator, :Description, :IsGroupRole, :PermissionGroups, :SubOrganizationIds, :Agent
2329
+
2330
+ def initialize(name=nil, operator=nil, description=nil, isgrouprole=nil, permissiongroups=nil, suborganizationids=nil, agent=nil)
2331
+ @Name = name
2332
+ @Operator = operator
2333
+ @Description = description
2334
+ @IsGroupRole = isgrouprole
2335
+ @PermissionGroups = permissiongroups
2336
+ @SubOrganizationIds = suborganizationids
2337
+ @Agent = agent
2338
+ end
2339
+
2340
+ def deserialize(params)
2341
+ @Name = params['Name']
2342
+ unless params['Operator'].nil?
2343
+ @Operator = UserInfo.new
2344
+ @Operator.deserialize(params['Operator'])
2345
+ end
2346
+ @Description = params['Description']
2347
+ @IsGroupRole = params['IsGroupRole']
2348
+ unless params['PermissionGroups'].nil?
2349
+ @PermissionGroups = []
2350
+ params['PermissionGroups'].each do |i|
2351
+ permissiongroup_tmp = PermissionGroup.new
2352
+ permissiongroup_tmp.deserialize(i)
2353
+ @PermissionGroups << permissiongroup_tmp
2354
+ end
2355
+ end
2356
+ @SubOrganizationIds = params['SubOrganizationIds']
2357
+ unless params['Agent'].nil?
2358
+ @Agent = Agent.new
2359
+ @Agent.deserialize(params['Agent'])
2360
+ end
2361
+ end
2362
+ end
2363
+
2364
+ # CreateIntegrationRole返回参数结构体
2365
+ class CreateIntegrationRoleResponse < TencentCloud::Common::AbstractModel
2366
+ # @param RoleId: 角色id
2367
+ # @type RoleId: String
2368
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2369
+ # @type RequestId: String
2370
+
2371
+ attr_accessor :RoleId, :RequestId
2372
+
2373
+ def initialize(roleid=nil, requestid=nil)
2374
+ @RoleId = roleid
2375
+ @RequestId = requestid
2376
+ end
2377
+
2378
+ def deserialize(params)
2379
+ @RoleId = params['RoleId']
2380
+ @RequestId = params['RequestId']
2381
+ end
2382
+ end
2383
+
2308
2384
  # CreateIntegrationUserRoles请求参数结构体
2309
2385
  class CreateIntegrationUserRolesRequest < TencentCloud::Common::AbstractModel
2310
2386
  # @param Operator: 操作人信息,UserId必填
@@ -2593,18 +2669,38 @@ module TencentCloud
2593
2669
  class CreatePersonAuthCertificateImageResponse < TencentCloud::Common::AbstractModel
2594
2670
  # @param AuthCertUrl: 个人用户证明证书的下载链接
2595
2671
  # @type AuthCertUrl: String
2672
+ # @param ImageCertId: 证书图片上的证书编号,20位数字
2673
+ # 注意:此字段可能返回 null,表示取不到有效值。
2674
+ # @type ImageCertId: String
2675
+ # @param SerialNumber: 图片证明对应的CA证书序列号
2676
+ # 注意:此字段可能返回 null,表示取不到有效值。
2677
+ # @type SerialNumber: String
2678
+ # @param ValidFrom: CA证书颁发时间戳
2679
+ # 注意:此字段可能返回 null,表示取不到有效值。
2680
+ # @type ValidFrom: Integer
2681
+ # @param ValidTo: CA证书有效截止时间戳
2682
+ # 注意:此字段可能返回 null,表示取不到有效值。
2683
+ # @type ValidTo: Integer
2596
2684
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2597
2685
  # @type RequestId: String
2598
2686
 
2599
- attr_accessor :AuthCertUrl, :RequestId
2687
+ attr_accessor :AuthCertUrl, :ImageCertId, :SerialNumber, :ValidFrom, :ValidTo, :RequestId
2600
2688
 
2601
- def initialize(authcerturl=nil, requestid=nil)
2689
+ def initialize(authcerturl=nil, imagecertid=nil, serialnumber=nil, validfrom=nil, validto=nil, requestid=nil)
2602
2690
  @AuthCertUrl = authcerturl
2691
+ @ImageCertId = imagecertid
2692
+ @SerialNumber = serialnumber
2693
+ @ValidFrom = validfrom
2694
+ @ValidTo = validto
2603
2695
  @RequestId = requestid
2604
2696
  end
2605
2697
 
2606
2698
  def deserialize(params)
2607
2699
  @AuthCertUrl = params['AuthCertUrl']
2700
+ @ImageCertId = params['ImageCertId']
2701
+ @SerialNumber = params['SerialNumber']
2702
+ @ValidFrom = params['ValidFrom']
2703
+ @ValidTo = params['ValidTo']
2608
2704
  @RequestId = params['RequestId']
2609
2705
  end
2610
2706
  end
@@ -2613,7 +2709,7 @@ module TencentCloud
2613
2709
  class CreatePrepareFlowRequest < TencentCloud::Common::AbstractModel
2614
2710
  # @param Operator: 调用方用户信息,userId 必填
2615
2711
  # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
2616
- # @param ResourceId: 资源Id,通过多文件上传(UploadFiles)接口获得
2712
+ # @param ResourceId: 资源id,与ResourceType对应
2617
2713
  # @type ResourceId: String
2618
2714
  # @param FlowName: 合同名称
2619
2715
  # @type FlowName: String
@@ -2626,19 +2722,24 @@ module TencentCloud
2626
2722
  # 不传默认为当前时间一年后
2627
2723
  # @type Deadline: Integer
2628
2724
  # @param UserFlowTypeId: 用户自定义合同类型Id
2629
- # 该id为电子签企业内的合同类型id
2725
+
2726
+ # 该id为电子签企业内的合同类型id, 可以在自定义合同类型处获取
2630
2727
  # @type UserFlowTypeId: String
2728
+ # @param FlowType: 合同类型名称
2729
+ # 该字段用于客户自定义合同类型
2730
+ # 建议使用时指定合同类型,便于之后合同分类以及查看
2731
+ # 如果合同类型与自定义的合同类型描述一致,会自动归类到自定义的合同类型处,如果不一致,则会创建一个新的自定义合同类型
2732
+ # @type FlowType: String
2631
2733
  # @param Approvers: 签署流程参与者信息,最大限制50方
2632
2734
  # @type Approvers: Array
2633
2735
  # @param IntelligentStatus: 打开智能添加填写区
2634
- # (默认开启,打开:"OPEN"
2736
+ # 默认开启,打开:"OPEN"
2635
2737
  # 关闭:"CLOSE"
2636
2738
  # @type IntelligentStatus: String
2637
2739
  # @param ResourceType: 资源类型,
2638
- # 1:文件,
2639
- # 2:模板
2640
- # 不传默认为1:文件
2641
- # 目前仅支持文件
2740
+ # 1:模板
2741
+ # 2:文件,
2742
+ # 不传默认为2:文件
2642
2743
  # @type ResourceType: Integer
2643
2744
  # @param Components: 发起方填写控件
2644
2745
  # 该类型控件由发起方完成填写
@@ -2661,22 +2762,19 @@ module TencentCloud
2661
2762
  # @type UserData: String
2662
2763
  # @param FlowId: 合同id,用于通过已web页面发起的合同id快速生成一个web发起合同链接
2663
2764
  # @type FlowId: String
2664
- # @param FlowType: 合同类型名称
2665
- # 该字段用于客户自定义合同类型
2666
- # 建议使用时指定合同类型,便于之后合同分类以及查看
2667
- # @type FlowType: String
2668
2765
  # @param Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
2669
2766
  # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
2670
2767
 
2671
- attr_accessor :Operator, :ResourceId, :FlowName, :Unordered, :Deadline, :UserFlowTypeId, :Approvers, :IntelligentStatus, :ResourceType, :Components, :FlowOption, :NeedSignReview, :NeedCreateReview, :UserData, :FlowId, :FlowType, :Agent
2768
+ attr_accessor :Operator, :ResourceId, :FlowName, :Unordered, :Deadline, :UserFlowTypeId, :FlowType, :Approvers, :IntelligentStatus, :ResourceType, :Components, :FlowOption, :NeedSignReview, :NeedCreateReview, :UserData, :FlowId, :Agent
2672
2769
 
2673
- def initialize(operator=nil, resourceid=nil, flowname=nil, unordered=nil, deadline=nil, userflowtypeid=nil, approvers=nil, intelligentstatus=nil, resourcetype=nil, components=nil, flowoption=nil, needsignreview=nil, needcreatereview=nil, userdata=nil, flowid=nil, flowtype=nil, agent=nil)
2770
+ def initialize(operator=nil, resourceid=nil, flowname=nil, unordered=nil, deadline=nil, userflowtypeid=nil, flowtype=nil, approvers=nil, intelligentstatus=nil, resourcetype=nil, components=nil, flowoption=nil, needsignreview=nil, needcreatereview=nil, userdata=nil, flowid=nil, agent=nil)
2674
2771
  @Operator = operator
2675
2772
  @ResourceId = resourceid
2676
2773
  @FlowName = flowname
2677
2774
  @Unordered = unordered
2678
2775
  @Deadline = deadline
2679
2776
  @UserFlowTypeId = userflowtypeid
2777
+ @FlowType = flowtype
2680
2778
  @Approvers = approvers
2681
2779
  @IntelligentStatus = intelligentstatus
2682
2780
  @ResourceType = resourcetype
@@ -2686,7 +2784,6 @@ module TencentCloud
2686
2784
  @NeedCreateReview = needcreatereview
2687
2785
  @UserData = userdata
2688
2786
  @FlowId = flowid
2689
- @FlowType = flowtype
2690
2787
  @Agent = agent
2691
2788
  end
2692
2789
 
@@ -2700,6 +2797,7 @@ module TencentCloud
2700
2797
  @Unordered = params['Unordered']
2701
2798
  @Deadline = params['Deadline']
2702
2799
  @UserFlowTypeId = params['UserFlowTypeId']
2800
+ @FlowType = params['FlowType']
2703
2801
  unless params['Approvers'].nil?
2704
2802
  @Approvers = []
2705
2803
  params['Approvers'].each do |i|
@@ -2722,7 +2820,6 @@ module TencentCloud
2722
2820
  @NeedCreateReview = params['NeedCreateReview']
2723
2821
  @UserData = params['UserData']
2724
2822
  @FlowId = params['FlowId']
2725
- @FlowType = params['FlowType']
2726
2823
  unless params['Agent'].nil?
2727
2824
  @Agent = Agent.new
2728
2825
  @Agent.deserialize(params['Agent'])
@@ -5428,7 +5525,7 @@ module TencentCloud
5428
5525
  # 注: 个人自动签场景为白名单功能, 使用前请联系对接的客户经理沟通。
5429
5526
  # @type ApproverType: Integer
5430
5527
  # @param OrganizationName: 签署人企业名称
5431
- # <br/>当approverType=1 或 approverType=3时,必须指定
5528
+ # approverType=0 或 approverType=3时,必须指定
5432
5529
 
5433
5530
  # @type OrganizationName: String
5434
5531
  # @param ApproverName: 签署方经办人姓名
@@ -5504,8 +5601,12 @@ module TencentCloud
5504
5601
  # SYSTEM_ESIGN -- 系统签名(该类型可以在用户签署时根据用户姓名一键生成一个签名来进行签署)
5505
5602
  # @type ComponentLimitType: Array
5506
5603
  # @param ApproverVerifyTypes: 合同查看方式<br/>默认1 -实名查看 <br/>2-短信验证码查看(企业签署方暂不支持该方式)
5604
+
5605
+ # > 注意:此参数仅针对文件发起设置生效,模板发起合同签署流程, 请以模板配置为主.
5507
5606
  # @type ApproverVerifyTypes: Array
5508
5607
  # @param ApproverSignTypes: 合同签署方式(默认1,2) <br/>1-人脸认证 <br/>2-签署密码 <br/>3-运营商三要素
5608
+
5609
+ # > 注意:此参数仅针对文件发起设置生效,模板发起合同签署流程, 请以模板配置为主.
5509
5610
  # @type ApproverSignTypes: Array
5510
5611
 
5511
5612
  attr_accessor :ApproverType, :OrganizationName, :ApproverName, :ApproverMobile, :ApproverIdCardType, :ApproverIdCardNumber, :RecipientId, :VerifyChannel, :NotifyType, :IsFullText, :PreReadTime, :UserId, :Required, :ApproverSource, :CustomApproverTag, :RegisterInfo, :ApproverOption, :JumpUrl, :SignId, :ApproverNeedSignReview, :SignComponents, :Components, :ComponentLimitType, :ApproverVerifyTypes, :ApproverSignTypes
@@ -6396,6 +6497,83 @@ module TencentCloud
6396
6497
  end
6397
6498
  end
6398
6499
 
6500
+ # ModifyIntegrationRole请求参数结构体
6501
+ class ModifyIntegrationRoleRequest < TencentCloud::Common::AbstractModel
6502
+ # @param RoleId: 角色Id,可通过接口 DescribeIntegrationRoles 查询获取
6503
+ # @type RoleId: String
6504
+ # @param Name: 角色名称,最大长度为20个字符,仅限中文、字母、数字和下划线组成。
6505
+ # @type Name: String
6506
+ # @param Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。
6507
+ # 支持填入集团子公司经办人 userId 代发合同。
6508
+
6509
+ # 注: 在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。
6510
+ # @type Operator: :class:`Tencentcloud::Ess.v20201111.models.UserInfo`
6511
+ # @param Description: 角色描述,最大长度为50个字符
6512
+ # @type Description: String
6513
+ # @param PermissionGroups: 权限树
6514
+ # @type PermissionGroups: Array
6515
+ # @param SubOrganizationIds: 集团角色的话,需要传递集团子企业列表,如果是全选,则传1
6516
+ # @type SubOrganizationIds: Array
6517
+ # @param Agent: 代理企业和员工的信息。
6518
+ # 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
6519
+ # @type Agent: :class:`Tencentcloud::Ess.v20201111.models.Agent`
6520
+
6521
+ attr_accessor :RoleId, :Name, :Operator, :Description, :PermissionGroups, :SubOrganizationIds, :Agent
6522
+
6523
+ def initialize(roleid=nil, name=nil, operator=nil, description=nil, permissiongroups=nil, suborganizationids=nil, agent=nil)
6524
+ @RoleId = roleid
6525
+ @Name = name
6526
+ @Operator = operator
6527
+ @Description = description
6528
+ @PermissionGroups = permissiongroups
6529
+ @SubOrganizationIds = suborganizationids
6530
+ @Agent = agent
6531
+ end
6532
+
6533
+ def deserialize(params)
6534
+ @RoleId = params['RoleId']
6535
+ @Name = params['Name']
6536
+ unless params['Operator'].nil?
6537
+ @Operator = UserInfo.new
6538
+ @Operator.deserialize(params['Operator'])
6539
+ end
6540
+ @Description = params['Description']
6541
+ unless params['PermissionGroups'].nil?
6542
+ @PermissionGroups = []
6543
+ params['PermissionGroups'].each do |i|
6544
+ permissiongroup_tmp = PermissionGroup.new
6545
+ permissiongroup_tmp.deserialize(i)
6546
+ @PermissionGroups << permissiongroup_tmp
6547
+ end
6548
+ end
6549
+ @SubOrganizationIds = params['SubOrganizationIds']
6550
+ unless params['Agent'].nil?
6551
+ @Agent = Agent.new
6552
+ @Agent.deserialize(params['Agent'])
6553
+ end
6554
+ end
6555
+ end
6556
+
6557
+ # ModifyIntegrationRole返回参数结构体
6558
+ class ModifyIntegrationRoleResponse < TencentCloud::Common::AbstractModel
6559
+ # @param RoleId: 角色id
6560
+ # @type RoleId: String
6561
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6562
+ # @type RequestId: String
6563
+
6564
+ attr_accessor :RoleId, :RequestId
6565
+
6566
+ def initialize(roleid=nil, requestid=nil)
6567
+ @RoleId = roleid
6568
+ @RequestId = requestid
6569
+ end
6570
+
6571
+ def deserialize(params)
6572
+ @RoleId = params['RoleId']
6573
+ @RequestId = params['RequestId']
6574
+ end
6575
+ end
6576
+
6399
6577
  # 持有的电子印章信息
6400
6578
  class OccupiedSeal < TencentCloud::Common::AbstractModel
6401
6579
  # @param SealId: 电子印章编号
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ess
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.646
4
+ version: 3.0.648
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-29 00:00:00.000000000 Z
11
+ date: 2023-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common