tencentcloud-sdk-wedata 3.0.688 → 3.0.689

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: 7918ce152cc485cf10705b3d742bc12d559a653f
4
- data.tar.gz: 8f73d2cba50b2ff247b89c2ffdde39942ff29c5b
3
+ metadata.gz: a89e455ad776215c1a305b203668d54adb847d9b
4
+ data.tar.gz: 6d6250c42917a02ee9382094cf4944b99918f327
5
5
  SHA512:
6
- metadata.gz: 1f2d1327e074d33ca2a867726d59db2b865a5617f96bea95fd6a53d30d84bb025159208f8645ad815de7933156e7e3f9235b89966b00c8691ca3d7514abe96e0
7
- data.tar.gz: b7ad89b637188ba34c04f6c18b40250bc7c68d143896ca7e4d09af75052af609534fd8a854701f97003a7376db59744fa2e8aa296c1c2e217b1077fef0b588c3
6
+ metadata.gz: 02ff265ecc071a3e2107f93fb9ec79aaf99db1cae8271c7f437b9c7901b3c554ee84ef44dab873f31411240298b97919058e1c4f7374b2049b48085d93eb5b55
7
+ data.tar.gz: e5e6bcee1651bc82bc72fa96259790559a5aa5f0b4f55ea8a4309a4204e47a835d9c54ae265e513a5e2142927cd0d90e6a76f7424ea9094617df4c940bd23efb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.688
1
+ 3.0.689
@@ -2321,6 +2321,30 @@ module TencentCloud
2321
2321
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2322
2322
  end
2323
2323
 
2324
+ # 查询数据库列表
2325
+
2326
+ # @param request: Request instance for DescribeDatabaseMetas.
2327
+ # @type request: :class:`Tencentcloud::wedata::V20210820::DescribeDatabaseMetasRequest`
2328
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeDatabaseMetasResponse`
2329
+ def DescribeDatabaseMetas(request)
2330
+ body = send_request('DescribeDatabaseMetas', request.serialize)
2331
+ response = JSON.parse(body)
2332
+ if response['Response'].key?('Error') == false
2333
+ model = DescribeDatabaseMetasResponse.new
2334
+ model.deserialize(response['Response'])
2335
+ model
2336
+ else
2337
+ code = response['Response']['Error']['Code']
2338
+ message = response['Response']['Error']['Message']
2339
+ reqid = response['Response']['RequestId']
2340
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2341
+ end
2342
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2343
+ raise e
2344
+ rescue StandardError => e
2345
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2346
+ end
2347
+
2324
2348
  # <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
2325
2349
  # 数据源详情
2326
2350
 
@@ -2301,8 +2301,8 @@ module TencentCloud
2301
2301
 
2302
2302
  attr_accessor :ProjectId, :AlarmRegularName, :TaskId, :Id, :TaskType
2303
2303
  extend Gem::Deprecate
2304
- deprecate :TaskId, :none, 2023, 10
2305
- deprecate :TaskId=, :none, 2023, 10
2304
+ deprecate :TaskId, :none, 2023, 11
2305
+ deprecate :TaskId=, :none, 2023, 11
2306
2306
 
2307
2307
  def initialize(projectid=nil, alarmregularname=nil, taskid=nil, id=nil, tasktype=nil)
2308
2308
  @ProjectId = projectid
@@ -5299,6 +5299,113 @@ module TencentCloud
5299
5299
  end
5300
5300
  end
5301
5301
 
5302
+ # 数据源元数据
5303
+ class DatabaseMeta < TencentCloud::Common::AbstractModel
5304
+ # @param ProjectId: 项目Id
5305
+ # 注意:此字段可能返回 null,表示取不到有效值。
5306
+ # @type ProjectId: String
5307
+ # @param MetastoreType: 技术类型
5308
+ # 注意:此字段可能返回 null,表示取不到有效值。
5309
+ # @type MetastoreType: String
5310
+ # @param DatasourceName: 数据源名称
5311
+ # 注意:此字段可能返回 null,表示取不到有效值。
5312
+ # @type DatasourceName: String
5313
+ # @param DatasourceId: 数据源Id
5314
+ # 注意:此字段可能返回 null,表示取不到有效值。
5315
+ # @type DatasourceId: Integer
5316
+ # @param ProjectName: 项目英文名
5317
+ # 注意:此字段可能返回 null,表示取不到有效值。
5318
+ # @type ProjectName: String
5319
+ # @param Category: 数据源类别:绑定引擎、绑定数据库,可用值:DB,ENGINE
5320
+ # 注意:此字段可能返回 null,表示取不到有效值。
5321
+ # @type Category: String
5322
+ # @param Description: 数据源描述信息
5323
+ # 注意:此字段可能返回 null,表示取不到有效值。
5324
+ # @type Description: String
5325
+ # @param Instance: 数据源引擎的实例ID,如CDB实例ID
5326
+ # 注意:此字段可能返回 null,表示取不到有效值。
5327
+ # @type Instance: String
5328
+ # @param Region: 数据源引擎所属区域
5329
+ # 注意:此字段可能返回 null,表示取不到有效值。
5330
+ # @type Region: String
5331
+ # @param Status: 数据源数据源的可见性,1为可见、0为不可见。默认为1
5332
+ # 注意:此字段可能返回 null,表示取不到有效值。
5333
+ # @type Status: Integer
5334
+ # @param DatabaseName: db名称
5335
+ # 注意:此字段可能返回 null,表示取不到有效值。
5336
+ # @type DatabaseName: String
5337
+ # @param ProjectDisplayName: 项目中文名
5338
+ # 注意:此字段可能返回 null,表示取不到有效值。
5339
+ # @type ProjectDisplayName: String
5340
+ # @param OwnerAccountName: 责任人名称
5341
+ # 注意:此字段可能返回 null,表示取不到有效值。
5342
+ # @type OwnerAccountName: String
5343
+ # @param DisplayName: 数据来源展示名称
5344
+ # 注意:此字段可能返回 null,表示取不到有效值。
5345
+ # @type DisplayName: String
5346
+ # @param DatabaseId: 数据库ID
5347
+ # 注意:此字段可能返回 null,表示取不到有效值。
5348
+ # @type DatabaseId: String
5349
+ # @param Catalog: 数据来源类型:hive/mysql/hbase等
5350
+ # 注意:此字段可能返回 null,表示取不到有效值。
5351
+ # @type Catalog: String
5352
+ # @param StorageSize: 存储量大小,单位为 byte
5353
+ # 注意:此字段可能返回 null,表示取不到有效值。
5354
+ # @type StorageSize: Integer
5355
+ # @param StorageSizeWithUnit: 格式化后的存储量大小,带单位,如 12B
5356
+ # 注意:此字段可能返回 null,表示取不到有效值。
5357
+ # @type StorageSizeWithUnit: String
5358
+ # @param CreateTime: 创建时间
5359
+ # 注意:此字段可能返回 null,表示取不到有效值。
5360
+ # @type CreateTime: String
5361
+
5362
+ attr_accessor :ProjectId, :MetastoreType, :DatasourceName, :DatasourceId, :ProjectName, :Category, :Description, :Instance, :Region, :Status, :DatabaseName, :ProjectDisplayName, :OwnerAccountName, :DisplayName, :DatabaseId, :Catalog, :StorageSize, :StorageSizeWithUnit, :CreateTime
5363
+
5364
+ def initialize(projectid=nil, metastoretype=nil, datasourcename=nil, datasourceid=nil, projectname=nil, category=nil, description=nil, instance=nil, region=nil, status=nil, databasename=nil, projectdisplayname=nil, owneraccountname=nil, displayname=nil, databaseid=nil, catalog=nil, storagesize=nil, storagesizewithunit=nil, createtime=nil)
5365
+ @ProjectId = projectid
5366
+ @MetastoreType = metastoretype
5367
+ @DatasourceName = datasourcename
5368
+ @DatasourceId = datasourceid
5369
+ @ProjectName = projectname
5370
+ @Category = category
5371
+ @Description = description
5372
+ @Instance = instance
5373
+ @Region = region
5374
+ @Status = status
5375
+ @DatabaseName = databasename
5376
+ @ProjectDisplayName = projectdisplayname
5377
+ @OwnerAccountName = owneraccountname
5378
+ @DisplayName = displayname
5379
+ @DatabaseId = databaseid
5380
+ @Catalog = catalog
5381
+ @StorageSize = storagesize
5382
+ @StorageSizeWithUnit = storagesizewithunit
5383
+ @CreateTime = createtime
5384
+ end
5385
+
5386
+ def deserialize(params)
5387
+ @ProjectId = params['ProjectId']
5388
+ @MetastoreType = params['MetastoreType']
5389
+ @DatasourceName = params['DatasourceName']
5390
+ @DatasourceId = params['DatasourceId']
5391
+ @ProjectName = params['ProjectName']
5392
+ @Category = params['Category']
5393
+ @Description = params['Description']
5394
+ @Instance = params['Instance']
5395
+ @Region = params['Region']
5396
+ @Status = params['Status']
5397
+ @DatabaseName = params['DatabaseName']
5398
+ @ProjectDisplayName = params['ProjectDisplayName']
5399
+ @OwnerAccountName = params['OwnerAccountName']
5400
+ @DisplayName = params['DisplayName']
5401
+ @DatabaseId = params['DatabaseId']
5402
+ @Catalog = params['Catalog']
5403
+ @StorageSize = params['StorageSize']
5404
+ @StorageSizeWithUnit = params['StorageSizeWithUnit']
5405
+ @CreateTime = params['CreateTime']
5406
+ end
5407
+ end
5408
+
5302
5409
  # 数据源对象
5303
5410
  class DatasourceBaseInfo < TencentCloud::Common::AbstractModel
5304
5411
  # @param DatabaseNames: 若数据源列表为绑定数据库,则为db名称
@@ -8003,6 +8110,68 @@ module TencentCloud
8003
8110
  end
8004
8111
  end
8005
8112
 
8113
+ # DescribeDatabaseMetas请求参数结构体
8114
+ class DescribeDatabaseMetasRequest < TencentCloud::Common::AbstractModel
8115
+ # @param Filters: 过滤字段,projectIds/msTypes/createTime/modifiedTime
8116
+ # @type Filters: Array
8117
+ # @param OrderFields: 排序字段,如name
8118
+ # @type OrderFields: Array
8119
+
8120
+ attr_accessor :Filters, :OrderFields
8121
+
8122
+ def initialize(filters=nil, orderfields=nil)
8123
+ @Filters = filters
8124
+ @OrderFields = orderfields
8125
+ end
8126
+
8127
+ def deserialize(params)
8128
+ unless params['Filters'].nil?
8129
+ @Filters = []
8130
+ params['Filters'].each do |i|
8131
+ filter_tmp = Filter.new
8132
+ filter_tmp.deserialize(i)
8133
+ @Filters << filter_tmp
8134
+ end
8135
+ end
8136
+ unless params['OrderFields'].nil?
8137
+ @OrderFields = []
8138
+ params['OrderFields'].each do |i|
8139
+ orderfield_tmp = OrderField.new
8140
+ orderfield_tmp.deserialize(i)
8141
+ @OrderFields << orderfield_tmp
8142
+ end
8143
+ end
8144
+ end
8145
+ end
8146
+
8147
+ # DescribeDatabaseMetas返回参数结构体
8148
+ class DescribeDatabaseMetasResponse < TencentCloud::Common::AbstractModel
8149
+ # @param DatabaseMeta: 无
8150
+ # 注意:此字段可能返回 null,表示取不到有效值。
8151
+ # @type DatabaseMeta: Array
8152
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8153
+ # @type RequestId: String
8154
+
8155
+ attr_accessor :DatabaseMeta, :RequestId
8156
+
8157
+ def initialize(databasemeta=nil, requestid=nil)
8158
+ @DatabaseMeta = databasemeta
8159
+ @RequestId = requestid
8160
+ end
8161
+
8162
+ def deserialize(params)
8163
+ unless params['DatabaseMeta'].nil?
8164
+ @DatabaseMeta = []
8165
+ params['DatabaseMeta'].each do |i|
8166
+ databasemeta_tmp = DatabaseMeta.new
8167
+ databasemeta_tmp.deserialize(i)
8168
+ @DatabaseMeta << databasemeta_tmp
8169
+ end
8170
+ end
8171
+ @RequestId = params['RequestId']
8172
+ end
8173
+ end
8174
+
8006
8175
  # DescribeDatasource请求参数结构体
8007
8176
  class DescribeDatasourceRequest < TencentCloud::Common::AbstractModel
8008
8177
  # @param Id: 对象唯一ID
@@ -16486,8 +16655,8 @@ module TencentCloud
16486
16655
 
16487
16656
  attr_accessor :DimType, :Count, :QualityDim
16488
16657
  extend Gem::Deprecate
16489
- deprecate :DimType, :none, 2023, 10
16490
- deprecate :DimType=, :none, 2023, 10
16658
+ deprecate :DimType, :none, 2023, 11
16659
+ deprecate :DimType=, :none, 2023, 11
16491
16660
 
16492
16661
  def initialize(dimtype=nil, count=nil, qualitydim=nil)
16493
16662
  @DimType = dimtype
@@ -27787,10 +27956,10 @@ module TencentCloud
27787
27956
 
27788
27957
  attr_accessor :SourceObjectDataTypeName, :SourceObjectValue, :ObjectDataTypeName, :ObjectValue, :ObjectType
27789
27958
  extend Gem::Deprecate
27790
- deprecate :SourceObjectDataTypeName, :none, 2023, 10
27791
- deprecate :SourceObjectDataTypeName=, :none, 2023, 10
27792
- deprecate :SourceObjectValue, :none, 2023, 10
27793
- deprecate :SourceObjectValue=, :none, 2023, 10
27959
+ deprecate :SourceObjectDataTypeName, :none, 2023, 11
27960
+ deprecate :SourceObjectDataTypeName=, :none, 2023, 11
27961
+ deprecate :SourceObjectValue, :none, 2023, 11
27962
+ deprecate :SourceObjectValue=, :none, 2023, 11
27794
27963
 
27795
27964
  def initialize(sourceobjectdatatypename=nil, sourceobjectvalue=nil, objectdatatypename=nil, objectvalue=nil, objecttype=nil)
27796
27965
  @SourceObjectDataTypeName = sourceobjectdatatypename
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.688
4
+ version: 3.0.689
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-10-30 00:00:00.000000000 Z
11
+ date: 2023-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common