tencentcloud-sdk-wedata 3.0.982 → 3.0.984

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2625dcda751462e12f437248d3b5e44ffed1d72
4
- data.tar.gz: bfd21305ea7c81e0426cb2b447d51fe9ba6e1524
3
+ metadata.gz: e5dd2bb456eb15a4ef8e27ce700bb321cf44019d
4
+ data.tar.gz: 122164a2d15521dac1d4ea2d7871d11702b3a386
5
5
  SHA512:
6
- metadata.gz: dd22948b23e075d3cf98e98a59c099e468d40236d317b9a5e289bf394890dfdbb7f9577459fa31e58fd885e03c57129953fdd5eac940f0969afa3c6a6a006644
7
- data.tar.gz: 10ed09d5daca94a9140c0a7e57bda4da21fb75b2e51a84a748610cc4c677ccb669f95ca62cb02c7155c23fc67e2a7d805703524c029c96c5e23db924b262bc48
6
+ metadata.gz: 42526ca508dc1804b40e2e96c0e388c8fa595c18a24b30610d03946bfc0d0e64890fbbda0745f724c2c65cad27320f382568c0e64946554cb3d35827d1e4f403
7
+ data.tar.gz: 416e524befd262ff267dcbf776bccbbcbb9b1bb8074ed2bbcdb4b33e2493b3c59b7a5dfc28ba6ef4cf18f902a99db3c0945dff9afe6c4c2e7760660bc8921080
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.982
1
+ 3.0.984
@@ -4064,6 +4064,30 @@ module TencentCloud
4064
4064
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4065
4065
  end
4066
4066
 
4067
+ # 查询实时任务表粒度指标概览
4068
+
4069
+ # @param request: Request instance for DescribeTaskTableMetricOverview.
4070
+ # @type request: :class:`Tencentcloud::wedata::V20210820::DescribeTaskTableMetricOverviewRequest`
4071
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeTaskTableMetricOverviewResponse`
4072
+ def DescribeTaskTableMetricOverview(request)
4073
+ body = send_request('DescribeTaskTableMetricOverview', request.serialize)
4074
+ response = JSON.parse(body)
4075
+ if response['Response'].key?('Error') == false
4076
+ model = DescribeTaskTableMetricOverviewResponse.new
4077
+ model.deserialize(response['Response'])
4078
+ model
4079
+ else
4080
+ code = response['Response']['Error']['Code']
4081
+ message = response['Response']['Error']['Message']
4082
+ reqid = response['Response']['RequestId']
4083
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4084
+ end
4085
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4086
+ raise e
4087
+ rescue StandardError => e
4088
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4089
+ end
4090
+
4067
4091
  # 查询规则模板维度分布情况
4068
4092
 
4069
4093
  # @param request: Request instance for DescribeTemplateDimCount.
@@ -3814,7 +3814,7 @@ module TencentCloud
3814
3814
  # @type DatasourceId: String
3815
3815
  # @param Database: 数据库
3816
3816
  # @type Database: String
3817
- # @param DDLSql: 建hive表ddl
3817
+ # @param DDLSql: 建hive表ddl的base64编码
3818
3818
  # @type DDLSql: String
3819
3819
  # @param Privilege: 表权限 ,默认为0:项目共享;1:仅个人与管理员
3820
3820
  # @type Privilege: Integer
@@ -4155,6 +4155,7 @@ module TencentCloud
4155
4155
  # 注意:此字段可能返回 null,表示取不到有效值。
4156
4156
  # @type ArrangeSpaceTaskId: String
4157
4157
  # @param Data: 结果
4158
+ # 注意:此字段可能返回 null,表示取不到有效值。
4158
4159
  # @type Data: String
4159
4160
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4160
4161
  # @type RequestId: String
@@ -14273,6 +14274,100 @@ module TencentCloud
14273
14274
  end
14274
14275
  end
14275
14276
 
14277
+ # DescribeTaskTableMetricOverview请求参数结构体
14278
+ class DescribeTaskTableMetricOverviewRequest < TencentCloud::Common::AbstractModel
14279
+ # @param TaskId: 任务TaskId
14280
+ # @type TaskId: String
14281
+ # @param NodeType: 来源类型,支持枚举: SOURCE、SINK
14282
+ # @type NodeType: String
14283
+ # @param PageNumber: 页码
14284
+ # @type PageNumber: Integer
14285
+ # @param PageSize: 页大小
14286
+ # @type PageSize: Integer
14287
+ # @param ProjectId: 项目ID
14288
+ # @type ProjectId: String
14289
+ # @param TaskType: 任务类型:201. stream, 202. offline,当前只支持实时201
14290
+ # @type TaskType: Integer
14291
+ # @param Filters: 根据SchemaName来模糊搜索
14292
+ # @type Filters: Array
14293
+ # @param OrderFields: 排序
14294
+ # @type OrderFields: Array
14295
+
14296
+ attr_accessor :TaskId, :NodeType, :PageNumber, :PageSize, :ProjectId, :TaskType, :Filters, :OrderFields
14297
+
14298
+ def initialize(taskid=nil, nodetype=nil, pagenumber=nil, pagesize=nil, projectid=nil, tasktype=nil, filters=nil, orderfields=nil)
14299
+ @TaskId = taskid
14300
+ @NodeType = nodetype
14301
+ @PageNumber = pagenumber
14302
+ @PageSize = pagesize
14303
+ @ProjectId = projectid
14304
+ @TaskType = tasktype
14305
+ @Filters = filters
14306
+ @OrderFields = orderfields
14307
+ end
14308
+
14309
+ def deserialize(params)
14310
+ @TaskId = params['TaskId']
14311
+ @NodeType = params['NodeType']
14312
+ @PageNumber = params['PageNumber']
14313
+ @PageSize = params['PageSize']
14314
+ @ProjectId = params['ProjectId']
14315
+ @TaskType = params['TaskType']
14316
+ unless params['Filters'].nil?
14317
+ @Filters = []
14318
+ params['Filters'].each do |i|
14319
+ filter_tmp = Filter.new
14320
+ filter_tmp.deserialize(i)
14321
+ @Filters << filter_tmp
14322
+ end
14323
+ end
14324
+ unless params['OrderFields'].nil?
14325
+ @OrderFields = []
14326
+ params['OrderFields'].each do |i|
14327
+ orderfields_tmp = OrderFields.new
14328
+ orderfields_tmp.deserialize(i)
14329
+ @OrderFields << orderfields_tmp
14330
+ end
14331
+ end
14332
+ end
14333
+ end
14334
+
14335
+ # DescribeTaskTableMetricOverview返回参数结构体
14336
+ class DescribeTaskTableMetricOverviewResponse < TencentCloud::Common::AbstractModel
14337
+ # @param TaskTableMetricInfos: 表粒度指标集合
14338
+ # @type TaskTableMetricInfos: Array
14339
+ # @param TotalCount: 总数
14340
+ # @type TotalCount: Integer
14341
+ # @param MetricType: 返回列表类型
14342
+ # 注意:此字段可能返回 null,表示取不到有效值。
14343
+ # @type MetricType: String
14344
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14345
+ # @type RequestId: String
14346
+
14347
+ attr_accessor :TaskTableMetricInfos, :TotalCount, :MetricType, :RequestId
14348
+
14349
+ def initialize(tasktablemetricinfos=nil, totalcount=nil, metrictype=nil, requestid=nil)
14350
+ @TaskTableMetricInfos = tasktablemetricinfos
14351
+ @TotalCount = totalcount
14352
+ @MetricType = metrictype
14353
+ @RequestId = requestid
14354
+ end
14355
+
14356
+ def deserialize(params)
14357
+ unless params['TaskTableMetricInfos'].nil?
14358
+ @TaskTableMetricInfos = []
14359
+ params['TaskTableMetricInfos'].each do |i|
14360
+ tasktablemetricinfo_tmp = TaskTableMetricInfo.new
14361
+ tasktablemetricinfo_tmp.deserialize(i)
14362
+ @TaskTableMetricInfos << tasktablemetricinfo_tmp
14363
+ end
14364
+ end
14365
+ @TotalCount = params['TotalCount']
14366
+ @MetricType = params['MetricType']
14367
+ @RequestId = params['RequestId']
14368
+ end
14369
+ end
14370
+
14276
14371
  # DescribeTemplateDimCount请求参数结构体
14277
14372
  class DescribeTemplateDimCountRequest < TencentCloud::Common::AbstractModel
14278
14373
  # @param Type: 模板类型
@@ -21705,6 +21800,26 @@ module TencentCloud
21705
21800
  end
21706
21801
  end
21707
21802
 
21803
+ # 排序
21804
+ class OrderFields < TencentCloud::Common::AbstractModel
21805
+ # @param Name: 字段
21806
+ # @type Name: String
21807
+ # @param Direction: 排序
21808
+ # @type Direction: String
21809
+
21810
+ attr_accessor :Name, :Direction
21811
+
21812
+ def initialize(name=nil, direction=nil)
21813
+ @Name = name
21814
+ @Direction = direction
21815
+ end
21816
+
21817
+ def deserialize(params)
21818
+ @Name = params['Name']
21819
+ @Direction = params['Direction']
21820
+ end
21821
+ end
21822
+
21708
21823
  # 包含层级信息的函数
21709
21824
  class OrganizationalFunction < TencentCloud::Common::AbstractModel
21710
21825
  # @param Name: 名称
@@ -29171,6 +29286,158 @@ module TencentCloud
29171
29286
  end
29172
29287
  end
29173
29288
 
29289
+ # 任务表粒度指标信息
29290
+ class TaskTableMetricInfo < TencentCloud::Common::AbstractModel
29291
+ # @param DatabaseName: 数据库名称
29292
+ # 注意:此字段可能返回 null,表示取不到有效值。
29293
+ # @type DatabaseName: String
29294
+ # @param TableName: 表名称
29295
+ # 注意:此字段可能返回 null,表示取不到有效值。
29296
+ # @type TableName: String
29297
+ # @param TotalRecordNum: 总记录数
29298
+ # 注意:此字段可能返回 null,表示取不到有效值。
29299
+ # @type TotalRecordNum: Integer
29300
+ # @param TotalRecordByteNum: 总字节数
29301
+ # 注意:此字段可能返回 null,表示取不到有效值。
29302
+ # @type TotalRecordByteNum: Integer
29303
+ # @param TotalDirtyRecordNum: 总脏记录数
29304
+ # 注意:此字段可能返回 null,表示取不到有效值。
29305
+ # @type TotalDirtyRecordNum: Integer
29306
+ # @param SchemaName: Schema名称
29307
+ # 注意:此字段可能返回 null,表示取不到有效值。
29308
+ # @type SchemaName: String
29309
+ # @param Topic: topic名称
29310
+ # 注意:此字段可能返回 null,表示取不到有效值。
29311
+ # @type Topic: String
29312
+ # @param Collection: Collection名称
29313
+ # 注意:此字段可能返回 null,表示取不到有效值。
29314
+ # @type Collection: String
29315
+ # @param DataSourceName: 数据源名称
29316
+ # @type DataSourceName: String
29317
+ # @param NodeId: 节点id
29318
+ # @type NodeId: String
29319
+ # @param LogicDatabase: 逻辑库名
29320
+ # 注意:此字段可能返回 null,表示取不到有效值。
29321
+ # @type LogicDatabase: String
29322
+ # @param LogicTable: 逻辑表名
29323
+ # 注意:此字段可能返回 null,表示取不到有效值。
29324
+ # @type LogicTable: String
29325
+ # @param LogicSchema: 逻辑schema名
29326
+ # 注意:此字段可能返回 null,表示取不到有效值。
29327
+ # @type LogicSchema: String
29328
+ # @param TaskTableMetricInfos: 物理表信息
29329
+ # 注意:此字段可能返回 null,表示取不到有效值。
29330
+ # @type TaskTableMetricInfos: Array
29331
+ # @param SyncStatus: 同步状态,0-未知,1-正常, 2-异常
29332
+ # 注意:此字段可能返回 null,表示取不到有效值。
29333
+ # @type SyncStatus: Integer
29334
+ # @param TargetDatabaseName: Target数据库名称
29335
+ # 注意:此字段可能返回 null,表示取不到有效值。
29336
+ # @type TargetDatabaseName: String
29337
+ # @param TargetTableName: Target表名称
29338
+ # 注意:此字段可能返回 null,表示取不到有效值。
29339
+ # @type TargetTableName: String
29340
+ # @param WriteTotalRecordNum: Write总记录数
29341
+ # 注意:此字段可能返回 null,表示取不到有效值。
29342
+ # @type WriteTotalRecordNum: Integer
29343
+ # @param WriteTotalRecordByteNum: Write总字节数
29344
+ # 注意:此字段可能返回 null,表示取不到有效值。
29345
+ # @type WriteTotalRecordByteNum: String
29346
+ # @param TargetSchemaName: TargetSchema名称
29347
+ # 注意:此字段可能返回 null,表示取不到有效值。
29348
+ # @type TargetSchemaName: String
29349
+ # @param TargetTopic: Targettopic名称
29350
+ # 注意:此字段可能返回 null,表示取不到有效值。
29351
+ # @type TargetTopic: String
29352
+ # @param TargetCollection: TargetCollection名称
29353
+ # 注意:此字段可能返回 null,表示取不到有效值。
29354
+ # @type TargetCollection: String
29355
+ # @param TargetDataSourceName: 数据源名称
29356
+ # 注意:此字段可能返回 null,表示取不到有效值。
29357
+ # @type TargetDataSourceName: String
29358
+ # @param TargetNodeId: 节点id
29359
+ # 注意:此字段可能返回 null,表示取不到有效值。
29360
+ # @type TargetNodeId: String
29361
+ # @param TotalRecordSpeed: 读取条数的速度
29362
+ # 注意:此字段可能返回 null,表示取不到有效值。
29363
+ # @type TotalRecordSpeed: Float
29364
+ # @param WriteTotalRecordSpeed: 写入条数的速度
29365
+ # 注意:此字段可能返回 null,表示取不到有效值。
29366
+ # @type WriteTotalRecordSpeed: Float
29367
+ # @param ExceptionReason: 异常原因
29368
+ # 注意:此字段可能返回 null,表示取不到有效值。
29369
+ # @type ExceptionReason: String
29370
+
29371
+ attr_accessor :DatabaseName, :TableName, :TotalRecordNum, :TotalRecordByteNum, :TotalDirtyRecordNum, :SchemaName, :Topic, :Collection, :DataSourceName, :NodeId, :LogicDatabase, :LogicTable, :LogicSchema, :TaskTableMetricInfos, :SyncStatus, :TargetDatabaseName, :TargetTableName, :WriteTotalRecordNum, :WriteTotalRecordByteNum, :TargetSchemaName, :TargetTopic, :TargetCollection, :TargetDataSourceName, :TargetNodeId, :TotalRecordSpeed, :WriteTotalRecordSpeed, :ExceptionReason
29372
+
29373
+ def initialize(databasename=nil, tablename=nil, totalrecordnum=nil, totalrecordbytenum=nil, totaldirtyrecordnum=nil, schemaname=nil, topic=nil, collection=nil, datasourcename=nil, nodeid=nil, logicdatabase=nil, logictable=nil, logicschema=nil, tasktablemetricinfos=nil, syncstatus=nil, targetdatabasename=nil, targettablename=nil, writetotalrecordnum=nil, writetotalrecordbytenum=nil, targetschemaname=nil, targettopic=nil, targetcollection=nil, targetdatasourcename=nil, targetnodeid=nil, totalrecordspeed=nil, writetotalrecordspeed=nil, exceptionreason=nil)
29374
+ @DatabaseName = databasename
29375
+ @TableName = tablename
29376
+ @TotalRecordNum = totalrecordnum
29377
+ @TotalRecordByteNum = totalrecordbytenum
29378
+ @TotalDirtyRecordNum = totaldirtyrecordnum
29379
+ @SchemaName = schemaname
29380
+ @Topic = topic
29381
+ @Collection = collection
29382
+ @DataSourceName = datasourcename
29383
+ @NodeId = nodeid
29384
+ @LogicDatabase = logicdatabase
29385
+ @LogicTable = logictable
29386
+ @LogicSchema = logicschema
29387
+ @TaskTableMetricInfos = tasktablemetricinfos
29388
+ @SyncStatus = syncstatus
29389
+ @TargetDatabaseName = targetdatabasename
29390
+ @TargetTableName = targettablename
29391
+ @WriteTotalRecordNum = writetotalrecordnum
29392
+ @WriteTotalRecordByteNum = writetotalrecordbytenum
29393
+ @TargetSchemaName = targetschemaname
29394
+ @TargetTopic = targettopic
29395
+ @TargetCollection = targetcollection
29396
+ @TargetDataSourceName = targetdatasourcename
29397
+ @TargetNodeId = targetnodeid
29398
+ @TotalRecordSpeed = totalrecordspeed
29399
+ @WriteTotalRecordSpeed = writetotalrecordspeed
29400
+ @ExceptionReason = exceptionreason
29401
+ end
29402
+
29403
+ def deserialize(params)
29404
+ @DatabaseName = params['DatabaseName']
29405
+ @TableName = params['TableName']
29406
+ @TotalRecordNum = params['TotalRecordNum']
29407
+ @TotalRecordByteNum = params['TotalRecordByteNum']
29408
+ @TotalDirtyRecordNum = params['TotalDirtyRecordNum']
29409
+ @SchemaName = params['SchemaName']
29410
+ @Topic = params['Topic']
29411
+ @Collection = params['Collection']
29412
+ @DataSourceName = params['DataSourceName']
29413
+ @NodeId = params['NodeId']
29414
+ @LogicDatabase = params['LogicDatabase']
29415
+ @LogicTable = params['LogicTable']
29416
+ @LogicSchema = params['LogicSchema']
29417
+ unless params['TaskTableMetricInfos'].nil?
29418
+ @TaskTableMetricInfos = []
29419
+ params['TaskTableMetricInfos'].each do |i|
29420
+ tasktablemetricinfo_tmp = TaskTableMetricInfo.new
29421
+ tasktablemetricinfo_tmp.deserialize(i)
29422
+ @TaskTableMetricInfos << tasktablemetricinfo_tmp
29423
+ end
29424
+ end
29425
+ @SyncStatus = params['SyncStatus']
29426
+ @TargetDatabaseName = params['TargetDatabaseName']
29427
+ @TargetTableName = params['TargetTableName']
29428
+ @WriteTotalRecordNum = params['WriteTotalRecordNum']
29429
+ @WriteTotalRecordByteNum = params['WriteTotalRecordByteNum']
29430
+ @TargetSchemaName = params['TargetSchemaName']
29431
+ @TargetTopic = params['TargetTopic']
29432
+ @TargetCollection = params['TargetCollection']
29433
+ @TargetDataSourceName = params['TargetDataSourceName']
29434
+ @TargetNodeId = params['TargetNodeId']
29435
+ @TotalRecordSpeed = params['TotalRecordSpeed']
29436
+ @WriteTotalRecordSpeed = params['WriteTotalRecordSpeed']
29437
+ @ExceptionReason = params['ExceptionReason']
29438
+ end
29439
+ end
29440
+
29174
29441
  # 任务标签,可用于检索任务的条件
29175
29442
  class TaskTag < TencentCloud::Common::AbstractModel
29176
29443
  # @param TagName: 标签名称
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.982
4
+ version: 3.0.984
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-01-14 00:00:00.000000000 Z
11
+ date: 2025-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common