tencentcloud-sdk-wedata 3.0.561 → 3.0.563

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: 574f389b09b4aa61b75b977af1117935d60176c6
4
- data.tar.gz: 23d3819ab3493ba4fad2238ba3042bddd655eabe
3
+ metadata.gz: 2ada42c2a28dca29e7cb982380b476c947f2ea0c
4
+ data.tar.gz: 36979563ac7f2348a527b5c3e70f93f708cc6183
5
5
  SHA512:
6
- metadata.gz: 5b8852974fdfca9436f321b6eb29177003203a122505ae5c422c02964b07b393142764a10c93e62464ac68a604d5d2aa2ec13c2cc942eebd61916d73fd14b1c9
7
- data.tar.gz: 50484f249cb85ad7af949775529a57a55320be240ed0a924d4d379655bc7946df5af4b1170a8417641b629ae2581f861896fac9a8aadccaad13ef02dcc8c138b
6
+ metadata.gz: 559586ef215e967d5eca3b17a53fcd2ed25b844e71652ce734eaee3ad9163fc1133fd7a452a08741ea77db5b3f3741cafe8fa9a75209d7d516d7d96e4427c874
7
+ data.tar.gz: fdc624a89a45c58ea90bca64e7139787b1e268fd20df5a35767673177367a1b25f0c49e681a31cf61ab8f66d73d40a3a4cab066d215b48b6e6913758fba6cf26
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.561
1
+ 3.0.563
@@ -2302,6 +2302,30 @@ module TencentCloud
2302
2302
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2303
2303
  end
2304
2304
 
2305
+ # 任务运维列表组合条件查询
2306
+
2307
+ # @param request: Request instance for DescribeOperateTasks.
2308
+ # @type request: :class:`Tencentcloud::wedata::V20210820::DescribeOperateTasksRequest`
2309
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeOperateTasksResponse`
2310
+ def DescribeOperateTasks(request)
2311
+ body = send_request('DescribeOperateTasks', request.serialize)
2312
+ response = JSON.parse(body)
2313
+ if response['Response'].key?('Error') == false
2314
+ model = DescribeOperateTasksResponse.new
2315
+ model.deserialize(response['Response'])
2316
+ model
2317
+ else
2318
+ code = response['Response']['Error']['Code']
2319
+ message = response['Response']['Error']['Message']
2320
+ reqid = response['Response']['RequestId']
2321
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2322
+ end
2323
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2324
+ raise e
2325
+ rescue StandardError => e
2326
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2327
+ end
2328
+
2305
2329
  # 查询全量函数
2306
2330
 
2307
2331
  # @param request: Request instance for DescribeOrganizationalFunctions.
@@ -125,16 +125,20 @@ module TencentCloud
125
125
  # @param Operator: 实时任务告警需要的参数
126
126
  # 注意:此字段可能返回 null,表示取不到有效值。
127
127
  # @type Operator: Integer
128
+ # @param AlarmIndicatorUnit: 告警指标阈值单位:ms(毫秒)、s(秒)、min(分钟)
129
+ # 注意:此字段可能返回 null,表示取不到有效值。
130
+ # @type AlarmIndicatorUnit: String
128
131
 
129
- attr_accessor :Id, :AlarmIndicator, :AlarmIndicatorDesc, :TriggerType, :EstimatedTime, :Operator
132
+ attr_accessor :Id, :AlarmIndicator, :AlarmIndicatorDesc, :TriggerType, :EstimatedTime, :Operator, :AlarmIndicatorUnit
130
133
 
131
- def initialize(id=nil, alarmindicator=nil, alarmindicatordesc=nil, triggertype=nil, estimatedtime=nil, operator=nil)
134
+ def initialize(id=nil, alarmindicator=nil, alarmindicatordesc=nil, triggertype=nil, estimatedtime=nil, operator=nil, alarmindicatorunit=nil)
132
135
  @Id = id
133
136
  @AlarmIndicator = alarmindicator
134
137
  @AlarmIndicatorDesc = alarmindicatordesc
135
138
  @TriggerType = triggertype
136
139
  @EstimatedTime = estimatedtime
137
140
  @Operator = operator
141
+ @AlarmIndicatorUnit = alarmindicatorunit
138
142
  end
139
143
 
140
144
  def deserialize(params)
@@ -144,6 +148,7 @@ module TencentCloud
144
148
  @TriggerType = params['TriggerType']
145
149
  @EstimatedTime = params['EstimatedTime']
146
150
  @Operator = params['Operator']
151
+ @AlarmIndicatorUnit = params['AlarmIndicatorUnit']
147
152
  end
148
153
  end
149
154
 
@@ -3036,10 +3041,13 @@ module TencentCloud
3036
3041
  # @param BizParamsString: BizParams json字符串
3037
3042
  # 注意:此字段可能返回 null,表示取不到有效值。
3038
3043
  # @type BizParamsString: String
3044
+ # @param ModifiedTime: 修改时间
3045
+ # 注意:此字段可能返回 null,表示取不到有效值。
3046
+ # @type ModifiedTime: Integer
3039
3047
 
3040
- attr_accessor :DatabaseName, :Description, :ID, :Instance, :Name, :Region, :Type, :ClusterId, :AppId, :BizParams, :Category, :Display, :OwnerAccount, :Params, :Status, :OwnerAccountName, :ClusterName, :OwnerProjectId, :OwnerProjectName, :OwnerProjectIdent, :AuthorityProjectName, :AuthorityUserName, :Edit, :Author, :Deliver, :DataSourceStatus, :CreateTime, :ParamsString, :BizParamsString
3048
+ attr_accessor :DatabaseName, :Description, :ID, :Instance, :Name, :Region, :Type, :ClusterId, :AppId, :BizParams, :Category, :Display, :OwnerAccount, :Params, :Status, :OwnerAccountName, :ClusterName, :OwnerProjectId, :OwnerProjectName, :OwnerProjectIdent, :AuthorityProjectName, :AuthorityUserName, :Edit, :Author, :Deliver, :DataSourceStatus, :CreateTime, :ParamsString, :BizParamsString, :ModifiedTime
3041
3049
 
3042
- def initialize(databasename=nil, description=nil, id=nil, instance=nil, name=nil, region=nil, type=nil, clusterid=nil, appid=nil, bizparams=nil, category=nil, display=nil, owneraccount=nil, params=nil, status=nil, owneraccountname=nil, clustername=nil, ownerprojectid=nil, ownerprojectname=nil, ownerprojectident=nil, authorityprojectname=nil, authorityusername=nil, edit=nil, author=nil, deliver=nil, datasourcestatus=nil, createtime=nil, paramsstring=nil, bizparamsstring=nil)
3050
+ def initialize(databasename=nil, description=nil, id=nil, instance=nil, name=nil, region=nil, type=nil, clusterid=nil, appid=nil, bizparams=nil, category=nil, display=nil, owneraccount=nil, params=nil, status=nil, owneraccountname=nil, clustername=nil, ownerprojectid=nil, ownerprojectname=nil, ownerprojectident=nil, authorityprojectname=nil, authorityusername=nil, edit=nil, author=nil, deliver=nil, datasourcestatus=nil, createtime=nil, paramsstring=nil, bizparamsstring=nil, modifiedtime=nil)
3043
3051
  @DatabaseName = databasename
3044
3052
  @Description = description
3045
3053
  @ID = id
@@ -3069,6 +3077,7 @@ module TencentCloud
3069
3077
  @CreateTime = createtime
3070
3078
  @ParamsString = paramsstring
3071
3079
  @BizParamsString = bizparamsstring
3080
+ @ModifiedTime = modifiedtime
3072
3081
  end
3073
3082
 
3074
3083
  def deserialize(params)
@@ -3101,6 +3110,7 @@ module TencentCloud
3101
3110
  @CreateTime = params['CreateTime']
3102
3111
  @ParamsString = params['ParamsString']
3103
3112
  @BizParamsString = params['BizParamsString']
3113
+ @ModifiedTime = params['ModifiedTime']
3104
3114
  end
3105
3115
  end
3106
3116
 
@@ -4434,16 +4444,27 @@ module TencentCloud
4434
4444
 
4435
4445
  # DescribeDatabaseInfoList请求参数结构体
4436
4446
  class DescribeDatabaseInfoListRequest < TencentCloud::Common::AbstractModel
4447
+ # @param Filters: 过滤参数
4448
+ # @type Filters: Array
4437
4449
  # @param ConnectionType: 如果是hive这里写rpc,如果是其他类型不传
4438
4450
  # @type ConnectionType: String
4439
4451
 
4440
- attr_accessor :ConnectionType
4452
+ attr_accessor :Filters, :ConnectionType
4441
4453
 
4442
- def initialize(connectiontype=nil)
4454
+ def initialize(filters=nil, connectiontype=nil)
4455
+ @Filters = filters
4443
4456
  @ConnectionType = connectiontype
4444
4457
  end
4445
4458
 
4446
4459
  def deserialize(params)
4460
+ unless params['Filters'].nil?
4461
+ @Filters = []
4462
+ params['Filters'].each do |i|
4463
+ filter_tmp = Filter.new
4464
+ filter_tmp.deserialize(i)
4465
+ @Filters << filter_tmp
4466
+ end
4467
+ end
4447
4468
  @ConnectionType = params['ConnectionType']
4448
4469
  end
4449
4470
  end
@@ -6264,6 +6285,101 @@ module TencentCloud
6264
6285
  end
6265
6286
  end
6266
6287
 
6288
+ # DescribeOperateTasks请求参数结构体
6289
+ class DescribeOperateTasksRequest < TencentCloud::Common::AbstractModel
6290
+ # @param ProjectId: 项目id
6291
+ # @type ProjectId: String
6292
+ # @param FolderIdList: 文件夹id,多个文件夹以逗号分隔
6293
+ # @type FolderIdList: String
6294
+ # @param WorkFlowIdList: 工作流id,多个工作流id之间以英文字符逗号分隔
6295
+ # @type WorkFlowIdList: String
6296
+ # @param WorkFlowNameList: 工作流名称,多个工作流名称之间以英文字符逗号分隔
6297
+ # @type WorkFlowNameList: String
6298
+ # @param TaskNameList: 任务名称,多个任务名称之间以英文字符逗号分隔
6299
+ # @type TaskNameList: String
6300
+ # @param TaskIdList: 任务id,多个任务id之间以英文字符逗号分隔
6301
+ # @type TaskIdList: String
6302
+ # @param PageNumber: 页号
6303
+ # @type PageNumber: String
6304
+ # @param PageSize: 分页大小
6305
+ # @type PageSize: String
6306
+ # @param SortItem: 排序字段,支持字段为FirstSubmitTime和FirstRunTime,标识最近提交和首次执行事件
6307
+ # @type SortItem: String
6308
+ # @param SortType: 排序类型。两种取值 DESC、ASC
6309
+ # @type SortType: String
6310
+ # @param InChargeList: 责任人,多个责任人之间以英文字符逗号分隔
6311
+ # @type InChargeList: String
6312
+ # @param TaskTypeIdList: 任务类型Id字符串,多个任务类型id之间以英文字符逗号分隔
6313
+ # @type TaskTypeIdList: String
6314
+ # @param StatusList: 任务状态字符串,多个任务状态之间以英文字符逗号分隔
6315
+ # @type StatusList: String
6316
+ # @param TaskCycleUnitList: 任务周期类型字符串,多个任务周期之间以英文字符逗号分隔
6317
+ # @type TaskCycleUnitList: String
6318
+ # @param ProductNameList: 任务所属产品类型
6319
+ # @type ProductNameList: String
6320
+
6321
+ attr_accessor :ProjectId, :FolderIdList, :WorkFlowIdList, :WorkFlowNameList, :TaskNameList, :TaskIdList, :PageNumber, :PageSize, :SortItem, :SortType, :InChargeList, :TaskTypeIdList, :StatusList, :TaskCycleUnitList, :ProductNameList
6322
+
6323
+ def initialize(projectid=nil, folderidlist=nil, workflowidlist=nil, workflownamelist=nil, tasknamelist=nil, taskidlist=nil, pagenumber=nil, pagesize=nil, sortitem=nil, sorttype=nil, inchargelist=nil, tasktypeidlist=nil, statuslist=nil, taskcycleunitlist=nil, productnamelist=nil)
6324
+ @ProjectId = projectid
6325
+ @FolderIdList = folderidlist
6326
+ @WorkFlowIdList = workflowidlist
6327
+ @WorkFlowNameList = workflownamelist
6328
+ @TaskNameList = tasknamelist
6329
+ @TaskIdList = taskidlist
6330
+ @PageNumber = pagenumber
6331
+ @PageSize = pagesize
6332
+ @SortItem = sortitem
6333
+ @SortType = sorttype
6334
+ @InChargeList = inchargelist
6335
+ @TaskTypeIdList = tasktypeidlist
6336
+ @StatusList = statuslist
6337
+ @TaskCycleUnitList = taskcycleunitlist
6338
+ @ProductNameList = productnamelist
6339
+ end
6340
+
6341
+ def deserialize(params)
6342
+ @ProjectId = params['ProjectId']
6343
+ @FolderIdList = params['FolderIdList']
6344
+ @WorkFlowIdList = params['WorkFlowIdList']
6345
+ @WorkFlowNameList = params['WorkFlowNameList']
6346
+ @TaskNameList = params['TaskNameList']
6347
+ @TaskIdList = params['TaskIdList']
6348
+ @PageNumber = params['PageNumber']
6349
+ @PageSize = params['PageSize']
6350
+ @SortItem = params['SortItem']
6351
+ @SortType = params['SortType']
6352
+ @InChargeList = params['InChargeList']
6353
+ @TaskTypeIdList = params['TaskTypeIdList']
6354
+ @StatusList = params['StatusList']
6355
+ @TaskCycleUnitList = params['TaskCycleUnitList']
6356
+ @ProductNameList = params['ProductNameList']
6357
+ end
6358
+ end
6359
+
6360
+ # DescribeOperateTasks返回参数结构体
6361
+ class DescribeOperateTasksResponse < TencentCloud::Common::AbstractModel
6362
+ # @param Data: 任务列表信息
6363
+ # @type Data: :class:`Tencentcloud::Wedata.v20210820.models.TaskInfoPage`
6364
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6365
+ # @type RequestId: String
6366
+
6367
+ attr_accessor :Data, :RequestId
6368
+
6369
+ def initialize(data=nil, requestid=nil)
6370
+ @Data = data
6371
+ @RequestId = requestid
6372
+ end
6373
+
6374
+ def deserialize(params)
6375
+ unless params['Data'].nil?
6376
+ @Data = TaskInfoPage.new
6377
+ @Data.deserialize(params['Data'])
6378
+ end
6379
+ @RequestId = params['RequestId']
6380
+ end
6381
+ end
6382
+
6267
6383
  # DescribeOrganizationalFunctions请求参数结构体
6268
6384
  class DescribeOrganizationalFunctionsRequest < TencentCloud::Common::AbstractModel
6269
6385
  # @param Type: 场景类型:开发、使用
@@ -6590,21 +6706,29 @@ module TencentCloud
6590
6706
 
6591
6707
  # DescribeRealTimeTaskMetricOverview请求参数结构体
6592
6708
  class DescribeRealTimeTaskMetricOverviewRequest < TencentCloud::Common::AbstractModel
6593
- # @param TaskId:
6709
+ # @param TaskId: 要查看的实时任务的任务Id
6594
6710
  # @type TaskId: String
6595
6711
  # @param ProjectId: 无
6596
6712
  # @type ProjectId: String
6713
+ # @param StartTime: 开始时间
6714
+ # @type StartTime: Integer
6715
+ # @param EndTime: 结束时间
6716
+ # @type EndTime: Integer
6597
6717
 
6598
- attr_accessor :TaskId, :ProjectId
6718
+ attr_accessor :TaskId, :ProjectId, :StartTime, :EndTime
6599
6719
 
6600
- def initialize(taskid=nil, projectid=nil)
6720
+ def initialize(taskid=nil, projectid=nil, starttime=nil, endtime=nil)
6601
6721
  @TaskId = taskid
6602
6722
  @ProjectId = projectid
6723
+ @StartTime = starttime
6724
+ @EndTime = endtime
6603
6725
  end
6604
6726
 
6605
6727
  def deserialize(params)
6606
6728
  @TaskId = params['TaskId']
6607
6729
  @ProjectId = params['ProjectId']
6730
+ @StartTime = params['StartTime']
6731
+ @EndTime = params['EndTime']
6608
6732
  end
6609
6733
  end
6610
6734
 
@@ -9936,10 +10060,12 @@ module TencentCloud
9936
10060
  # @type AddPositionDeletes: Integer
9937
10061
  # @param AddDeleteFiles: 增加的delete file数量阈值
9938
10062
  # @type AddDeleteFiles: Integer
10063
+ # @param TargetDatasourceId: 下游节点数据源ID
10064
+ # @type TargetDatasourceId: String
9939
10065
 
9940
- attr_accessor :ProjectId, :SinkDatabase, :Id, :MsType, :DatasourceId, :SourceDatabase, :TableName, :SinkType, :SchemaName, :SourceFieldInfoList, :Partitions, :Properties, :TableMode, :TableVersion, :UpsertFlag, :TableComment, :AddDataFiles, :AddEqualityDeletes, :AddPositionDeletes, :AddDeleteFiles
10066
+ attr_accessor :ProjectId, :SinkDatabase, :Id, :MsType, :DatasourceId, :SourceDatabase, :TableName, :SinkType, :SchemaName, :SourceFieldInfoList, :Partitions, :Properties, :TableMode, :TableVersion, :UpsertFlag, :TableComment, :AddDataFiles, :AddEqualityDeletes, :AddPositionDeletes, :AddDeleteFiles, :TargetDatasourceId
9941
10067
 
9942
- def initialize(projectid=nil, sinkdatabase=nil, id=nil, mstype=nil, datasourceid=nil, sourcedatabase=nil, tablename=nil, sinktype=nil, schemaname=nil, sourcefieldinfolist=nil, partitions=nil, properties=nil, tablemode=nil, tableversion=nil, upsertflag=nil, tablecomment=nil, adddatafiles=nil, addequalitydeletes=nil, addpositiondeletes=nil, adddeletefiles=nil)
10068
+ def initialize(projectid=nil, sinkdatabase=nil, id=nil, mstype=nil, datasourceid=nil, sourcedatabase=nil, tablename=nil, sinktype=nil, schemaname=nil, sourcefieldinfolist=nil, partitions=nil, properties=nil, tablemode=nil, tableversion=nil, upsertflag=nil, tablecomment=nil, adddatafiles=nil, addequalitydeletes=nil, addpositiondeletes=nil, adddeletefiles=nil, targetdatasourceid=nil)
9943
10069
  @ProjectId = projectid
9944
10070
  @SinkDatabase = sinkdatabase
9945
10071
  @Id = id
@@ -9960,6 +10086,7 @@ module TencentCloud
9960
10086
  @AddEqualityDeletes = addequalitydeletes
9961
10087
  @AddPositionDeletes = addpositiondeletes
9962
10088
  @AddDeleteFiles = adddeletefiles
10089
+ @TargetDatasourceId = targetdatasourceid
9963
10090
  end
9964
10091
 
9965
10092
  def deserialize(params)
@@ -10004,6 +10131,7 @@ module TencentCloud
10004
10131
  @AddEqualityDeletes = params['AddEqualityDeletes']
10005
10132
  @AddPositionDeletes = params['AddPositionDeletes']
10006
10133
  @AddDeleteFiles = params['AddDeleteFiles']
10134
+ @TargetDatasourceId = params['TargetDatasourceId']
10007
10135
  end
10008
10136
  end
10009
10137
 
@@ -17070,6 +17198,41 @@ module TencentCloud
17070
17198
  end
17071
17199
  end
17072
17200
 
17201
+ # 任务分页查询
17202
+ class TaskInfoPage < TencentCloud::Common::AbstractModel
17203
+ # @param PageNumber: 页号
17204
+ # @type PageNumber: Integer
17205
+ # @param PageSize: 页大小
17206
+ # @type PageSize: Integer
17207
+ # @param Items: 工作流列表信息
17208
+ # @type Items: Array
17209
+ # @param TotalPage: 总页数
17210
+ # @type TotalPage: Integer
17211
+
17212
+ attr_accessor :PageNumber, :PageSize, :Items, :TotalPage
17213
+
17214
+ def initialize(pagenumber=nil, pagesize=nil, items=nil, totalpage=nil)
17215
+ @PageNumber = pagenumber
17216
+ @PageSize = pagesize
17217
+ @Items = items
17218
+ @TotalPage = totalpage
17219
+ end
17220
+
17221
+ def deserialize(params)
17222
+ @PageNumber = params['PageNumber']
17223
+ @PageSize = params['PageSize']
17224
+ unless params['Items'].nil?
17225
+ @Items = []
17226
+ params['Items'].each do |i|
17227
+ taskcanvasinfo_tmp = TaskCanvasInfo.new
17228
+ taskcanvasinfo_tmp.deserialize(i)
17229
+ @Items << taskcanvasinfo_tmp
17230
+ end
17231
+ end
17232
+ @TotalPage = params['TotalPage']
17233
+ end
17234
+ end
17235
+
17073
17236
  # 任务属性
17074
17237
  class TaskInnerInfo < TencentCloud::Common::AbstractModel
17075
17238
  # @param TaskId: 任务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.561
4
+ version: 3.0.563
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-04-27 00:00:00.000000000 Z
11
+ date: 2023-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common