tencentcloud-sdk-wedata 3.0.456 → 3.0.457
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210820/client.rb +24 -0
- data/lib/v20210820/models.rb +89 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 858148244ecd305243348db3550598edf081d9f7
|
4
|
+
data.tar.gz: 4ca4c881c9168e08828610167b852d7a107e44ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0359bf1db861a1ec7d34462b787570c461282445488bed535325ca83a86953fe196a00d5ab0368475c5ca80af6d6aeaa07850ef6c80fbaf5f497387e2a9c5c6
|
7
|
+
data.tar.gz: 1f8aa9bda6417e7be7d70b7ac0fe2c866239eecc41b354f43f29aa47607a20f441cbe806c7f084c0ea005dbbee1e637d1826b6bfaeab7816081a10e1c0ef19de
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.457
|
data/lib/v20210820/client.rb
CHANGED
@@ -850,6 +850,30 @@ module TencentCloud
|
|
850
850
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
851
851
|
end
|
852
852
|
|
853
|
+
# 文件路径的根目录为 /datastudio/resource,如果要在根目录下创建 aaa 文件夹,FilePath的值应该为 /datastudio/resource,如果根目录下已经创建了 aaa 文件夹,要在 aaa 下创建 bbb 文件夹,FilePath的值应该为 /datastudio/resource/aaa
|
854
|
+
|
855
|
+
# @param request: Request instance for CreateResourcePath.
|
856
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::CreateResourcePathRequest`
|
857
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::CreateResourcePathResponse`
|
858
|
+
def CreateResourcePath(request)
|
859
|
+
body = send_request('CreateResourcePath', request.serialize)
|
860
|
+
response = JSON.parse(body)
|
861
|
+
if response['Response'].key?('Error') == false
|
862
|
+
model = CreateResourcePathResponse.new
|
863
|
+
model.deserialize(response['Response'])
|
864
|
+
model
|
865
|
+
else
|
866
|
+
code = response['Response']['Error']['Code']
|
867
|
+
message = response['Response']['Error']['Message']
|
868
|
+
reqid = response['Response']['RequestId']
|
869
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
870
|
+
end
|
871
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
872
|
+
raise e
|
873
|
+
rescue StandardError => e
|
874
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
875
|
+
end
|
876
|
+
|
853
877
|
# 创建质量规则接口
|
854
878
|
|
855
879
|
# @param request: Request instance for CreateRule.
|
data/lib/v20210820/models.rb
CHANGED
@@ -2404,6 +2404,51 @@ module TencentCloud
|
|
2404
2404
|
end
|
2405
2405
|
end
|
2406
2406
|
|
2407
|
+
# CreateResourcePath请求参数结构体
|
2408
|
+
class CreateResourcePathRequest < TencentCloud::Common::AbstractModel
|
2409
|
+
# @param Name: 文件夹名称,如 aaa
|
2410
|
+
# @type Name: String
|
2411
|
+
# @param FilePath: 文件夹所属父目录,请注意,根目录为 /datastudio/resource
|
2412
|
+
# @type FilePath: String
|
2413
|
+
# @param ProjectId: 项目ID
|
2414
|
+
# @type ProjectId: String
|
2415
|
+
|
2416
|
+
attr_accessor :Name, :FilePath, :ProjectId
|
2417
|
+
|
2418
|
+
def initialize(name=nil, filepath=nil, projectid=nil)
|
2419
|
+
@Name = name
|
2420
|
+
@FilePath = filepath
|
2421
|
+
@ProjectId = projectid
|
2422
|
+
end
|
2423
|
+
|
2424
|
+
def deserialize(params)
|
2425
|
+
@Name = params['Name']
|
2426
|
+
@FilePath = params['FilePath']
|
2427
|
+
@ProjectId = params['ProjectId']
|
2428
|
+
end
|
2429
|
+
end
|
2430
|
+
|
2431
|
+
# CreateResourcePath返回参数结构体
|
2432
|
+
class CreateResourcePathResponse < TencentCloud::Common::AbstractModel
|
2433
|
+
# @param Data: 新建成功
|
2434
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2435
|
+
# @type Data: Boolean
|
2436
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2437
|
+
# @type RequestId: String
|
2438
|
+
|
2439
|
+
attr_accessor :Data, :RequestId
|
2440
|
+
|
2441
|
+
def initialize(data=nil, requestid=nil)
|
2442
|
+
@Data = data
|
2443
|
+
@RequestId = requestid
|
2444
|
+
end
|
2445
|
+
|
2446
|
+
def deserialize(params)
|
2447
|
+
@Data = params['Data']
|
2448
|
+
@RequestId = params['RequestId']
|
2449
|
+
end
|
2450
|
+
end
|
2451
|
+
|
2407
2452
|
# CreateRule请求参数结构体
|
2408
2453
|
class CreateRuleRequest < TencentCloud::Common::AbstractModel
|
2409
2454
|
# @param ProjectId: 项目id
|
@@ -9766,10 +9811,12 @@ module TencentCloud
|
|
9766
9811
|
# @type SinkType: String
|
9767
9812
|
# @param SchemaName: schema名称
|
9768
9813
|
# @type SchemaName: String
|
9814
|
+
# @param SourceFieldInfoList: 上游节点的字段信息
|
9815
|
+
# @type SourceFieldInfoList: Array
|
9769
9816
|
|
9770
|
-
attr_accessor :ProjectId, :SinkDatabase, :Id, :MsType, :DatasourceId, :SourceDatabase, :TableName, :SinkType, :SchemaName
|
9817
|
+
attr_accessor :ProjectId, :SinkDatabase, :Id, :MsType, :DatasourceId, :SourceDatabase, :TableName, :SinkType, :SchemaName, :SourceFieldInfoList
|
9771
9818
|
|
9772
|
-
def initialize(projectid=nil, sinkdatabase=nil, id=nil, mstype=nil, datasourceid=nil, sourcedatabase=nil, tablename=nil, sinktype=nil, schemaname=nil)
|
9819
|
+
def initialize(projectid=nil, sinkdatabase=nil, id=nil, mstype=nil, datasourceid=nil, sourcedatabase=nil, tablename=nil, sinktype=nil, schemaname=nil, sourcefieldinfolist=nil)
|
9773
9820
|
@ProjectId = projectid
|
9774
9821
|
@SinkDatabase = sinkdatabase
|
9775
9822
|
@Id = id
|
@@ -9779,6 +9826,7 @@ module TencentCloud
|
|
9779
9826
|
@TableName = tablename
|
9780
9827
|
@SinkType = sinktype
|
9781
9828
|
@SchemaName = schemaname
|
9829
|
+
@SourceFieldInfoList = sourcefieldinfolist
|
9782
9830
|
end
|
9783
9831
|
|
9784
9832
|
def deserialize(params)
|
@@ -9791,6 +9839,14 @@ module TencentCloud
|
|
9791
9839
|
@TableName = params['TableName']
|
9792
9840
|
@SinkType = params['SinkType']
|
9793
9841
|
@SchemaName = params['SchemaName']
|
9842
|
+
unless params['SourceFieldInfoList'].nil?
|
9843
|
+
@SourceFieldInfoList = []
|
9844
|
+
params['SourceFieldInfoList'].each do |i|
|
9845
|
+
sourcefieldinfo_tmp = SourceFieldInfo.new
|
9846
|
+
sourcefieldinfo_tmp.deserialize(i)
|
9847
|
+
@SourceFieldInfoList << sourcefieldinfo_tmp
|
9848
|
+
end
|
9849
|
+
end
|
9794
9850
|
end
|
9795
9851
|
end
|
9796
9852
|
|
@@ -10633,15 +10689,19 @@ module TencentCloud
|
|
10633
10689
|
# @param Properties: schema拓展属性
|
10634
10690
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10635
10691
|
# @type Properties: Array
|
10692
|
+
# @param Alias: schema别名
|
10693
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10694
|
+
# @type Alias: String
|
10636
10695
|
|
10637
|
-
attr_accessor :Id, :Name, :Type, :Value, :Properties
|
10696
|
+
attr_accessor :Id, :Name, :Type, :Value, :Properties, :Alias
|
10638
10697
|
|
10639
|
-
def initialize(id=nil, name=nil, type=nil, value=nil, properties=nil)
|
10698
|
+
def initialize(id=nil, name=nil, type=nil, value=nil, properties=nil, _alias=nil)
|
10640
10699
|
@Id = id
|
10641
10700
|
@Name = name
|
10642
10701
|
@Type = type
|
10643
10702
|
@Value = value
|
10644
10703
|
@Properties = properties
|
10704
|
+
@Alias = _alias
|
10645
10705
|
end
|
10646
10706
|
|
10647
10707
|
def deserialize(params)
|
@@ -10657,6 +10717,7 @@ module TencentCloud
|
|
10657
10717
|
@Properties << recordfield_tmp
|
10658
10718
|
end
|
10659
10719
|
end
|
10720
|
+
@Alias = params['Alias']
|
10660
10721
|
end
|
10661
10722
|
end
|
10662
10723
|
|
@@ -15410,6 +15471,30 @@ module TencentCloud
|
|
15410
15471
|
end
|
15411
15472
|
end
|
15412
15473
|
|
15474
|
+
# 上游节点字段信息
|
15475
|
+
class SourceFieldInfo < TencentCloud::Common::AbstractModel
|
15476
|
+
# @param FieldName: 字段名称
|
15477
|
+
# @type FieldName: String
|
15478
|
+
# @param FieldType: 字段类型
|
15479
|
+
# @type FieldType: String
|
15480
|
+
# @param Alias: 字段别名
|
15481
|
+
# @type Alias: String
|
15482
|
+
|
15483
|
+
attr_accessor :FieldName, :FieldType, :Alias
|
15484
|
+
|
15485
|
+
def initialize(fieldname=nil, fieldtype=nil, _alias=nil)
|
15486
|
+
@FieldName = fieldname
|
15487
|
+
@FieldType = fieldtype
|
15488
|
+
@Alias = _alias
|
15489
|
+
end
|
15490
|
+
|
15491
|
+
def deserialize(params)
|
15492
|
+
@FieldName = params['FieldName']
|
15493
|
+
@FieldType = params['FieldType']
|
15494
|
+
@Alias = params['Alias']
|
15495
|
+
end
|
15496
|
+
end
|
15497
|
+
|
15413
15498
|
# 数据质量数据对象
|
15414
15499
|
class SourceObject < TencentCloud::Common::AbstractModel
|
15415
15500
|
# @param SourceObjectDataTypeName: 源字段详细类型,int、string
|
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.
|
4
|
+
version: 3.0.457
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|