tencentcloud-sdk-dlc 3.0.658 → 3.0.660

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: cfe243352929c63e77145e954437e5432608e120
4
- data.tar.gz: a9063bc2cab47fe12ab8f43bbe27f8df331d8b28
3
+ metadata.gz: d8fd10c6578608fbd859fe88e22c1c2eb91ee24e
4
+ data.tar.gz: fb406b1d717933d99d29e39a611b881f46b7d316
5
5
  SHA512:
6
- metadata.gz: 8f5a979d1e15e1b6f0fb720f022cfc56311e8460d2d94905f8a621790caaff22aabf4df11635a2a64c79a780325e24fb8de187c0f5b0a0828b0be108bb395098
7
- data.tar.gz: 4a175fb9f6d2b71e49af38d5522dbffdc9532333f8ac7a0ce6220550d988df8edc5111aa97beb7f7581f75c2d5b575fc7bc45c6f7b05d219332d309fa875adc0
6
+ metadata.gz: a6812c526da7364668eb6b83e315237fa516ee9a10f37fcfc6452f02066dd76486599c712af48d18df066c60f6fd2b98f415121f4cdd3fe019c247a53a467ff2
7
+ data.tar.gz: 1f944619ce928732f1bc9892fe1b437d37040eaa976863e90ce691aece390e20a3db704afabb875e26ad6d3516cb3247a4aecbb182cc5bafce60f7df8c6624c6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.658
1
+ 3.0.660
@@ -2069,6 +2069,30 @@ module TencentCloud
2069
2069
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2070
2070
  end
2071
2071
 
2072
+ # 获取任务结果查询
2073
+
2074
+ # @param request: Request instance for QueryResult.
2075
+ # @type request: :class:`Tencentcloud::dlc::V20210125::QueryResultRequest`
2076
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::QueryResultResponse`
2077
+ def QueryResult(request)
2078
+ body = send_request('QueryResult', request.serialize)
2079
+ response = JSON.parse(body)
2080
+ if response['Response'].key?('Error') == false
2081
+ model = QueryResultResponse.new
2082
+ model.deserialize(response['Response'])
2083
+ model
2084
+ else
2085
+ code = response['Response']['Error']['Code']
2086
+ message = response['Response']['Error']['Message']
2087
+ reqid = response['Response']['RequestId']
2088
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2089
+ end
2090
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2091
+ raise e
2092
+ rescue StandardError => e
2093
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2094
+ end
2095
+
2072
2096
  # 上报元数据心跳
2073
2097
 
2074
2098
  # @param request: Request instance for ReportHeartbeatMetaData.
@@ -7061,6 +7061,66 @@ module TencentCloud
7061
7061
  end
7062
7062
  end
7063
7063
 
7064
+ # QueryResult请求参数结构体
7065
+ class QueryResultRequest < TencentCloud::Common::AbstractModel
7066
+ # @param TaskId: 任务ID
7067
+ # @type TaskId: String
7068
+ # @param NextToken: lastReadFile为上一次读取的文件,lastReadOffset为上一次读取到的位置
7069
+ # @type NextToken: String
7070
+
7071
+ attr_accessor :TaskId, :NextToken
7072
+
7073
+ def initialize(taskid=nil, nexttoken=nil)
7074
+ @TaskId = taskid
7075
+ @NextToken = nexttoken
7076
+ end
7077
+
7078
+ def deserialize(params)
7079
+ @TaskId = params['TaskId']
7080
+ @NextToken = params['NextToken']
7081
+ end
7082
+ end
7083
+
7084
+ # QueryResult返回参数结构体
7085
+ class QueryResultResponse < TencentCloud::Common::AbstractModel
7086
+ # @param TaskId: 任务Id
7087
+ # @type TaskId: String
7088
+ # @param ResultSet: 结果数据
7089
+ # @type ResultSet: String
7090
+ # @param ResultSchema: schema
7091
+ # @type ResultSchema: Array
7092
+ # @param NextToken: 分页信息
7093
+ # 注意:此字段可能返回 null,表示取不到有效值。
7094
+ # @type NextToken: String
7095
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7096
+ # @type RequestId: String
7097
+
7098
+ attr_accessor :TaskId, :ResultSet, :ResultSchema, :NextToken, :RequestId
7099
+
7100
+ def initialize(taskid=nil, resultset=nil, resultschema=nil, nexttoken=nil, requestid=nil)
7101
+ @TaskId = taskid
7102
+ @ResultSet = resultset
7103
+ @ResultSchema = resultschema
7104
+ @NextToken = nexttoken
7105
+ @RequestId = requestid
7106
+ end
7107
+
7108
+ def deserialize(params)
7109
+ @TaskId = params['TaskId']
7110
+ @ResultSet = params['ResultSet']
7111
+ unless params['ResultSchema'].nil?
7112
+ @ResultSchema = []
7113
+ params['ResultSchema'].each do |i|
7114
+ column_tmp = Column.new
7115
+ column_tmp.deserialize(i)
7116
+ @ResultSchema << column_tmp
7117
+ end
7118
+ end
7119
+ @NextToken = params['NextToken']
7120
+ @RequestId = params['RequestId']
7121
+ end
7122
+ end
7123
+
7064
7124
  # ReportHeartbeatMetaData请求参数结构体
7065
7125
  class ReportHeartbeatMetaDataRequest < TencentCloud::Common::AbstractModel
7066
7126
  # @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.658
4
+ version: 3.0.660
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-13 00:00:00.000000000 Z
11
+ date: 2023-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common