tencentcloud-sdk-tccatalog 3.0.988
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 +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-tccatalog.rb +11 -0
- data/lib/v20241024/client.rb +132 -0
- data/lib/v20241024/models.rb +370 -0
- metadata +66 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 32eace5f4cde7ef24389d812c0891c20cad65d3f
|
4
|
+
data.tar.gz: 8ad0716c6b11a0225f810abca06e31d138c969fc
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: cbd0ce892e141254846129097645d1bc569f3d4d8396c1092cfcab2a4bc5ff6d18599068607f22e282fce9580081441e1ac41af853a9a7eb1e946b250709f865
|
7
|
+
data.tar.gz: e9425dda73f6d1a9376a20f8498e9d1bffa99df135c8b414b18bf7f4982790b777af1809f3b599c12b35c93b1e605f213f0b145ec67d8dbba378963808ebb628
|
data/lib/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.0.988
|
@@ -0,0 +1,132 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
require 'json'
|
18
|
+
|
19
|
+
module TencentCloud
|
20
|
+
module Tccatalog
|
21
|
+
module V20241024
|
22
|
+
class Client < TencentCloud::Common::AbstractClient
|
23
|
+
|
24
|
+
def initialize(credential, region, profile = nil)
|
25
|
+
api_version = '2024-10-24'
|
26
|
+
api_endpoint = 'tccatalog.tencentcloudapi.com'
|
27
|
+
sdk_version = 'TCCATALOG_' + File.read(File.expand_path('../VERSION', __dir__)).strip
|
28
|
+
super(credential, region, api_version, api_endpoint, sdk_version, profile)
|
29
|
+
end
|
30
|
+
|
31
|
+
|
32
|
+
# 接受终端节点连接
|
33
|
+
|
34
|
+
# @param request: Request instance for AcceptTccVpcEndPointConnect.
|
35
|
+
# @type request: :class:`Tencentcloud::tccatalog::V20241024::AcceptTccVpcEndPointConnectRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::tccatalog::V20241024::AcceptTccVpcEndPointConnectResponse`
|
37
|
+
def AcceptTccVpcEndPointConnect(request)
|
38
|
+
body = send_request('AcceptTccVpcEndPointConnect', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = AcceptTccVpcEndPointConnectResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
56
|
+
# 绑定终端节点服务白名单用户
|
57
|
+
|
58
|
+
# @param request: Request instance for BindTccVpcEndPointServiceWhiteList.
|
59
|
+
# @type request: :class:`Tencentcloud::tccatalog::V20241024::BindTccVpcEndPointServiceWhiteListRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::tccatalog::V20241024::BindTccVpcEndPointServiceWhiteListResponse`
|
61
|
+
def BindTccVpcEndPointServiceWhiteList(request)
|
62
|
+
body = send_request('BindTccVpcEndPointServiceWhiteList', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = BindTccVpcEndPointServiceWhiteListResponse.new
|
66
|
+
model.deserialize(response['Response'])
|
67
|
+
model
|
68
|
+
else
|
69
|
+
code = response['Response']['Error']['Code']
|
70
|
+
message = response['Response']['Error']['Message']
|
71
|
+
reqid = response['Response']['RequestId']
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
+
end
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
+
raise e
|
76
|
+
rescue StandardError => e
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
+
end
|
79
|
+
|
80
|
+
# 获取Tcc数据目录详情
|
81
|
+
|
82
|
+
# @param request: Request instance for DescribeTccCatalog.
|
83
|
+
# @type request: :class:`Tencentcloud::tccatalog::V20241024::DescribeTccCatalogRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::tccatalog::V20241024::DescribeTccCatalogResponse`
|
85
|
+
def DescribeTccCatalog(request)
|
86
|
+
body = send_request('DescribeTccCatalog', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = DescribeTccCatalogResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
104
|
+
# 获取Tcc数据目录列表
|
105
|
+
|
106
|
+
# @param request: Request instance for DescribeTccCatalogs.
|
107
|
+
# @type request: :class:`Tencentcloud::tccatalog::V20241024::DescribeTccCatalogsRequest`
|
108
|
+
# @rtype: :class:`Tencentcloud::tccatalog::V20241024::DescribeTccCatalogsResponse`
|
109
|
+
def DescribeTccCatalogs(request)
|
110
|
+
body = send_request('DescribeTccCatalogs', request.serialize)
|
111
|
+
response = JSON.parse(body)
|
112
|
+
if response['Response'].key?('Error') == false
|
113
|
+
model = DescribeTccCatalogsResponse.new
|
114
|
+
model.deserialize(response['Response'])
|
115
|
+
model
|
116
|
+
else
|
117
|
+
code = response['Response']['Error']['Code']
|
118
|
+
message = response['Response']['Error']['Message']
|
119
|
+
reqid = response['Response']['RequestId']
|
120
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
121
|
+
end
|
122
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
123
|
+
raise e
|
124
|
+
rescue StandardError => e
|
125
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
|
+
end
|
127
|
+
|
128
|
+
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
@@ -0,0 +1,370 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
module TencentCloud
|
18
|
+
module Tccatalog
|
19
|
+
module V20241024
|
20
|
+
# AcceptTccVpcEndPointConnect请求参数结构体
|
21
|
+
class AcceptTccVpcEndPointConnectRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param EndPointServiceId: 终端节点服务Id
|
23
|
+
# @type EndPointServiceId: String
|
24
|
+
# @param EndPointId: 终端节点id
|
25
|
+
# @type EndPointId: Array
|
26
|
+
# @param AcceptFlag: 是否接受连接
|
27
|
+
# @type AcceptFlag: Boolean
|
28
|
+
|
29
|
+
attr_accessor :EndPointServiceId, :EndPointId, :AcceptFlag
|
30
|
+
|
31
|
+
def initialize(endpointserviceid=nil, endpointid=nil, acceptflag=nil)
|
32
|
+
@EndPointServiceId = endpointserviceid
|
33
|
+
@EndPointId = endpointid
|
34
|
+
@AcceptFlag = acceptflag
|
35
|
+
end
|
36
|
+
|
37
|
+
def deserialize(params)
|
38
|
+
@EndPointServiceId = params['EndPointServiceId']
|
39
|
+
@EndPointId = params['EndPointId']
|
40
|
+
@AcceptFlag = params['AcceptFlag']
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# AcceptTccVpcEndPointConnect返回参数结构体
|
45
|
+
class AcceptTccVpcEndPointConnectResponse < TencentCloud::Common::AbstractModel
|
46
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
47
|
+
# @type RequestId: String
|
48
|
+
|
49
|
+
attr_accessor :RequestId
|
50
|
+
|
51
|
+
def initialize(requestid=nil)
|
52
|
+
@RequestId = requestid
|
53
|
+
end
|
54
|
+
|
55
|
+
def deserialize(params)
|
56
|
+
@RequestId = params['RequestId']
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
# BindTccVpcEndPointServiceWhiteList请求参数结构体
|
61
|
+
class BindTccVpcEndPointServiceWhiteListRequest < TencentCloud::Common::AbstractModel
|
62
|
+
# @param EndPointServiceId: 终端节点服务Id
|
63
|
+
# @type EndPointServiceId: String
|
64
|
+
# @param UserUin: 需要开白的用户Uin
|
65
|
+
# @type UserUin: String
|
66
|
+
# @param Description: 用户描述
|
67
|
+
# @type Description: String
|
68
|
+
|
69
|
+
attr_accessor :EndPointServiceId, :UserUin, :Description
|
70
|
+
|
71
|
+
def initialize(endpointserviceid=nil, useruin=nil, description=nil)
|
72
|
+
@EndPointServiceId = endpointserviceid
|
73
|
+
@UserUin = useruin
|
74
|
+
@Description = description
|
75
|
+
end
|
76
|
+
|
77
|
+
def deserialize(params)
|
78
|
+
@EndPointServiceId = params['EndPointServiceId']
|
79
|
+
@UserUin = params['UserUin']
|
80
|
+
@Description = params['Description']
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
# BindTccVpcEndPointServiceWhiteList返回参数结构体
|
85
|
+
class BindTccVpcEndPointServiceWhiteListResponse < TencentCloud::Common::AbstractModel
|
86
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
87
|
+
# @type RequestId: String
|
88
|
+
|
89
|
+
attr_accessor :RequestId
|
90
|
+
|
91
|
+
def initialize(requestid=nil)
|
92
|
+
@RequestId = requestid
|
93
|
+
end
|
94
|
+
|
95
|
+
def deserialize(params)
|
96
|
+
@RequestId = params['RequestId']
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
# DescribeTccCatalog请求参数结构体
|
101
|
+
class DescribeTccCatalogRequest < TencentCloud::Common::AbstractModel
|
102
|
+
# @param CatalogId: 数据目录Id
|
103
|
+
# @type CatalogId: String
|
104
|
+
|
105
|
+
attr_accessor :CatalogId
|
106
|
+
|
107
|
+
def initialize(catalogid=nil)
|
108
|
+
@CatalogId = catalogid
|
109
|
+
end
|
110
|
+
|
111
|
+
def deserialize(params)
|
112
|
+
@CatalogId = params['CatalogId']
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
# DescribeTccCatalog返回参数结构体
|
117
|
+
class DescribeTccCatalogResponse < TencentCloud::Common::AbstractModel
|
118
|
+
# @param TccCatalog: Tcc数据目录信息
|
119
|
+
# @type TccCatalog: :class:`Tencentcloud::Tccatalog.v20241024.models.TccCatalogConfig`
|
120
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
121
|
+
# @type RequestId: String
|
122
|
+
|
123
|
+
attr_accessor :TccCatalog, :RequestId
|
124
|
+
|
125
|
+
def initialize(tcccatalog=nil, requestid=nil)
|
126
|
+
@TccCatalog = tcccatalog
|
127
|
+
@RequestId = requestid
|
128
|
+
end
|
129
|
+
|
130
|
+
def deserialize(params)
|
131
|
+
unless params['TccCatalog'].nil?
|
132
|
+
@TccCatalog = TccCatalogConfig.new
|
133
|
+
@TccCatalog.deserialize(params['TccCatalog'])
|
134
|
+
end
|
135
|
+
@RequestId = params['RequestId']
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
# DescribeTccCatalogs请求参数结构体
|
140
|
+
class DescribeTccCatalogsRequest < TencentCloud::Common::AbstractModel
|
141
|
+
# @param CatalogId: 数据目录Id
|
142
|
+
# @type CatalogId: String
|
143
|
+
# @param Name: 数据目录名称
|
144
|
+
# @type Name: String
|
145
|
+
# @param Type: 数据目录类型,当前支持:TCC-HIVE
|
146
|
+
# @type Type: String
|
147
|
+
# @param Status: 状态信息:注册中0,待测试1,连接成功2,连接失败3,删除中4,已删除5
|
148
|
+
# @type Status: Integer
|
149
|
+
# @param Operator: 操作人uin
|
150
|
+
# @type Operator: String
|
151
|
+
|
152
|
+
attr_accessor :CatalogId, :Name, :Type, :Status, :Operator
|
153
|
+
|
154
|
+
def initialize(catalogid=nil, name=nil, type=nil, status=nil, operator=nil)
|
155
|
+
@CatalogId = catalogid
|
156
|
+
@Name = name
|
157
|
+
@Type = type
|
158
|
+
@Status = status
|
159
|
+
@Operator = operator
|
160
|
+
end
|
161
|
+
|
162
|
+
def deserialize(params)
|
163
|
+
@CatalogId = params['CatalogId']
|
164
|
+
@Name = params['Name']
|
165
|
+
@Type = params['Type']
|
166
|
+
@Status = params['Status']
|
167
|
+
@Operator = params['Operator']
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
# DescribeTccCatalogs返回参数结构体
|
172
|
+
class DescribeTccCatalogsResponse < TencentCloud::Common::AbstractModel
|
173
|
+
# @param TccCatalogSet: 数据目录列表
|
174
|
+
# @type TccCatalogSet: Array
|
175
|
+
# @param Total: 总数
|
176
|
+
# @type Total: Integer
|
177
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
178
|
+
# @type RequestId: String
|
179
|
+
|
180
|
+
attr_accessor :TccCatalogSet, :Total, :RequestId
|
181
|
+
|
182
|
+
def initialize(tcccatalogset=nil, total=nil, requestid=nil)
|
183
|
+
@TccCatalogSet = tcccatalogset
|
184
|
+
@Total = total
|
185
|
+
@RequestId = requestid
|
186
|
+
end
|
187
|
+
|
188
|
+
def deserialize(params)
|
189
|
+
unless params['TccCatalogSet'].nil?
|
190
|
+
@TccCatalogSet = []
|
191
|
+
params['TccCatalogSet'].each do |i|
|
192
|
+
tcccatalogset_tmp = TccCatalogSet.new
|
193
|
+
tcccatalogset_tmp.deserialize(i)
|
194
|
+
@TccCatalogSet << tcccatalogset_tmp
|
195
|
+
end
|
196
|
+
end
|
197
|
+
@Total = params['Total']
|
198
|
+
@RequestId = params['RequestId']
|
199
|
+
end
|
200
|
+
end
|
201
|
+
|
202
|
+
# 网络配置信息
|
203
|
+
class NetWork < TencentCloud::Common::AbstractModel
|
204
|
+
# @param VpcId: vpc实例id
|
205
|
+
# @type VpcId: String
|
206
|
+
# @param VpcCidrBlock: vpc网段
|
207
|
+
# @type VpcCidrBlock: String
|
208
|
+
# @param SubnetId: 子网实例id
|
209
|
+
# @type SubnetId: String
|
210
|
+
# @param SubnetCidrBlock: 子网网段
|
211
|
+
# @type SubnetCidrBlock: String
|
212
|
+
|
213
|
+
attr_accessor :VpcId, :VpcCidrBlock, :SubnetId, :SubnetCidrBlock
|
214
|
+
|
215
|
+
def initialize(vpcid=nil, vpccidrblock=nil, subnetid=nil, subnetcidrblock=nil)
|
216
|
+
@VpcId = vpcid
|
217
|
+
@VpcCidrBlock = vpccidrblock
|
218
|
+
@SubnetId = subnetid
|
219
|
+
@SubnetCidrBlock = subnetcidrblock
|
220
|
+
end
|
221
|
+
|
222
|
+
def deserialize(params)
|
223
|
+
@VpcId = params['VpcId']
|
224
|
+
@VpcCidrBlock = params['VpcCidrBlock']
|
225
|
+
@SubnetId = params['SubnetId']
|
226
|
+
@SubnetCidrBlock = params['SubnetCidrBlock']
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
# Tcc数据目录信息
|
231
|
+
class TccCatalogConfig < TencentCloud::Common::AbstractModel
|
232
|
+
# @param Id: 数据目录唯一id
|
233
|
+
# @type Id: String
|
234
|
+
# @param Name: 数据目录名字
|
235
|
+
# @type Name: String
|
236
|
+
# @param Type: 数据目录类型,当前支持:TCC-HIVE
|
237
|
+
# @type Type: String
|
238
|
+
# @param Comment: 描述信息
|
239
|
+
# @type Comment: String
|
240
|
+
# @param Status: 状态信息:注册中0,待测试1,连接成功2,连接失败3,删除中4,已删除5
|
241
|
+
# @type Status: Integer
|
242
|
+
# @param Connection: Tcc数据目录连接信息
|
243
|
+
# @type Connection: :class:`Tencentcloud::Tccatalog.v20241024.models.TccConnectionConfig`
|
244
|
+
# @param Operator: 操作人uin
|
245
|
+
# @type Operator: String
|
246
|
+
# @param CreateTime: 创建时间
|
247
|
+
# @type CreateTime: String
|
248
|
+
# @param UpdateTime: 更新时间
|
249
|
+
# @type UpdateTime: String
|
250
|
+
|
251
|
+
attr_accessor :Id, :Name, :Type, :Comment, :Status, :Connection, :Operator, :CreateTime, :UpdateTime
|
252
|
+
|
253
|
+
def initialize(id=nil, name=nil, type=nil, comment=nil, status=nil, connection=nil, operator=nil, createtime=nil, updatetime=nil)
|
254
|
+
@Id = id
|
255
|
+
@Name = name
|
256
|
+
@Type = type
|
257
|
+
@Comment = comment
|
258
|
+
@Status = status
|
259
|
+
@Connection = connection
|
260
|
+
@Operator = operator
|
261
|
+
@CreateTime = createtime
|
262
|
+
@UpdateTime = updatetime
|
263
|
+
end
|
264
|
+
|
265
|
+
def deserialize(params)
|
266
|
+
@Id = params['Id']
|
267
|
+
@Name = params['Name']
|
268
|
+
@Type = params['Type']
|
269
|
+
@Comment = params['Comment']
|
270
|
+
@Status = params['Status']
|
271
|
+
unless params['Connection'].nil?
|
272
|
+
@Connection = TccConnectionConfig.new
|
273
|
+
@Connection.deserialize(params['Connection'])
|
274
|
+
end
|
275
|
+
@Operator = params['Operator']
|
276
|
+
@CreateTime = params['CreateTime']
|
277
|
+
@UpdateTime = params['UpdateTime']
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
# Tcc数据目录信息集合
|
282
|
+
class TccCatalogSet < TencentCloud::Common::AbstractModel
|
283
|
+
# @param Id: 数据目录唯一id
|
284
|
+
# @type Id: String
|
285
|
+
# @param Name: 数据目录名字
|
286
|
+
# @type Name: String
|
287
|
+
# @param Type: 数据目录类型,当前支持:TCC-HIVE
|
288
|
+
# @type Type: String
|
289
|
+
# @param Status: 状态信息:注册中0,待测试1,连接成功2,连接失败3,删除中4,已删除5
|
290
|
+
# @type Status: Integer
|
291
|
+
# @param Operator: 操作人uin
|
292
|
+
# @type Operator: String
|
293
|
+
# @param CreateTime: 创建时间
|
294
|
+
# @type CreateTime: String
|
295
|
+
# @param UpdateTime: 更新时间
|
296
|
+
# @type UpdateTime: String
|
297
|
+
|
298
|
+
attr_accessor :Id, :Name, :Type, :Status, :Operator, :CreateTime, :UpdateTime
|
299
|
+
|
300
|
+
def initialize(id=nil, name=nil, type=nil, status=nil, operator=nil, createtime=nil, updatetime=nil)
|
301
|
+
@Id = id
|
302
|
+
@Name = name
|
303
|
+
@Type = type
|
304
|
+
@Status = status
|
305
|
+
@Operator = operator
|
306
|
+
@CreateTime = createtime
|
307
|
+
@UpdateTime = updatetime
|
308
|
+
end
|
309
|
+
|
310
|
+
def deserialize(params)
|
311
|
+
@Id = params['Id']
|
312
|
+
@Name = params['Name']
|
313
|
+
@Type = params['Type']
|
314
|
+
@Status = params['Status']
|
315
|
+
@Operator = params['Operator']
|
316
|
+
@CreateTime = params['CreateTime']
|
317
|
+
@UpdateTime = params['UpdateTime']
|
318
|
+
end
|
319
|
+
end
|
320
|
+
|
321
|
+
# Tcc数据目录连接配置
|
322
|
+
class TccConnection < TencentCloud::Common::AbstractModel
|
323
|
+
# @param EndpointServiceId: 终端节点服务Id
|
324
|
+
# @type EndpointServiceId: String
|
325
|
+
# @param MetaStoreUrl: 元数据连接串
|
326
|
+
# @type MetaStoreUrl: String
|
327
|
+
# @param NetWork: 网络信息
|
328
|
+
# @type NetWork: :class:`Tencentcloud::Tccatalog.v20241024.models.NetWork`
|
329
|
+
|
330
|
+
attr_accessor :EndpointServiceId, :MetaStoreUrl, :NetWork
|
331
|
+
|
332
|
+
def initialize(endpointserviceid=nil, metastoreurl=nil, network=nil)
|
333
|
+
@EndpointServiceId = endpointserviceid
|
334
|
+
@MetaStoreUrl = metastoreurl
|
335
|
+
@NetWork = network
|
336
|
+
end
|
337
|
+
|
338
|
+
def deserialize(params)
|
339
|
+
@EndpointServiceId = params['EndpointServiceId']
|
340
|
+
@MetaStoreUrl = params['MetaStoreUrl']
|
341
|
+
unless params['NetWork'].nil?
|
342
|
+
@NetWork = NetWork.new
|
343
|
+
@NetWork.deserialize(params['NetWork'])
|
344
|
+
end
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
# Tcc数据目录连接信息
|
349
|
+
class TccConnectionConfig < TencentCloud::Common::AbstractModel
|
350
|
+
# @param TccHive: Tcc数据目录连接配置
|
351
|
+
# @type TccHive: :class:`Tencentcloud::Tccatalog.v20241024.models.TccConnection`
|
352
|
+
|
353
|
+
attr_accessor :TccHive
|
354
|
+
|
355
|
+
def initialize(tcchive=nil)
|
356
|
+
@TccHive = tcchive
|
357
|
+
end
|
358
|
+
|
359
|
+
def deserialize(params)
|
360
|
+
unless params['TccHive'].nil?
|
361
|
+
@TccHive = TccConnection.new
|
362
|
+
@TccHive.deserialize(params['TccHive'])
|
363
|
+
end
|
364
|
+
end
|
365
|
+
end
|
366
|
+
|
367
|
+
end
|
368
|
+
end
|
369
|
+
end
|
370
|
+
|
metadata
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tencentcloud-sdk-tccatalog
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.0.988
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tencent Cloud
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2025-01-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: tencentcloud-sdk-common
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.0'
|
27
|
+
description: Tencent Cloud Ruby SDK is the official software development kit, which
|
28
|
+
allows Ruby developers to write software that makes use of Tencent Cloud service
|
29
|
+
TCCATALOG.
|
30
|
+
email:
|
31
|
+
- tencentcloudapi@tencent.com
|
32
|
+
executables: []
|
33
|
+
extensions: []
|
34
|
+
extra_rdoc_files: []
|
35
|
+
files:
|
36
|
+
- lib/v20241024/models.rb
|
37
|
+
- lib/v20241024/client.rb
|
38
|
+
- lib/tencentcloud-sdk-tccatalog.rb
|
39
|
+
- lib/VERSION
|
40
|
+
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
|
+
licenses:
|
42
|
+
- Apache-2.0
|
43
|
+
metadata:
|
44
|
+
source_code_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/tencentcloud-sdk-tccatalog
|
45
|
+
changelog_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/blob/master/CHANGELOG.md
|
46
|
+
post_install_message:
|
47
|
+
rdoc_options: []
|
48
|
+
require_paths:
|
49
|
+
- lib
|
50
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - '>='
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0'
|
60
|
+
requirements: []
|
61
|
+
rubyforge_project:
|
62
|
+
rubygems_version: 2.0.14
|
63
|
+
signing_key:
|
64
|
+
specification_version: 4
|
65
|
+
summary: Tencent Cloud SDK for Ruby - TCCATALOG
|
66
|
+
test_files: []
|