tencentcloud-sdk-wedata 3.0.1152 → 3.0.1154

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.
@@ -893,6 +893,54 @@ module TencentCloud
893
893
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
894
894
  end
895
895
 
896
+ # 获取sql文件夹详情
897
+
898
+ # @param request: Request instance for GetCodeFolder.
899
+ # @type request: :class:`Tencentcloud::wedata::V20250806::GetCodeFolderRequest`
900
+ # @rtype: :class:`Tencentcloud::wedata::V20250806::GetCodeFolderResponse`
901
+ def GetCodeFolder(request)
902
+ body = send_request('GetCodeFolder', request.serialize)
903
+ response = JSON.parse(body)
904
+ if response['Response'].key?('Error') == false
905
+ model = GetCodeFolderResponse.new
906
+ model.deserialize(response['Response'])
907
+ model
908
+ else
909
+ code = response['Response']['Error']['Code']
910
+ message = response['Response']['Error']['Message']
911
+ reqid = response['Response']['RequestId']
912
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
913
+ end
914
+ rescue TencentCloud::Common::TencentCloudSDKException => e
915
+ raise e
916
+ rescue StandardError => e
917
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
918
+ end
919
+
920
+ # 获取补录计划详情
921
+
922
+ # @param request: Request instance for GetDataBackfillPlan.
923
+ # @type request: :class:`Tencentcloud::wedata::V20250806::GetDataBackfillPlanRequest`
924
+ # @rtype: :class:`Tencentcloud::wedata::V20250806::GetDataBackfillPlanResponse`
925
+ def GetDataBackfillPlan(request)
926
+ body = send_request('GetDataBackfillPlan', request.serialize)
927
+ response = JSON.parse(body)
928
+ if response['Response'].key?('Error') == false
929
+ model = GetDataBackfillPlanResponse.new
930
+ model.deserialize(response['Response'])
931
+ model
932
+ else
933
+ code = response['Response']['Error']['Code']
934
+ message = response['Response']['Error']['Message']
935
+ reqid = response['Response']['RequestId']
936
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
937
+ end
938
+ rescue TencentCloud::Common::TencentCloudSDKException => e
939
+ raise e
940
+ rescue StandardError => e
941
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
942
+ end
943
+
896
944
  # 该接口用于查看指定数据源的详细信息
897
945
 
898
946
  # @param request: Request instance for GetDataSource.
@@ -1133,6 +1181,30 @@ module TencentCloud
1133
1181
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1134
1182
  end
1135
1183
 
1184
+ # 获取sql文件夹详情
1185
+
1186
+ # @param request: Request instance for GetSQLFolder.
1187
+ # @type request: :class:`Tencentcloud::wedata::V20250806::GetSQLFolderRequest`
1188
+ # @rtype: :class:`Tencentcloud::wedata::V20250806::GetSQLFolderResponse`
1189
+ def GetSQLFolder(request)
1190
+ body = send_request('GetSQLFolder', request.serialize)
1191
+ response = JSON.parse(body)
1192
+ if response['Response'].key?('Error') == false
1193
+ model = GetSQLFolderResponse.new
1194
+ model.deserialize(response['Response'])
1195
+ model
1196
+ else
1197
+ code = response['Response']['Error']['Code']
1198
+ message = response['Response']['Error']['Message']
1199
+ reqid = response['Response']['RequestId']
1200
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1201
+ end
1202
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1203
+ raise e
1204
+ rescue StandardError => e
1205
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1206
+ end
1207
+
1136
1208
  # 查询脚本详情
1137
1209
 
1138
1210
  # @param request: Request instance for GetSQLScript.
@@ -2381,6 +2453,30 @@ module TencentCloud
2381
2453
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2382
2454
  end
2383
2455
 
2456
+ # 异步批量启动任务
2457
+
2458
+ # @param request: Request instance for StartOpsTasks.
2459
+ # @type request: :class:`Tencentcloud::wedata::V20250806::StartOpsTasksRequest`
2460
+ # @rtype: :class:`Tencentcloud::wedata::V20250806::StartOpsTasksResponse`
2461
+ def StartOpsTasks(request)
2462
+ body = send_request('StartOpsTasks', request.serialize)
2463
+ response = JSON.parse(body)
2464
+ if response['Response'].key?('Error') == false
2465
+ model = StartOpsTasksResponse.new
2466
+ model.deserialize(response['Response'])
2467
+ model
2468
+ else
2469
+ code = response['Response']['Error']['Code']
2470
+ message = response['Response']['Error']['Message']
2471
+ reqid = response['Response']['RequestId']
2472
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2473
+ end
2474
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2475
+ raise e
2476
+ rescue StandardError => e
2477
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2478
+ end
2479
+
2384
2480
  # 异步批量下线任务
2385
2481
 
2386
2482
  # @param request: Request instance for StopOpsTasksAsync.
@@ -669,10 +669,13 @@ module TencentCloud
669
669
  # @param Path: 节点全路径,/aaa/bbb/ccc.ipynb,由各个节点的名称组成
670
670
  # 注意:此字段可能返回 null,表示取不到有效值。
671
671
  # @type Path: String
672
+ # @param ParentFolderPath: 父文件夹路径
673
+ # 注意:此字段可能返回 null,表示取不到有效值。
674
+ # @type ParentFolderPath: String
672
675
 
673
- attr_accessor :CodeFileId, :CodeFileName, :OwnerUin, :CodeFileConfig, :CodeFileContent, :UpdateUserUin, :ProjectId, :UpdateTime, :CreateTime, :AccessScope, :Path
676
+ attr_accessor :CodeFileId, :CodeFileName, :OwnerUin, :CodeFileConfig, :CodeFileContent, :UpdateUserUin, :ProjectId, :UpdateTime, :CreateTime, :AccessScope, :Path, :ParentFolderPath
674
677
 
675
- def initialize(codefileid=nil, codefilename=nil, owneruin=nil, codefileconfig=nil, codefilecontent=nil, updateuseruin=nil, projectid=nil, updatetime=nil, createtime=nil, accessscope=nil, path=nil)
678
+ def initialize(codefileid=nil, codefilename=nil, owneruin=nil, codefileconfig=nil, codefilecontent=nil, updateuseruin=nil, projectid=nil, updatetime=nil, createtime=nil, accessscope=nil, path=nil, parentfolderpath=nil)
676
679
  @CodeFileId = codefileid
677
680
  @CodeFileName = codefilename
678
681
  @OwnerUin = owneruin
@@ -684,6 +687,7 @@ module TencentCloud
684
687
  @CreateTime = createtime
685
688
  @AccessScope = accessscope
686
689
  @Path = path
690
+ @ParentFolderPath = parentfolderpath
687
691
  end
688
692
 
689
693
  def deserialize(params)
@@ -701,6 +705,7 @@ module TencentCloud
701
705
  @CreateTime = params['CreateTime']
702
706
  @AccessScope = params['AccessScope']
703
707
  @Path = params['Path']
708
+ @ParentFolderPath = params['ParentFolderPath']
704
709
  end
705
710
  end
706
711
 
@@ -757,10 +762,13 @@ module TencentCloud
757
762
  # @param Children: 子节点列表
758
763
  # 注意:此字段可能返回 null,表示取不到有效值。
759
764
  # @type Children: Array
765
+ # @param ParentFolderPath: 父文件夹路径
766
+ # 注意:此字段可能返回 null,表示取不到有效值。
767
+ # @type ParentFolderPath: String
760
768
 
761
- attr_accessor :Id, :Title, :Type, :IsLeaf, :Params, :AccessScope, :Path, :OwnerUin, :CreateUserUin, :NodePermission, :Children
769
+ attr_accessor :Id, :Title, :Type, :IsLeaf, :Params, :AccessScope, :Path, :OwnerUin, :CreateUserUin, :NodePermission, :Children, :ParentFolderPath
762
770
 
763
- def initialize(id=nil, title=nil, type=nil, isleaf=nil, params=nil, accessscope=nil, path=nil, owneruin=nil, createuseruin=nil, nodepermission=nil, children=nil)
771
+ def initialize(id=nil, title=nil, type=nil, isleaf=nil, params=nil, accessscope=nil, path=nil, owneruin=nil, createuseruin=nil, nodepermission=nil, children=nil, parentfolderpath=nil)
764
772
  @Id = id
765
773
  @Title = title
766
774
  @Type = type
@@ -772,6 +780,7 @@ module TencentCloud
772
780
  @CreateUserUin = createuseruin
773
781
  @NodePermission = nodepermission
774
782
  @Children = children
783
+ @ParentFolderPath = parentfolderpath
775
784
  end
776
785
 
777
786
  def deserialize(params)
@@ -793,6 +802,7 @@ module TencentCloud
793
802
  @Children << codefoldernode_tmp
794
803
  end
795
804
  end
805
+ @ParentFolderPath = params['ParentFolderPath']
796
806
  end
797
807
  end
798
808
 
@@ -1213,6 +1223,7 @@ module TencentCloud
1213
1223
  # - GDB
1214
1224
  # - TDENGINE
1215
1225
  # - TDSQLC
1226
+ # - FileSystem
1216
1227
  # @type Type: String
1217
1228
  # @param ProdConProperties: 数据源的配置信息,以JSON KV存储,根据每个数据源类型不同,而KV存储信息不同
1218
1229
 
@@ -1503,22 +1514,22 @@ module TencentCloud
1503
1514
  class CreateProjectMemberRequest < TencentCloud::Common::AbstractModel
1504
1515
  # @param ProjectId: 项目id
1505
1516
  # @type ProjectId: String
1506
- # @param UseUins: 用户id
1507
- # @type UseUins: Array
1517
+ # @param UserUins: 用户id
1518
+ # @type UserUins: Array
1508
1519
  # @param RoleIds: 角色id
1509
1520
  # @type RoleIds: Array
1510
1521
 
1511
- attr_accessor :ProjectId, :UseUins, :RoleIds
1522
+ attr_accessor :ProjectId, :UserUins, :RoleIds
1512
1523
 
1513
- def initialize(projectid=nil, useuins=nil, roleids=nil)
1524
+ def initialize(projectid=nil, useruins=nil, roleids=nil)
1514
1525
  @ProjectId = projectid
1515
- @UseUins = useuins
1526
+ @UserUins = useruins
1516
1527
  @RoleIds = roleids
1517
1528
  end
1518
1529
 
1519
1530
  def deserialize(params)
1520
1531
  @ProjectId = params['ProjectId']
1521
- @UseUins = params['UseUins']
1532
+ @UserUins = params['UserUins']
1522
1533
  @RoleIds = params['RoleIds']
1523
1534
  end
1524
1535
  end
@@ -2490,6 +2501,119 @@ module TencentCloud
2490
2501
  end
2491
2502
  end
2492
2503
 
2504
+ # 补录计划详情
2505
+ class DataBackfill < TencentCloud::Common::AbstractModel
2506
+ # @param ProjectId: 项目Id
2507
+ # @type ProjectId: String
2508
+ # @param DataBackfillPlanId: 数据补录计划id
2509
+ # @type DataBackfillPlanId: String
2510
+ # @param DataBackfillPlanName: 数据补录计划名称
2511
+ # @type DataBackfillPlanName: String
2512
+ # @param TaskIds: 补录任务集合
2513
+ # @type TaskIds: Array
2514
+ # @param DataBackfillRangeList: 补录任务的数据配置列表
2515
+ # @type DataBackfillRangeList: Array
2516
+ # @param CheckParentType: 检查父任务类型,取值范围:- NONE-全部不检查- ALL-检查全部上游父任务- MAKE_SCOPE-只在(当前补录计划)选中任务中检查
2517
+ # 注意:此字段可能返回 null,表示取不到有效值。
2518
+ # @type CheckParentType: String
2519
+ # @param SkipEventListening: 补录是否忽略事件依赖
2520
+ # 注意:此字段可能返回 null,表示取不到有效值。
2521
+ # @type SkipEventListening: Boolean
2522
+ # @param RedefineParallelNum: 自定义实例运行并发度, 返回为null或者不返回,则表示任务原有自依赖
2523
+ # 注意:此字段可能返回 null,表示取不到有效值。
2524
+ # @type RedefineParallelNum: Integer
2525
+ # @param RedefineSelfWorkflowDependency: 自定义的工作流自依赖,yes或者no;如果不配置,则使用工作流原有自依赖
2526
+ # 注意:此字段可能返回 null,表示取不到有效值。
2527
+ # @type RedefineSelfWorkflowDependency: String
2528
+ # @param SchedulerResourceGroupId: 调度资源组id
2529
+ # 注意:此字段可能返回 null,表示取不到有效值。
2530
+ # @type SchedulerResourceGroupId: String
2531
+ # @param IntegrationResourceGroupId: 集成资源组id
2532
+ # 注意:此字段可能返回 null,表示取不到有效值。
2533
+ # @type IntegrationResourceGroupId: String
2534
+ # @param RedefineCycleType: 补录自定义的生成周期
2535
+ # 注意:此字段可能返回 null,表示取不到有效值。
2536
+ # @type RedefineCycleType: String
2537
+ # @param RedefineParamList: 自定义参数
2538
+ # 注意:此字段可能返回 null,表示取不到有效值。
2539
+ # @type RedefineParamList: Array
2540
+ # @param StartTime: 补录任务的执行开始时间
2541
+ # 注意:此字段可能返回 null,表示取不到有效值。
2542
+ # @type StartTime: String
2543
+ # @param EndTime: 补录任务的执行结束时间
2544
+ # 注意:此字段可能返回 null,表示取不到有效值。
2545
+ # @type EndTime: String
2546
+ # @param CreateUserUin: 创建用户id
2547
+ # @type CreateUserUin: String
2548
+ # @param CompletePercent: 补录计划实例完成百分数
2549
+ # @type CompletePercent: Integer
2550
+ # @param SuccessPercent: 补录计划实例成功百分数
2551
+ # @type SuccessPercent: Integer
2552
+ # @param DataTimeOrder: 补录是实例数据时间顺序,生效必须满足2个条件:1. 必须同周期任务2. 优先按依赖关系执行,无依赖关系影响的情况下按配置执行顺序执行 可选值- NORMAL: 不设置- ORDER: 顺序- REVERSE: 逆序不设置默认为NORMAL
2553
+ # 注意:此字段可能返回 null,表示取不到有效值。
2554
+ # @type DataTimeOrder: String
2555
+
2556
+ attr_accessor :ProjectId, :DataBackfillPlanId, :DataBackfillPlanName, :TaskIds, :DataBackfillRangeList, :CheckParentType, :SkipEventListening, :RedefineParallelNum, :RedefineSelfWorkflowDependency, :SchedulerResourceGroupId, :IntegrationResourceGroupId, :RedefineCycleType, :RedefineParamList, :StartTime, :EndTime, :CreateUserUin, :CompletePercent, :SuccessPercent, :DataTimeOrder
2557
+
2558
+ def initialize(projectid=nil, databackfillplanid=nil, databackfillplanname=nil, taskids=nil, databackfillrangelist=nil, checkparenttype=nil, skipeventlistening=nil, redefineparallelnum=nil, redefineselfworkflowdependency=nil, schedulerresourcegroupid=nil, integrationresourcegroupid=nil, redefinecycletype=nil, redefineparamlist=nil, starttime=nil, endtime=nil, createuseruin=nil, completepercent=nil, successpercent=nil, datatimeorder=nil)
2559
+ @ProjectId = projectid
2560
+ @DataBackfillPlanId = databackfillplanid
2561
+ @DataBackfillPlanName = databackfillplanname
2562
+ @TaskIds = taskids
2563
+ @DataBackfillRangeList = databackfillrangelist
2564
+ @CheckParentType = checkparenttype
2565
+ @SkipEventListening = skipeventlistening
2566
+ @RedefineParallelNum = redefineparallelnum
2567
+ @RedefineSelfWorkflowDependency = redefineselfworkflowdependency
2568
+ @SchedulerResourceGroupId = schedulerresourcegroupid
2569
+ @IntegrationResourceGroupId = integrationresourcegroupid
2570
+ @RedefineCycleType = redefinecycletype
2571
+ @RedefineParamList = redefineparamlist
2572
+ @StartTime = starttime
2573
+ @EndTime = endtime
2574
+ @CreateUserUin = createuseruin
2575
+ @CompletePercent = completepercent
2576
+ @SuccessPercent = successpercent
2577
+ @DataTimeOrder = datatimeorder
2578
+ end
2579
+
2580
+ def deserialize(params)
2581
+ @ProjectId = params['ProjectId']
2582
+ @DataBackfillPlanId = params['DataBackfillPlanId']
2583
+ @DataBackfillPlanName = params['DataBackfillPlanName']
2584
+ @TaskIds = params['TaskIds']
2585
+ unless params['DataBackfillRangeList'].nil?
2586
+ @DataBackfillRangeList = []
2587
+ params['DataBackfillRangeList'].each do |i|
2588
+ databackfillrange_tmp = DataBackfillRange.new
2589
+ databackfillrange_tmp.deserialize(i)
2590
+ @DataBackfillRangeList << databackfillrange_tmp
2591
+ end
2592
+ end
2593
+ @CheckParentType = params['CheckParentType']
2594
+ @SkipEventListening = params['SkipEventListening']
2595
+ @RedefineParallelNum = params['RedefineParallelNum']
2596
+ @RedefineSelfWorkflowDependency = params['RedefineSelfWorkflowDependency']
2597
+ @SchedulerResourceGroupId = params['SchedulerResourceGroupId']
2598
+ @IntegrationResourceGroupId = params['IntegrationResourceGroupId']
2599
+ @RedefineCycleType = params['RedefineCycleType']
2600
+ unless params['RedefineParamList'].nil?
2601
+ @RedefineParamList = []
2602
+ params['RedefineParamList'].each do |i|
2603
+ kvpair_tmp = KVPair.new
2604
+ kvpair_tmp.deserialize(i)
2605
+ @RedefineParamList << kvpair_tmp
2606
+ end
2607
+ end
2608
+ @StartTime = params['StartTime']
2609
+ @EndTime = params['EndTime']
2610
+ @CreateUserUin = params['CreateUserUin']
2611
+ @CompletePercent = params['CompletePercent']
2612
+ @SuccessPercent = params['SuccessPercent']
2613
+ @DataTimeOrder = params['DataTimeOrder']
2614
+ end
2615
+ end
2616
+
2493
2617
  # 补录计划日期范围
2494
2618
  class DataBackfillRange < TencentCloud::Common::AbstractModel
2495
2619
  # @param StartDate: 开始日期,格式yyyy-MM-dd 表示从指定日期的00:00:00开始
@@ -4153,6 +4277,96 @@ module TencentCloud
4153
4277
  end
4154
4278
  end
4155
4279
 
4280
+ # GetCodeFolder请求参数结构体
4281
+ class GetCodeFolderRequest < TencentCloud::Common::AbstractModel
4282
+ # @param ProjectId: 项目id
4283
+ # @type ProjectId: String
4284
+ # @param FolderId: 文件夹id
4285
+ # @type FolderId: String
4286
+
4287
+ attr_accessor :ProjectId, :FolderId
4288
+
4289
+ def initialize(projectid=nil, folderid=nil)
4290
+ @ProjectId = projectid
4291
+ @FolderId = folderid
4292
+ end
4293
+
4294
+ def deserialize(params)
4295
+ @ProjectId = params['ProjectId']
4296
+ @FolderId = params['FolderId']
4297
+ end
4298
+ end
4299
+
4300
+ # GetCodeFolder返回参数结构体
4301
+ class GetCodeFolderResponse < TencentCloud::Common::AbstractModel
4302
+ # @param Data: codestudio文件夹
4303
+ # @type Data: :class:`Tencentcloud::Wedata.v20250806.models.CodeFolderNode`
4304
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4305
+ # @type RequestId: String
4306
+
4307
+ attr_accessor :Data, :RequestId
4308
+
4309
+ def initialize(data=nil, requestid=nil)
4310
+ @Data = data
4311
+ @RequestId = requestid
4312
+ end
4313
+
4314
+ def deserialize(params)
4315
+ unless params['Data'].nil?
4316
+ @Data = CodeFolderNode.new
4317
+ @Data.deserialize(params['Data'])
4318
+ end
4319
+ @RequestId = params['RequestId']
4320
+ end
4321
+ end
4322
+
4323
+ # GetDataBackfillPlan请求参数结构体
4324
+ class GetDataBackfillPlanRequest < TencentCloud::Common::AbstractModel
4325
+ # @param ProjectId: 项目id
4326
+ # @type ProjectId: String
4327
+ # @param DataBackfillPlanId: 补录计划id
4328
+ # @type DataBackfillPlanId: String
4329
+ # @param TimeZone: 展示时区,默认UTC+8
4330
+ # @type TimeZone: String
4331
+
4332
+ attr_accessor :ProjectId, :DataBackfillPlanId, :TimeZone
4333
+
4334
+ def initialize(projectid=nil, databackfillplanid=nil, timezone=nil)
4335
+ @ProjectId = projectid
4336
+ @DataBackfillPlanId = databackfillplanid
4337
+ @TimeZone = timezone
4338
+ end
4339
+
4340
+ def deserialize(params)
4341
+ @ProjectId = params['ProjectId']
4342
+ @DataBackfillPlanId = params['DataBackfillPlanId']
4343
+ @TimeZone = params['TimeZone']
4344
+ end
4345
+ end
4346
+
4347
+ # GetDataBackfillPlan返回参数结构体
4348
+ class GetDataBackfillPlanResponse < TencentCloud::Common::AbstractModel
4349
+ # @param Data: 补录详情
4350
+ # @type Data: :class:`Tencentcloud::Wedata.v20250806.models.DataBackfill`
4351
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4352
+ # @type RequestId: String
4353
+
4354
+ attr_accessor :Data, :RequestId
4355
+
4356
+ def initialize(data=nil, requestid=nil)
4357
+ @Data = data
4358
+ @RequestId = requestid
4359
+ end
4360
+
4361
+ def deserialize(params)
4362
+ unless params['Data'].nil?
4363
+ @Data = DataBackfill.new
4364
+ @Data.deserialize(params['Data'])
4365
+ end
4366
+ @RequestId = params['RequestId']
4367
+ end
4368
+ end
4369
+
4156
4370
  # GetDataSourceRelatedTasks请求参数结构体
4157
4371
  class GetDataSourceRelatedTasksRequest < TencentCloud::Common::AbstractModel
4158
4372
  # @param Id: 数据源id
@@ -4599,6 +4813,49 @@ module TencentCloud
4599
4813
  end
4600
4814
  end
4601
4815
 
4816
+ # GetSQLFolder请求参数结构体
4817
+ class GetSQLFolderRequest < TencentCloud::Common::AbstractModel
4818
+ # @param ProjectId: 项目id
4819
+ # @type ProjectId: String
4820
+ # @param FolderId: 文件夹id
4821
+ # @type FolderId: String
4822
+
4823
+ attr_accessor :ProjectId, :FolderId
4824
+
4825
+ def initialize(projectid=nil, folderid=nil)
4826
+ @ProjectId = projectid
4827
+ @FolderId = folderid
4828
+ end
4829
+
4830
+ def deserialize(params)
4831
+ @ProjectId = params['ProjectId']
4832
+ @FolderId = params['FolderId']
4833
+ end
4834
+ end
4835
+
4836
+ # GetSQLFolder返回参数结构体
4837
+ class GetSQLFolderResponse < TencentCloud::Common::AbstractModel
4838
+ # @param Data: sql文件夹
4839
+ # @type Data: :class:`Tencentcloud::Wedata.v20250806.models.SQLFolderNode`
4840
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4841
+ # @type RequestId: String
4842
+
4843
+ attr_accessor :Data, :RequestId
4844
+
4845
+ def initialize(data=nil, requestid=nil)
4846
+ @Data = data
4847
+ @RequestId = requestid
4848
+ end
4849
+
4850
+ def deserialize(params)
4851
+ unless params['Data'].nil?
4852
+ @Data = SQLFolderNode.new
4853
+ @Data.deserialize(params['Data'])
4854
+ end
4855
+ @RequestId = params['RequestId']
4856
+ end
4857
+ end
4858
+
4602
4859
  # GetSQLScript请求参数结构体
4603
4860
  class GetSQLScriptRequest < TencentCloud::Common::AbstractModel
4604
4861
  # @param ScriptId: 探索脚本Id
@@ -5014,21 +5271,25 @@ module TencentCloud
5014
5271
  # @type ProjectId: String
5015
5272
  # @param UserUin: 用户id
5016
5273
  # @type UserUin: String
5017
- # @param RoleId: 角色id
5018
- # @type RoleId: String
5274
+ # @param RoleIds: 角色id列表,目前支持的项目角色有
5275
+ # - 308335260274237440 (项目管理员)
5276
+ # - 308335260676890624 (数据工程师)
5277
+ # - 308335260844662784 (运维工程师)
5278
+ # - 308335260945326080 (普通成员)
5279
+ # @type RoleIds: Array
5019
5280
 
5020
- attr_accessor :ProjectId, :UserUin, :RoleId
5281
+ attr_accessor :ProjectId, :UserUin, :RoleIds
5021
5282
 
5022
- def initialize(projectid=nil, useruin=nil, roleid=nil)
5283
+ def initialize(projectid=nil, useruin=nil, roleids=nil)
5023
5284
  @ProjectId = projectid
5024
5285
  @UserUin = useruin
5025
- @RoleId = roleid
5286
+ @RoleIds = roleids
5026
5287
  end
5027
5288
 
5028
5289
  def deserialize(params)
5029
5290
  @ProjectId = params['ProjectId']
5030
5291
  @UserUin = params['UserUin']
5031
- @RoleId = params['RoleId']
5292
+ @RoleIds = params['RoleIds']
5032
5293
  end
5033
5294
  end
5034
5295
 
@@ -7490,7 +7751,7 @@ module TencentCloud
7490
7751
 
7491
7752
  # ListResourceGroups请求参数结构体
7492
7753
  class ListResourceGroupsRequest < TencentCloud::Common::AbstractModel
7493
- # @param Type: 执行资源组类型,不能为空
7754
+ # @param Type: 执行资源组类型
7494
7755
 
7495
7756
  # - Schedule --- 调度资源组
7496
7757
  # - Integration --- 集成资源组
@@ -9921,21 +10182,25 @@ module TencentCloud
9921
10182
  # @type ProjectId: String
9922
10183
  # @param UserUin: 用户id
9923
10184
  # @type UserUin: String
9924
- # @param RoleId: 角色id
9925
- # @type RoleId: String
10185
+ # @param RoleIds: 角色id列表,目前支持的项目角色有
10186
+ # - 308335260274237440 (项目管理员)
10187
+ # - 308335260676890624 (数据工程师)
10188
+ # - 308335260844662784 (运维工程师)
10189
+ # - 308335260945326080 (普通成员)
10190
+ # @type RoleIds: Array
9926
10191
 
9927
- attr_accessor :ProjectId, :UserUin, :RoleId
10192
+ attr_accessor :ProjectId, :UserUin, :RoleIds
9928
10193
 
9929
- def initialize(projectid=nil, useruin=nil, roleid=nil)
10194
+ def initialize(projectid=nil, useruin=nil, roleids=nil)
9930
10195
  @ProjectId = projectid
9931
10196
  @UserUin = useruin
9932
- @RoleId = roleid
10197
+ @RoleIds = roleids
9933
10198
  end
9934
10199
 
9935
10200
  def deserialize(params)
9936
10201
  @ProjectId = params['ProjectId']
9937
10202
  @UserUin = params['UserUin']
9938
- @RoleId = params['RoleId']
10203
+ @RoleIds = params['RoleIds']
9939
10204
  end
9940
10205
  end
9941
10206
 
@@ -10827,6 +11092,69 @@ module TencentCloud
10827
11092
  end
10828
11093
  end
10829
11094
 
11095
+ # StartOpsTasks请求参数结构体
11096
+ class StartOpsTasksRequest < TencentCloud::Common::AbstractModel
11097
+ # @param ProjectId: 所属项目Id
11098
+ # @type ProjectId: String
11099
+ # @param TaskIds: 任务Id列表
11100
+ # @type TaskIds: Array
11101
+ # @param EnableDataBackfill: 启动时是否补录上次暂停到当前的中间实例,默认false即不补录
11102
+ # @type EnableDataBackfill: Boolean
11103
+
11104
+ attr_accessor :ProjectId, :TaskIds, :EnableDataBackfill
11105
+
11106
+ def initialize(projectid=nil, taskids=nil, enabledatabackfill=nil)
11107
+ @ProjectId = projectid
11108
+ @TaskIds = taskids
11109
+ @EnableDataBackfill = enabledatabackfill
11110
+ end
11111
+
11112
+ def deserialize(params)
11113
+ @ProjectId = params['ProjectId']
11114
+ @TaskIds = params['TaskIds']
11115
+ @EnableDataBackfill = params['EnableDataBackfill']
11116
+ end
11117
+ end
11118
+
11119
+ # StartOpsTasks返回参数结构体
11120
+ class StartOpsTasksResponse < TencentCloud::Common::AbstractModel
11121
+ # @param Data: 异步操作结果
11122
+ # @type Data: :class:`Tencentcloud::Wedata.v20250806.models.StartTasks`
11123
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11124
+ # @type RequestId: String
11125
+
11126
+ attr_accessor :Data, :RequestId
11127
+
11128
+ def initialize(data=nil, requestid=nil)
11129
+ @Data = data
11130
+ @RequestId = requestid
11131
+ end
11132
+
11133
+ def deserialize(params)
11134
+ unless params['Data'].nil?
11135
+ @Data = StartTasks.new
11136
+ @Data.deserialize(params['Data'])
11137
+ end
11138
+ @RequestId = params['RequestId']
11139
+ end
11140
+ end
11141
+
11142
+ # 批量启动任务返回参数
11143
+ class StartTasks < TencentCloud::Common::AbstractModel
11144
+ # @param Status: 任务启动是否成功
11145
+ # @type Status: Boolean
11146
+
11147
+ attr_accessor :Status
11148
+
11149
+ def initialize(status=nil)
11150
+ @Status = status
11151
+ end
11152
+
11153
+ def deserialize(params)
11154
+ @Status = params['Status']
11155
+ end
11156
+ end
11157
+
10830
11158
  # StopOpsTasksAsync请求参数结构体
10831
11159
  class StopOpsTasksAsyncRequest < TencentCloud::Common::AbstractModel
10832
11160
  # @param ProjectId: 所属项目Id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-wedata
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1152
4
+ version: 3.0.1154
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-12 00:00:00.000000000 Z
11
+ date: 2025-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,11 +33,11 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20250806/client.rb
37
- - lib/v20250806/models.rb
38
- - lib/tencentcloud-sdk-wedata.rb
39
- - lib/v20210820/client.rb
40
36
  - lib/v20210820/models.rb
37
+ - lib/v20210820/client.rb
38
+ - lib/tencentcloud-sdk-wedata.rb
39
+ - lib/v20250806/models.rb
40
+ - lib/v20250806/client.rb
41
41
  - lib/VERSION
42
42
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
43
43
  licenses: