tencentcloud-sdk-wedata 3.0.1058 → 3.0.1059

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: 26cbda6d4d06d7358df8d2988703f40c37556dc3
4
- data.tar.gz: 2de00fc3c196d12d6d27328cf1ac6f9da0afac57
3
+ metadata.gz: 16161d2c4c37bbdbadd4a5f1987520aa709a64ac
4
+ data.tar.gz: 1c99a3233834e2f3a7acd9c37287749119db56b7
5
5
  SHA512:
6
- metadata.gz: ff74cba1f87850e1976bedfdb61323c9f80119045a6a7b665ad4521c5933357b567b6ccfc72a901cacc2ac3fe5d1491245447791d4ee0a19ba262f67267bdaa9
7
- data.tar.gz: f957fb48552fc5a52e3c24be4d082e7e44ab0610200bbd2a5a3ca5775ce4d1b472d9e0e8028d2f7ae9fdbc1ef8887b55874a0bda3872ff9c4c9f371526fbfec5
6
+ metadata.gz: 3bac6ff933f10271a6ad5a7107f00da8e16df55bee277bf8637b34a7ec85e308aa4fd9de98522cd47ae6594cfbb74def6a7004680d36ec2f00bc3e72df6a22e6
7
+ data.tar.gz: a10c436f757a9c35cc90d25444c3dc04f6ce592dd480b93ac34882b85ed91a7055e5d77ff502b662b09218f12458109a3d9e73bc0060e97c683f583b4d46b053
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1058
1
+ 3.0.1059
@@ -4358,6 +4358,30 @@ module TencentCloud
4358
4358
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4359
4359
  end
4360
4360
 
4361
+ # 查询项目下所有任务列表,包括虚拟任务
4362
+
4363
+ # @param request: Request instance for DescribeTaskTemplates.
4364
+ # @type request: :class:`Tencentcloud::wedata::V20210820::DescribeTaskTemplatesRequest`
4365
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeTaskTemplatesResponse`
4366
+ def DescribeTaskTemplates(request)
4367
+ body = send_request('DescribeTaskTemplates', request.serialize)
4368
+ response = JSON.parse(body)
4369
+ if response['Response'].key?('Error') == false
4370
+ model = DescribeTaskTemplatesResponse.new
4371
+ model.deserialize(response['Response'])
4372
+ model
4373
+ else
4374
+ code = response['Response']['Error']['Code']
4375
+ message = response['Response']['Error']['Message']
4376
+ reqid = response['Response']['RequestId']
4377
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4378
+ end
4379
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4380
+ raise e
4381
+ rescue StandardError => e
4382
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4383
+ end
4384
+
4361
4385
  # 分页查询引用模板的任务列表
4362
4386
 
4363
4387
  # @param request: Request instance for DescribeTasksForCodeTemplate.
@@ -4670,6 +4694,30 @@ module TencentCloud
4670
4694
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4671
4695
  end
4672
4696
 
4697
+ # 按行下载日志信息
4698
+
4699
+ # @param request: Request instance for DownloadLogByLine.
4700
+ # @type request: :class:`Tencentcloud::wedata::V20210820::DownloadLogByLineRequest`
4701
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::DownloadLogByLineResponse`
4702
+ def DownloadLogByLine(request)
4703
+ body = send_request('DownloadLogByLine', request.serialize)
4704
+ response = JSON.parse(body)
4705
+ if response['Response'].key?('Error') == false
4706
+ model = DownloadLogByLineResponse.new
4707
+ model.deserialize(response['Response'])
4708
+ model
4709
+ else
4710
+ code = response['Response']['Error']['Code']
4711
+ message = response['Response']['Error']['Message']
4712
+ reqid = response['Response']['RequestId']
4713
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4714
+ end
4715
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4716
+ raise e
4717
+ rescue StandardError => e
4718
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4719
+ end
4720
+
4673
4721
  # 调试运行集成任务
4674
4722
 
4675
4723
  # @param request: Request instance for DryRunDIOfflineTask.
@@ -2686,6 +2686,106 @@ module TencentCloud
2686
2686
  end
2687
2687
  end
2688
2688
 
2689
+ # 模版详情
2690
+ class CodeTemplateDetail < TencentCloud::Common::AbstractModel
2691
+ # @param ProjectId: 项目id
2692
+ # 注意:此字段可能返回 null,表示取不到有效值。
2693
+ # @type ProjectId: String
2694
+ # @param CodeTemplateName: 模版名称
2695
+ # 注意:此字段可能返回 null,表示取不到有效值。
2696
+ # @type CodeTemplateName: String
2697
+ # @param TaskType: 任务类型
2698
+ # 注意:此字段可能返回 null,表示取不到有效值。
2699
+ # @type TaskType: Integer
2700
+ # @param CodeTemplateDesc: 代码模版描述
2701
+ # 注意:此字段可能返回 null,表示取不到有效值。
2702
+ # @type CodeTemplateDesc: String
2703
+ # @param FolderId: 文件夹id
2704
+ # 注意:此字段可能返回 null,表示取不到有效值。
2705
+ # @type FolderId: String
2706
+ # @param FolderName: 文件夹名称
2707
+ # 注意:此字段可能返回 null,表示取不到有效值。
2708
+ # @type FolderName: String
2709
+ # @param InCharge: 责任人名称
2710
+ # 注意:此字段可能返回 null,表示取不到有效值。
2711
+ # @type InCharge: String
2712
+ # @param InChargeId: 责任人id
2713
+ # 注意:此字段可能返回 null,表示取不到有效值。
2714
+ # @type InChargeId: String
2715
+ # @param Ext: 扩展信息
2716
+ # 注意:此字段可能返回 null,表示取不到有效值。
2717
+ # @type Ext: :class:`Tencentcloud::Wedata.v20210820.models.TaskExtDsVO`
2718
+ # @param CodeTemplateId: 模版id
2719
+ # 注意:此字段可能返回 null,表示取不到有效值。
2720
+ # @type CodeTemplateId: String
2721
+ # @param LastUpdateTime: 最后更新时间
2722
+ # 注意:此字段可能返回 null,表示取不到有效值。
2723
+ # @type LastUpdateTime: String
2724
+ # @param UpdateUser: 更新人名称
2725
+ # 注意:此字段可能返回 null,表示取不到有效值。
2726
+ # @type UpdateUser: String
2727
+ # @param UpdateUserId: 更新人id
2728
+ # 注意:此字段可能返回 null,表示取不到有效值。
2729
+ # @type UpdateUserId: String
2730
+ # @param BrokerIp: 执行ip
2731
+ # 注意:此字段可能返回 null,表示取不到有效值。
2732
+ # @type BrokerIp: String
2733
+ # @param ResourceGroup: 资源组id
2734
+ # 注意:此字段可能返回 null,表示取不到有效值。
2735
+ # @type ResourceGroup: String
2736
+ # @param Submit: 是否提交
2737
+ # 注意:此字段可能返回 null,表示取不到有效值。
2738
+ # @type Submit: Boolean
2739
+ # @param ScriptChange: 任务脚本是否发生变化
2740
+ # 注意:此字段可能返回 null,表示取不到有效值。
2741
+ # @type ScriptChange: Boolean
2742
+
2743
+ attr_accessor :ProjectId, :CodeTemplateName, :TaskType, :CodeTemplateDesc, :FolderId, :FolderName, :InCharge, :InChargeId, :Ext, :CodeTemplateId, :LastUpdateTime, :UpdateUser, :UpdateUserId, :BrokerIp, :ResourceGroup, :Submit, :ScriptChange
2744
+
2745
+ def initialize(projectid=nil, codetemplatename=nil, tasktype=nil, codetemplatedesc=nil, folderid=nil, foldername=nil, incharge=nil, inchargeid=nil, ext=nil, codetemplateid=nil, lastupdatetime=nil, updateuser=nil, updateuserid=nil, brokerip=nil, resourcegroup=nil, submit=nil, scriptchange=nil)
2746
+ @ProjectId = projectid
2747
+ @CodeTemplateName = codetemplatename
2748
+ @TaskType = tasktype
2749
+ @CodeTemplateDesc = codetemplatedesc
2750
+ @FolderId = folderid
2751
+ @FolderName = foldername
2752
+ @InCharge = incharge
2753
+ @InChargeId = inchargeid
2754
+ @Ext = ext
2755
+ @CodeTemplateId = codetemplateid
2756
+ @LastUpdateTime = lastupdatetime
2757
+ @UpdateUser = updateuser
2758
+ @UpdateUserId = updateuserid
2759
+ @BrokerIp = brokerip
2760
+ @ResourceGroup = resourcegroup
2761
+ @Submit = submit
2762
+ @ScriptChange = scriptchange
2763
+ end
2764
+
2765
+ def deserialize(params)
2766
+ @ProjectId = params['ProjectId']
2767
+ @CodeTemplateName = params['CodeTemplateName']
2768
+ @TaskType = params['TaskType']
2769
+ @CodeTemplateDesc = params['CodeTemplateDesc']
2770
+ @FolderId = params['FolderId']
2771
+ @FolderName = params['FolderName']
2772
+ @InCharge = params['InCharge']
2773
+ @InChargeId = params['InChargeId']
2774
+ unless params['Ext'].nil?
2775
+ @Ext = TaskExtDsVO.new
2776
+ @Ext.deserialize(params['Ext'])
2777
+ end
2778
+ @CodeTemplateId = params['CodeTemplateId']
2779
+ @LastUpdateTime = params['LastUpdateTime']
2780
+ @UpdateUser = params['UpdateUser']
2781
+ @UpdateUserId = params['UpdateUserId']
2782
+ @BrokerIp = params['BrokerIp']
2783
+ @ResourceGroup = params['ResourceGroup']
2784
+ @Submit = params['Submit']
2785
+ @ScriptChange = params['ScriptChange']
2786
+ end
2787
+ end
2788
+
2689
2789
  # 文件夹列表
2690
2790
  class CollectionFolderOpsDto < TencentCloud::Common::AbstractModel
2691
2791
  # @param TotalCount: 总数
@@ -15503,6 +15603,85 @@ module TencentCloud
15503
15603
  end
15504
15604
  end
15505
15605
 
15606
+ # DescribeTaskTemplates请求参数结构体
15607
+ class DescribeTaskTemplatesRequest < TencentCloud::Common::AbstractModel
15608
+ # @param ProjectId: 项目id
15609
+ # @type ProjectId: String
15610
+ # @param PageNumber: 页号
15611
+ # @type PageNumber: Integer
15612
+ # @param PageSize: 分页大小
15613
+ # @type PageSize: Integer
15614
+ # @param OrderFields: 排序字段, 仅支持更新时间, 取值示例
15615
+
15616
+ # - UpdateTime
15617
+ # @type OrderFields: Array
15618
+ # @param Filters: 过滤条件, 取值列表
15619
+
15620
+ # - TemplateName 模版名称
15621
+ # - TaskType 支持任务类型
15622
+ # - InCharge 责任人
15623
+ # - FolderId 文件夹id
15624
+ # - Status 提交状态
15625
+ # - UpdateStartTime 更新时间,时间区间查询
15626
+ # - UpdateEndTime 更新时间,时间区间查询
15627
+ # @type Filters: Array
15628
+
15629
+ attr_accessor :ProjectId, :PageNumber, :PageSize, :OrderFields, :Filters
15630
+
15631
+ def initialize(projectid=nil, pagenumber=nil, pagesize=nil, orderfields=nil, filters=nil)
15632
+ @ProjectId = projectid
15633
+ @PageNumber = pagenumber
15634
+ @PageSize = pagesize
15635
+ @OrderFields = orderfields
15636
+ @Filters = filters
15637
+ end
15638
+
15639
+ def deserialize(params)
15640
+ @ProjectId = params['ProjectId']
15641
+ @PageNumber = params['PageNumber']
15642
+ @PageSize = params['PageSize']
15643
+ unless params['OrderFields'].nil?
15644
+ @OrderFields = []
15645
+ params['OrderFields'].each do |i|
15646
+ orderfield_tmp = OrderField.new
15647
+ orderfield_tmp.deserialize(i)
15648
+ @OrderFields << orderfield_tmp
15649
+ end
15650
+ end
15651
+ unless params['Filters'].nil?
15652
+ @Filters = []
15653
+ params['Filters'].each do |i|
15654
+ filter_tmp = Filter.new
15655
+ filter_tmp.deserialize(i)
15656
+ @Filters << filter_tmp
15657
+ end
15658
+ end
15659
+ end
15660
+ end
15661
+
15662
+ # DescribeTaskTemplates返回参数结构体
15663
+ class DescribeTaskTemplatesResponse < TencentCloud::Common::AbstractModel
15664
+ # @param Data: 查询项目下所有任务信息,不包括虚拟任务和离线任务
15665
+ # @type Data: :class:`Tencentcloud::Wedata.v20210820.models.PageTaskTemplateInfo`
15666
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15667
+ # @type RequestId: String
15668
+
15669
+ attr_accessor :Data, :RequestId
15670
+
15671
+ def initialize(data=nil, requestid=nil)
15672
+ @Data = data
15673
+ @RequestId = requestid
15674
+ end
15675
+
15676
+ def deserialize(params)
15677
+ unless params['Data'].nil?
15678
+ @Data = PageTaskTemplateInfo.new
15679
+ @Data.deserialize(params['Data'])
15680
+ end
15681
+ @RequestId = params['RequestId']
15682
+ end
15683
+ end
15684
+
15506
15685
  # 批量操作任务列表分页
15507
15686
  class DescribeTasksForCodeTemplatePage < TencentCloud::Common::AbstractModel
15508
15687
  # @param PageCount: 总页码数
@@ -16606,6 +16785,90 @@ module TencentCloud
16606
16785
  end
16607
16786
  end
16608
16787
 
16788
+ # DownloadLogByLine请求参数结构体
16789
+ class DownloadLogByLineRequest < TencentCloud::Common::AbstractModel
16790
+ # @param StartLine: 开始行
16791
+ # @type StartLine: Integer
16792
+ # @param LineCount: 读取行
16793
+ # @type LineCount: Integer
16794
+ # @param ProjectId: 项目id
16795
+ # @type ProjectId: String
16796
+ # @param TaskId: 任务id
16797
+ # @type TaskId: String
16798
+ # @param CurRunDate: 实例运行时间
16799
+ # @type CurRunDate: String
16800
+ # @param DetailId: 任务详情id,用于读取切分的日志文件
16801
+ # @type DetailId: String
16802
+ # @param FilePath: base64编码的文件路径
16803
+ # @type FilePath: String
16804
+ # @param RecordId: 任务记录id
16805
+ # @type RecordId: String
16806
+ # @param SubJobId: 子job id
16807
+ # @type SubJobId: String
16808
+ # @param JobType: hiveSql:34,sparkSql:36 dlcSql: 32
16809
+ # @type JobType: String
16810
+ # @param ParseErrorTip: true:解析错误信息。false:不解析错误信息
16811
+ # @type ParseErrorTip: Boolean
16812
+ # @param FileType: log 0 code 1 result 2 custo 3
16813
+ # @type FileType: Integer
16814
+
16815
+ attr_accessor :StartLine, :LineCount, :ProjectId, :TaskId, :CurRunDate, :DetailId, :FilePath, :RecordId, :SubJobId, :JobType, :ParseErrorTip, :FileType
16816
+
16817
+ def initialize(startline=nil, linecount=nil, projectid=nil, taskid=nil, currundate=nil, detailid=nil, filepath=nil, recordid=nil, subjobid=nil, jobtype=nil, parseerrortip=nil, filetype=nil)
16818
+ @StartLine = startline
16819
+ @LineCount = linecount
16820
+ @ProjectId = projectid
16821
+ @TaskId = taskid
16822
+ @CurRunDate = currundate
16823
+ @DetailId = detailid
16824
+ @FilePath = filepath
16825
+ @RecordId = recordid
16826
+ @SubJobId = subjobid
16827
+ @JobType = jobtype
16828
+ @ParseErrorTip = parseerrortip
16829
+ @FileType = filetype
16830
+ end
16831
+
16832
+ def deserialize(params)
16833
+ @StartLine = params['StartLine']
16834
+ @LineCount = params['LineCount']
16835
+ @ProjectId = params['ProjectId']
16836
+ @TaskId = params['TaskId']
16837
+ @CurRunDate = params['CurRunDate']
16838
+ @DetailId = params['DetailId']
16839
+ @FilePath = params['FilePath']
16840
+ @RecordId = params['RecordId']
16841
+ @SubJobId = params['SubJobId']
16842
+ @JobType = params['JobType']
16843
+ @ParseErrorTip = params['ParseErrorTip']
16844
+ @FileType = params['FileType']
16845
+ end
16846
+ end
16847
+
16848
+ # DownloadLogByLine返回参数结构体
16849
+ class DownloadLogByLineResponse < TencentCloud::Common::AbstractModel
16850
+ # @param Data: 日志信息
16851
+ # 注意:此字段可能返回 null,表示取不到有效值。
16852
+ # @type Data: :class:`Tencentcloud::Wedata.v20210820.models.InstanceLogByLine`
16853
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16854
+ # @type RequestId: String
16855
+
16856
+ attr_accessor :Data, :RequestId
16857
+
16858
+ def initialize(data=nil, requestid=nil)
16859
+ @Data = data
16860
+ @RequestId = requestid
16861
+ end
16862
+
16863
+ def deserialize(params)
16864
+ unless params['Data'].nil?
16865
+ @Data = InstanceLogByLine.new
16866
+ @Data.deserialize(params['Data'])
16867
+ end
16868
+ @RequestId = params['RequestId']
16869
+ end
16870
+ end
16871
+
16609
16872
  # 试运行记录
16610
16873
  class DrInstanceOpsDto < TencentCloud::Common::AbstractModel
16611
16874
  # @param TaskSource: 任务来源
@@ -19711,6 +19974,61 @@ module TencentCloud
19711
19974
  end
19712
19975
  end
19713
19976
 
19977
+ # 日志信息
19978
+ class InstanceLogByLine < TencentCloud::Common::AbstractModel
19979
+ # @param Count: 返回行数
19980
+ # 注意:此字段可能返回 null,表示取不到有效值。
19981
+ # @type Count: Integer
19982
+ # @param Content: 内容
19983
+ # 注意:此字段可能返回 null,表示取不到有效值。
19984
+ # @type Content: Array
19985
+ # @param Over: 文件是否读取完
19986
+ # 注意:此字段可能返回 null,表示取不到有效值。
19987
+ # @type Over: Boolean
19988
+ # @param InstanceState: 实例状态
19989
+ # 注意:此字段可能返回 null,表示取不到有效值。
19990
+ # @type InstanceState: String
19991
+ # @param InstanceId: 实例id
19992
+ # 注意:此字段可能返回 null,表示取不到有效值。
19993
+ # @type InstanceId: String
19994
+ # @param TaskId: 任务id
19995
+ # 注意:此字段可能返回 null,表示取不到有效值。
19996
+ # @type TaskId: String
19997
+ # @param WorkerType: 执行机类型 0:老执行机loader 1:新执行机woker
19998
+ # 注意:此字段可能返回 null,表示取不到有效值。
19999
+ # @type WorkerType: Integer
20000
+ # @param JobLogErrorTip: 日志sql错误信息,包含行列信息
20001
+ # 注意:此字段可能返回 null,表示取不到有效值。
20002
+ # @type JobLogErrorTip: :class:`Tencentcloud::Wedata.v20210820.models.JobLogErrorTip`
20003
+
20004
+ attr_accessor :Count, :Content, :Over, :InstanceState, :InstanceId, :TaskId, :WorkerType, :JobLogErrorTip
20005
+
20006
+ def initialize(count=nil, content=nil, over=nil, instancestate=nil, instanceid=nil, taskid=nil, workertype=nil, joblogerrortip=nil)
20007
+ @Count = count
20008
+ @Content = content
20009
+ @Over = over
20010
+ @InstanceState = instancestate
20011
+ @InstanceId = instanceid
20012
+ @TaskId = taskid
20013
+ @WorkerType = workertype
20014
+ @JobLogErrorTip = joblogerrortip
20015
+ end
20016
+
20017
+ def deserialize(params)
20018
+ @Count = params['Count']
20019
+ @Content = params['Content']
20020
+ @Over = params['Over']
20021
+ @InstanceState = params['InstanceState']
20022
+ @InstanceId = params['InstanceId']
20023
+ @TaskId = params['TaskId']
20024
+ @WorkerType = params['WorkerType']
20025
+ unless params['JobLogErrorTip'].nil?
20026
+ @JobLogErrorTip = JobLogErrorTip.new
20027
+ @JobLogErrorTip.deserialize(params['JobLogErrorTip'])
20028
+ end
20029
+ end
20030
+ end
20031
+
19714
20032
  # 实例日志简述信息
19715
20033
  class InstanceLogInfo < TencentCloud::Common::AbstractModel
19716
20034
  # @param TaskId: 任务id
@@ -21440,6 +21758,33 @@ module TencentCloud
21440
21758
  end
21441
21759
  end
21442
21760
 
21761
+ # 调度任务日志错误提示信息
21762
+ class JobLogErrorTip < TencentCloud::Common::AbstractModel
21763
+ # @param Content: 执行日志错误信息
21764
+ # 注意:此字段可能返回 null,表示取不到有效值。
21765
+ # @type Content: String
21766
+ # @param LineNum: 对应sql的行下标
21767
+ # 注意:此字段可能返回 null,表示取不到有效值。
21768
+ # @type LineNum: Integer
21769
+ # @param ColumnNum: 对应sql的列下标
21770
+ # 注意:此字段可能返回 null,表示取不到有效值。
21771
+ # @type ColumnNum: Integer
21772
+
21773
+ attr_accessor :Content, :LineNum, :ColumnNum
21774
+
21775
+ def initialize(content=nil, linenum=nil, columnnum=nil)
21776
+ @Content = content
21777
+ @LineNum = linenum
21778
+ @ColumnNum = columnnum
21779
+ end
21780
+
21781
+ def deserialize(params)
21782
+ @Content = params['Content']
21783
+ @LineNum = params['LineNum']
21784
+ @ColumnNum = params['ColumnNum']
21785
+ end
21786
+ end
21787
+
21443
21788
  # JudgeResourceFile请求参数结构体
21444
21789
  class JudgeResourceFileRequest < TencentCloud::Common::AbstractModel
21445
21790
  # @param ProjectId: 项目id
@@ -24956,6 +25301,45 @@ module TencentCloud
24956
25301
  end
24957
25302
  end
24958
25303
 
25304
+ # 任务模版分页
25305
+ class PageTaskTemplateInfo < TencentCloud::Common::AbstractModel
25306
+ # @param Items: 任务集合信息
25307
+ # @type Items: Array
25308
+ # @param PageCount: 总页数
25309
+ # @type PageCount: Integer
25310
+ # @param TotalCount: 总数量
25311
+ # @type TotalCount: Integer
25312
+ # @param PageNumber: 当前页
25313
+ # @type PageNumber: Integer
25314
+ # @param PageSize: 每页显示数
25315
+ # @type PageSize: Integer
25316
+
25317
+ attr_accessor :Items, :PageCount, :TotalCount, :PageNumber, :PageSize
25318
+
25319
+ def initialize(items=nil, pagecount=nil, totalcount=nil, pagenumber=nil, pagesize=nil)
25320
+ @Items = items
25321
+ @PageCount = pagecount
25322
+ @TotalCount = totalcount
25323
+ @PageNumber = pagenumber
25324
+ @PageSize = pagesize
25325
+ end
25326
+
25327
+ def deserialize(params)
25328
+ unless params['Items'].nil?
25329
+ @Items = []
25330
+ params['Items'].each do |i|
25331
+ codetemplatedetail_tmp = CodeTemplateDetail.new
25332
+ codetemplatedetail_tmp.deserialize(i)
25333
+ @Items << codetemplatedetail_tmp
25334
+ end
25335
+ end
25336
+ @PageCount = params['PageCount']
25337
+ @TotalCount = params['TotalCount']
25338
+ @PageNumber = params['PageNumber']
25339
+ @PageSize = params['PageSize']
25340
+ end
25341
+ end
25342
+
24959
25343
  # 键值对
24960
25344
  class Pair < TencentCloud::Common::AbstractModel
24961
25345
  # @param Key: 键名
@@ -33853,10 +34237,12 @@ module TencentCloud
33853
34237
  # @type RequestFromSource: String
33854
34238
  # @param ScriptChange: 脚本是否发生变化
33855
34239
  # @type ScriptChange: Boolean
34240
+ # @param Content: 转Base64的代码内容
34241
+ # @type Content: String
33856
34242
 
33857
- attr_accessor :ProjectId, :CodeTemplateId, :CodeTemplateName, :InChargeId, :InCharge, :Ext, :BrokerIp, :ResourceGroup, :CodeTemplateDesc, :RequestFromSource, :ScriptChange
34243
+ attr_accessor :ProjectId, :CodeTemplateId, :CodeTemplateName, :InChargeId, :InCharge, :Ext, :BrokerIp, :ResourceGroup, :CodeTemplateDesc, :RequestFromSource, :ScriptChange, :Content
33858
34244
 
33859
- def initialize(projectid=nil, codetemplateid=nil, codetemplatename=nil, inchargeid=nil, incharge=nil, ext=nil, brokerip=nil, resourcegroup=nil, codetemplatedesc=nil, requestfromsource=nil, scriptchange=nil)
34245
+ def initialize(projectid=nil, codetemplateid=nil, codetemplatename=nil, inchargeid=nil, incharge=nil, ext=nil, brokerip=nil, resourcegroup=nil, codetemplatedesc=nil, requestfromsource=nil, scriptchange=nil, content=nil)
33860
34246
  @ProjectId = projectid
33861
34247
  @CodeTemplateId = codetemplateid
33862
34248
  @CodeTemplateName = codetemplatename
@@ -33868,6 +34254,7 @@ module TencentCloud
33868
34254
  @CodeTemplateDesc = codetemplatedesc
33869
34255
  @RequestFromSource = requestfromsource
33870
34256
  @ScriptChange = scriptchange
34257
+ @Content = content
33871
34258
  end
33872
34259
 
33873
34260
  def deserialize(params)
@@ -33885,6 +34272,7 @@ module TencentCloud
33885
34272
  @CodeTemplateDesc = params['CodeTemplateDesc']
33886
34273
  @RequestFromSource = params['RequestFromSource']
33887
34274
  @ScriptChange = params['ScriptChange']
34275
+ @Content = params['Content']
33888
34276
  end
33889
34277
  end
33890
34278
 
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.1058
4
+ version: 3.0.1059
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-05-13 00:00:00.000000000 Z
11
+ date: 2025-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common