tencentcloud-sdk-dlc 3.0.659 → 3.0.661

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: 6640c1f2b78704e0eda0c435af8b0554030d85c0
4
- data.tar.gz: 6e45daf994ed27955ea28d96c621055ccbea4171
3
+ metadata.gz: a3db59523e1453e8d76f4479580dd6cd01409765
4
+ data.tar.gz: bc97f6dd51876e332fb5daf7c10282c7bf23ffcc
5
5
  SHA512:
6
- metadata.gz: 586b6959878817f491b16cfbd2635dca794f72e493b1407c275f44dc63d5b02cc62f94c8bf918bbaf9d6afb05b0cd05cb656b9b64638d1ae49b7cefbc87d1a15
7
- data.tar.gz: 6f45c68705631beb9adc1913845536333c020ae4c7abb39454a9dc996e600ce7b0bc342ee97259434bcdf0ddb2afbe94c5eee47e8f120da426dfac0bdfd82e11
6
+ metadata.gz: dec1dff20bcc672b0d60536a5443c9e3346cabf54e75820b93b5a3f6114b8303cf33c8c3264d2484b8fd962c4f1ad5529d87e917aef4b71bd24f047f3ba9937e
7
+ data.tar.gz: ed5223576794593ce2ade1ac253c9158fb72bbab561057b4c7cbe4e70a7603bf7c4e5d1a988f5466534111c077c525da5c4c7d388a5433864c132d24ed5aad37
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.659
1
+ 3.0.661
@@ -1157,6 +1157,30 @@ module TencentCloud
1157
1157
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1158
1158
  end
1159
1159
 
1160
+ # 本接口(DescribeDatasourceConnection)用于查询数据源信息
1161
+
1162
+ # @param request: Request instance for DescribeDatasourceConnection.
1163
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DescribeDatasourceConnectionRequest`
1164
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeDatasourceConnectionResponse`
1165
+ def DescribeDatasourceConnection(request)
1166
+ body = send_request('DescribeDatasourceConnection', request.serialize)
1167
+ response = JSON.parse(body)
1168
+ if response['Response'].key?('Error') == false
1169
+ model = DescribeDatasourceConnectionResponse.new
1170
+ model.deserialize(response['Response'])
1171
+ model
1172
+ else
1173
+ code = response['Response']['Error']['Code']
1174
+ message = response['Response']['Error']['Message']
1175
+ reqid = response['Response']['RequestId']
1176
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1177
+ end
1178
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1179
+ raise e
1180
+ rescue StandardError => e
1181
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1182
+ end
1183
+
1160
1184
  # 本接口根据引擎ID查询数据引擎资源使用情况
1161
1185
 
1162
1186
  # @param request: Request instance for DescribeEngineUsageInfo.
@@ -2069,6 +2093,30 @@ module TencentCloud
2069
2093
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2070
2094
  end
2071
2095
 
2096
+ # 获取任务结果查询
2097
+
2098
+ # @param request: Request instance for QueryResult.
2099
+ # @type request: :class:`Tencentcloud::dlc::V20210125::QueryResultRequest`
2100
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::QueryResultResponse`
2101
+ def QueryResult(request)
2102
+ body = send_request('QueryResult', request.serialize)
2103
+ response = JSON.parse(body)
2104
+ if response['Response'].key?('Error') == false
2105
+ model = QueryResultResponse.new
2106
+ model.deserialize(response['Response'])
2107
+ model
2108
+ else
2109
+ code = response['Response']['Error']['Code']
2110
+ message = response['Response']['Error']['Message']
2111
+ reqid = response['Response']['RequestId']
2112
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2113
+ end
2114
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2115
+ raise e
2116
+ rescue StandardError => e
2117
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2118
+ end
2119
+
2072
2120
  # 上报元数据心跳
2073
2121
 
2074
2122
  # @param request: Request instance for ReportHeartbeatMetaData.
@@ -3225,6 +3225,56 @@ module TencentCloud
3225
3225
  end
3226
3226
  end
3227
3227
 
3228
+ # 数据源详细信息
3229
+ class DataSourceInfo < TencentCloud::Common::AbstractModel
3230
+ # @param InstanceId: 数据源实例的唯一ID
3231
+ # 注意:此字段可能返回 null,表示取不到有效值。
3232
+ # @type InstanceId: String
3233
+ # @param InstanceName: 数据源的名称
3234
+ # 注意:此字段可能返回 null,表示取不到有效值。
3235
+ # @type InstanceName: String
3236
+ # @param JdbcUrl: 数据源的JDBC访问链接
3237
+ # 注意:此字段可能返回 null,表示取不到有效值。
3238
+ # @type JdbcUrl: String
3239
+ # @param User: 用于访问数据源的用户名
3240
+ # 注意:此字段可能返回 null,表示取不到有效值。
3241
+ # @type User: String
3242
+ # @param Password: 数据源访问密码,需要base64编码
3243
+ # 注意:此字段可能返回 null,表示取不到有效值。
3244
+ # @type Password: String
3245
+ # @param Location: 数据源的VPC和子网信息
3246
+ # 注意:此字段可能返回 null,表示取不到有效值。
3247
+ # @type Location: :class:`Tencentcloud::Dlc.v20210125.models.DatasourceConnectionLocation`
3248
+ # @param DbName: 默认数据库名
3249
+ # 注意:此字段可能返回 null,表示取不到有效值。
3250
+ # @type DbName: String
3251
+
3252
+ attr_accessor :InstanceId, :InstanceName, :JdbcUrl, :User, :Password, :Location, :DbName
3253
+
3254
+ def initialize(instanceid=nil, instancename=nil, jdbcurl=nil, user=nil, password=nil, location=nil, dbname=nil)
3255
+ @InstanceId = instanceid
3256
+ @InstanceName = instancename
3257
+ @JdbcUrl = jdbcurl
3258
+ @User = user
3259
+ @Password = password
3260
+ @Location = location
3261
+ @DbName = dbname
3262
+ end
3263
+
3264
+ def deserialize(params)
3265
+ @InstanceId = params['InstanceId']
3266
+ @InstanceName = params['InstanceName']
3267
+ @JdbcUrl = params['JdbcUrl']
3268
+ @User = params['User']
3269
+ @Password = params['Password']
3270
+ unless params['Location'].nil?
3271
+ @Location = DatasourceConnectionLocation.new
3272
+ @Location.deserialize(params['Location'])
3273
+ end
3274
+ @DbName = params['DbName']
3275
+ end
3276
+ end
3277
+
3228
3278
  # 数据库对象
3229
3279
  class DatabaseInfo < TencentCloud::Common::AbstractModel
3230
3280
  # @param DatabaseName: 数据库名称,长度0~128,支持数字、字母下划线,不允许数字大头,统一转换为小写。
@@ -3334,6 +3384,221 @@ module TencentCloud
3334
3384
  end
3335
3385
  end
3336
3386
 
3387
+ # 数据源属性
3388
+ class DatasourceConnectionConfig < TencentCloud::Common::AbstractModel
3389
+ # @param Mysql: Mysql数据源连接的属性
3390
+ # 注意:此字段可能返回 null,表示取不到有效值。
3391
+ # @type Mysql: :class:`Tencentcloud::Dlc.v20210125.models.MysqlInfo`
3392
+ # @param Hive: Hive数据源连接的属性
3393
+ # 注意:此字段可能返回 null,表示取不到有效值。
3394
+ # @type Hive: :class:`Tencentcloud::Dlc.v20210125.models.HiveInfo`
3395
+ # @param Kafka: Kafka数据源连接的属性
3396
+ # 注意:此字段可能返回 null,表示取不到有效值。
3397
+ # @type Kafka: :class:`Tencentcloud::Dlc.v20210125.models.KafkaInfo`
3398
+ # @param OtherDatasourceConnection: 其他数据源连接的属性
3399
+ # 注意:此字段可能返回 null,表示取不到有效值。
3400
+ # @type OtherDatasourceConnection: :class:`Tencentcloud::Dlc.v20210125.models.OtherDatasourceConnection`
3401
+ # @param PostgreSql: PostgreSQL数据源连接的属性
3402
+ # 注意:此字段可能返回 null,表示取不到有效值。
3403
+ # @type PostgreSql: :class:`Tencentcloud::Dlc.v20210125.models.DataSourceInfo`
3404
+ # @param SqlServer: SQLServer数据源连接的属性
3405
+ # 注意:此字段可能返回 null,表示取不到有效值。
3406
+ # @type SqlServer: :class:`Tencentcloud::Dlc.v20210125.models.DataSourceInfo`
3407
+ # @param ClickHouse: ClickHouse数据源连接的属性
3408
+ # 注意:此字段可能返回 null,表示取不到有效值。
3409
+ # @type ClickHouse: :class:`Tencentcloud::Dlc.v20210125.models.DataSourceInfo`
3410
+ # @param Elasticsearch: Elasticsearch数据源连接的属性
3411
+ # 注意:此字段可能返回 null,表示取不到有效值。
3412
+ # @type Elasticsearch: :class:`Tencentcloud::Dlc.v20210125.models.ElasticsearchInfo`
3413
+ # @param TDSQLPostgreSql: TDSQL-PostgreSQL数据源连接的属性
3414
+ # 注意:此字段可能返回 null,表示取不到有效值。
3415
+ # @type TDSQLPostgreSql: :class:`Tencentcloud::Dlc.v20210125.models.DataSourceInfo`
3416
+
3417
+ attr_accessor :Mysql, :Hive, :Kafka, :OtherDatasourceConnection, :PostgreSql, :SqlServer, :ClickHouse, :Elasticsearch, :TDSQLPostgreSql
3418
+
3419
+ def initialize(mysql=nil, hive=nil, kafka=nil, otherdatasourceconnection=nil, postgresql=nil, sqlserver=nil, clickhouse=nil, elasticsearch=nil, tdsqlpostgresql=nil)
3420
+ @Mysql = mysql
3421
+ @Hive = hive
3422
+ @Kafka = kafka
3423
+ @OtherDatasourceConnection = otherdatasourceconnection
3424
+ @PostgreSql = postgresql
3425
+ @SqlServer = sqlserver
3426
+ @ClickHouse = clickhouse
3427
+ @Elasticsearch = elasticsearch
3428
+ @TDSQLPostgreSql = tdsqlpostgresql
3429
+ end
3430
+
3431
+ def deserialize(params)
3432
+ unless params['Mysql'].nil?
3433
+ @Mysql = MysqlInfo.new
3434
+ @Mysql.deserialize(params['Mysql'])
3435
+ end
3436
+ unless params['Hive'].nil?
3437
+ @Hive = HiveInfo.new
3438
+ @Hive.deserialize(params['Hive'])
3439
+ end
3440
+ unless params['Kafka'].nil?
3441
+ @Kafka = KafkaInfo.new
3442
+ @Kafka.deserialize(params['Kafka'])
3443
+ end
3444
+ unless params['OtherDatasourceConnection'].nil?
3445
+ @OtherDatasourceConnection = OtherDatasourceConnection.new
3446
+ @OtherDatasourceConnection.deserialize(params['OtherDatasourceConnection'])
3447
+ end
3448
+ unless params['PostgreSql'].nil?
3449
+ @PostgreSql = DataSourceInfo.new
3450
+ @PostgreSql.deserialize(params['PostgreSql'])
3451
+ end
3452
+ unless params['SqlServer'].nil?
3453
+ @SqlServer = DataSourceInfo.new
3454
+ @SqlServer.deserialize(params['SqlServer'])
3455
+ end
3456
+ unless params['ClickHouse'].nil?
3457
+ @ClickHouse = DataSourceInfo.new
3458
+ @ClickHouse.deserialize(params['ClickHouse'])
3459
+ end
3460
+ unless params['Elasticsearch'].nil?
3461
+ @Elasticsearch = ElasticsearchInfo.new
3462
+ @Elasticsearch.deserialize(params['Elasticsearch'])
3463
+ end
3464
+ unless params['TDSQLPostgreSql'].nil?
3465
+ @TDSQLPostgreSql = DataSourceInfo.new
3466
+ @TDSQLPostgreSql.deserialize(params['TDSQLPostgreSql'])
3467
+ end
3468
+ end
3469
+ end
3470
+
3471
+ # 数据源信息
3472
+ class DatasourceConnectionInfo < TencentCloud::Common::AbstractModel
3473
+ # @param Id: 数据源数字Id
3474
+ # @type Id: Integer
3475
+ # @param DatasourceConnectionId: 数据源字符串Id
3476
+ # @type DatasourceConnectionId: String
3477
+ # @param DatasourceConnectionName: 数据源名称
3478
+ # @type DatasourceConnectionName: String
3479
+ # @param DatasourceConnectionDesc: 数据源描述
3480
+ # @type DatasourceConnectionDesc: String
3481
+ # @param DatasourceConnectionType: 数据源类型,支持DataLakeCatalog、IcebergCatalog、Result、Mysql、HiveCos、HiveHdfs
3482
+ # @type DatasourceConnectionType: String
3483
+ # @param DatasourceConnectionConfig: 数据源属性
3484
+ # 注意:此字段可能返回 null,表示取不到有效值。
3485
+ # @type DatasourceConnectionConfig: :class:`Tencentcloud::Dlc.v20210125.models.DatasourceConnectionConfig`
3486
+ # @param State: 数据源状态:0(初始化)、1(成功)、-1(已删除)、-2(失败)、-3(删除中)
3487
+ # @type State: Integer
3488
+ # @param Region: 地域
3489
+ # @type Region: String
3490
+ # @param AppId: 用户AppId
3491
+ # @type AppId: String
3492
+ # @param CreateTime: 数据源创建时间
3493
+ # @type CreateTime: String
3494
+ # @param UpdateTime: 数据源最近一次更新时间
3495
+ # @type UpdateTime: String
3496
+ # @param Message: 数据源同步失败原因
3497
+ # @type Message: String
3498
+ # @param DataEngines: 数据源绑定的计算引擎信息
3499
+ # 注意:此字段可能返回 null,表示取不到有效值。
3500
+ # @type DataEngines: Array
3501
+ # @param UserAlias: 创建人
3502
+ # 注意:此字段可能返回 null,表示取不到有效值。
3503
+ # @type UserAlias: String
3504
+ # @param NetworkConnectionSet: 网络配置列表
3505
+ # 注意:此字段可能返回 null,表示取不到有效值。
3506
+ # @type NetworkConnectionSet: Array
3507
+ # @param ConnectivityState: 连通性状态:0(未测试,默认)、1(正常)、2(失败)
3508
+ # 注意:此字段可能返回 null,表示取不到有效值。
3509
+ # @type ConnectivityState: Integer
3510
+ # @param ConnectivityTips: 连通性测试提示信息
3511
+ # 注意:此字段可能返回 null,表示取不到有效值。
3512
+ # @type ConnectivityTips: String
3513
+
3514
+ attr_accessor :Id, :DatasourceConnectionId, :DatasourceConnectionName, :DatasourceConnectionDesc, :DatasourceConnectionType, :DatasourceConnectionConfig, :State, :Region, :AppId, :CreateTime, :UpdateTime, :Message, :DataEngines, :UserAlias, :NetworkConnectionSet, :ConnectivityState, :ConnectivityTips
3515
+
3516
+ def initialize(id=nil, datasourceconnectionid=nil, datasourceconnectionname=nil, datasourceconnectiondesc=nil, datasourceconnectiontype=nil, datasourceconnectionconfig=nil, state=nil, region=nil, appid=nil, createtime=nil, updatetime=nil, message=nil, dataengines=nil, useralias=nil, networkconnectionset=nil, connectivitystate=nil, connectivitytips=nil)
3517
+ @Id = id
3518
+ @DatasourceConnectionId = datasourceconnectionid
3519
+ @DatasourceConnectionName = datasourceconnectionname
3520
+ @DatasourceConnectionDesc = datasourceconnectiondesc
3521
+ @DatasourceConnectionType = datasourceconnectiontype
3522
+ @DatasourceConnectionConfig = datasourceconnectionconfig
3523
+ @State = state
3524
+ @Region = region
3525
+ @AppId = appid
3526
+ @CreateTime = createtime
3527
+ @UpdateTime = updatetime
3528
+ @Message = message
3529
+ @DataEngines = dataengines
3530
+ @UserAlias = useralias
3531
+ @NetworkConnectionSet = networkconnectionset
3532
+ @ConnectivityState = connectivitystate
3533
+ @ConnectivityTips = connectivitytips
3534
+ end
3535
+
3536
+ def deserialize(params)
3537
+ @Id = params['Id']
3538
+ @DatasourceConnectionId = params['DatasourceConnectionId']
3539
+ @DatasourceConnectionName = params['DatasourceConnectionName']
3540
+ @DatasourceConnectionDesc = params['DatasourceConnectionDesc']
3541
+ @DatasourceConnectionType = params['DatasourceConnectionType']
3542
+ unless params['DatasourceConnectionConfig'].nil?
3543
+ @DatasourceConnectionConfig = DatasourceConnectionConfig.new
3544
+ @DatasourceConnectionConfig.deserialize(params['DatasourceConnectionConfig'])
3545
+ end
3546
+ @State = params['State']
3547
+ @Region = params['Region']
3548
+ @AppId = params['AppId']
3549
+ @CreateTime = params['CreateTime']
3550
+ @UpdateTime = params['UpdateTime']
3551
+ @Message = params['Message']
3552
+ unless params['DataEngines'].nil?
3553
+ @DataEngines = []
3554
+ params['DataEngines'].each do |i|
3555
+ dataengineinfo_tmp = DataEngineInfo.new
3556
+ dataengineinfo_tmp.deserialize(i)
3557
+ @DataEngines << dataengineinfo_tmp
3558
+ end
3559
+ end
3560
+ @UserAlias = params['UserAlias']
3561
+ unless params['NetworkConnectionSet'].nil?
3562
+ @NetworkConnectionSet = []
3563
+ params['NetworkConnectionSet'].each do |i|
3564
+ networkconnection_tmp = NetworkConnection.new
3565
+ networkconnection_tmp.deserialize(i)
3566
+ @NetworkConnectionSet << networkconnection_tmp
3567
+ end
3568
+ end
3569
+ @ConnectivityState = params['ConnectivityState']
3570
+ @ConnectivityTips = params['ConnectivityTips']
3571
+ end
3572
+ end
3573
+
3574
+ # 数据源连接的网络信息
3575
+ class DatasourceConnectionLocation < TencentCloud::Common::AbstractModel
3576
+ # @param VpcId: 数据连接所在Vpc实例Id,如“vpc-azd4dt1c”。
3577
+ # @type VpcId: String
3578
+ # @param VpcCidrBlock: Vpc的IPv4 CIDR
3579
+ # @type VpcCidrBlock: String
3580
+ # @param SubnetId: 数据连接所在子网的实例Id,如“subnet-bthucmmy”
3581
+ # @type SubnetId: String
3582
+ # @param SubnetCidrBlock: Subnet的IPv4 CIDR
3583
+ # @type SubnetCidrBlock: String
3584
+
3585
+ attr_accessor :VpcId, :VpcCidrBlock, :SubnetId, :SubnetCidrBlock
3586
+
3587
+ def initialize(vpcid=nil, vpccidrblock=nil, subnetid=nil, subnetcidrblock=nil)
3588
+ @VpcId = vpcid
3589
+ @VpcCidrBlock = vpccidrblock
3590
+ @SubnetId = subnetid
3591
+ @SubnetCidrBlock = subnetcidrblock
3592
+ end
3593
+
3594
+ def deserialize(params)
3595
+ @VpcId = params['VpcId']
3596
+ @VpcCidrBlock = params['VpcCidrBlock']
3597
+ @SubnetId = params['SubnetId']
3598
+ @SubnetCidrBlock = params['SubnetCidrBlock']
3599
+ end
3600
+ end
3601
+
3337
3602
  # DeleteNotebookSession请求参数结构体
3338
3603
  class DeleteNotebookSessionRequest < TencentCloud::Common::AbstractModel
3339
3604
  # @param SessionId: Session唯一标识
@@ -4120,6 +4385,97 @@ module TencentCloud
4120
4385
  end
4121
4386
  end
4122
4387
 
4388
+ # DescribeDatasourceConnection请求参数结构体
4389
+ class DescribeDatasourceConnectionRequest < TencentCloud::Common::AbstractModel
4390
+ # @param DatasourceConnectionIds: 连接ID列表,指定要查询的连接ID
4391
+ # @type DatasourceConnectionIds: Array
4392
+ # @param Filters: 过滤条件,当前支持的过滤键为:DatasourceConnectionName(数据源连接名)。
4393
+ # DatasourceConnectionType (数据源连接连接类型)
4394
+ # @type Filters: Array
4395
+ # @param Offset: 偏移量,默认为0
4396
+ # @type Offset: Integer
4397
+ # @param Limit: 返回数量,默认20,最大值100
4398
+ # @type Limit: Integer
4399
+ # @param SortBy: 排序字段,支持如下字段类型,create-time(默认,创建时间)、update-time(更新时间)
4400
+ # @type SortBy: String
4401
+ # @param Sorting: 排序方式,desc表示正序,asc表示反序, 默认为desc
4402
+ # @type Sorting: String
4403
+ # @param StartTime: 筛选字段:起始时间
4404
+ # @type StartTime: String
4405
+ # @param EndTime: 筛选字段:截止时间
4406
+ # @type EndTime: String
4407
+ # @param DatasourceConnectionNames: 连接名称列表,指定要查询的连接名称
4408
+ # @type DatasourceConnectionNames: Array
4409
+ # @param DatasourceConnectionTypes: 连接类型,支持Mysql/HiveCos/Kafka/DataLakeCatalog
4410
+ # @type DatasourceConnectionTypes: Array
4411
+
4412
+ attr_accessor :DatasourceConnectionIds, :Filters, :Offset, :Limit, :SortBy, :Sorting, :StartTime, :EndTime, :DatasourceConnectionNames, :DatasourceConnectionTypes
4413
+
4414
+ def initialize(datasourceconnectionids=nil, filters=nil, offset=nil, limit=nil, sortby=nil, sorting=nil, starttime=nil, endtime=nil, datasourceconnectionnames=nil, datasourceconnectiontypes=nil)
4415
+ @DatasourceConnectionIds = datasourceconnectionids
4416
+ @Filters = filters
4417
+ @Offset = offset
4418
+ @Limit = limit
4419
+ @SortBy = sortby
4420
+ @Sorting = sorting
4421
+ @StartTime = starttime
4422
+ @EndTime = endtime
4423
+ @DatasourceConnectionNames = datasourceconnectionnames
4424
+ @DatasourceConnectionTypes = datasourceconnectiontypes
4425
+ end
4426
+
4427
+ def deserialize(params)
4428
+ @DatasourceConnectionIds = params['DatasourceConnectionIds']
4429
+ unless params['Filters'].nil?
4430
+ @Filters = []
4431
+ params['Filters'].each do |i|
4432
+ filter_tmp = Filter.new
4433
+ filter_tmp.deserialize(i)
4434
+ @Filters << filter_tmp
4435
+ end
4436
+ end
4437
+ @Offset = params['Offset']
4438
+ @Limit = params['Limit']
4439
+ @SortBy = params['SortBy']
4440
+ @Sorting = params['Sorting']
4441
+ @StartTime = params['StartTime']
4442
+ @EndTime = params['EndTime']
4443
+ @DatasourceConnectionNames = params['DatasourceConnectionNames']
4444
+ @DatasourceConnectionTypes = params['DatasourceConnectionTypes']
4445
+ end
4446
+ end
4447
+
4448
+ # DescribeDatasourceConnection返回参数结构体
4449
+ class DescribeDatasourceConnectionResponse < TencentCloud::Common::AbstractModel
4450
+ # @param TotalCount: 数据连接总数
4451
+ # @type TotalCount: Integer
4452
+ # @param ConnectionSet: 数据连接对象集合
4453
+ # @type ConnectionSet: Array
4454
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4455
+ # @type RequestId: String
4456
+
4457
+ attr_accessor :TotalCount, :ConnectionSet, :RequestId
4458
+
4459
+ def initialize(totalcount=nil, connectionset=nil, requestid=nil)
4460
+ @TotalCount = totalcount
4461
+ @ConnectionSet = connectionset
4462
+ @RequestId = requestid
4463
+ end
4464
+
4465
+ def deserialize(params)
4466
+ @TotalCount = params['TotalCount']
4467
+ unless params['ConnectionSet'].nil?
4468
+ @ConnectionSet = []
4469
+ params['ConnectionSet'].each do |i|
4470
+ datasourceconnectioninfo_tmp = DatasourceConnectionInfo.new
4471
+ datasourceconnectioninfo_tmp.deserialize(i)
4472
+ @ConnectionSet << datasourceconnectioninfo_tmp
4473
+ end
4474
+ end
4475
+ @RequestId = params['RequestId']
4476
+ end
4477
+ end
4478
+
4123
4479
  # DescribeEngineUsageInfo请求参数结构体
4124
4480
  class DescribeEngineUsageInfoRequest < TencentCloud::Common::AbstractModel
4125
4481
  # @param DataEngineId: 数据引擎ID
@@ -5815,6 +6171,63 @@ module TencentCloud
5815
6171
  end
5816
6172
  end
5817
6173
 
6174
+ # Elasticsearch数据源的详细信息
6175
+ class ElasticsearchInfo < TencentCloud::Common::AbstractModel
6176
+ # @param InstanceId: 数据源ID
6177
+ # 注意:此字段可能返回 null,表示取不到有效值。
6178
+ # @type InstanceId: String
6179
+ # @param InstanceName: 数据源名称
6180
+ # 注意:此字段可能返回 null,表示取不到有效值。
6181
+ # @type InstanceName: String
6182
+ # @param User: 用户名
6183
+ # 注意:此字段可能返回 null,表示取不到有效值。
6184
+ # @type User: String
6185
+ # @param Password: 密码,需要base64编码
6186
+ # 注意:此字段可能返回 null,表示取不到有效值。
6187
+ # @type Password: String
6188
+ # @param Location: 数据源的VPC和子网信息
6189
+ # 注意:此字段可能返回 null,表示取不到有效值。
6190
+ # @type Location: :class:`Tencentcloud::Dlc.v20210125.models.DatasourceConnectionLocation`
6191
+ # @param DbName: 默认数据库名称
6192
+ # 注意:此字段可能返回 null,表示取不到有效值。
6193
+ # @type DbName: String
6194
+ # @param ServiceInfo: 访问Elasticsearch的ip、端口信息
6195
+ # 注意:此字段可能返回 null,表示取不到有效值。
6196
+ # @type ServiceInfo: Array
6197
+
6198
+ attr_accessor :InstanceId, :InstanceName, :User, :Password, :Location, :DbName, :ServiceInfo
6199
+
6200
+ def initialize(instanceid=nil, instancename=nil, user=nil, password=nil, location=nil, dbname=nil, serviceinfo=nil)
6201
+ @InstanceId = instanceid
6202
+ @InstanceName = instancename
6203
+ @User = user
6204
+ @Password = password
6205
+ @Location = location
6206
+ @DbName = dbname
6207
+ @ServiceInfo = serviceinfo
6208
+ end
6209
+
6210
+ def deserialize(params)
6211
+ @InstanceId = params['InstanceId']
6212
+ @InstanceName = params['InstanceName']
6213
+ @User = params['User']
6214
+ @Password = params['Password']
6215
+ unless params['Location'].nil?
6216
+ @Location = DatasourceConnectionLocation.new
6217
+ @Location.deserialize(params['Location'])
6218
+ end
6219
+ @DbName = params['DbName']
6220
+ unless params['ServiceInfo'].nil?
6221
+ @ServiceInfo = []
6222
+ params['ServiceInfo'].each do |i|
6223
+ ipportpair_tmp = IpPortPair.new
6224
+ ipportpair_tmp.deserialize(i)
6225
+ @ServiceInfo << ipportpair_tmp
6226
+ end
6227
+ end
6228
+ end
6229
+ end
6230
+
5818
6231
  # SQL语句对象
5819
6232
  class Execution < TencentCloud::Common::AbstractModel
5820
6233
  # @param SQL: 自动生成SQL语句。
@@ -5930,6 +6343,107 @@ module TencentCloud
5930
6343
  end
5931
6344
  end
5932
6345
 
6346
+ # hive类型数据源的信息
6347
+ class HiveInfo < TencentCloud::Common::AbstractModel
6348
+ # @param MetaStoreUrl: hive metastore的地址
6349
+ # @type MetaStoreUrl: String
6350
+ # @param Type: hive数据源类型,代表数据储存的位置,COS或者HDFS
6351
+ # @type Type: String
6352
+ # @param Location: 数据源所在的私有网络信息
6353
+ # @type Location: :class:`Tencentcloud::Dlc.v20210125.models.DatasourceConnectionLocation`
6354
+ # @param User: 如果类型为HDFS,需要传一个用户名
6355
+ # @type User: String
6356
+ # @param HighAvailability: 如果类型为HDFS,需要选择是否高可用
6357
+ # @type HighAvailability: Boolean
6358
+ # @param BucketUrl: 如果类型为COS,需要填写COS桶连接
6359
+ # @type BucketUrl: String
6360
+ # @param HdfsProperties: json字符串。如果类型为HDFS,需要填写该字段
6361
+ # @type HdfsProperties: String
6362
+ # @param Mysql: Hive的元数据库信息
6363
+ # 注意:此字段可能返回 null,表示取不到有效值。
6364
+ # @type Mysql: :class:`Tencentcloud::Dlc.v20210125.models.MysqlInfo`
6365
+ # @param InstanceId: emr集群Id
6366
+ # 注意:此字段可能返回 null,表示取不到有效值。
6367
+ # @type InstanceId: String
6368
+ # @param InstanceName: emr集群名称
6369
+ # 注意:此字段可能返回 null,表示取不到有效值。
6370
+ # @type InstanceName: String
6371
+ # @param HiveVersion: EMR集群中hive组件的版本号
6372
+ # 注意:此字段可能返回 null,表示取不到有效值。
6373
+ # @type HiveVersion: String
6374
+ # @param KerberosInfo: Kerberos详细信息
6375
+ # 注意:此字段可能返回 null,表示取不到有效值。
6376
+ # @type KerberosInfo: :class:`Tencentcloud::Dlc.v20210125.models.KerberosInfo`
6377
+ # @param KerberosEnable: 是否开启Kerberos
6378
+ # 注意:此字段可能返回 null,表示取不到有效值。
6379
+ # @type KerberosEnable: Boolean
6380
+
6381
+ attr_accessor :MetaStoreUrl, :Type, :Location, :User, :HighAvailability, :BucketUrl, :HdfsProperties, :Mysql, :InstanceId, :InstanceName, :HiveVersion, :KerberosInfo, :KerberosEnable
6382
+
6383
+ def initialize(metastoreurl=nil, type=nil, location=nil, user=nil, highavailability=nil, bucketurl=nil, hdfsproperties=nil, mysql=nil, instanceid=nil, instancename=nil, hiveversion=nil, kerberosinfo=nil, kerberosenable=nil)
6384
+ @MetaStoreUrl = metastoreurl
6385
+ @Type = type
6386
+ @Location = location
6387
+ @User = user
6388
+ @HighAvailability = highavailability
6389
+ @BucketUrl = bucketurl
6390
+ @HdfsProperties = hdfsproperties
6391
+ @Mysql = mysql
6392
+ @InstanceId = instanceid
6393
+ @InstanceName = instancename
6394
+ @HiveVersion = hiveversion
6395
+ @KerberosInfo = kerberosinfo
6396
+ @KerberosEnable = kerberosenable
6397
+ end
6398
+
6399
+ def deserialize(params)
6400
+ @MetaStoreUrl = params['MetaStoreUrl']
6401
+ @Type = params['Type']
6402
+ unless params['Location'].nil?
6403
+ @Location = DatasourceConnectionLocation.new
6404
+ @Location.deserialize(params['Location'])
6405
+ end
6406
+ @User = params['User']
6407
+ @HighAvailability = params['HighAvailability']
6408
+ @BucketUrl = params['BucketUrl']
6409
+ @HdfsProperties = params['HdfsProperties']
6410
+ unless params['Mysql'].nil?
6411
+ @Mysql = MysqlInfo.new
6412
+ @Mysql.deserialize(params['Mysql'])
6413
+ end
6414
+ @InstanceId = params['InstanceId']
6415
+ @InstanceName = params['InstanceName']
6416
+ @HiveVersion = params['HiveVersion']
6417
+ unless params['KerberosInfo'].nil?
6418
+ @KerberosInfo = KerberosInfo.new
6419
+ @KerberosInfo.deserialize(params['KerberosInfo'])
6420
+ end
6421
+ @KerberosEnable = params['KerberosEnable']
6422
+ end
6423
+ end
6424
+
6425
+ # ip端口对信息
6426
+ class IpPortPair < TencentCloud::Common::AbstractModel
6427
+ # @param Ip: ip信息
6428
+ # 注意:此字段可能返回 null,表示取不到有效值。
6429
+ # @type Ip: String
6430
+ # @param Port: 端口信息
6431
+ # 注意:此字段可能返回 null,表示取不到有效值。
6432
+ # @type Port: Integer
6433
+
6434
+ attr_accessor :Ip, :Port
6435
+
6436
+ def initialize(ip=nil, port=nil)
6437
+ @Ip = ip
6438
+ @Port = port
6439
+ end
6440
+
6441
+ def deserialize(params)
6442
+ @Ip = params['Ip']
6443
+ @Port = params['Port']
6444
+ end
6445
+ end
6446
+
5933
6447
  # 日志详情
5934
6448
  class JobLogResult < TencentCloud::Common::AbstractModel
5935
6449
  # @param Time: 日志时间戳,毫秒
@@ -5989,6 +6503,53 @@ module TencentCloud
5989
6503
  end
5990
6504
  end
5991
6505
 
6506
+ # Kafka连接信息
6507
+ class KafkaInfo < TencentCloud::Common::AbstractModel
6508
+ # @param InstanceId: kakfa实例Id
6509
+ # @type InstanceId: String
6510
+ # @param Location: kakfa数据源的网络信息
6511
+ # @type Location: :class:`Tencentcloud::Dlc.v20210125.models.DatasourceConnectionLocation`
6512
+
6513
+ attr_accessor :InstanceId, :Location
6514
+
6515
+ def initialize(instanceid=nil, location=nil)
6516
+ @InstanceId = instanceid
6517
+ @Location = location
6518
+ end
6519
+
6520
+ def deserialize(params)
6521
+ @InstanceId = params['InstanceId']
6522
+ unless params['Location'].nil?
6523
+ @Location = DatasourceConnectionLocation.new
6524
+ @Location.deserialize(params['Location'])
6525
+ end
6526
+ end
6527
+ end
6528
+
6529
+ # Kerberos详细信息
6530
+ class KerberosInfo < TencentCloud::Common::AbstractModel
6531
+ # @param Krb5Conf: Krb5Conf文件值
6532
+ # @type Krb5Conf: String
6533
+ # @param KeyTab: KeyTab文件值
6534
+ # @type KeyTab: String
6535
+ # @param ServicePrincipal: 服务主体
6536
+ # @type ServicePrincipal: String
6537
+
6538
+ attr_accessor :Krb5Conf, :KeyTab, :ServicePrincipal
6539
+
6540
+ def initialize(krb5conf=nil, keytab=nil, serviceprincipal=nil)
6541
+ @Krb5Conf = krb5conf
6542
+ @KeyTab = keytab
6543
+ @ServicePrincipal = serviceprincipal
6544
+ end
6545
+
6546
+ def deserialize(params)
6547
+ @Krb5Conf = params['Krb5Conf']
6548
+ @KeyTab = params['KeyTab']
6549
+ @ServicePrincipal = params['ServicePrincipal']
6550
+ end
6551
+ end
6552
+
5992
6553
  # ListTaskJobLogDetail请求参数结构体
5993
6554
  class ListTaskJobLogDetailRequest < TencentCloud::Common::AbstractModel
5994
6555
  # @param TaskId: 列表返回的Id
@@ -6493,6 +7054,51 @@ module TencentCloud
6493
7054
  end
6494
7055
  end
6495
7056
 
7057
+ # Mysql类型数据源信息
7058
+ class MysqlInfo < TencentCloud::Common::AbstractModel
7059
+ # @param JdbcUrl: 连接mysql的jdbc url
7060
+ # @type JdbcUrl: String
7061
+ # @param User: 用户名
7062
+ # @type User: String
7063
+ # @param Password: mysql密码
7064
+ # @type Password: String
7065
+ # @param Location: mysql数据源的网络信息
7066
+ # @type Location: :class:`Tencentcloud::Dlc.v20210125.models.DatasourceConnectionLocation`
7067
+ # @param DbName: 数据库名称
7068
+ # @type DbName: String
7069
+ # @param InstanceId: 数据库实例ID,和数据库侧保持一致
7070
+ # 注意:此字段可能返回 null,表示取不到有效值。
7071
+ # @type InstanceId: String
7072
+ # @param InstanceName: 数据库实例名称,和数据库侧保持一致
7073
+ # 注意:此字段可能返回 null,表示取不到有效值。
7074
+ # @type InstanceName: String
7075
+
7076
+ attr_accessor :JdbcUrl, :User, :Password, :Location, :DbName, :InstanceId, :InstanceName
7077
+
7078
+ def initialize(jdbcurl=nil, user=nil, password=nil, location=nil, dbname=nil, instanceid=nil, instancename=nil)
7079
+ @JdbcUrl = jdbcurl
7080
+ @User = user
7081
+ @Password = password
7082
+ @Location = location
7083
+ @DbName = dbname
7084
+ @InstanceId = instanceid
7085
+ @InstanceName = instancename
7086
+ end
7087
+
7088
+ def deserialize(params)
7089
+ @JdbcUrl = params['JdbcUrl']
7090
+ @User = params['User']
7091
+ @Password = params['Password']
7092
+ unless params['Location'].nil?
7093
+ @Location = DatasourceConnectionLocation.new
7094
+ @Location.deserialize(params['Location'])
7095
+ end
7096
+ @DbName = params['DbName']
7097
+ @InstanceId = params['InstanceId']
7098
+ @InstanceName = params['InstanceName']
7099
+ end
7100
+ end
7101
+
6496
7102
  # 网络配置
6497
7103
  class NetworkConnection < TencentCloud::Common::AbstractModel
6498
7104
  # @param Id: 网络配置id
@@ -6888,6 +7494,25 @@ module TencentCloud
6888
7494
  end
6889
7495
  end
6890
7496
 
7497
+ # 其他数据源
7498
+ class OtherDatasourceConnection < TencentCloud::Common::AbstractModel
7499
+ # @param Location: 网络参数
7500
+ # @type Location: :class:`Tencentcloud::Dlc.v20210125.models.DatasourceConnectionLocation`
7501
+
7502
+ attr_accessor :Location
7503
+
7504
+ def initialize(location=nil)
7505
+ @Location = location
7506
+ end
7507
+
7508
+ def deserialize(params)
7509
+ unless params['Location'].nil?
7510
+ @Location = DatasourceConnectionLocation.new
7511
+ @Location.deserialize(params['Location'])
7512
+ end
7513
+ end
7514
+ end
7515
+
6891
7516
  # 数据表分块信息。
6892
7517
  class Partition < TencentCloud::Common::AbstractModel
6893
7518
  # @param Name: 分区列名。
@@ -7061,6 +7686,66 @@ module TencentCloud
7061
7686
  end
7062
7687
  end
7063
7688
 
7689
+ # QueryResult请求参数结构体
7690
+ class QueryResultRequest < TencentCloud::Common::AbstractModel
7691
+ # @param TaskId: 任务ID
7692
+ # @type TaskId: String
7693
+ # @param NextToken: lastReadFile为上一次读取的文件,lastReadOffset为上一次读取到的位置
7694
+ # @type NextToken: String
7695
+
7696
+ attr_accessor :TaskId, :NextToken
7697
+
7698
+ def initialize(taskid=nil, nexttoken=nil)
7699
+ @TaskId = taskid
7700
+ @NextToken = nexttoken
7701
+ end
7702
+
7703
+ def deserialize(params)
7704
+ @TaskId = params['TaskId']
7705
+ @NextToken = params['NextToken']
7706
+ end
7707
+ end
7708
+
7709
+ # QueryResult返回参数结构体
7710
+ class QueryResultResponse < TencentCloud::Common::AbstractModel
7711
+ # @param TaskId: 任务Id
7712
+ # @type TaskId: String
7713
+ # @param ResultSet: 结果数据
7714
+ # @type ResultSet: String
7715
+ # @param ResultSchema: schema
7716
+ # @type ResultSchema: Array
7717
+ # @param NextToken: 分页信息
7718
+ # 注意:此字段可能返回 null,表示取不到有效值。
7719
+ # @type NextToken: String
7720
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7721
+ # @type RequestId: String
7722
+
7723
+ attr_accessor :TaskId, :ResultSet, :ResultSchema, :NextToken, :RequestId
7724
+
7725
+ def initialize(taskid=nil, resultset=nil, resultschema=nil, nexttoken=nil, requestid=nil)
7726
+ @TaskId = taskid
7727
+ @ResultSet = resultset
7728
+ @ResultSchema = resultschema
7729
+ @NextToken = nexttoken
7730
+ @RequestId = requestid
7731
+ end
7732
+
7733
+ def deserialize(params)
7734
+ @TaskId = params['TaskId']
7735
+ @ResultSet = params['ResultSet']
7736
+ unless params['ResultSchema'].nil?
7737
+ @ResultSchema = []
7738
+ params['ResultSchema'].each do |i|
7739
+ column_tmp = Column.new
7740
+ column_tmp.deserialize(i)
7741
+ @ResultSchema << column_tmp
7742
+ end
7743
+ end
7744
+ @NextToken = params['NextToken']
7745
+ @RequestId = params['RequestId']
7746
+ end
7747
+ end
7748
+
7064
7749
  # ReportHeartbeatMetaData请求参数结构体
7065
7750
  class ReportHeartbeatMetaDataRequest < TencentCloud::Common::AbstractModel
7066
7751
  # @param DatasourceConnectionName: 数据源名称
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dlc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.659
4
+ version: 3.0.661
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-09-14 00:00:00.000000000 Z
11
+ date: 2023-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common