tencentcloud-sdk-wedata 3.0.561 → 3.0.564

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: eda7b85eceab7a79dc0d9b44d8f228392412430f
4
+ data.tar.gz: 0f936eaf935932daacb78b4e97db5ebaa7553431
5
5
  SHA512:
6
- metadata.gz: 5b8852974fdfca9436f321b6eb29177003203a122505ae5c422c02964b07b393142764a10c93e62464ac68a604d5d2aa2ec13c2cc942eebd61916d73fd14b1c9
7
- data.tar.gz: 50484f249cb85ad7af949775529a57a55320be240ed0a924d4d379655bc7946df5af4b1170a8417641b629ae2581f861896fac9a8aadccaad13ef02dcc8c138b
6
+ metadata.gz: 8d7103f2cbdb208718d737f855a5b40c0d4138b3aad0f8867bd4ff75ff515df3d8505be4fce9f001bb3dedc1aa259a5cdbec737ca44581a17a62746b14ef5b20
7
+ data.tar.gz: d48ed772199c95be67b6f955640d57b1c89af60bf134bd546aa00b5182d30b904bfd13952ffac1047db4744a054e2d61c06bcc44d4e8baa344b10844a02634a8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.561
1
+ 3.0.564
@@ -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,32 +4444,54 @@ 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
4450
4471
 
4451
4472
  # DescribeDatabaseInfoList返回参数结构体
4452
4473
  class DescribeDatabaseInfoListResponse < TencentCloud::Common::AbstractModel
4474
+ # @param DatabaseInfo: 数据库列表
4475
+ # @type DatabaseInfo: Array
4453
4476
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4454
4477
  # @type RequestId: String
4455
4478
 
4456
- attr_accessor :RequestId
4479
+ attr_accessor :DatabaseInfo, :RequestId
4457
4480
 
4458
- def initialize(requestid=nil)
4481
+ def initialize(databaseinfo=nil, requestid=nil)
4482
+ @DatabaseInfo = databaseinfo
4459
4483
  @RequestId = requestid
4460
4484
  end
4461
4485
 
4462
4486
  def deserialize(params)
4487
+ unless params['DatabaseInfo'].nil?
4488
+ @DatabaseInfo = []
4489
+ params['DatabaseInfo'].each do |i|
4490
+ databaseinfo_tmp = DatabaseInfo.new
4491
+ databaseinfo_tmp.deserialize(i)
4492
+ @DatabaseInfo << databaseinfo_tmp
4493
+ end
4494
+ end
4463
4495
  @RequestId = params['RequestId']
4464
4496
  end
4465
4497
  end
@@ -6264,6 +6296,101 @@ module TencentCloud
6264
6296
  end
6265
6297
  end
6266
6298
 
6299
+ # DescribeOperateTasks请求参数结构体
6300
+ class DescribeOperateTasksRequest < TencentCloud::Common::AbstractModel
6301
+ # @param ProjectId: 项目id
6302
+ # @type ProjectId: String
6303
+ # @param FolderIdList: 文件夹id,多个文件夹以逗号分隔
6304
+ # @type FolderIdList: String
6305
+ # @param WorkFlowIdList: 工作流id,多个工作流id之间以英文字符逗号分隔
6306
+ # @type WorkFlowIdList: String
6307
+ # @param WorkFlowNameList: 工作流名称,多个工作流名称之间以英文字符逗号分隔
6308
+ # @type WorkFlowNameList: String
6309
+ # @param TaskNameList: 任务名称,多个任务名称之间以英文字符逗号分隔
6310
+ # @type TaskNameList: String
6311
+ # @param TaskIdList: 任务id,多个任务id之间以英文字符逗号分隔
6312
+ # @type TaskIdList: String
6313
+ # @param PageNumber: 页号
6314
+ # @type PageNumber: String
6315
+ # @param PageSize: 分页大小
6316
+ # @type PageSize: String
6317
+ # @param SortItem: 排序字段,支持字段为FirstSubmitTime和FirstRunTime,标识最近提交和首次执行事件
6318
+ # @type SortItem: String
6319
+ # @param SortType: 排序类型。两种取值 DESC、ASC
6320
+ # @type SortType: String
6321
+ # @param InChargeList: 责任人,多个责任人之间以英文字符逗号分隔
6322
+ # @type InChargeList: String
6323
+ # @param TaskTypeIdList: 任务类型Id字符串,多个任务类型id之间以英文字符逗号分隔
6324
+ # @type TaskTypeIdList: String
6325
+ # @param StatusList: 任务状态字符串,多个任务状态之间以英文字符逗号分隔
6326
+ # @type StatusList: String
6327
+ # @param TaskCycleUnitList: 任务周期类型字符串,多个任务周期之间以英文字符逗号分隔
6328
+ # @type TaskCycleUnitList: String
6329
+ # @param ProductNameList: 任务所属产品类型
6330
+ # @type ProductNameList: String
6331
+
6332
+ attr_accessor :ProjectId, :FolderIdList, :WorkFlowIdList, :WorkFlowNameList, :TaskNameList, :TaskIdList, :PageNumber, :PageSize, :SortItem, :SortType, :InChargeList, :TaskTypeIdList, :StatusList, :TaskCycleUnitList, :ProductNameList
6333
+
6334
+ 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)
6335
+ @ProjectId = projectid
6336
+ @FolderIdList = folderidlist
6337
+ @WorkFlowIdList = workflowidlist
6338
+ @WorkFlowNameList = workflownamelist
6339
+ @TaskNameList = tasknamelist
6340
+ @TaskIdList = taskidlist
6341
+ @PageNumber = pagenumber
6342
+ @PageSize = pagesize
6343
+ @SortItem = sortitem
6344
+ @SortType = sorttype
6345
+ @InChargeList = inchargelist
6346
+ @TaskTypeIdList = tasktypeidlist
6347
+ @StatusList = statuslist
6348
+ @TaskCycleUnitList = taskcycleunitlist
6349
+ @ProductNameList = productnamelist
6350
+ end
6351
+
6352
+ def deserialize(params)
6353
+ @ProjectId = params['ProjectId']
6354
+ @FolderIdList = params['FolderIdList']
6355
+ @WorkFlowIdList = params['WorkFlowIdList']
6356
+ @WorkFlowNameList = params['WorkFlowNameList']
6357
+ @TaskNameList = params['TaskNameList']
6358
+ @TaskIdList = params['TaskIdList']
6359
+ @PageNumber = params['PageNumber']
6360
+ @PageSize = params['PageSize']
6361
+ @SortItem = params['SortItem']
6362
+ @SortType = params['SortType']
6363
+ @InChargeList = params['InChargeList']
6364
+ @TaskTypeIdList = params['TaskTypeIdList']
6365
+ @StatusList = params['StatusList']
6366
+ @TaskCycleUnitList = params['TaskCycleUnitList']
6367
+ @ProductNameList = params['ProductNameList']
6368
+ end
6369
+ end
6370
+
6371
+ # DescribeOperateTasks返回参数结构体
6372
+ class DescribeOperateTasksResponse < TencentCloud::Common::AbstractModel
6373
+ # @param Data: 任务列表信息
6374
+ # @type Data: :class:`Tencentcloud::Wedata.v20210820.models.TaskInfoPage`
6375
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6376
+ # @type RequestId: String
6377
+
6378
+ attr_accessor :Data, :RequestId
6379
+
6380
+ def initialize(data=nil, requestid=nil)
6381
+ @Data = data
6382
+ @RequestId = requestid
6383
+ end
6384
+
6385
+ def deserialize(params)
6386
+ unless params['Data'].nil?
6387
+ @Data = TaskInfoPage.new
6388
+ @Data.deserialize(params['Data'])
6389
+ end
6390
+ @RequestId = params['RequestId']
6391
+ end
6392
+ end
6393
+
6267
6394
  # DescribeOrganizationalFunctions请求参数结构体
6268
6395
  class DescribeOrganizationalFunctionsRequest < TencentCloud::Common::AbstractModel
6269
6396
  # @param Type: 场景类型:开发、使用
@@ -6590,21 +6717,29 @@ module TencentCloud
6590
6717
 
6591
6718
  # DescribeRealTimeTaskMetricOverview请求参数结构体
6592
6719
  class DescribeRealTimeTaskMetricOverviewRequest < TencentCloud::Common::AbstractModel
6593
- # @param TaskId:
6720
+ # @param TaskId: 要查看的实时任务的任务Id
6594
6721
  # @type TaskId: String
6595
6722
  # @param ProjectId: 无
6596
6723
  # @type ProjectId: String
6724
+ # @param StartTime: 开始时间
6725
+ # @type StartTime: Integer
6726
+ # @param EndTime: 结束时间
6727
+ # @type EndTime: Integer
6597
6728
 
6598
- attr_accessor :TaskId, :ProjectId
6729
+ attr_accessor :TaskId, :ProjectId, :StartTime, :EndTime
6599
6730
 
6600
- def initialize(taskid=nil, projectid=nil)
6731
+ def initialize(taskid=nil, projectid=nil, starttime=nil, endtime=nil)
6601
6732
  @TaskId = taskid
6602
6733
  @ProjectId = projectid
6734
+ @StartTime = starttime
6735
+ @EndTime = endtime
6603
6736
  end
6604
6737
 
6605
6738
  def deserialize(params)
6606
6739
  @TaskId = params['TaskId']
6607
6740
  @ProjectId = params['ProjectId']
6741
+ @StartTime = params['StartTime']
6742
+ @EndTime = params['EndTime']
6608
6743
  end
6609
6744
  end
6610
6745
 
@@ -9936,10 +10071,12 @@ module TencentCloud
9936
10071
  # @type AddPositionDeletes: Integer
9937
10072
  # @param AddDeleteFiles: 增加的delete file数量阈值
9938
10073
  # @type AddDeleteFiles: Integer
10074
+ # @param TargetDatasourceId: 下游节点数据源ID
10075
+ # @type TargetDatasourceId: String
9939
10076
 
9940
- attr_accessor :ProjectId, :SinkDatabase, :Id, :MsType, :DatasourceId, :SourceDatabase, :TableName, :SinkType, :SchemaName, :SourceFieldInfoList, :Partitions, :Properties, :TableMode, :TableVersion, :UpsertFlag, :TableComment, :AddDataFiles, :AddEqualityDeletes, :AddPositionDeletes, :AddDeleteFiles
10077
+ attr_accessor :ProjectId, :SinkDatabase, :Id, :MsType, :DatasourceId, :SourceDatabase, :TableName, :SinkType, :SchemaName, :SourceFieldInfoList, :Partitions, :Properties, :TableMode, :TableVersion, :UpsertFlag, :TableComment, :AddDataFiles, :AddEqualityDeletes, :AddPositionDeletes, :AddDeleteFiles, :TargetDatasourceId
9941
10078
 
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)
10079
+ 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
10080
  @ProjectId = projectid
9944
10081
  @SinkDatabase = sinkdatabase
9945
10082
  @Id = id
@@ -9960,6 +10097,7 @@ module TencentCloud
9960
10097
  @AddEqualityDeletes = addequalitydeletes
9961
10098
  @AddPositionDeletes = addpositiondeletes
9962
10099
  @AddDeleteFiles = adddeletefiles
10100
+ @TargetDatasourceId = targetdatasourceid
9963
10101
  end
9964
10102
 
9965
10103
  def deserialize(params)
@@ -10004,6 +10142,7 @@ module TencentCloud
10004
10142
  @AddEqualityDeletes = params['AddEqualityDeletes']
10005
10143
  @AddPositionDeletes = params['AddPositionDeletes']
10006
10144
  @AddDeleteFiles = params['AddDeleteFiles']
10145
+ @TargetDatasourceId = params['TargetDatasourceId']
10007
10146
  end
10008
10147
  end
10009
10148
 
@@ -17070,6 +17209,41 @@ module TencentCloud
17070
17209
  end
17071
17210
  end
17072
17211
 
17212
+ # 任务分页查询
17213
+ class TaskInfoPage < TencentCloud::Common::AbstractModel
17214
+ # @param PageNumber: 页号
17215
+ # @type PageNumber: Integer
17216
+ # @param PageSize: 页大小
17217
+ # @type PageSize: Integer
17218
+ # @param Items: 工作流列表信息
17219
+ # @type Items: Array
17220
+ # @param TotalPage: 总页数
17221
+ # @type TotalPage: Integer
17222
+
17223
+ attr_accessor :PageNumber, :PageSize, :Items, :TotalPage
17224
+
17225
+ def initialize(pagenumber=nil, pagesize=nil, items=nil, totalpage=nil)
17226
+ @PageNumber = pagenumber
17227
+ @PageSize = pagesize
17228
+ @Items = items
17229
+ @TotalPage = totalpage
17230
+ end
17231
+
17232
+ def deserialize(params)
17233
+ @PageNumber = params['PageNumber']
17234
+ @PageSize = params['PageSize']
17235
+ unless params['Items'].nil?
17236
+ @Items = []
17237
+ params['Items'].each do |i|
17238
+ taskcanvasinfo_tmp = TaskCanvasInfo.new
17239
+ taskcanvasinfo_tmp.deserialize(i)
17240
+ @Items << taskcanvasinfo_tmp
17241
+ end
17242
+ end
17243
+ @TotalPage = params['TotalPage']
17244
+ end
17245
+ end
17246
+
17073
17247
  # 任务属性
17074
17248
  class TaskInnerInfo < TencentCloud::Common::AbstractModel
17075
17249
  # @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.564
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-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common