tencentcloud-sdk-tia 1.0.200

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8bfc30afab264a4756fa5a3d12fd42a4be659cf9
4
+ data.tar.gz: 005c6c3a60f7fb845cd35337c3892576ec626c9f
5
+ SHA512:
6
+ metadata.gz: 0445babe2a081e25dd0b46d9e6bf1a10d6c4bf6614d8edeb3aa8ff69a25c38f671bd6d74d3511b1003657de2a58b079edf2d85cd72fb3458af558f7566c90885
7
+ data.tar.gz: 08706f519cc42cd419b52fac5c1b21be39a21f210e6dd87dea0252e0d08720e383f83ff5d7a0f0389e0c6c6c8a99ccc69eff7793d0165abaa9257f3b454225e4
data/lib/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.200
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'tencentcloud-sdk-common'
4
+
5
+ require_relative 'v20180226/client'
6
+ require_relative 'v20180226/models'
7
+
8
+ module TencentCloud
9
+ module Tia
10
+ end
11
+ end
@@ -0,0 +1,276 @@
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 Tia
21
+ module V20180226
22
+ class Client < TencentCloud::Common::AbstractClient
23
+
24
+ def initialize(credential, region, profile = nil)
25
+ api_version = '2018-02-26'
26
+ api_endpoint = 'tia.tencentcloudapi.com'
27
+ sdk_version = 'TIA_' + 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 CreateJob.
35
+ # @type request: :class:`Tencentcloud::tia::V20180226::CreateJobRequest`
36
+ # @rtype: :class:`Tencentcloud::tia::V20180226::CreateJobResponse`
37
+ def CreateJob(request)
38
+ body = send_request('CreateJob', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = CreateJobResponse.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
+ # 部署模型,用以对外提供服务。有两种部署模式:`无服务器模式` 和 `集群模式`。`无服务器模式` 下,模型文件被部署到无服务器云函数,即 [SCF](https://cloud.tencent.com/product/scf),用户可以在其控制台上进一步操作。`集群模式` 下,模型文件被部署到 TI-A 的计算集群中。
57
+
58
+ # @param request: Request instance for CreateModel.
59
+ # @type request: :class:`Tencentcloud::tia::V20180226::CreateModelRequest`
60
+ # @rtype: :class:`Tencentcloud::tia::V20180226::CreateModelResponse`
61
+ def CreateModel(request)
62
+ body = send_request('CreateModel', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CreateModelResponse.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
+ # 删除训练任务
81
+
82
+ # @param request: Request instance for DeleteJob.
83
+ # @type request: :class:`Tencentcloud::tia::V20180226::DeleteJobRequest`
84
+ # @rtype: :class:`Tencentcloud::tia::V20180226::DeleteJobResponse`
85
+ def DeleteJob(request)
86
+ body = send_request('DeleteJob', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = DeleteJobResponse.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
+ # 删除指定的部署模型。模型有两种部署模式:`无服务器模式` 和 `集群模式`。`无服务器模式` 下,模型文件被部署到无服务器云函数,即 [SCF](https://cloud.tencent.com/product/scf),用户可以在其控制台上进一步操作。`集群模式` 下,模型文件被部署到 TI-A 的计算集群中。
105
+
106
+ # @param request: Request instance for DeleteModel.
107
+ # @type request: :class:`Tencentcloud::tia::V20180226::DeleteModelRequest`
108
+ # @rtype: :class:`Tencentcloud::tia::V20180226::DeleteModelResponse`
109
+ def DeleteModel(request)
110
+ body = send_request('DeleteModel', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DeleteModelResponse.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
+
130
+ # @param request: Request instance for DescribeJob.
131
+ # @type request: :class:`Tencentcloud::tia::V20180226::DescribeJobRequest`
132
+ # @rtype: :class:`Tencentcloud::tia::V20180226::DescribeJobResponse`
133
+ def DescribeJob(request)
134
+ body = send_request('DescribeJob', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = DescribeJobResponse.new
138
+ model.deserialize(response['Response'])
139
+ model
140
+ else
141
+ code = response['Response']['Error']['Code']
142
+ message = response['Response']['Error']['Message']
143
+ reqid = response['Response']['RequestId']
144
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
145
+ end
146
+ rescue TencentCloud::Common::TencentCloudSDKException => e
147
+ raise e
148
+ rescue StandardError => e
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
+ end
151
+
152
+ # 描述已经部署的某个模型。而模型部署有两种模式:`无服务器模式` 和 `集群模式`。`无服务器模式` 下,模型文件被部署到无服务器云函数,即 [SCF](https://cloud.tencent.com/product/scf),用户可以在其控制台上进一步操作。`集群模式` 下,模型文件被部署到 TI-A 的计算集群中。
153
+
154
+ # @param request: Request instance for DescribeModel.
155
+ # @type request: :class:`Tencentcloud::tia::V20180226::DescribeModelRequest`
156
+ # @rtype: :class:`Tencentcloud::tia::V20180226::DescribeModelResponse`
157
+ def DescribeModel(request)
158
+ body = send_request('DescribeModel', request.serialize)
159
+ response = JSON.parse(body)
160
+ if response['Response'].key?('Error') == false
161
+ model = DescribeModelResponse.new
162
+ model.deserialize(response['Response'])
163
+ model
164
+ else
165
+ code = response['Response']['Error']['Code']
166
+ message = response['Response']['Error']['Message']
167
+ reqid = response['Response']['RequestId']
168
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
169
+ end
170
+ rescue TencentCloud::Common::TencentCloudSDKException => e
171
+ raise e
172
+ rescue StandardError => e
173
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
+ end
175
+
176
+ # 安装agent
177
+
178
+ # @param request: Request instance for InstallAgent.
179
+ # @type request: :class:`Tencentcloud::tia::V20180226::InstallAgentRequest`
180
+ # @rtype: :class:`Tencentcloud::tia::V20180226::InstallAgentResponse`
181
+ def InstallAgent(request)
182
+ body = send_request('InstallAgent', request.serialize)
183
+ response = JSON.parse(body)
184
+ if response['Response'].key?('Error') == false
185
+ model = InstallAgentResponse.new
186
+ model.deserialize(response['Response'])
187
+ model
188
+ else
189
+ code = response['Response']['Error']['Code']
190
+ message = response['Response']['Error']['Message']
191
+ reqid = response['Response']['RequestId']
192
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
193
+ end
194
+ rescue TencentCloud::Common::TencentCloudSDKException => e
195
+ raise e
196
+ rescue StandardError => e
197
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
+ end
199
+
200
+ # 列举训练任务
201
+
202
+ # @param request: Request instance for ListJobs.
203
+ # @type request: :class:`Tencentcloud::tia::V20180226::ListJobsRequest`
204
+ # @rtype: :class:`Tencentcloud::tia::V20180226::ListJobsResponse`
205
+ def ListJobs(request)
206
+ body = send_request('ListJobs', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = ListJobsResponse.new
210
+ model.deserialize(response['Response'])
211
+ model
212
+ else
213
+ code = response['Response']['Error']['Code']
214
+ message = response['Response']['Error']['Message']
215
+ reqid = response['Response']['RequestId']
216
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
217
+ end
218
+ rescue TencentCloud::Common::TencentCloudSDKException => e
219
+ raise e
220
+ rescue StandardError => e
221
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
+ end
223
+
224
+ # 用以列举已经部署的模型。而部署有两种模式:`无服务器模式` 和 `集群模式`。`无服务器模式` 下,模型文件被部署到无服务器云函数,即 [SCF](https://cloud.tencent.com/product/scf),用户可以在其控制台上进一步操作。`集群模式` 下,模型文件被部署到 TI-A 的计算集群中。不同部署模式下的模型分开列出。
225
+
226
+ # @param request: Request instance for ListModels.
227
+ # @type request: :class:`Tencentcloud::tia::V20180226::ListModelsRequest`
228
+ # @rtype: :class:`Tencentcloud::tia::V20180226::ListModelsResponse`
229
+ def ListModels(request)
230
+ body = send_request('ListModels', request.serialize)
231
+ response = JSON.parse(body)
232
+ if response['Response'].key?('Error') == false
233
+ model = ListModelsResponse.new
234
+ model.deserialize(response['Response'])
235
+ model
236
+ else
237
+ code = response['Response']['Error']['Code']
238
+ message = response['Response']['Error']['Message']
239
+ reqid = response['Response']['RequestId']
240
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
241
+ end
242
+ rescue TencentCloud::Common::TencentCloudSDKException => e
243
+ raise e
244
+ rescue StandardError => e
245
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
+ end
247
+
248
+ # 查询 TI-A 训练任务的日志
249
+
250
+ # @param request: Request instance for QueryLogs.
251
+ # @type request: :class:`Tencentcloud::tia::V20180226::QueryLogsRequest`
252
+ # @rtype: :class:`Tencentcloud::tia::V20180226::QueryLogsResponse`
253
+ def QueryLogs(request)
254
+ body = send_request('QueryLogs', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = QueryLogsResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
272
+
273
+ end
274
+ end
275
+ end
276
+ end
@@ -0,0 +1,801 @@
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 Tia
19
+ module V20180226
20
+ # CreateJob请求参数结构体
21
+ class CreateJobRequest < TencentCloud::Common::AbstractModel
22
+ # @param Name: 任务名称
23
+ # @type Name: String
24
+ # @param Cluster: 运行任务的集群,详见 [使用集群](https://cloud.tencent.com/document/product/851/17317)
25
+ # @type Cluster: String
26
+ # @param RuntimeVersion: 运行任务的环境,详见 [运行环境](https://cloud.tencent.com/document/product/851/17320)
27
+ # @type RuntimeVersion: String
28
+ # @param PackageDir: 挂载的路径,支持 NFS,[CFS](https://cloud.tencent.com/product/cfs) 和 [COS](https://cloud.tencent.com/product/cos),其中 COS 只在 [TI-A 定制环境](https://cloud.tencent.com/document/product/851/17320#ti-a-.E5.AE.9A.E5.88.B6.E7.8E.AF.E5.A2.83) 中支持
29
+ # @type PackageDir: Array
30
+ # @param Command: 任务启动命令
31
+ # @type Command: Array
32
+ # @param Args: 任务启动参数
33
+ # @type Args: Array
34
+ # @param ScaleTier: 运行任务的配置信息,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
35
+ # @type ScaleTier: String
36
+ # @param MasterType: Master 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
37
+ # @type MasterType: String
38
+ # @param WorkerType: Worker 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
39
+ # @type WorkerType: String
40
+ # @param ParameterServerType: Parameter server 机器类型,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
41
+ # @type ParameterServerType: String
42
+ # @param WorkerCount: Worker 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
43
+ # @type WorkerCount: Integer
44
+ # @param ParameterServerCount: Parameter server 机器数量,ScaleTier 取值为 `CUSTOM` 时必填,详见 [训练规模](https://cloud.tencent.com/document/product/851/17319)
45
+ # @type ParameterServerCount: Integer
46
+ # @param Debug: 启动 debug 模式,默认为 false
47
+ # @type Debug: Boolean
48
+ # @param RuntimeConf: 运行任务的其他配置信息
49
+ # @type RuntimeConf: Array
50
+
51
+ attr_accessor :Name, :Cluster, :RuntimeVersion, :PackageDir, :Command, :Args, :ScaleTier, :MasterType, :WorkerType, :ParameterServerType, :WorkerCount, :ParameterServerCount, :Debug, :RuntimeConf
52
+
53
+ def initialize(name=nil, cluster=nil, runtimeversion=nil, packagedir=nil, command=nil, args=nil, scaletier=nil, mastertype=nil, workertype=nil, parameterservertype=nil, workercount=nil, parameterservercount=nil, debug=nil, runtimeconf=nil)
54
+ @Name = name
55
+ @Cluster = cluster
56
+ @RuntimeVersion = runtimeversion
57
+ @PackageDir = packagedir
58
+ @Command = command
59
+ @Args = args
60
+ @ScaleTier = scaletier
61
+ @MasterType = mastertype
62
+ @WorkerType = workertype
63
+ @ParameterServerType = parameterservertype
64
+ @WorkerCount = workercount
65
+ @ParameterServerCount = parameterservercount
66
+ @Debug = debug
67
+ @RuntimeConf = runtimeconf
68
+ end
69
+
70
+ def deserialize(params)
71
+ @Name = params['Name']
72
+ @Cluster = params['Cluster']
73
+ @RuntimeVersion = params['RuntimeVersion']
74
+ @PackageDir = params['PackageDir']
75
+ @Command = params['Command']
76
+ @Args = params['Args']
77
+ @ScaleTier = params['ScaleTier']
78
+ @MasterType = params['MasterType']
79
+ @WorkerType = params['WorkerType']
80
+ @ParameterServerType = params['ParameterServerType']
81
+ @WorkerCount = params['WorkerCount']
82
+ @ParameterServerCount = params['ParameterServerCount']
83
+ @Debug = params['Debug']
84
+ @RuntimeConf = params['RuntimeConf']
85
+ end
86
+ end
87
+
88
+ # CreateJob返回参数结构体
89
+ class CreateJobResponse < TencentCloud::Common::AbstractModel
90
+ # @param Job: 训练任务信息
91
+ # @type Job: :class:`Tencentcloud::Tia.v20180226.models.Job`
92
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
93
+ # @type RequestId: String
94
+
95
+ attr_accessor :Job, :RequestId
96
+
97
+ def initialize(job=nil, requestid=nil)
98
+ @Job = job
99
+ @RequestId = requestid
100
+ end
101
+
102
+ def deserialize(params)
103
+ unless params['Job'].nil?
104
+ @Job = Job.new
105
+ @Job.deserialize(params['Job'])
106
+ end
107
+ @RequestId = params['RequestId']
108
+ end
109
+ end
110
+
111
+ # CreateModel请求参数结构体
112
+ class CreateModelRequest < TencentCloud::Common::AbstractModel
113
+ # @param Name: 模型名称
114
+ # @type Name: String
115
+ # @param Model: 要部署的模型文件路径名
116
+ # @type Model: String
117
+ # @param Description: 关于模型的描述
118
+ # @type Description: String
119
+ # @param Cluster: 部署目标集群的名称,`集群模式` 必填
120
+ # @type Cluster: String
121
+ # @param RuntimeVersion: 运行环境镜像的标签,详见 [Serving 环境](https://cloud.tencent.com/document/product/851/17320#serving-.E7.8E.AF.E5.A2.83)
122
+ # @type RuntimeVersion: String
123
+ # @param Replicas: 要部署的模型副本数目,`集群模式` 选填
124
+ # @type Replicas: Integer
125
+ # @param Expose: 暴露外网或内网,默认暴露外网,`集群模式` 选填
126
+ # @type Expose: String
127
+ # @param ServType: 部署模式,取值 `serverless` 即为 `无服务器模式`,否则为 `集群模式` 下服务的运行规模,形如 `2U4G1P`,详见 [自定义的训练规模](https://cloud.tencent.com/document/product/851/17319#.E8.87.AA.E5.AE.9A.E4.B9.89.E7.9A.84.E8.AE.AD.E7.BB.83.E8.A7.84.E6.A8.A1)
128
+ # @type ServType: String
129
+ # @param RuntimeConf: `无服务器模式` 可选的其他配置信息,详见 [利用无服务器函数部署](https://cloud.tencent.com/document/product/851/17049#.E5.88.A9.E7.94.A8.E6.97.A0.E6.9C.8D.E5.8A.A1.E5.99.A8.E5.87.BD.E6.95.B0.E9.83.A8.E7.BD.B2)
130
+ # @type RuntimeConf: Array
131
+
132
+ attr_accessor :Name, :Model, :Description, :Cluster, :RuntimeVersion, :Replicas, :Expose, :ServType, :RuntimeConf
133
+
134
+ def initialize(name=nil, model=nil, description=nil, cluster=nil, runtimeversion=nil, replicas=nil, expose=nil, servtype=nil, runtimeconf=nil)
135
+ @Name = name
136
+ @Model = model
137
+ @Description = description
138
+ @Cluster = cluster
139
+ @RuntimeVersion = runtimeversion
140
+ @Replicas = replicas
141
+ @Expose = expose
142
+ @ServType = servtype
143
+ @RuntimeConf = runtimeconf
144
+ end
145
+
146
+ def deserialize(params)
147
+ @Name = params['Name']
148
+ @Model = params['Model']
149
+ @Description = params['Description']
150
+ @Cluster = params['Cluster']
151
+ @RuntimeVersion = params['RuntimeVersion']
152
+ @Replicas = params['Replicas']
153
+ @Expose = params['Expose']
154
+ @ServType = params['ServType']
155
+ @RuntimeConf = params['RuntimeConf']
156
+ end
157
+ end
158
+
159
+ # CreateModel返回参数结构体
160
+ class CreateModelResponse < TencentCloud::Common::AbstractModel
161
+ # @param Model: 模型的详细信息
162
+ # @type Model: :class:`Tencentcloud::Tia.v20180226.models.Model`
163
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
164
+ # @type RequestId: String
165
+
166
+ attr_accessor :Model, :RequestId
167
+
168
+ def initialize(model=nil, requestid=nil)
169
+ @Model = model
170
+ @RequestId = requestid
171
+ end
172
+
173
+ def deserialize(params)
174
+ unless params['Model'].nil?
175
+ @Model = Model.new
176
+ @Model.deserialize(params['Model'])
177
+ end
178
+ @RequestId = params['RequestId']
179
+ end
180
+ end
181
+
182
+ # DeleteJob请求参数结构体
183
+ class DeleteJobRequest < TencentCloud::Common::AbstractModel
184
+ # @param Name: 任务名称
185
+ # @type Name: String
186
+ # @param Cluster: 运行任务的集群
187
+ # @type Cluster: String
188
+
189
+ attr_accessor :Name, :Cluster
190
+
191
+ def initialize(name=nil, cluster=nil)
192
+ @Name = name
193
+ @Cluster = cluster
194
+ end
195
+
196
+ def deserialize(params)
197
+ @Name = params['Name']
198
+ @Cluster = params['Cluster']
199
+ end
200
+ end
201
+
202
+ # DeleteJob返回参数结构体
203
+ class DeleteJobResponse < TencentCloud::Common::AbstractModel
204
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
205
+ # @type RequestId: String
206
+
207
+ attr_accessor :RequestId
208
+
209
+ def initialize(requestid=nil)
210
+ @RequestId = requestid
211
+ end
212
+
213
+ def deserialize(params)
214
+ @RequestId = params['RequestId']
215
+ end
216
+ end
217
+
218
+ # DeleteModel请求参数结构体
219
+ class DeleteModelRequest < TencentCloud::Common::AbstractModel
220
+ # @param Name: 要删除的模型名称
221
+ # @type Name: String
222
+ # @param Cluster: 要删除的模型所在的集群名称,`集群模式` 必填
223
+ # @type Cluster: String
224
+ # @param ServType: 模型类型,取值 `serverless` 即为 `无服务器模式`,否则为 `集群模式`
225
+ # @type ServType: String
226
+
227
+ attr_accessor :Name, :Cluster, :ServType
228
+
229
+ def initialize(name=nil, cluster=nil, servtype=nil)
230
+ @Name = name
231
+ @Cluster = cluster
232
+ @ServType = servtype
233
+ end
234
+
235
+ def deserialize(params)
236
+ @Name = params['Name']
237
+ @Cluster = params['Cluster']
238
+ @ServType = params['ServType']
239
+ end
240
+ end
241
+
242
+ # DeleteModel返回参数结构体
243
+ class DeleteModelResponse < TencentCloud::Common::AbstractModel
244
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
245
+ # @type RequestId: String
246
+
247
+ attr_accessor :RequestId
248
+
249
+ def initialize(requestid=nil)
250
+ @RequestId = requestid
251
+ end
252
+
253
+ def deserialize(params)
254
+ @RequestId = params['RequestId']
255
+ end
256
+ end
257
+
258
+ # DescribeJob请求参数结构体
259
+ class DescribeJobRequest < TencentCloud::Common::AbstractModel
260
+ # @param Name: 任务名称
261
+ # @type Name: String
262
+ # @param Cluster: 运行任务的集群
263
+ # @type Cluster: String
264
+
265
+ attr_accessor :Name, :Cluster
266
+
267
+ def initialize(name=nil, cluster=nil)
268
+ @Name = name
269
+ @Cluster = cluster
270
+ end
271
+
272
+ def deserialize(params)
273
+ @Name = params['Name']
274
+ @Cluster = params['Cluster']
275
+ end
276
+ end
277
+
278
+ # DescribeJob返回参数结构体
279
+ class DescribeJobResponse < TencentCloud::Common::AbstractModel
280
+ # @param Job: 训练任务信息
281
+ # @type Job: :class:`Tencentcloud::Tia.v20180226.models.Job`
282
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
283
+ # @type RequestId: String
284
+
285
+ attr_accessor :Job, :RequestId
286
+
287
+ def initialize(job=nil, requestid=nil)
288
+ @Job = job
289
+ @RequestId = requestid
290
+ end
291
+
292
+ def deserialize(params)
293
+ unless params['Job'].nil?
294
+ @Job = Job.new
295
+ @Job.deserialize(params['Job'])
296
+ end
297
+ @RequestId = params['RequestId']
298
+ end
299
+ end
300
+
301
+ # DescribeModel请求参数结构体
302
+ class DescribeModelRequest < TencentCloud::Common::AbstractModel
303
+ # @param Name: 模型名称
304
+ # @type Name: String
305
+ # @param Cluster: 模型所在集群名称,`集群模式` 必填
306
+ # @type Cluster: String
307
+ # @param ServType: 模型类型,取值 `serverless` 即为 `无服务器模式`,否则为 `集群模式`
308
+ # @type ServType: String
309
+
310
+ attr_accessor :Name, :Cluster, :ServType
311
+
312
+ def initialize(name=nil, cluster=nil, servtype=nil)
313
+ @Name = name
314
+ @Cluster = cluster
315
+ @ServType = servtype
316
+ end
317
+
318
+ def deserialize(params)
319
+ @Name = params['Name']
320
+ @Cluster = params['Cluster']
321
+ @ServType = params['ServType']
322
+ end
323
+ end
324
+
325
+ # DescribeModel返回参数结构体
326
+ class DescribeModelResponse < TencentCloud::Common::AbstractModel
327
+ # @param Model: 模型信息
328
+ # @type Model: :class:`Tencentcloud::Tia.v20180226.models.Model`
329
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
330
+ # @type RequestId: String
331
+
332
+ attr_accessor :Model, :RequestId
333
+
334
+ def initialize(model=nil, requestid=nil)
335
+ @Model = model
336
+ @RequestId = requestid
337
+ end
338
+
339
+ def deserialize(params)
340
+ unless params['Model'].nil?
341
+ @Model = Model.new
342
+ @Model.deserialize(params['Model'])
343
+ end
344
+ @RequestId = params['RequestId']
345
+ end
346
+ end
347
+
348
+ # InstallAgent请求参数结构体
349
+ class InstallAgentRequest < TencentCloud::Common::AbstractModel
350
+ # @param Cluster: 集群名称
351
+ # @type Cluster: String
352
+ # @param TiaVersion: Agent版本, 用于私有集群的agent安装,默认为“private-training”
353
+ # @type TiaVersion: String
354
+ # @param Update: 是否允许更新Agent
355
+ # @type Update: Boolean
356
+
357
+ attr_accessor :Cluster, :TiaVersion, :Update
358
+
359
+ def initialize(cluster=nil, tiaversion=nil, update=nil)
360
+ @Cluster = cluster
361
+ @TiaVersion = tiaversion
362
+ @Update = update
363
+ end
364
+
365
+ def deserialize(params)
366
+ @Cluster = params['Cluster']
367
+ @TiaVersion = params['TiaVersion']
368
+ @Update = params['Update']
369
+ end
370
+ end
371
+
372
+ # InstallAgent返回参数结构体
373
+ class InstallAgentResponse < TencentCloud::Common::AbstractModel
374
+ # @param TiaVersion: Agent版本, 用于私有集群的agent安装
375
+ # @type TiaVersion: String
376
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
377
+ # @type RequestId: String
378
+
379
+ attr_accessor :TiaVersion, :RequestId
380
+
381
+ def initialize(tiaversion=nil, requestid=nil)
382
+ @TiaVersion = tiaversion
383
+ @RequestId = requestid
384
+ end
385
+
386
+ def deserialize(params)
387
+ @TiaVersion = params['TiaVersion']
388
+ @RequestId = params['RequestId']
389
+ end
390
+ end
391
+
392
+ # 训练任务信息
393
+ class Job < TencentCloud::Common::AbstractModel
394
+ # @param Name: 任务名称
395
+ # @type Name: String
396
+ # @param CreateTime: 任务创建时间,格式为:2006-01-02 15:04:05.999999999 -0700 MST
397
+ # @type CreateTime: String
398
+ # @param StartTime: 任务开始时间,格式为:2006-01-02 15:04:05.999999999 -0700 MST
399
+ # @type StartTime: String
400
+ # @param EndTime: 任务结束时间,格式为:2006-01-02 15:04:05.999999999 -0700 MST
401
+ # @type EndTime: String
402
+ # @param State: 任务状态,可能的状态为Created(已创建),Running(运行中),Succeeded(运行完成:成功),Failed(运行完成:失败)
403
+ # @type State: String
404
+ # @param Message: 任务状态信息
405
+ # @type Message: String
406
+ # @param ScaleTier: 运行任务的配置信息
407
+ # @type ScaleTier: String
408
+ # @param MasterType: (ScaleTier为Custom时)master机器类型
409
+ # @type MasterType: String
410
+ # @param WorkerType: (ScaleTier为Custom时)worker机器类型
411
+ # @type WorkerType: String
412
+ # @param ParameterServerType: (ScaleTier为Custom时)parameter server机器类型
413
+ # @type ParameterServerType: String
414
+ # @param WorkerCount: (ScaleTier为Custom时)worker机器数量
415
+ # @type WorkerCount: Integer
416
+ # @param ParameterServerCount: (ScaleTier为Custom时)parameter server机器数量
417
+ # @type ParameterServerCount: Integer
418
+ # @param PackageDir: 挂载的路径
419
+ # @type PackageDir: Array
420
+ # @param Command: 任务启动命令
421
+ # @type Command: Array
422
+ # @param Args: 任务启动参数
423
+ # @type Args: Array
424
+ # @param Cluster: 运行任务的集群
425
+ # @type Cluster: String
426
+ # @param RuntimeVersion: 运行任务的环境
427
+ # @type RuntimeVersion: String
428
+ # @param DelTime: 任务删除时间,格式为:2006-01-02 15:04:05.999999999 -0700 MST
429
+ # @type DelTime: String
430
+ # @param AppId: 创建任务的AppId
431
+ # @type AppId: Integer
432
+ # @param Uin: 创建任务的Uin
433
+ # @type Uin: String
434
+ # @param Debug: 创建任务的Debug模式
435
+ # @type Debug: Boolean
436
+ # @param RuntimeConf: Runtime的额外配置信息
437
+ # @type RuntimeConf: Array
438
+ # @param Id: 任务Id
439
+ # @type Id: String
440
+
441
+ attr_accessor :Name, :CreateTime, :StartTime, :EndTime, :State, :Message, :ScaleTier, :MasterType, :WorkerType, :ParameterServerType, :WorkerCount, :ParameterServerCount, :PackageDir, :Command, :Args, :Cluster, :RuntimeVersion, :DelTime, :AppId, :Uin, :Debug, :RuntimeConf, :Id
442
+
443
+ def initialize(name=nil, createtime=nil, starttime=nil, endtime=nil, state=nil, message=nil, scaletier=nil, mastertype=nil, workertype=nil, parameterservertype=nil, workercount=nil, parameterservercount=nil, packagedir=nil, command=nil, args=nil, cluster=nil, runtimeversion=nil, deltime=nil, appid=nil, uin=nil, debug=nil, runtimeconf=nil, id=nil)
444
+ @Name = name
445
+ @CreateTime = createtime
446
+ @StartTime = starttime
447
+ @EndTime = endtime
448
+ @State = state
449
+ @Message = message
450
+ @ScaleTier = scaletier
451
+ @MasterType = mastertype
452
+ @WorkerType = workertype
453
+ @ParameterServerType = parameterservertype
454
+ @WorkerCount = workercount
455
+ @ParameterServerCount = parameterservercount
456
+ @PackageDir = packagedir
457
+ @Command = command
458
+ @Args = args
459
+ @Cluster = cluster
460
+ @RuntimeVersion = runtimeversion
461
+ @DelTime = deltime
462
+ @AppId = appid
463
+ @Uin = uin
464
+ @Debug = debug
465
+ @RuntimeConf = runtimeconf
466
+ @Id = id
467
+ end
468
+
469
+ def deserialize(params)
470
+ @Name = params['Name']
471
+ @CreateTime = params['CreateTime']
472
+ @StartTime = params['StartTime']
473
+ @EndTime = params['EndTime']
474
+ @State = params['State']
475
+ @Message = params['Message']
476
+ @ScaleTier = params['ScaleTier']
477
+ @MasterType = params['MasterType']
478
+ @WorkerType = params['WorkerType']
479
+ @ParameterServerType = params['ParameterServerType']
480
+ @WorkerCount = params['WorkerCount']
481
+ @ParameterServerCount = params['ParameterServerCount']
482
+ @PackageDir = params['PackageDir']
483
+ @Command = params['Command']
484
+ @Args = params['Args']
485
+ @Cluster = params['Cluster']
486
+ @RuntimeVersion = params['RuntimeVersion']
487
+ @DelTime = params['DelTime']
488
+ @AppId = params['AppId']
489
+ @Uin = params['Uin']
490
+ @Debug = params['Debug']
491
+ @RuntimeConf = params['RuntimeConf']
492
+ @Id = params['Id']
493
+ end
494
+ end
495
+
496
+ # ListJobs请求参数结构体
497
+ class ListJobsRequest < TencentCloud::Common::AbstractModel
498
+ # @param Cluster: 运行任务的集群
499
+ # @type Cluster: String
500
+ # @param Limit: 分页参数,返回数量
501
+ # @type Limit: Integer
502
+ # @param Offset: 分页参数,起始位置
503
+ # @type Offset: Integer
504
+
505
+ attr_accessor :Cluster, :Limit, :Offset
506
+
507
+ def initialize(cluster=nil, limit=nil, offset=nil)
508
+ @Cluster = cluster
509
+ @Limit = limit
510
+ @Offset = offset
511
+ end
512
+
513
+ def deserialize(params)
514
+ @Cluster = params['Cluster']
515
+ @Limit = params['Limit']
516
+ @Offset = params['Offset']
517
+ end
518
+ end
519
+
520
+ # ListJobs返回参数结构体
521
+ class ListJobsResponse < TencentCloud::Common::AbstractModel
522
+ # @param Jobs: 训练任务列表
523
+ # @type Jobs: Array
524
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
525
+ # @type RequestId: String
526
+
527
+ attr_accessor :Jobs, :RequestId
528
+
529
+ def initialize(jobs=nil, requestid=nil)
530
+ @Jobs = jobs
531
+ @RequestId = requestid
532
+ end
533
+
534
+ def deserialize(params)
535
+ unless params['Jobs'].nil?
536
+ @Jobs = []
537
+ params['Jobs'].each do |i|
538
+ job_tmp = Job.new
539
+ job_tmp.deserialize(i)
540
+ @Jobs << job_tmp
541
+ end
542
+ end
543
+ @RequestId = params['RequestId']
544
+ end
545
+ end
546
+
547
+ # ListModels请求参数结构体
548
+ class ListModelsRequest < TencentCloud::Common::AbstractModel
549
+ # @param Cluster: 部署模型的集群, `集群模式` 必填
550
+ # @type Cluster: String
551
+ # @param Limit: 分页参数,返回数量上限
552
+ # @type Limit: Integer
553
+ # @param Offset: 分页参数,分页起始位置
554
+ # @type Offset: Integer
555
+ # @param ServType: 部署类型,取值 `serverless` 即为 `无服务器模式`,否则为 `集群模式`。
556
+ # @type ServType: String
557
+
558
+ attr_accessor :Cluster, :Limit, :Offset, :ServType
559
+
560
+ def initialize(cluster=nil, limit=nil, offset=nil, servtype=nil)
561
+ @Cluster = cluster
562
+ @Limit = limit
563
+ @Offset = offset
564
+ @ServType = servtype
565
+ end
566
+
567
+ def deserialize(params)
568
+ @Cluster = params['Cluster']
569
+ @Limit = params['Limit']
570
+ @Offset = params['Offset']
571
+ @ServType = params['ServType']
572
+ end
573
+ end
574
+
575
+ # ListModels返回参数结构体
576
+ class ListModelsResponse < TencentCloud::Common::AbstractModel
577
+ # @param Models: Model 数组,用以显示所有模型的信息
578
+ # @type Models: Array
579
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
580
+ # @type RequestId: String
581
+
582
+ attr_accessor :Models, :RequestId
583
+
584
+ def initialize(models=nil, requestid=nil)
585
+ @Models = models
586
+ @RequestId = requestid
587
+ end
588
+
589
+ def deserialize(params)
590
+ unless params['Models'].nil?
591
+ @Models = []
592
+ params['Models'].each do |i|
593
+ model_tmp = Model.new
594
+ model_tmp.deserialize(i)
595
+ @Models << model_tmp
596
+ end
597
+ end
598
+ @RequestId = params['RequestId']
599
+ end
600
+ end
601
+
602
+ # 日志
603
+ class Log < TencentCloud::Common::AbstractModel
604
+ # @param ContainerName: 容器名
605
+ # @type ContainerName: String
606
+ # @param Log: 日志内容
607
+ # @type Log: String
608
+ # @param Namespace: 空间名
609
+ # @type Namespace: String
610
+ # @param PodId: Pod Id
611
+ # @type PodId: String
612
+ # @param PodName: Pod名
613
+ # @type PodName: String
614
+ # @param Time: 日志日期,格式为“2018-07-02T09:10:04.916553368Z”
615
+ # @type Time: String
616
+
617
+ attr_accessor :ContainerName, :Log, :Namespace, :PodId, :PodName, :Time
618
+
619
+ def initialize(containername=nil, log=nil, namespace=nil, podid=nil, podname=nil, time=nil)
620
+ @ContainerName = containername
621
+ @Log = log
622
+ @Namespace = namespace
623
+ @PodId = podid
624
+ @PodName = podname
625
+ @Time = time
626
+ end
627
+
628
+ def deserialize(params)
629
+ @ContainerName = params['ContainerName']
630
+ @Log = params['Log']
631
+ @Namespace = params['Namespace']
632
+ @PodId = params['PodId']
633
+ @PodName = params['PodName']
634
+ @Time = params['Time']
635
+ end
636
+ end
637
+
638
+ # 用于描述模型的详细情况
639
+ # "Model": {
640
+ # "Name": "test-model",
641
+ # "Description": "test-model",
642
+ # "Cluster": "ap-beijing",
643
+ # "Model": "cos://test-1255502019.cos.ap-shanghai.myqcloud.com/example:/data/mnist",
644
+ # "RuntimeVersion": "tiaserv-1.6.0-cpu",
645
+ # "CreateTime": "2018-04-26 15:59:25 +0800 CST",
646
+ # "State": "Running",
647
+ # "ServingUrl": "140.143.51.230",
648
+ # "Message": "Deployment does not have minimum availability.",
649
+ # "AppId": 1255502019,
650
+ # "ServType": "1U2G0P"
651
+ # },
652
+ class Model < TencentCloud::Common::AbstractModel
653
+ # @param Name: 模型名称
654
+ # @type Name: String
655
+ # @param Description: 模型描述
656
+ # @type Description: String
657
+ # @param Cluster: 集群名称
658
+ # @type Cluster: String
659
+ # @param Model: 模型地址
660
+ # @type Model: String
661
+ # @param RuntimeVersion: 运行环境编号
662
+ # @type RuntimeVersion: String
663
+ # @param CreateTime: 模型创建时间
664
+ # @type CreateTime: String
665
+ # @param State: 模型运行状态
666
+ # @type State: String
667
+ # @param ServingUrl: 提供服务的url
668
+ # @type ServingUrl: String
669
+ # @param Message: 相关消息
670
+ # @type Message: String
671
+ # @param AppId: 编号
672
+ # @type AppId: Integer
673
+ # @param ServType: 机型
674
+ # @type ServType: String
675
+ # @param Expose: 模型暴露方式
676
+ # @type Expose: String
677
+ # @param Replicas: 部署副本数量
678
+ # @type Replicas: Integer
679
+ # @param Id: 模型Id
680
+ # @type Id: String
681
+ # @param Uin: 创建任务的Uin
682
+ # @type Uin: String
683
+ # @param DelTime: 模型删除时间,格式为:2006-01-02 15:04:05.999999999 -0700 MST
684
+ # @type DelTime: String
685
+
686
+ attr_accessor :Name, :Description, :Cluster, :Model, :RuntimeVersion, :CreateTime, :State, :ServingUrl, :Message, :AppId, :ServType, :Expose, :Replicas, :Id, :Uin, :DelTime
687
+
688
+ def initialize(name=nil, description=nil, cluster=nil, model=nil, runtimeversion=nil, createtime=nil, state=nil, servingurl=nil, message=nil, appid=nil, servtype=nil, expose=nil, replicas=nil, id=nil, uin=nil, deltime=nil)
689
+ @Name = name
690
+ @Description = description
691
+ @Cluster = cluster
692
+ @Model = model
693
+ @RuntimeVersion = runtimeversion
694
+ @CreateTime = createtime
695
+ @State = state
696
+ @ServingUrl = servingurl
697
+ @Message = message
698
+ @AppId = appid
699
+ @ServType = servtype
700
+ @Expose = expose
701
+ @Replicas = replicas
702
+ @Id = id
703
+ @Uin = uin
704
+ @DelTime = deltime
705
+ end
706
+
707
+ def deserialize(params)
708
+ @Name = params['Name']
709
+ @Description = params['Description']
710
+ @Cluster = params['Cluster']
711
+ @Model = params['Model']
712
+ @RuntimeVersion = params['RuntimeVersion']
713
+ @CreateTime = params['CreateTime']
714
+ @State = params['State']
715
+ @ServingUrl = params['ServingUrl']
716
+ @Message = params['Message']
717
+ @AppId = params['AppId']
718
+ @ServType = params['ServType']
719
+ @Expose = params['Expose']
720
+ @Replicas = params['Replicas']
721
+ @Id = params['Id']
722
+ @Uin = params['Uin']
723
+ @DelTime = params['DelTime']
724
+ end
725
+ end
726
+
727
+ # QueryLogs请求参数结构体
728
+ class QueryLogsRequest < TencentCloud::Common::AbstractModel
729
+ # @param JobName: 任务的名称
730
+ # @type JobName: String
731
+ # @param Cluster: 任务所在集群的名称
732
+ # @type Cluster: String
733
+ # @param StartTime: 查询日志的开始时间,格式:2019-01-01 00:00:00
734
+ # @type StartTime: String
735
+ # @param EndTime: 查询日志的结束时间,格式:2019-01-01 00:00:00
736
+ # @type EndTime: String
737
+ # @param Limit: 单次要返回的日志条数上限
738
+ # @type Limit: Integer
739
+ # @param Context: 加载更多日志时使用,透传上次返回的 Context 值,获取后续的日志内容;使用 Context 翻页最多能获取 10000 条日志
740
+ # @type Context: String
741
+
742
+ attr_accessor :JobName, :Cluster, :StartTime, :EndTime, :Limit, :Context
743
+
744
+ def initialize(jobname=nil, cluster=nil, starttime=nil, endtime=nil, limit=nil, context=nil)
745
+ @JobName = jobname
746
+ @Cluster = cluster
747
+ @StartTime = starttime
748
+ @EndTime = endtime
749
+ @Limit = limit
750
+ @Context = context
751
+ end
752
+
753
+ def deserialize(params)
754
+ @JobName = params['JobName']
755
+ @Cluster = params['Cluster']
756
+ @StartTime = params['StartTime']
757
+ @EndTime = params['EndTime']
758
+ @Limit = params['Limit']
759
+ @Context = params['Context']
760
+ end
761
+ end
762
+
763
+ # QueryLogs返回参数结构体
764
+ class QueryLogsResponse < TencentCloud::Common::AbstractModel
765
+ # @param Context: 日志查询上下文,用于加载更多日志
766
+ # @type Context: String
767
+ # @param Logs: 日志内容列表
768
+ # @type Logs: Array
769
+ # @param Listover: 是否已经返回所有符合条件的日志
770
+ # @type Listover: Boolean
771
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
772
+ # @type RequestId: String
773
+
774
+ attr_accessor :Context, :Logs, :Listover, :RequestId
775
+
776
+ def initialize(context=nil, logs=nil, listover=nil, requestid=nil)
777
+ @Context = context
778
+ @Logs = logs
779
+ @Listover = listover
780
+ @RequestId = requestid
781
+ end
782
+
783
+ def deserialize(params)
784
+ @Context = params['Context']
785
+ unless params['Logs'].nil?
786
+ @Logs = []
787
+ params['Logs'].each do |i|
788
+ log_tmp = Log.new
789
+ log_tmp.deserialize(i)
790
+ @Logs << log_tmp
791
+ end
792
+ end
793
+ @Listover = params['Listover']
794
+ @RequestId = params['RequestId']
795
+ end
796
+ end
797
+
798
+ end
799
+ end
800
+ end
801
+
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tencentcloud-sdk-tia
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.200
5
+ platform: ruby
6
+ authors:
7
+ - Tencent Cloud
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-11-11 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: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.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
+ TIA.
30
+ email:
31
+ - tencentcloudapi@tencent.com
32
+ executables: []
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - lib/VERSION
37
+ - lib/tencentcloud-sdk-tia.rb
38
+ - lib/v20180226/client.rb
39
+ - lib/v20180226/models.rb
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-tia
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.6.14
63
+ signing_key:
64
+ specification_version: 4
65
+ summary: Tencent Cloud SDK for Ruby - TIA
66
+ test_files: []