tencentcloud-sdk-wedata 3.0.842 → 3.0.844

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: dd503e8c1448e6bae40d9c5114daf839da6a0533
4
- data.tar.gz: 4aae8182b4efe1594ffcc0646232d284ceb13594
3
+ metadata.gz: 0fd76e8285d93f2951d9b923cead956633cd7cb8
4
+ data.tar.gz: fcaad2d57ba390c110abdf248df655a8f198aebb
5
5
  SHA512:
6
- metadata.gz: 7376acf1055fc19a51a4dece3a4744168860d6f4722c033d87ce2f939f91adacc03b16646c4962c5811bd419c9b5c0502f321adf7ed87dced593af79e55f8b66
7
- data.tar.gz: 24b5ab324d8ccf2e8519619b1feb76cb127b1f73af4218a280a8fe399425e423c214e82ab51713ee71d18ffb39cf65e565b0997feae13154c1efa10a49690b67
6
+ metadata.gz: c56087d58b22a90f0f4dfff72c6b1b6597b105b14c2879231a2c9d843b1f25a89ababc2e2ac84e2d59125992cc68d506d332006d41620a3c386a9e12bee1682f
7
+ data.tar.gz: 7e85ea5da00a029c15b93b743058fc890db90a0ca5bf2693ed8e82747a7123c85169b2e974dc700654c79b16039c6f71e750df2a7d57b4562b1fca44d68bd7ff
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.842
1
+ 3.0.844
@@ -893,6 +893,30 @@ module TencentCloud
893
893
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
894
894
  end
895
895
 
896
+ # 编排空间-工作流-创建任务文件夹
897
+
898
+ # @param request: Request instance for CreateTaskFolder.
899
+ # @type request: :class:`Tencentcloud::wedata::V20210820::CreateTaskFolderRequest`
900
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::CreateTaskFolderResponse`
901
+ def CreateTaskFolder(request)
902
+ body = send_request('CreateTaskFolder', request.serialize)
903
+ response = JSON.parse(body)
904
+ if response['Response'].key?('Error') == false
905
+ model = CreateTaskFolderResponse.new
906
+ model.deserialize(response['Response'])
907
+ model
908
+ else
909
+ code = response['Response']['Error']['Code']
910
+ message = response['Response']['Error']['Message']
911
+ reqid = response['Response']['RequestId']
912
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
913
+ end
914
+ rescue TencentCloud::Common::TencentCloudSDKException => e
915
+ raise e
916
+ rescue StandardError => e
917
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
918
+ end
919
+
896
920
  # 提交任务版本
897
921
 
898
922
  # @param request: Request instance for CreateTaskVersionDs.
@@ -4035,6 +4035,55 @@ module TencentCloud
4035
4035
  end
4036
4036
  end
4037
4037
 
4038
+ # CreateTaskFolder请求参数结构体
4039
+ class CreateTaskFolderRequest < TencentCloud::Common::AbstractModel
4040
+ # @param ProjectId: 项目Id
4041
+ # @type ProjectId: String
4042
+ # @param FolderName: 文件夹名称
4043
+ # @type FolderName: String
4044
+ # @param WorkflowId: 工作量ID
4045
+ # @type WorkflowId: String
4046
+ # @param ParentFolderId: 父文件夹ID
4047
+ # @type ParentFolderId: String
4048
+
4049
+ attr_accessor :ProjectId, :FolderName, :WorkflowId, :ParentFolderId
4050
+
4051
+ def initialize(projectid=nil, foldername=nil, workflowid=nil, parentfolderid=nil)
4052
+ @ProjectId = projectid
4053
+ @FolderName = foldername
4054
+ @WorkflowId = workflowid
4055
+ @ParentFolderId = parentfolderid
4056
+ end
4057
+
4058
+ def deserialize(params)
4059
+ @ProjectId = params['ProjectId']
4060
+ @FolderName = params['FolderName']
4061
+ @WorkflowId = params['WorkflowId']
4062
+ @ParentFolderId = params['ParentFolderId']
4063
+ end
4064
+ end
4065
+
4066
+ # CreateTaskFolder返回参数结构体
4067
+ class CreateTaskFolderResponse < TencentCloud::Common::AbstractModel
4068
+ # @param Data: 任务文件夹Id,null则创建失败
4069
+ # 注意:此字段可能返回 null,表示取不到有效值。
4070
+ # @type Data: String
4071
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4072
+ # @type RequestId: String
4073
+
4074
+ attr_accessor :Data, :RequestId
4075
+
4076
+ def initialize(data=nil, requestid=nil)
4077
+ @Data = data
4078
+ @RequestId = requestid
4079
+ end
4080
+
4081
+ def deserialize(params)
4082
+ @Data = params['Data']
4083
+ @RequestId = params['RequestId']
4084
+ end
4085
+ end
4086
+
4038
4087
  # CreateTask请求参数结构体
4039
4088
  class CreateTaskRequest < TencentCloud::Common::AbstractModel
4040
4089
  # @param ProjectId: 项目Id
@@ -11662,15 +11711,26 @@ module TencentCloud
11662
11711
  class DescribeTableMetaRequest < TencentCloud::Common::AbstractModel
11663
11712
  # @param TableId: 表唯一id
11664
11713
  # @type TableId: String
11714
+ # @param TableNameFilter: 按名称查询的条件
11715
+ # @type TableNameFilter: :class:`Tencentcloud::Wedata.v20210820.models.TableNameFilter`
11716
+ # @param TableFilterType: 查询条件类型0按id,1按名称,默认为0
11717
+ # @type TableFilterType: Integer
11665
11718
 
11666
- attr_accessor :TableId
11719
+ attr_accessor :TableId, :TableNameFilter, :TableFilterType
11667
11720
 
11668
- def initialize(tableid=nil)
11721
+ def initialize(tableid=nil, tablenamefilter=nil, tablefiltertype=nil)
11669
11722
  @TableId = tableid
11723
+ @TableNameFilter = tablenamefilter
11724
+ @TableFilterType = tablefiltertype
11670
11725
  end
11671
11726
 
11672
11727
  def deserialize(params)
11673
11728
  @TableId = params['TableId']
11729
+ unless params['TableNameFilter'].nil?
11730
+ @TableNameFilter = TableNameFilter.new
11731
+ @TableNameFilter.deserialize(params['TableNameFilter'])
11732
+ end
11733
+ @TableFilterType = params['TableFilterType']
11674
11734
  end
11675
11735
  end
11676
11736
 
@@ -24508,10 +24568,13 @@ module TencentCloud
24508
24568
  # @param PartitionExpireDays: 生命周期-分区保留天数【分区保留策略时有效】
24509
24569
  # 注意:此字段可能返回 null,表示取不到有效值。
24510
24570
  # @type PartitionExpireDays: Integer
24571
+ # @param TableProperties: 表附属信息
24572
+ # 注意:此字段可能返回 null,表示取不到有效值。
24573
+ # @type TableProperties: Array
24511
24574
 
24512
- attr_accessor :TableId, :TableName, :TableOwnerName, :DatasourceId, :ClusterName, :DatasourceName, :DatabaseName, :TablePath, :TableNameCn, :MetastoreId, :MetastoreType, :Description, :ColumnSeparator, :StorageFormat, :StorageSize, :TableType, :CreateTime, :ModifyTime, :DdlModifyTime, :LastAccessTime, :ProjectName, :BizCatalogIds, :BizCatalogNames, :HasFavorite, :LifeCycleTime, :StorageSizeWithUnit, :InstanceId, :TechnologyType, :TableNameEn, :ProjectId, :Partitions, :ReplicationFactor, :ProjectDisplayName, :DataModifyTime, :ClusterId, :HasAdminAuthority, :DatasourceDisplayName, :DatabaseId, :FavoriteCount, :LikeCount, :HasLike, :TablePropertyScore, :TableHeat, :OwnerProjectId, :TableOwnerId, :DataSourceCategory, :Columns, :MetaCrawlType, :IsView, :Location, :IsPartitionTable, :PartitionColumns, :PartitionExpireDays
24575
+ attr_accessor :TableId, :TableName, :TableOwnerName, :DatasourceId, :ClusterName, :DatasourceName, :DatabaseName, :TablePath, :TableNameCn, :MetastoreId, :MetastoreType, :Description, :ColumnSeparator, :StorageFormat, :StorageSize, :TableType, :CreateTime, :ModifyTime, :DdlModifyTime, :LastAccessTime, :ProjectName, :BizCatalogIds, :BizCatalogNames, :HasFavorite, :LifeCycleTime, :StorageSizeWithUnit, :InstanceId, :TechnologyType, :TableNameEn, :ProjectId, :Partitions, :ReplicationFactor, :ProjectDisplayName, :DataModifyTime, :ClusterId, :HasAdminAuthority, :DatasourceDisplayName, :DatabaseId, :FavoriteCount, :LikeCount, :HasLike, :TablePropertyScore, :TableHeat, :OwnerProjectId, :TableOwnerId, :DataSourceCategory, :Columns, :MetaCrawlType, :IsView, :Location, :IsPartitionTable, :PartitionColumns, :PartitionExpireDays, :TableProperties
24513
24576
 
24514
- def initialize(tableid=nil, tablename=nil, tableownername=nil, datasourceid=nil, clustername=nil, datasourcename=nil, databasename=nil, tablepath=nil, tablenamecn=nil, metastoreid=nil, metastoretype=nil, description=nil, columnseparator=nil, storageformat=nil, storagesize=nil, tabletype=nil, createtime=nil, modifytime=nil, ddlmodifytime=nil, lastaccesstime=nil, projectname=nil, bizcatalogids=nil, bizcatalognames=nil, hasfavorite=nil, lifecycletime=nil, storagesizewithunit=nil, instanceid=nil, technologytype=nil, tablenameen=nil, projectid=nil, partitions=nil, replicationfactor=nil, projectdisplayname=nil, datamodifytime=nil, clusterid=nil, hasadminauthority=nil, datasourcedisplayname=nil, databaseid=nil, favoritecount=nil, likecount=nil, haslike=nil, tablepropertyscore=nil, tableheat=nil, ownerprojectid=nil, tableownerid=nil, datasourcecategory=nil, columns=nil, metacrawltype=nil, isview=nil, location=nil, ispartitiontable=nil, partitioncolumns=nil, partitionexpiredays=nil)
24577
+ def initialize(tableid=nil, tablename=nil, tableownername=nil, datasourceid=nil, clustername=nil, datasourcename=nil, databasename=nil, tablepath=nil, tablenamecn=nil, metastoreid=nil, metastoretype=nil, description=nil, columnseparator=nil, storageformat=nil, storagesize=nil, tabletype=nil, createtime=nil, modifytime=nil, ddlmodifytime=nil, lastaccesstime=nil, projectname=nil, bizcatalogids=nil, bizcatalognames=nil, hasfavorite=nil, lifecycletime=nil, storagesizewithunit=nil, instanceid=nil, technologytype=nil, tablenameen=nil, projectid=nil, partitions=nil, replicationfactor=nil, projectdisplayname=nil, datamodifytime=nil, clusterid=nil, hasadminauthority=nil, datasourcedisplayname=nil, databaseid=nil, favoritecount=nil, likecount=nil, haslike=nil, tablepropertyscore=nil, tableheat=nil, ownerprojectid=nil, tableownerid=nil, datasourcecategory=nil, columns=nil, metacrawltype=nil, isview=nil, location=nil, ispartitiontable=nil, partitioncolumns=nil, partitionexpiredays=nil, tableproperties=nil)
24515
24578
  @TableId = tableid
24516
24579
  @TableName = tablename
24517
24580
  @TableOwnerName = tableownername
@@ -24565,6 +24628,7 @@ module TencentCloud
24565
24628
  @IsPartitionTable = ispartitiontable
24566
24629
  @PartitionColumns = partitioncolumns
24567
24630
  @PartitionExpireDays = partitionexpiredays
24631
+ @TableProperties = tableproperties
24568
24632
  end
24569
24633
 
24570
24634
  def deserialize(params)
@@ -24634,6 +24698,68 @@ module TencentCloud
24634
24698
  @IsPartitionTable = params['IsPartitionTable']
24635
24699
  @PartitionColumns = params['PartitionColumns']
24636
24700
  @PartitionExpireDays = params['PartitionExpireDays']
24701
+ unless params['TableProperties'].nil?
24702
+ @TableProperties = []
24703
+ params['TableProperties'].each do |i|
24704
+ tablemetaproperty_tmp = TableMetaProperty.new
24705
+ tablemetaproperty_tmp.deserialize(i)
24706
+ @TableProperties << tablemetaproperty_tmp
24707
+ end
24708
+ end
24709
+ end
24710
+ end
24711
+
24712
+ # 表附加信息
24713
+ class TableMetaProperty < TencentCloud::Common::AbstractModel
24714
+ # @param Key: 属性的key
24715
+ # 注意:此字段可能返回 null,表示取不到有效值。
24716
+ # @type Key: String
24717
+ # @param Value: 属性的值
24718
+ # 注意:此字段可能返回 null,表示取不到有效值。
24719
+ # @type Value: String
24720
+
24721
+ attr_accessor :Key, :Value
24722
+
24723
+ def initialize(key=nil, value=nil)
24724
+ @Key = key
24725
+ @Value = value
24726
+ end
24727
+
24728
+ def deserialize(params)
24729
+ @Key = params['Key']
24730
+ @Value = params['Value']
24731
+ end
24732
+ end
24733
+
24734
+ # 按表名查询的查询条件
24735
+ class TableNameFilter < TencentCloud::Common::AbstractModel
24736
+ # @param MsType: 数据源类型
24737
+ # @type MsType: String
24738
+ # @param DatasourceId: 数据源id
24739
+ # @type DatasourceId: Integer
24740
+ # @param DatabaseName: 数据库名称
24741
+ # @type DatabaseName: String
24742
+ # @param SchemaName: schema
24743
+ # @type SchemaName: String
24744
+ # @param Name: 表名
24745
+ # @type Name: String
24746
+
24747
+ attr_accessor :MsType, :DatasourceId, :DatabaseName, :SchemaName, :Name
24748
+
24749
+ def initialize(mstype=nil, datasourceid=nil, databasename=nil, schemaname=nil, name=nil)
24750
+ @MsType = mstype
24751
+ @DatasourceId = datasourceid
24752
+ @DatabaseName = databasename
24753
+ @SchemaName = schemaname
24754
+ @Name = name
24755
+ end
24756
+
24757
+ def deserialize(params)
24758
+ @MsType = params['MsType']
24759
+ @DatasourceId = params['DatasourceId']
24760
+ @DatabaseName = params['DatabaseName']
24761
+ @SchemaName = params['SchemaName']
24762
+ @Name = params['Name']
24637
24763
  end
24638
24764
  end
24639
24765
 
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.842
4
+ version: 3.0.844
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-12 00:00:00.000000000 Z
11
+ date: 2024-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common