tencentcloud-sdk-dlc 3.0.1202 → 3.0.1203
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210125/client.rb +24 -0
- data/lib/v20210125/models.rb +82 -0
- 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: 7e80a8d513e99164cf7a7b4327e06bf4d2c32330
|
|
4
|
+
data.tar.gz: 1e9e222332c86c6e7f25db8b04713f3d2f2fa2eb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f34bcf3a1c53b8d7a15b24b77b321d18d31a0ff4b56b0f0283b830f78e06402eb069dfde944ea837e10440ae1124833095043636bdc162dcf4dc62180aa150fc
|
|
7
|
+
data.tar.gz: fa2729cef49c3d606059acc03669c0975271bd2b35494e3f0542682044f8bdbd3aae06477f3aa055361e48dbfc32d59f714db348443e42ad433499702c13ca47
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1203
|
data/lib/v20210125/client.rb
CHANGED
|
@@ -677,6 +677,30 @@ module TencentCloud
|
|
|
677
677
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
678
678
|
end
|
|
679
679
|
|
|
680
|
+
# 创建数据源
|
|
681
|
+
|
|
682
|
+
# @param request: Request instance for CreateDatasourceConnection.
|
|
683
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::CreateDatasourceConnectionRequest`
|
|
684
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::CreateDatasourceConnectionResponse`
|
|
685
|
+
def CreateDatasourceConnection(request)
|
|
686
|
+
body = send_request('CreateDatasourceConnection', request.serialize)
|
|
687
|
+
response = JSON.parse(body)
|
|
688
|
+
if response['Response'].key?('Error') == false
|
|
689
|
+
model = CreateDatasourceConnectionResponse.new
|
|
690
|
+
model.deserialize(response['Response'])
|
|
691
|
+
model
|
|
692
|
+
else
|
|
693
|
+
code = response['Response']['Error']['Code']
|
|
694
|
+
message = response['Response']['Error']['Message']
|
|
695
|
+
reqid = response['Response']['RequestId']
|
|
696
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
697
|
+
end
|
|
698
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
699
|
+
raise e
|
|
700
|
+
rescue StandardError => e
|
|
701
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
702
|
+
end
|
|
703
|
+
|
|
680
704
|
# 该接口(CreateExportTask)用于创建导出任务
|
|
681
705
|
|
|
682
706
|
# @param request: Request instance for CreateExportTask.
|
data/lib/v20210125/models.rb
CHANGED
|
@@ -2098,6 +2098,88 @@ module TencentCloud
|
|
|
2098
2098
|
end
|
|
2099
2099
|
end
|
|
2100
2100
|
|
|
2101
|
+
# CreateDatasourceConnection请求参数结构体
|
|
2102
|
+
class CreateDatasourceConnectionRequest < TencentCloud::Common::AbstractModel
|
|
2103
|
+
# @param DatasourceConnectionName: 数据连接名称
|
|
2104
|
+
# @type DatasourceConnectionName: String
|
|
2105
|
+
# @param DatasourceConnectionType: 数据连接类型
|
|
2106
|
+
# @type DatasourceConnectionType: String
|
|
2107
|
+
# @param DatasourceConnectionConfig: 数据连接属性
|
|
2108
|
+
# @type DatasourceConnectionConfig: :class:`Tencentcloud::Dlc.v20210125.models.DatasourceConnectionConfig`
|
|
2109
|
+
# @param ServiceType: 数据连接所属服务
|
|
2110
|
+
# @type ServiceType: String
|
|
2111
|
+
# @param DatasourceConnectionDesc: 数据连接描述
|
|
2112
|
+
# @type DatasourceConnectionDesc: String
|
|
2113
|
+
# @param DataEngineNames: 数据引擎名称数组
|
|
2114
|
+
# @type DataEngineNames: Array
|
|
2115
|
+
# @param NetworkConnectionName: 网络连接名称
|
|
2116
|
+
# @type NetworkConnectionName: String
|
|
2117
|
+
# @param NetworkConnectionDesc: 网络连接描述
|
|
2118
|
+
# @type NetworkConnectionDesc: String
|
|
2119
|
+
# @param NetworkConnectionType: 网络连接类型 (2-夸源型,4-增强型)
|
|
2120
|
+
# @type NetworkConnectionType: Integer
|
|
2121
|
+
# @param CustomConfig: 自定义配置
|
|
2122
|
+
# @type CustomConfig: Array
|
|
2123
|
+
|
|
2124
|
+
attr_accessor :DatasourceConnectionName, :DatasourceConnectionType, :DatasourceConnectionConfig, :ServiceType, :DatasourceConnectionDesc, :DataEngineNames, :NetworkConnectionName, :NetworkConnectionDesc, :NetworkConnectionType, :CustomConfig
|
|
2125
|
+
|
|
2126
|
+
def initialize(datasourceconnectionname=nil, datasourceconnectiontype=nil, datasourceconnectionconfig=nil, servicetype=nil, datasourceconnectiondesc=nil, dataenginenames=nil, networkconnectionname=nil, networkconnectiondesc=nil, networkconnectiontype=nil, customconfig=nil)
|
|
2127
|
+
@DatasourceConnectionName = datasourceconnectionname
|
|
2128
|
+
@DatasourceConnectionType = datasourceconnectiontype
|
|
2129
|
+
@DatasourceConnectionConfig = datasourceconnectionconfig
|
|
2130
|
+
@ServiceType = servicetype
|
|
2131
|
+
@DatasourceConnectionDesc = datasourceconnectiondesc
|
|
2132
|
+
@DataEngineNames = dataenginenames
|
|
2133
|
+
@NetworkConnectionName = networkconnectionname
|
|
2134
|
+
@NetworkConnectionDesc = networkconnectiondesc
|
|
2135
|
+
@NetworkConnectionType = networkconnectiontype
|
|
2136
|
+
@CustomConfig = customconfig
|
|
2137
|
+
end
|
|
2138
|
+
|
|
2139
|
+
def deserialize(params)
|
|
2140
|
+
@DatasourceConnectionName = params['DatasourceConnectionName']
|
|
2141
|
+
@DatasourceConnectionType = params['DatasourceConnectionType']
|
|
2142
|
+
unless params['DatasourceConnectionConfig'].nil?
|
|
2143
|
+
@DatasourceConnectionConfig = DatasourceConnectionConfig.new
|
|
2144
|
+
@DatasourceConnectionConfig.deserialize(params['DatasourceConnectionConfig'])
|
|
2145
|
+
end
|
|
2146
|
+
@ServiceType = params['ServiceType']
|
|
2147
|
+
@DatasourceConnectionDesc = params['DatasourceConnectionDesc']
|
|
2148
|
+
@DataEngineNames = params['DataEngineNames']
|
|
2149
|
+
@NetworkConnectionName = params['NetworkConnectionName']
|
|
2150
|
+
@NetworkConnectionDesc = params['NetworkConnectionDesc']
|
|
2151
|
+
@NetworkConnectionType = params['NetworkConnectionType']
|
|
2152
|
+
unless params['CustomConfig'].nil?
|
|
2153
|
+
@CustomConfig = []
|
|
2154
|
+
params['CustomConfig'].each do |i|
|
|
2155
|
+
customconfig_tmp = CustomConfig.new
|
|
2156
|
+
customconfig_tmp.deserialize(i)
|
|
2157
|
+
@CustomConfig << customconfig_tmp
|
|
2158
|
+
end
|
|
2159
|
+
end
|
|
2160
|
+
end
|
|
2161
|
+
end
|
|
2162
|
+
|
|
2163
|
+
# CreateDatasourceConnection返回参数结构体
|
|
2164
|
+
class CreateDatasourceConnectionResponse < TencentCloud::Common::AbstractModel
|
|
2165
|
+
# @param DatasourceConnectionId: 数据连接Id
|
|
2166
|
+
# @type DatasourceConnectionId: String
|
|
2167
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2168
|
+
# @type RequestId: String
|
|
2169
|
+
|
|
2170
|
+
attr_accessor :DatasourceConnectionId, :RequestId
|
|
2171
|
+
|
|
2172
|
+
def initialize(datasourceconnectionid=nil, requestid=nil)
|
|
2173
|
+
@DatasourceConnectionId = datasourceconnectionid
|
|
2174
|
+
@RequestId = requestid
|
|
2175
|
+
end
|
|
2176
|
+
|
|
2177
|
+
def deserialize(params)
|
|
2178
|
+
@DatasourceConnectionId = params['DatasourceConnectionId']
|
|
2179
|
+
@RequestId = params['RequestId']
|
|
2180
|
+
end
|
|
2181
|
+
end
|
|
2182
|
+
|
|
2101
2183
|
# CreateExportTask请求参数结构体
|
|
2102
2184
|
class CreateExportTaskRequest < TencentCloud::Common::AbstractModel
|
|
2103
2185
|
# @param InputType: 数据来源,lakefsStorage、taskResult
|
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.
|
|
4
|
+
version: 3.0.1203
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|