tencentcloud-sdk-cloudstudio 3.0.707 → 3.0.708
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/tencentcloud-sdk-cloudstudio.rb +0 -3
- metadata +2 -4
- data/lib/v20210524/client.rb +0 -564
- data/lib/v20210524/models.rb +0 -1802
data/lib/v20210524/models.rb
DELETED
@@ -1,1802 +0,0 @@
|
|
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 Cloudstudio
|
19
|
-
module V20210524
|
20
|
-
# 云服务器创建工作空间 DTO
|
21
|
-
class AgentSpaceDTO < TencentCloud::Common::AbstractModel
|
22
|
-
# @param Name: 工作空间名称
|
23
|
-
# @type Name: String
|
24
|
-
# @param ImageId: 镜像id
|
25
|
-
# @type ImageId: Integer
|
26
|
-
# @param ImageName: 镜像名称
|
27
|
-
# @type ImageName: String
|
28
|
-
# @param RemoteUser: 云服务器登录名称
|
29
|
-
# @type RemoteUser: String
|
30
|
-
# @param RemoteHost: 云服务器登录地址
|
31
|
-
# @type RemoteHost: String
|
32
|
-
# @param RemotePort: 云服务器登录端口
|
33
|
-
# @type RemotePort: String
|
34
|
-
# @param WorkspaceType: 工作空间类型
|
35
|
-
# @type WorkspaceType: String
|
36
|
-
# @param WorkspaceVersion: 工作空间版本
|
37
|
-
# @type WorkspaceVersion: Integer
|
38
|
-
# @param WorkspaceResourceDTO: 工作空间资源结构
|
39
|
-
# @type WorkspaceResourceDTO: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceResourceDTO`
|
40
|
-
# @param Description: 描述
|
41
|
-
# @type Description: String
|
42
|
-
|
43
|
-
attr_accessor :Name, :ImageId, :ImageName, :RemoteUser, :RemoteHost, :RemotePort, :WorkspaceType, :WorkspaceVersion, :WorkspaceResourceDTO, :Description
|
44
|
-
|
45
|
-
def initialize(name=nil, imageid=nil, imagename=nil, remoteuser=nil, remotehost=nil, remoteport=nil, workspacetype=nil, workspaceversion=nil, workspaceresourcedto=nil, description=nil)
|
46
|
-
@Name = name
|
47
|
-
@ImageId = imageid
|
48
|
-
@ImageName = imagename
|
49
|
-
@RemoteUser = remoteuser
|
50
|
-
@RemoteHost = remotehost
|
51
|
-
@RemotePort = remoteport
|
52
|
-
@WorkspaceType = workspacetype
|
53
|
-
@WorkspaceVersion = workspaceversion
|
54
|
-
@WorkspaceResourceDTO = workspaceresourcedto
|
55
|
-
@Description = description
|
56
|
-
end
|
57
|
-
|
58
|
-
def deserialize(params)
|
59
|
-
@Name = params['Name']
|
60
|
-
@ImageId = params['ImageId']
|
61
|
-
@ImageName = params['ImageName']
|
62
|
-
@RemoteUser = params['RemoteUser']
|
63
|
-
@RemoteHost = params['RemoteHost']
|
64
|
-
@RemotePort = params['RemotePort']
|
65
|
-
@WorkspaceType = params['WorkspaceType']
|
66
|
-
@WorkspaceVersion = params['WorkspaceVersion']
|
67
|
-
unless params['WorkspaceResourceDTO'].nil?
|
68
|
-
@WorkspaceResourceDTO = WorkspaceResourceDTO.new
|
69
|
-
@WorkspaceResourceDTO.deserialize(params['WorkspaceResourceDTO'])
|
70
|
-
end
|
71
|
-
@Description = params['Description']
|
72
|
-
end
|
73
|
-
end
|
74
|
-
|
75
|
-
# CreateCustomizeTemplates请求参数结构体
|
76
|
-
class CreateCustomizeTemplatesRequest < TencentCloud::Common::AbstractModel
|
77
|
-
# @param CloudStudioSessionTeam: 用户所属组
|
78
|
-
# @type CloudStudioSessionTeam: String
|
79
|
-
# @param UserDefinedTemplateParams: 无
|
80
|
-
# @type UserDefinedTemplateParams: :class:`Tencentcloud::Cloudstudio.v20210524.models.UserDefinedTemplateParams`
|
81
|
-
|
82
|
-
attr_accessor :CloudStudioSessionTeam, :UserDefinedTemplateParams
|
83
|
-
|
84
|
-
def initialize(cloudstudiosessionteam=nil, userdefinedtemplateparams=nil)
|
85
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
86
|
-
@UserDefinedTemplateParams = userdefinedtemplateparams
|
87
|
-
end
|
88
|
-
|
89
|
-
def deserialize(params)
|
90
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
91
|
-
unless params['UserDefinedTemplateParams'].nil?
|
92
|
-
@UserDefinedTemplateParams = UserDefinedTemplateParams.new
|
93
|
-
@UserDefinedTemplateParams.deserialize(params['UserDefinedTemplateParams'])
|
94
|
-
end
|
95
|
-
end
|
96
|
-
end
|
97
|
-
|
98
|
-
# CreateCustomizeTemplates返回参数结构体
|
99
|
-
class CreateCustomizeTemplatesResponse < TencentCloud::Common::AbstractModel
|
100
|
-
# @param Data: 无
|
101
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
102
|
-
# @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceTemplateInfo`
|
103
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
104
|
-
# @type RequestId: String
|
105
|
-
|
106
|
-
attr_accessor :Data, :RequestId
|
107
|
-
|
108
|
-
def initialize(data=nil, requestid=nil)
|
109
|
-
@Data = data
|
110
|
-
@RequestId = requestid
|
111
|
-
end
|
112
|
-
|
113
|
-
def deserialize(params)
|
114
|
-
unless params['Data'].nil?
|
115
|
-
@Data = WorkspaceTemplateInfo.new
|
116
|
-
@Data.deserialize(params['Data'])
|
117
|
-
end
|
118
|
-
@RequestId = params['RequestId']
|
119
|
-
end
|
120
|
-
end
|
121
|
-
|
122
|
-
# CreateWorkspaceByAgent请求参数结构体
|
123
|
-
class CreateWorkspaceByAgentRequest < TencentCloud::Common::AbstractModel
|
124
|
-
# @param CloudStudioSessionTeam: 无
|
125
|
-
# @type CloudStudioSessionTeam: String
|
126
|
-
# @param AgentSpaceDTO: 无
|
127
|
-
# @type AgentSpaceDTO: :class:`Tencentcloud::Cloudstudio.v20210524.models.AgentSpaceDTO`
|
128
|
-
|
129
|
-
attr_accessor :CloudStudioSessionTeam, :AgentSpaceDTO
|
130
|
-
|
131
|
-
def initialize(cloudstudiosessionteam=nil, agentspacedto=nil)
|
132
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
133
|
-
@AgentSpaceDTO = agentspacedto
|
134
|
-
end
|
135
|
-
|
136
|
-
def deserialize(params)
|
137
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
138
|
-
unless params['AgentSpaceDTO'].nil?
|
139
|
-
@AgentSpaceDTO = AgentSpaceDTO.new
|
140
|
-
@AgentSpaceDTO.deserialize(params['AgentSpaceDTO'])
|
141
|
-
end
|
142
|
-
end
|
143
|
-
end
|
144
|
-
|
145
|
-
# CreateWorkspaceByAgent返回参数结构体
|
146
|
-
class CreateWorkspaceByAgentResponse < TencentCloud::Common::AbstractModel
|
147
|
-
# @param Data: 无
|
148
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
149
|
-
# @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceInfoDTO`
|
150
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
151
|
-
# @type RequestId: String
|
152
|
-
|
153
|
-
attr_accessor :Data, :RequestId
|
154
|
-
|
155
|
-
def initialize(data=nil, requestid=nil)
|
156
|
-
@Data = data
|
157
|
-
@RequestId = requestid
|
158
|
-
end
|
159
|
-
|
160
|
-
def deserialize(params)
|
161
|
-
unless params['Data'].nil?
|
162
|
-
@Data = WorkspaceInfoDTO.new
|
163
|
-
@Data.deserialize(params['Data'])
|
164
|
-
end
|
165
|
-
@RequestId = params['RequestId']
|
166
|
-
end
|
167
|
-
end
|
168
|
-
|
169
|
-
# CreateWorkspaceByTemplate请求参数结构体
|
170
|
-
class CreateWorkspaceByTemplateRequest < TencentCloud::Common::AbstractModel
|
171
|
-
# @param CloudStudioSessionTeam: 用户所属组
|
172
|
-
# @type CloudStudioSessionTeam: String
|
173
|
-
# @param TemplateId: 模板ID
|
174
|
-
# @type TemplateId: Integer
|
175
|
-
# @param Name: 工作空间名称
|
176
|
-
# @type Name: String
|
177
|
-
|
178
|
-
attr_accessor :CloudStudioSessionTeam, :TemplateId, :Name
|
179
|
-
|
180
|
-
def initialize(cloudstudiosessionteam=nil, templateid=nil, name=nil)
|
181
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
182
|
-
@TemplateId = templateid
|
183
|
-
@Name = name
|
184
|
-
end
|
185
|
-
|
186
|
-
def deserialize(params)
|
187
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
188
|
-
@TemplateId = params['TemplateId']
|
189
|
-
@Name = params['Name']
|
190
|
-
end
|
191
|
-
end
|
192
|
-
|
193
|
-
# CreateWorkspaceByTemplate返回参数结构体
|
194
|
-
class CreateWorkspaceByTemplateResponse < TencentCloud::Common::AbstractModel
|
195
|
-
# @param Data: 创建工作空间返回的信息
|
196
|
-
# @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceInfo`
|
197
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
198
|
-
# @type RequestId: String
|
199
|
-
|
200
|
-
attr_accessor :Data, :RequestId
|
201
|
-
|
202
|
-
def initialize(data=nil, requestid=nil)
|
203
|
-
@Data = data
|
204
|
-
@RequestId = requestid
|
205
|
-
end
|
206
|
-
|
207
|
-
def deserialize(params)
|
208
|
-
unless params['Data'].nil?
|
209
|
-
@Data = WorkspaceInfo.new
|
210
|
-
@Data.deserialize(params['Data'])
|
211
|
-
end
|
212
|
-
@RequestId = params['RequestId']
|
213
|
-
end
|
214
|
-
end
|
215
|
-
|
216
|
-
# CreateWorkspaceByVersionControl请求参数结构体
|
217
|
-
class CreateWorkspaceByVersionControlRequest < TencentCloud::Common::AbstractModel
|
218
|
-
# @param WorkspaceDTO: 工作空间结构
|
219
|
-
# @type WorkspaceDTO: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceDTO`
|
220
|
-
# @param CloudStudioSessionTeam: 用户所属组
|
221
|
-
# @type CloudStudioSessionTeam: String
|
222
|
-
|
223
|
-
attr_accessor :WorkspaceDTO, :CloudStudioSessionTeam
|
224
|
-
|
225
|
-
def initialize(workspacedto=nil, cloudstudiosessionteam=nil)
|
226
|
-
@WorkspaceDTO = workspacedto
|
227
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
228
|
-
end
|
229
|
-
|
230
|
-
def deserialize(params)
|
231
|
-
unless params['WorkspaceDTO'].nil?
|
232
|
-
@WorkspaceDTO = WorkspaceDTO.new
|
233
|
-
@WorkspaceDTO.deserialize(params['WorkspaceDTO'])
|
234
|
-
end
|
235
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
236
|
-
end
|
237
|
-
end
|
238
|
-
|
239
|
-
# CreateWorkspaceByVersionControl返回参数结构体
|
240
|
-
class CreateWorkspaceByVersionControlResponse < TencentCloud::Common::AbstractModel
|
241
|
-
# @param Data: 无
|
242
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
243
|
-
# @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceInfoDTO`
|
244
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
245
|
-
# @type RequestId: String
|
246
|
-
|
247
|
-
attr_accessor :Data, :RequestId
|
248
|
-
|
249
|
-
def initialize(data=nil, requestid=nil)
|
250
|
-
@Data = data
|
251
|
-
@RequestId = requestid
|
252
|
-
end
|
253
|
-
|
254
|
-
def deserialize(params)
|
255
|
-
unless params['Data'].nil?
|
256
|
-
@Data = WorkspaceInfoDTO.new
|
257
|
-
@Data.deserialize(params['Data'])
|
258
|
-
end
|
259
|
-
@RequestId = params['RequestId']
|
260
|
-
end
|
261
|
-
end
|
262
|
-
|
263
|
-
# CreateWorkspaceTemporaryToken请求参数结构体
|
264
|
-
class CreateWorkspaceTemporaryTokenRequest < TencentCloud::Common::AbstractModel
|
265
|
-
# @param WorkspaceTokenDTO: 创建工作空间凭证 DTO
|
266
|
-
# @type WorkspaceTokenDTO: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceTokenDTO`
|
267
|
-
|
268
|
-
attr_accessor :WorkspaceTokenDTO
|
269
|
-
|
270
|
-
def initialize(workspacetokendto=nil)
|
271
|
-
@WorkspaceTokenDTO = workspacetokendto
|
272
|
-
end
|
273
|
-
|
274
|
-
def deserialize(params)
|
275
|
-
unless params['WorkspaceTokenDTO'].nil?
|
276
|
-
@WorkspaceTokenDTO = WorkspaceTokenDTO.new
|
277
|
-
@WorkspaceTokenDTO.deserialize(params['WorkspaceTokenDTO'])
|
278
|
-
end
|
279
|
-
end
|
280
|
-
end
|
281
|
-
|
282
|
-
# CreateWorkspaceTemporaryToken返回参数结构体
|
283
|
-
class CreateWorkspaceTemporaryTokenResponse < TencentCloud::Common::AbstractModel
|
284
|
-
# @param Data: 工作空间临时访问 token 信息
|
285
|
-
# @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceTokenInfoV0`
|
286
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
287
|
-
# @type RequestId: String
|
288
|
-
|
289
|
-
attr_accessor :Data, :RequestId
|
290
|
-
|
291
|
-
def initialize(data=nil, requestid=nil)
|
292
|
-
@Data = data
|
293
|
-
@RequestId = requestid
|
294
|
-
end
|
295
|
-
|
296
|
-
def deserialize(params)
|
297
|
-
unless params['Data'].nil?
|
298
|
-
@Data = WorkspaceTokenInfoV0.new
|
299
|
-
@Data.deserialize(params['Data'])
|
300
|
-
end
|
301
|
-
@RequestId = params['RequestId']
|
302
|
-
end
|
303
|
-
end
|
304
|
-
|
305
|
-
# 模板的预置参数
|
306
|
-
class CustomizeTemplatesPresetsInfo < TencentCloud::Common::AbstractModel
|
307
|
-
# @param Tags: 模板tag列表
|
308
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
309
|
-
# @type Tags: Array
|
310
|
-
# @param Icons: 模板图标列表
|
311
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
312
|
-
# @type Icons: Array
|
313
|
-
# @param Templates: 无
|
314
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
315
|
-
# @type Templates: :class:`Tencentcloud::Cloudstudio.v20210524.models.UserDefinedTemplateParams`
|
316
|
-
|
317
|
-
attr_accessor :Tags, :Icons, :Templates
|
318
|
-
|
319
|
-
def initialize(tags=nil, icons=nil, templates=nil)
|
320
|
-
@Tags = tags
|
321
|
-
@Icons = icons
|
322
|
-
@Templates = templates
|
323
|
-
end
|
324
|
-
|
325
|
-
def deserialize(params)
|
326
|
-
@Tags = params['Tags']
|
327
|
-
@Icons = params['Icons']
|
328
|
-
unless params['Templates'].nil?
|
329
|
-
@Templates = UserDefinedTemplateParams.new
|
330
|
-
@Templates.deserialize(params['Templates'])
|
331
|
-
end
|
332
|
-
end
|
333
|
-
end
|
334
|
-
|
335
|
-
# DeleteCustomizeTemplatesById请求参数结构体
|
336
|
-
class DeleteCustomizeTemplatesByIdRequest < TencentCloud::Common::AbstractModel
|
337
|
-
# @param CloudStudioSessionTeam: 用户所属组
|
338
|
-
# @type CloudStudioSessionTeam: String
|
339
|
-
# @param Id: 模板ID
|
340
|
-
# @type Id: Integer
|
341
|
-
|
342
|
-
attr_accessor :CloudStudioSessionTeam, :Id
|
343
|
-
|
344
|
-
def initialize(cloudstudiosessionteam=nil, id=nil)
|
345
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
346
|
-
@Id = id
|
347
|
-
end
|
348
|
-
|
349
|
-
def deserialize(params)
|
350
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
351
|
-
@Id = params['Id']
|
352
|
-
end
|
353
|
-
end
|
354
|
-
|
355
|
-
# DeleteCustomizeTemplatesById返回参数结构体
|
356
|
-
class DeleteCustomizeTemplatesByIdResponse < TencentCloud::Common::AbstractModel
|
357
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
358
|
-
# @type RequestId: String
|
359
|
-
|
360
|
-
attr_accessor :RequestId
|
361
|
-
|
362
|
-
def initialize(requestid=nil)
|
363
|
-
@RequestId = requestid
|
364
|
-
end
|
365
|
-
|
366
|
-
def deserialize(params)
|
367
|
-
@RequestId = params['RequestId']
|
368
|
-
end
|
369
|
-
end
|
370
|
-
|
371
|
-
# DescribeCustomizeTemplatesById请求参数结构体
|
372
|
-
class DescribeCustomizeTemplatesByIdRequest < TencentCloud::Common::AbstractModel
|
373
|
-
# @param CloudStudioSessionTeam: 用户所属组
|
374
|
-
# @type CloudStudioSessionTeam: String
|
375
|
-
# @param Id: 模板ID
|
376
|
-
# @type Id: Integer
|
377
|
-
|
378
|
-
attr_accessor :CloudStudioSessionTeam, :Id
|
379
|
-
|
380
|
-
def initialize(cloudstudiosessionteam=nil, id=nil)
|
381
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
382
|
-
@Id = id
|
383
|
-
end
|
384
|
-
|
385
|
-
def deserialize(params)
|
386
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
387
|
-
@Id = params['Id']
|
388
|
-
end
|
389
|
-
end
|
390
|
-
|
391
|
-
# DescribeCustomizeTemplatesById返回参数结构体
|
392
|
-
class DescribeCustomizeTemplatesByIdResponse < TencentCloud::Common::AbstractModel
|
393
|
-
# @param Data: 无
|
394
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
395
|
-
# @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceTemplateInfo`
|
396
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
397
|
-
# @type RequestId: String
|
398
|
-
|
399
|
-
attr_accessor :Data, :RequestId
|
400
|
-
|
401
|
-
def initialize(data=nil, requestid=nil)
|
402
|
-
@Data = data
|
403
|
-
@RequestId = requestid
|
404
|
-
end
|
405
|
-
|
406
|
-
def deserialize(params)
|
407
|
-
unless params['Data'].nil?
|
408
|
-
@Data = WorkspaceTemplateInfo.new
|
409
|
-
@Data.deserialize(params['Data'])
|
410
|
-
end
|
411
|
-
@RequestId = params['RequestId']
|
412
|
-
end
|
413
|
-
end
|
414
|
-
|
415
|
-
# DescribeCustomizeTemplatesPresets请求参数结构体
|
416
|
-
class DescribeCustomizeTemplatesPresetsRequest < TencentCloud::Common::AbstractModel
|
417
|
-
# @param CloudStudioSessionTeam: 用户所属组
|
418
|
-
# @type CloudStudioSessionTeam: String
|
419
|
-
# @param SpaceKey: 空间标识
|
420
|
-
# @type SpaceKey: String
|
421
|
-
|
422
|
-
attr_accessor :CloudStudioSessionTeam, :SpaceKey
|
423
|
-
|
424
|
-
def initialize(cloudstudiosessionteam=nil, spacekey=nil)
|
425
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
426
|
-
@SpaceKey = spacekey
|
427
|
-
end
|
428
|
-
|
429
|
-
def deserialize(params)
|
430
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
431
|
-
@SpaceKey = params['SpaceKey']
|
432
|
-
end
|
433
|
-
end
|
434
|
-
|
435
|
-
# DescribeCustomizeTemplatesPresets返回参数结构体
|
436
|
-
class DescribeCustomizeTemplatesPresetsResponse < TencentCloud::Common::AbstractModel
|
437
|
-
# @param Data: 无
|
438
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
439
|
-
# @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.CustomizeTemplatesPresetsInfo`
|
440
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
441
|
-
# @type RequestId: String
|
442
|
-
|
443
|
-
attr_accessor :Data, :RequestId
|
444
|
-
|
445
|
-
def initialize(data=nil, requestid=nil)
|
446
|
-
@Data = data
|
447
|
-
@RequestId = requestid
|
448
|
-
end
|
449
|
-
|
450
|
-
def deserialize(params)
|
451
|
-
unless params['Data'].nil?
|
452
|
-
@Data = CustomizeTemplatesPresetsInfo.new
|
453
|
-
@Data.deserialize(params['Data'])
|
454
|
-
end
|
455
|
-
@RequestId = params['RequestId']
|
456
|
-
end
|
457
|
-
end
|
458
|
-
|
459
|
-
# DescribeCustomizeTemplates请求参数结构体
|
460
|
-
class DescribeCustomizeTemplatesRequest < TencentCloud::Common::AbstractModel
|
461
|
-
# @param CloudStudioSessionTeam: 用户所属组
|
462
|
-
# @type CloudStudioSessionTeam: String
|
463
|
-
|
464
|
-
attr_accessor :CloudStudioSessionTeam
|
465
|
-
|
466
|
-
def initialize(cloudstudiosessionteam=nil)
|
467
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
468
|
-
end
|
469
|
-
|
470
|
-
def deserialize(params)
|
471
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
472
|
-
end
|
473
|
-
end
|
474
|
-
|
475
|
-
# DescribeCustomizeTemplates返回参数结构体
|
476
|
-
class DescribeCustomizeTemplatesResponse < TencentCloud::Common::AbstractModel
|
477
|
-
# @param Data: 无
|
478
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
479
|
-
# @type Data: Array
|
480
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
481
|
-
# @type RequestId: String
|
482
|
-
|
483
|
-
attr_accessor :Data, :RequestId
|
484
|
-
|
485
|
-
def initialize(data=nil, requestid=nil)
|
486
|
-
@Data = data
|
487
|
-
@RequestId = requestid
|
488
|
-
end
|
489
|
-
|
490
|
-
def deserialize(params)
|
491
|
-
unless params['Data'].nil?
|
492
|
-
@Data = []
|
493
|
-
params['Data'].each do |i|
|
494
|
-
workspacetemplateinfo_tmp = WorkspaceTemplateInfo.new
|
495
|
-
workspacetemplateinfo_tmp.deserialize(i)
|
496
|
-
@Data << workspacetemplateinfo_tmp
|
497
|
-
end
|
498
|
-
end
|
499
|
-
@RequestId = params['RequestId']
|
500
|
-
end
|
501
|
-
end
|
502
|
-
|
503
|
-
# DescribeWorkspaceEnvList请求参数结构体
|
504
|
-
class DescribeWorkspaceEnvListRequest < TencentCloud::Common::AbstractModel
|
505
|
-
# @param CloudStudioSessionTeam: 用户所属组
|
506
|
-
# @type CloudStudioSessionTeam: String
|
507
|
-
|
508
|
-
attr_accessor :CloudStudioSessionTeam
|
509
|
-
|
510
|
-
def initialize(cloudstudiosessionteam=nil)
|
511
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
512
|
-
end
|
513
|
-
|
514
|
-
def deserialize(params)
|
515
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
516
|
-
end
|
517
|
-
end
|
518
|
-
|
519
|
-
# DescribeWorkspaceEnvList返回参数结构体
|
520
|
-
class DescribeWorkspaceEnvListResponse < TencentCloud::Common::AbstractModel
|
521
|
-
# @param Data: 无
|
522
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
523
|
-
# @type Data: Array
|
524
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
525
|
-
# @type RequestId: String
|
526
|
-
|
527
|
-
attr_accessor :Data, :RequestId
|
528
|
-
|
529
|
-
def initialize(data=nil, requestid=nil)
|
530
|
-
@Data = data
|
531
|
-
@RequestId = requestid
|
532
|
-
end
|
533
|
-
|
534
|
-
def deserialize(params)
|
535
|
-
unless params['Data'].nil?
|
536
|
-
@Data = []
|
537
|
-
params['Data'].each do |i|
|
538
|
-
imageuserdto_tmp = ImageUserDTO.new
|
539
|
-
imageuserdto_tmp.deserialize(i)
|
540
|
-
@Data << imageuserdto_tmp
|
541
|
-
end
|
542
|
-
end
|
543
|
-
@RequestId = params['RequestId']
|
544
|
-
end
|
545
|
-
end
|
546
|
-
|
547
|
-
# DescribeWorkspaceIsReady请求参数结构体
|
548
|
-
class DescribeWorkspaceIsReadyRequest < TencentCloud::Common::AbstractModel
|
549
|
-
# @param SpaceKey: 工作空间 spaceKey
|
550
|
-
# @type SpaceKey: String
|
551
|
-
|
552
|
-
attr_accessor :SpaceKey
|
553
|
-
|
554
|
-
def initialize(spacekey=nil)
|
555
|
-
@SpaceKey = spacekey
|
556
|
-
end
|
557
|
-
|
558
|
-
def deserialize(params)
|
559
|
-
@SpaceKey = params['SpaceKey']
|
560
|
-
end
|
561
|
-
end
|
562
|
-
|
563
|
-
# DescribeWorkspaceIsReady返回参数结构体
|
564
|
-
class DescribeWorkspaceIsReadyResponse < TencentCloud::Common::AbstractModel
|
565
|
-
# @param Data: 工作空间是否就绪
|
566
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
567
|
-
# @type Data: Boolean
|
568
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
569
|
-
# @type RequestId: String
|
570
|
-
|
571
|
-
attr_accessor :Data, :RequestId
|
572
|
-
|
573
|
-
def initialize(data=nil, requestid=nil)
|
574
|
-
@Data = data
|
575
|
-
@RequestId = requestid
|
576
|
-
end
|
577
|
-
|
578
|
-
def deserialize(params)
|
579
|
-
@Data = params['Data']
|
580
|
-
@RequestId = params['RequestId']
|
581
|
-
end
|
582
|
-
end
|
583
|
-
|
584
|
-
# DescribeWorkspaceNameExist请求参数结构体
|
585
|
-
class DescribeWorkspaceNameExistRequest < TencentCloud::Common::AbstractModel
|
586
|
-
# @param CloudStudioSessionTeam: 用户所属组
|
587
|
-
# @type CloudStudioSessionTeam: String
|
588
|
-
# @param Name: 工作空间名称
|
589
|
-
# @type Name: String
|
590
|
-
# @param WorkspaceId: 工作空间ID
|
591
|
-
# @type WorkspaceId: String
|
592
|
-
|
593
|
-
attr_accessor :CloudStudioSessionTeam, :Name, :WorkspaceId
|
594
|
-
|
595
|
-
def initialize(cloudstudiosessionteam=nil, name=nil, workspaceid=nil)
|
596
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
597
|
-
@Name = name
|
598
|
-
@WorkspaceId = workspaceid
|
599
|
-
end
|
600
|
-
|
601
|
-
def deserialize(params)
|
602
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
603
|
-
@Name = params['Name']
|
604
|
-
@WorkspaceId = params['WorkspaceId']
|
605
|
-
end
|
606
|
-
end
|
607
|
-
|
608
|
-
# DescribeWorkspaceNameExist返回参数结构体
|
609
|
-
class DescribeWorkspaceNameExistResponse < TencentCloud::Common::AbstractModel
|
610
|
-
# @param Data: 工作空间信息
|
611
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
612
|
-
# @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceInfoDTO`
|
613
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
614
|
-
# @type RequestId: String
|
615
|
-
|
616
|
-
attr_accessor :Data, :RequestId
|
617
|
-
|
618
|
-
def initialize(data=nil, requestid=nil)
|
619
|
-
@Data = data
|
620
|
-
@RequestId = requestid
|
621
|
-
end
|
622
|
-
|
623
|
-
def deserialize(params)
|
624
|
-
unless params['Data'].nil?
|
625
|
-
@Data = WorkspaceInfoDTO.new
|
626
|
-
@Data.deserialize(params['Data'])
|
627
|
-
end
|
628
|
-
@RequestId = params['RequestId']
|
629
|
-
end
|
630
|
-
end
|
631
|
-
|
632
|
-
# DescribeWorkspaceStatusList请求参数结构体
|
633
|
-
class DescribeWorkspaceStatusListRequest < TencentCloud::Common::AbstractModel
|
634
|
-
# @param CloudStudioSessionTeam: xxx
|
635
|
-
# @type CloudStudioSessionTeam: String
|
636
|
-
|
637
|
-
attr_accessor :CloudStudioSessionTeam
|
638
|
-
|
639
|
-
def initialize(cloudstudiosessionteam=nil)
|
640
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
641
|
-
end
|
642
|
-
|
643
|
-
def deserialize(params)
|
644
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
645
|
-
end
|
646
|
-
end
|
647
|
-
|
648
|
-
# DescribeWorkspaceStatusList返回参数结构体
|
649
|
-
class DescribeWorkspaceStatusListResponse < TencentCloud::Common::AbstractModel
|
650
|
-
# @param Data: xxx
|
651
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
652
|
-
# @type Data: Array
|
653
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
654
|
-
# @type RequestId: String
|
655
|
-
|
656
|
-
attr_accessor :Data, :RequestId
|
657
|
-
|
658
|
-
def initialize(data=nil, requestid=nil)
|
659
|
-
@Data = data
|
660
|
-
@RequestId = requestid
|
661
|
-
end
|
662
|
-
|
663
|
-
def deserialize(params)
|
664
|
-
unless params['Data'].nil?
|
665
|
-
@Data = []
|
666
|
-
params['Data'].each do |i|
|
667
|
-
workspacestatusinfo_tmp = WorkspaceStatusInfo.new
|
668
|
-
workspacestatusinfo_tmp.deserialize(i)
|
669
|
-
@Data << workspacestatusinfo_tmp
|
670
|
-
end
|
671
|
-
end
|
672
|
-
@RequestId = params['RequestId']
|
673
|
-
end
|
674
|
-
end
|
675
|
-
|
676
|
-
# DescribeWorkspaceStatus请求参数结构体
|
677
|
-
class DescribeWorkspaceStatusRequest < TencentCloud::Common::AbstractModel
|
678
|
-
# @param CloudStudioSessionTeam: 用户所属组
|
679
|
-
# @type CloudStudioSessionTeam: String
|
680
|
-
# @param SpaceKey: 空间标识
|
681
|
-
# @type SpaceKey: String
|
682
|
-
|
683
|
-
attr_accessor :CloudStudioSessionTeam, :SpaceKey
|
684
|
-
|
685
|
-
def initialize(cloudstudiosessionteam=nil, spacekey=nil)
|
686
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
687
|
-
@SpaceKey = spacekey
|
688
|
-
end
|
689
|
-
|
690
|
-
def deserialize(params)
|
691
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
692
|
-
@SpaceKey = params['SpaceKey']
|
693
|
-
end
|
694
|
-
end
|
695
|
-
|
696
|
-
# DescribeWorkspaceStatus返回参数结构体
|
697
|
-
class DescribeWorkspaceStatusResponse < TencentCloud::Common::AbstractModel
|
698
|
-
# @param Data: 无
|
699
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
700
|
-
# @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceStatusInfo`
|
701
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
702
|
-
# @type RequestId: String
|
703
|
-
|
704
|
-
attr_accessor :Data, :RequestId
|
705
|
-
|
706
|
-
def initialize(data=nil, requestid=nil)
|
707
|
-
@Data = data
|
708
|
-
@RequestId = requestid
|
709
|
-
end
|
710
|
-
|
711
|
-
def deserialize(params)
|
712
|
-
unless params['Data'].nil?
|
713
|
-
@Data = WorkspaceStatusInfo.new
|
714
|
-
@Data.deserialize(params['Data'])
|
715
|
-
end
|
716
|
-
@RequestId = params['RequestId']
|
717
|
-
end
|
718
|
-
end
|
719
|
-
|
720
|
-
# 可用镜像模板列表
|
721
|
-
class ImageUserDTO < TencentCloud::Common::AbstractModel
|
722
|
-
# @param Id: 镜像模板ID
|
723
|
-
# @type Id: String
|
724
|
-
# @param Name: 镜像模板名称
|
725
|
-
# @type Name: String
|
726
|
-
# @param Tag: Tag时间
|
727
|
-
# @type Tag: String
|
728
|
-
# @param Description: 描述
|
729
|
-
# @type Description: String
|
730
|
-
# @param DescriptionCN: 中文描述
|
731
|
-
# @type DescriptionCN: String
|
732
|
-
# @param IconUrl: 图标地址
|
733
|
-
# @type IconUrl: String
|
734
|
-
# @param Author: 创建人
|
735
|
-
# @type Author: String
|
736
|
-
# @param Visible: 访问状态
|
737
|
-
# @type Visible: String
|
738
|
-
# @param WorkspaceVersion: 版本
|
739
|
-
# @type WorkspaceVersion: Integer
|
740
|
-
# @param Sort: 分类
|
741
|
-
# @type Sort: Integer
|
742
|
-
|
743
|
-
attr_accessor :Id, :Name, :Tag, :Description, :DescriptionCN, :IconUrl, :Author, :Visible, :WorkspaceVersion, :Sort
|
744
|
-
|
745
|
-
def initialize(id=nil, name=nil, tag=nil, description=nil, descriptioncn=nil, iconurl=nil, author=nil, visible=nil, workspaceversion=nil, sort=nil)
|
746
|
-
@Id = id
|
747
|
-
@Name = name
|
748
|
-
@Tag = tag
|
749
|
-
@Description = description
|
750
|
-
@DescriptionCN = descriptioncn
|
751
|
-
@IconUrl = iconurl
|
752
|
-
@Author = author
|
753
|
-
@Visible = visible
|
754
|
-
@WorkspaceVersion = workspaceversion
|
755
|
-
@Sort = sort
|
756
|
-
end
|
757
|
-
|
758
|
-
def deserialize(params)
|
759
|
-
@Id = params['Id']
|
760
|
-
@Name = params['Name']
|
761
|
-
@Tag = params['Tag']
|
762
|
-
@Description = params['Description']
|
763
|
-
@DescriptionCN = params['DescriptionCN']
|
764
|
-
@IconUrl = params['IconUrl']
|
765
|
-
@Author = params['Author']
|
766
|
-
@Visible = params['Visible']
|
767
|
-
@WorkspaceVersion = params['WorkspaceVersion']
|
768
|
-
@Sort = params['Sort']
|
769
|
-
end
|
770
|
-
end
|
771
|
-
|
772
|
-
# ModifyCustomizeTemplateVersionControl请求参数结构体
|
773
|
-
class ModifyCustomizeTemplateVersionControlRequest < TencentCloud::Common::AbstractModel
|
774
|
-
# @param CloudStudioSessionTeam: 用户所属组
|
775
|
-
# @type CloudStudioSessionTeam: String
|
776
|
-
# @param TemplateId: 模板ID
|
777
|
-
# @type TemplateId: Integer
|
778
|
-
# @param Url: 仓库地址
|
779
|
-
# @type Url: String
|
780
|
-
# @param Ref: 代码仓库分支/标签
|
781
|
-
# @type Ref: String
|
782
|
-
# @param RefType: 代码仓库 ref 类型
|
783
|
-
# @type RefType: String
|
784
|
-
|
785
|
-
attr_accessor :CloudStudioSessionTeam, :TemplateId, :Url, :Ref, :RefType
|
786
|
-
|
787
|
-
def initialize(cloudstudiosessionteam=nil, templateid=nil, url=nil, ref=nil, reftype=nil)
|
788
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
789
|
-
@TemplateId = templateid
|
790
|
-
@Url = url
|
791
|
-
@Ref = ref
|
792
|
-
@RefType = reftype
|
793
|
-
end
|
794
|
-
|
795
|
-
def deserialize(params)
|
796
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
797
|
-
@TemplateId = params['TemplateId']
|
798
|
-
@Url = params['Url']
|
799
|
-
@Ref = params['Ref']
|
800
|
-
@RefType = params['RefType']
|
801
|
-
end
|
802
|
-
end
|
803
|
-
|
804
|
-
# ModifyCustomizeTemplateVersionControl返回参数结构体
|
805
|
-
class ModifyCustomizeTemplateVersionControlResponse < TencentCloud::Common::AbstractModel
|
806
|
-
# @param Data: 无
|
807
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
808
|
-
# @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceTemplateInfo`
|
809
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
810
|
-
# @type RequestId: String
|
811
|
-
|
812
|
-
attr_accessor :Data, :RequestId
|
813
|
-
|
814
|
-
def initialize(data=nil, requestid=nil)
|
815
|
-
@Data = data
|
816
|
-
@RequestId = requestid
|
817
|
-
end
|
818
|
-
|
819
|
-
def deserialize(params)
|
820
|
-
unless params['Data'].nil?
|
821
|
-
@Data = WorkspaceTemplateInfo.new
|
822
|
-
@Data.deserialize(params['Data'])
|
823
|
-
end
|
824
|
-
@RequestId = params['RequestId']
|
825
|
-
end
|
826
|
-
end
|
827
|
-
|
828
|
-
# ModifyCustomizeTemplatesFullById请求参数结构体
|
829
|
-
class ModifyCustomizeTemplatesFullByIdRequest < TencentCloud::Common::AbstractModel
|
830
|
-
# @param CloudStudioSessionTeam: 用户所属组
|
831
|
-
# @type CloudStudioSessionTeam: String
|
832
|
-
# @param Id: 模板ID
|
833
|
-
# @type Id: Integer
|
834
|
-
# @param UserDefinedTemplateParams: 自定义模板参数
|
835
|
-
# @type UserDefinedTemplateParams: :class:`Tencentcloud::Cloudstudio.v20210524.models.UserDefinedTemplateParams`
|
836
|
-
|
837
|
-
attr_accessor :CloudStudioSessionTeam, :Id, :UserDefinedTemplateParams
|
838
|
-
|
839
|
-
def initialize(cloudstudiosessionteam=nil, id=nil, userdefinedtemplateparams=nil)
|
840
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
841
|
-
@Id = id
|
842
|
-
@UserDefinedTemplateParams = userdefinedtemplateparams
|
843
|
-
end
|
844
|
-
|
845
|
-
def deserialize(params)
|
846
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
847
|
-
@Id = params['Id']
|
848
|
-
unless params['UserDefinedTemplateParams'].nil?
|
849
|
-
@UserDefinedTemplateParams = UserDefinedTemplateParams.new
|
850
|
-
@UserDefinedTemplateParams.deserialize(params['UserDefinedTemplateParams'])
|
851
|
-
end
|
852
|
-
end
|
853
|
-
end
|
854
|
-
|
855
|
-
# ModifyCustomizeTemplatesFullById返回参数结构体
|
856
|
-
class ModifyCustomizeTemplatesFullByIdResponse < TencentCloud::Common::AbstractModel
|
857
|
-
# @param Data: 自定义模板返回值
|
858
|
-
# @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceTemplateInfo`
|
859
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
860
|
-
# @type RequestId: String
|
861
|
-
|
862
|
-
attr_accessor :Data, :RequestId
|
863
|
-
|
864
|
-
def initialize(data=nil, requestid=nil)
|
865
|
-
@Data = data
|
866
|
-
@RequestId = requestid
|
867
|
-
end
|
868
|
-
|
869
|
-
def deserialize(params)
|
870
|
-
unless params['Data'].nil?
|
871
|
-
@Data = WorkspaceTemplateInfo.new
|
872
|
-
@Data.deserialize(params['Data'])
|
873
|
-
end
|
874
|
-
@RequestId = params['RequestId']
|
875
|
-
end
|
876
|
-
end
|
877
|
-
|
878
|
-
# ModifyCustomizeTemplatesPartById请求参数结构体
|
879
|
-
class ModifyCustomizeTemplatesPartByIdRequest < TencentCloud::Common::AbstractModel
|
880
|
-
# @param CloudStudioSessionTeam: 用户所属组
|
881
|
-
# @type CloudStudioSessionTeam: String
|
882
|
-
# @param Id: 模板ID
|
883
|
-
# @type Id: Integer
|
884
|
-
# @param UserDefinedTemplatePatchedParams: 自定义模板Patched参数
|
885
|
-
# @type UserDefinedTemplatePatchedParams: :class:`Tencentcloud::Cloudstudio.v20210524.models.UserDefinedTemplatePatchedParams`
|
886
|
-
|
887
|
-
attr_accessor :CloudStudioSessionTeam, :Id, :UserDefinedTemplatePatchedParams
|
888
|
-
|
889
|
-
def initialize(cloudstudiosessionteam=nil, id=nil, userdefinedtemplatepatchedparams=nil)
|
890
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
891
|
-
@Id = id
|
892
|
-
@UserDefinedTemplatePatchedParams = userdefinedtemplatepatchedparams
|
893
|
-
end
|
894
|
-
|
895
|
-
def deserialize(params)
|
896
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
897
|
-
@Id = params['Id']
|
898
|
-
unless params['UserDefinedTemplatePatchedParams'].nil?
|
899
|
-
@UserDefinedTemplatePatchedParams = UserDefinedTemplatePatchedParams.new
|
900
|
-
@UserDefinedTemplatePatchedParams.deserialize(params['UserDefinedTemplatePatchedParams'])
|
901
|
-
end
|
902
|
-
end
|
903
|
-
end
|
904
|
-
|
905
|
-
# ModifyCustomizeTemplatesPartById返回参数结构体
|
906
|
-
class ModifyCustomizeTemplatesPartByIdResponse < TencentCloud::Common::AbstractModel
|
907
|
-
# @param Data: 自定义模板返回值
|
908
|
-
# @type Data: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceTemplateInfo`
|
909
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
910
|
-
# @type RequestId: String
|
911
|
-
|
912
|
-
attr_accessor :Data, :RequestId
|
913
|
-
|
914
|
-
def initialize(data=nil, requestid=nil)
|
915
|
-
@Data = data
|
916
|
-
@RequestId = requestid
|
917
|
-
end
|
918
|
-
|
919
|
-
def deserialize(params)
|
920
|
-
unless params['Data'].nil?
|
921
|
-
@Data = WorkspaceTemplateInfo.new
|
922
|
-
@Data.deserialize(params['Data'])
|
923
|
-
end
|
924
|
-
@RequestId = params['RequestId']
|
925
|
-
end
|
926
|
-
end
|
927
|
-
|
928
|
-
# ModifyWorkspaceAttributes请求参数结构体
|
929
|
-
class ModifyWorkspaceAttributesRequest < TencentCloud::Common::AbstractModel
|
930
|
-
# @param CloudStudioSessionTeam: 用户所属组
|
931
|
-
# @type CloudStudioSessionTeam: String
|
932
|
-
# @param WorkspaceId: 工作空间ID
|
933
|
-
# @type WorkspaceId: Integer
|
934
|
-
# @param Name: 工作空间名称
|
935
|
-
# @type Name: String
|
936
|
-
# @param Description: 工作空间描述
|
937
|
-
# @type Description: String
|
938
|
-
# @param PriceId: xxx
|
939
|
-
# @type PriceId: Integer
|
940
|
-
|
941
|
-
attr_accessor :CloudStudioSessionTeam, :WorkspaceId, :Name, :Description, :PriceId
|
942
|
-
|
943
|
-
def initialize(cloudstudiosessionteam=nil, workspaceid=nil, name=nil, description=nil, priceid=nil)
|
944
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
945
|
-
@WorkspaceId = workspaceid
|
946
|
-
@Name = name
|
947
|
-
@Description = description
|
948
|
-
@PriceId = priceid
|
949
|
-
end
|
950
|
-
|
951
|
-
def deserialize(params)
|
952
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
953
|
-
@WorkspaceId = params['WorkspaceId']
|
954
|
-
@Name = params['Name']
|
955
|
-
@Description = params['Description']
|
956
|
-
@PriceId = params['PriceId']
|
957
|
-
end
|
958
|
-
end
|
959
|
-
|
960
|
-
# ModifyWorkspaceAttributes返回参数结构体
|
961
|
-
class ModifyWorkspaceAttributesResponse < TencentCloud::Common::AbstractModel
|
962
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
963
|
-
# @type RequestId: String
|
964
|
-
|
965
|
-
attr_accessor :RequestId
|
966
|
-
|
967
|
-
def initialize(requestid=nil)
|
968
|
-
@RequestId = requestid
|
969
|
-
end
|
970
|
-
|
971
|
-
def deserialize(params)
|
972
|
-
@RequestId = params['RequestId']
|
973
|
-
end
|
974
|
-
end
|
975
|
-
|
976
|
-
# RecoverWorkspace请求参数结构体
|
977
|
-
class RecoverWorkspaceRequest < TencentCloud::Common::AbstractModel
|
978
|
-
# @param CloudStudioSessionTeam: 无
|
979
|
-
# @type CloudStudioSessionTeam: String
|
980
|
-
# @param SpaceKey: 无
|
981
|
-
# @type SpaceKey: String
|
982
|
-
|
983
|
-
attr_accessor :CloudStudioSessionTeam, :SpaceKey
|
984
|
-
|
985
|
-
def initialize(cloudstudiosessionteam=nil, spacekey=nil)
|
986
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
987
|
-
@SpaceKey = spacekey
|
988
|
-
end
|
989
|
-
|
990
|
-
def deserialize(params)
|
991
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
992
|
-
@SpaceKey = params['SpaceKey']
|
993
|
-
end
|
994
|
-
end
|
995
|
-
|
996
|
-
# RecoverWorkspace返回参数结构体
|
997
|
-
class RecoverWorkspaceResponse < TencentCloud::Common::AbstractModel
|
998
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
999
|
-
# @type RequestId: String
|
1000
|
-
|
1001
|
-
attr_accessor :RequestId
|
1002
|
-
|
1003
|
-
def initialize(requestid=nil)
|
1004
|
-
@RequestId = requestid
|
1005
|
-
end
|
1006
|
-
|
1007
|
-
def deserialize(params)
|
1008
|
-
@RequestId = params['RequestId']
|
1009
|
-
end
|
1010
|
-
end
|
1011
|
-
|
1012
|
-
# RemoveWorkspace请求参数结构体
|
1013
|
-
class RemoveWorkspaceRequest < TencentCloud::Common::AbstractModel
|
1014
|
-
# @param CloudStudioSessionTeam: 无
|
1015
|
-
# @type CloudStudioSessionTeam: String
|
1016
|
-
# @param SpaceKey: 无
|
1017
|
-
# @type SpaceKey: String
|
1018
|
-
# @param Force: 是否强制,true或者false
|
1019
|
-
# @type Force: Boolean
|
1020
|
-
|
1021
|
-
attr_accessor :CloudStudioSessionTeam, :SpaceKey, :Force
|
1022
|
-
|
1023
|
-
def initialize(cloudstudiosessionteam=nil, spacekey=nil, force=nil)
|
1024
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
1025
|
-
@SpaceKey = spacekey
|
1026
|
-
@Force = force
|
1027
|
-
end
|
1028
|
-
|
1029
|
-
def deserialize(params)
|
1030
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
1031
|
-
@SpaceKey = params['SpaceKey']
|
1032
|
-
@Force = params['Force']
|
1033
|
-
end
|
1034
|
-
end
|
1035
|
-
|
1036
|
-
# RemoveWorkspace返回参数结构体
|
1037
|
-
class RemoveWorkspaceResponse < TencentCloud::Common::AbstractModel
|
1038
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1039
|
-
# @type RequestId: String
|
1040
|
-
|
1041
|
-
attr_accessor :RequestId
|
1042
|
-
|
1043
|
-
def initialize(requestid=nil)
|
1044
|
-
@RequestId = requestid
|
1045
|
-
end
|
1046
|
-
|
1047
|
-
def deserialize(params)
|
1048
|
-
@RequestId = params['RequestId']
|
1049
|
-
end
|
1050
|
-
end
|
1051
|
-
|
1052
|
-
# RunWorkspace请求参数结构体
|
1053
|
-
class RunWorkspaceRequest < TencentCloud::Common::AbstractModel
|
1054
|
-
# @param SpaceKey: 空间标识
|
1055
|
-
# @type SpaceKey: String
|
1056
|
-
# @param CloudStudioSessionTeam: 用户所属组
|
1057
|
-
# @type CloudStudioSessionTeam: String
|
1058
|
-
|
1059
|
-
attr_accessor :SpaceKey, :CloudStudioSessionTeam
|
1060
|
-
|
1061
|
-
def initialize(spacekey=nil, cloudstudiosessionteam=nil)
|
1062
|
-
@SpaceKey = spacekey
|
1063
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
1064
|
-
end
|
1065
|
-
|
1066
|
-
def deserialize(params)
|
1067
|
-
@SpaceKey = params['SpaceKey']
|
1068
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
1069
|
-
end
|
1070
|
-
end
|
1071
|
-
|
1072
|
-
# RunWorkspace返回参数结构体
|
1073
|
-
class RunWorkspaceResponse < TencentCloud::Common::AbstractModel
|
1074
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1075
|
-
# @type RequestId: String
|
1076
|
-
|
1077
|
-
attr_accessor :RequestId
|
1078
|
-
|
1079
|
-
def initialize(requestid=nil)
|
1080
|
-
@RequestId = requestid
|
1081
|
-
end
|
1082
|
-
|
1083
|
-
def deserialize(params)
|
1084
|
-
@RequestId = params['RequestId']
|
1085
|
-
end
|
1086
|
-
end
|
1087
|
-
|
1088
|
-
# StopWorkspace请求参数结构体
|
1089
|
-
class StopWorkspaceRequest < TencentCloud::Common::AbstractModel
|
1090
|
-
# @param SpaceKey: 空间标识
|
1091
|
-
# @type SpaceKey: String
|
1092
|
-
# @param CloudStudioSessionTeam: 用户所属组
|
1093
|
-
# @type CloudStudioSessionTeam: String
|
1094
|
-
# @param Force: 是否强制终止,true或者false
|
1095
|
-
# @type Force: String
|
1096
|
-
|
1097
|
-
attr_accessor :SpaceKey, :CloudStudioSessionTeam, :Force
|
1098
|
-
|
1099
|
-
def initialize(spacekey=nil, cloudstudiosessionteam=nil, force=nil)
|
1100
|
-
@SpaceKey = spacekey
|
1101
|
-
@CloudStudioSessionTeam = cloudstudiosessionteam
|
1102
|
-
@Force = force
|
1103
|
-
end
|
1104
|
-
|
1105
|
-
def deserialize(params)
|
1106
|
-
@SpaceKey = params['SpaceKey']
|
1107
|
-
@CloudStudioSessionTeam = params['CloudStudioSessionTeam']
|
1108
|
-
@Force = params['Force']
|
1109
|
-
end
|
1110
|
-
end
|
1111
|
-
|
1112
|
-
# StopWorkspace返回参数结构体
|
1113
|
-
class StopWorkspaceResponse < TencentCloud::Common::AbstractModel
|
1114
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1115
|
-
# @type RequestId: String
|
1116
|
-
|
1117
|
-
attr_accessor :RequestId
|
1118
|
-
|
1119
|
-
def initialize(requestid=nil)
|
1120
|
-
@RequestId = requestid
|
1121
|
-
end
|
1122
|
-
|
1123
|
-
def deserialize(params)
|
1124
|
-
@RequestId = params['RequestId']
|
1125
|
-
end
|
1126
|
-
end
|
1127
|
-
|
1128
|
-
# 用户自定义模板参数
|
1129
|
-
class UserDefinedTemplateParams < TencentCloud::Common::AbstractModel
|
1130
|
-
# @param Name: 模板名称
|
1131
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1132
|
-
# @type Name: String
|
1133
|
-
# @param Icon: 模板图标地址
|
1134
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1135
|
-
# @type Icon: String
|
1136
|
-
# @param Tags: 模板标签列表
|
1137
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1138
|
-
# @type Tags: Array
|
1139
|
-
# @param Source: 模板来源
|
1140
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1141
|
-
# @type Source: String
|
1142
|
-
# @param Description: 模板描述
|
1143
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1144
|
-
# @type Description: String
|
1145
|
-
# @param VersionControlType: 模板仓库类型
|
1146
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1147
|
-
# @type VersionControlType: String
|
1148
|
-
# @param VersionControlUrl: 模板地址
|
1149
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1150
|
-
# @type VersionControlUrl: String
|
1151
|
-
|
1152
|
-
attr_accessor :Name, :Icon, :Tags, :Source, :Description, :VersionControlType, :VersionControlUrl
|
1153
|
-
|
1154
|
-
def initialize(name=nil, icon=nil, tags=nil, source=nil, description=nil, versioncontroltype=nil, versioncontrolurl=nil)
|
1155
|
-
@Name = name
|
1156
|
-
@Icon = icon
|
1157
|
-
@Tags = tags
|
1158
|
-
@Source = source
|
1159
|
-
@Description = description
|
1160
|
-
@VersionControlType = versioncontroltype
|
1161
|
-
@VersionControlUrl = versioncontrolurl
|
1162
|
-
end
|
1163
|
-
|
1164
|
-
def deserialize(params)
|
1165
|
-
@Name = params['Name']
|
1166
|
-
@Icon = params['Icon']
|
1167
|
-
@Tags = params['Tags']
|
1168
|
-
@Source = params['Source']
|
1169
|
-
@Description = params['Description']
|
1170
|
-
@VersionControlType = params['VersionControlType']
|
1171
|
-
@VersionControlUrl = params['VersionControlUrl']
|
1172
|
-
end
|
1173
|
-
end
|
1174
|
-
|
1175
|
-
# 用户自定义模板Patched参数
|
1176
|
-
class UserDefinedTemplatePatchedParams < TencentCloud::Common::AbstractModel
|
1177
|
-
# @param Source: 模板来源
|
1178
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1179
|
-
# @type Source: String
|
1180
|
-
# @param Name: 模板名称
|
1181
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1182
|
-
# @type Name: String
|
1183
|
-
# @param Icon: 模板图标地址
|
1184
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1185
|
-
# @type Icon: String
|
1186
|
-
# @param Description: 模板描述
|
1187
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1188
|
-
# @type Description: String
|
1189
|
-
# @param Tags: 模板标签列表
|
1190
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1191
|
-
# @type Tags: Array
|
1192
|
-
|
1193
|
-
attr_accessor :Source, :Name, :Icon, :Description, :Tags
|
1194
|
-
|
1195
|
-
def initialize(source=nil, name=nil, icon=nil, description=nil, tags=nil)
|
1196
|
-
@Source = source
|
1197
|
-
@Name = name
|
1198
|
-
@Icon = icon
|
1199
|
-
@Description = description
|
1200
|
-
@Tags = tags
|
1201
|
-
end
|
1202
|
-
|
1203
|
-
def deserialize(params)
|
1204
|
-
@Source = params['Source']
|
1205
|
-
@Name = params['Name']
|
1206
|
-
@Icon = params['Icon']
|
1207
|
-
@Description = params['Description']
|
1208
|
-
@Tags = params['Tags']
|
1209
|
-
end
|
1210
|
-
end
|
1211
|
-
|
1212
|
-
# 用户信息
|
1213
|
-
class UserInfoRsp < TencentCloud::Common::AbstractModel
|
1214
|
-
# @param Id: 用户ID
|
1215
|
-
# @type Id: Integer
|
1216
|
-
# @param AuthenticationUserInfo: 用户验证信息
|
1217
|
-
# @type AuthenticationUserInfo: :class:`Tencentcloud::Cloudstudio.v20210524.models.UserSubInfo`
|
1218
|
-
# @param Avatar: 头像地址
|
1219
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1220
|
-
# @type Avatar: String
|
1221
|
-
# @param Features: 介绍
|
1222
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1223
|
-
# @type Features: String
|
1224
|
-
# @param PreviewStatus: 状况
|
1225
|
-
# @type PreviewStatus: Integer
|
1226
|
-
|
1227
|
-
attr_accessor :Id, :AuthenticationUserInfo, :Avatar, :Features, :PreviewStatus
|
1228
|
-
|
1229
|
-
def initialize(id=nil, authenticationuserinfo=nil, avatar=nil, features=nil, previewstatus=nil)
|
1230
|
-
@Id = id
|
1231
|
-
@AuthenticationUserInfo = authenticationuserinfo
|
1232
|
-
@Avatar = avatar
|
1233
|
-
@Features = features
|
1234
|
-
@PreviewStatus = previewstatus
|
1235
|
-
end
|
1236
|
-
|
1237
|
-
def deserialize(params)
|
1238
|
-
@Id = params['Id']
|
1239
|
-
unless params['AuthenticationUserInfo'].nil?
|
1240
|
-
@AuthenticationUserInfo = UserSubInfo.new
|
1241
|
-
@AuthenticationUserInfo.deserialize(params['AuthenticationUserInfo'])
|
1242
|
-
end
|
1243
|
-
@Avatar = params['Avatar']
|
1244
|
-
@Features = params['Features']
|
1245
|
-
@PreviewStatus = params['PreviewStatus']
|
1246
|
-
end
|
1247
|
-
end
|
1248
|
-
|
1249
|
-
# 用户验证信息
|
1250
|
-
class UserSubInfo < TencentCloud::Common::AbstractModel
|
1251
|
-
# @param Team: 团队名称
|
1252
|
-
# @type Team: String
|
1253
|
-
# @param UserName: 用户名
|
1254
|
-
# @type UserName: String
|
1255
|
-
# @param NickName: 昵称
|
1256
|
-
# @type NickName: String
|
1257
|
-
# @param IsAdmin: 是否为管理员
|
1258
|
-
# @type IsAdmin: Boolean
|
1259
|
-
# @param IsTrial: xxx
|
1260
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1261
|
-
# @type IsTrial: Boolean
|
1262
|
-
|
1263
|
-
attr_accessor :Team, :UserName, :NickName, :IsAdmin, :IsTrial
|
1264
|
-
|
1265
|
-
def initialize(team=nil, username=nil, nickname=nil, isadmin=nil, istrial=nil)
|
1266
|
-
@Team = team
|
1267
|
-
@UserName = username
|
1268
|
-
@NickName = nickname
|
1269
|
-
@IsAdmin = isadmin
|
1270
|
-
@IsTrial = istrial
|
1271
|
-
end
|
1272
|
-
|
1273
|
-
def deserialize(params)
|
1274
|
-
@Team = params['Team']
|
1275
|
-
@UserName = params['UserName']
|
1276
|
-
@NickName = params['NickName']
|
1277
|
-
@IsAdmin = params['IsAdmin']
|
1278
|
-
@IsTrial = params['IsTrial']
|
1279
|
-
end
|
1280
|
-
end
|
1281
|
-
|
1282
|
-
# 工作空间结构
|
1283
|
-
class WorkspaceDTO < TencentCloud::Common::AbstractModel
|
1284
|
-
# @param Name: 工作空间名称
|
1285
|
-
# @type Name: String
|
1286
|
-
# @param VersionControlType: 代码来源类型
|
1287
|
-
# @type VersionControlType: String
|
1288
|
-
# @param ImageId: 镜像id
|
1289
|
-
# @type ImageId: Integer
|
1290
|
-
# @param ImageName: 镜像名称
|
1291
|
-
# @type ImageName: String
|
1292
|
-
# @param Description: 描述
|
1293
|
-
# @type Description: String
|
1294
|
-
# @param WorkspaceVersion: 工作空间版本
|
1295
|
-
# @type WorkspaceVersion: Integer
|
1296
|
-
# @param WorkspaceResourceDTO: 工作空间资源结构
|
1297
|
-
# @type WorkspaceResourceDTO: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceResourceDTO`
|
1298
|
-
# @param VersionControlUrl: 代码仓库地址
|
1299
|
-
# @type VersionControlUrl: String
|
1300
|
-
# @param VersionControlRef: 代码Ref是分支还是标签
|
1301
|
-
# @type VersionControlRef: String
|
1302
|
-
# @param VersionControlRefType: 代码Ref地址
|
1303
|
-
# @type VersionControlRefType: String
|
1304
|
-
# @param SnapshotUid: 快照Uid
|
1305
|
-
# @type SnapshotUid: String
|
1306
|
-
# @param TemplateId: 模板id
|
1307
|
-
# @type TemplateId: Integer
|
1308
|
-
# @param PriceId: 价格id
|
1309
|
-
# @type PriceId: Integer
|
1310
|
-
# @param InitializeStatus: 初始化状态
|
1311
|
-
# @type InitializeStatus: Integer
|
1312
|
-
# @param VersionControlDesc: 描述
|
1313
|
-
# @type VersionControlDesc: String
|
1314
|
-
|
1315
|
-
attr_accessor :Name, :VersionControlType, :ImageId, :ImageName, :Description, :WorkspaceVersion, :WorkspaceResourceDTO, :VersionControlUrl, :VersionControlRef, :VersionControlRefType, :SnapshotUid, :TemplateId, :PriceId, :InitializeStatus, :VersionControlDesc
|
1316
|
-
|
1317
|
-
def initialize(name=nil, versioncontroltype=nil, imageid=nil, imagename=nil, description=nil, workspaceversion=nil, workspaceresourcedto=nil, versioncontrolurl=nil, versioncontrolref=nil, versioncontrolreftype=nil, snapshotuid=nil, templateid=nil, priceid=nil, initializestatus=nil, versioncontroldesc=nil)
|
1318
|
-
@Name = name
|
1319
|
-
@VersionControlType = versioncontroltype
|
1320
|
-
@ImageId = imageid
|
1321
|
-
@ImageName = imagename
|
1322
|
-
@Description = description
|
1323
|
-
@WorkspaceVersion = workspaceversion
|
1324
|
-
@WorkspaceResourceDTO = workspaceresourcedto
|
1325
|
-
@VersionControlUrl = versioncontrolurl
|
1326
|
-
@VersionControlRef = versioncontrolref
|
1327
|
-
@VersionControlRefType = versioncontrolreftype
|
1328
|
-
@SnapshotUid = snapshotuid
|
1329
|
-
@TemplateId = templateid
|
1330
|
-
@PriceId = priceid
|
1331
|
-
@InitializeStatus = initializestatus
|
1332
|
-
@VersionControlDesc = versioncontroldesc
|
1333
|
-
end
|
1334
|
-
|
1335
|
-
def deserialize(params)
|
1336
|
-
@Name = params['Name']
|
1337
|
-
@VersionControlType = params['VersionControlType']
|
1338
|
-
@ImageId = params['ImageId']
|
1339
|
-
@ImageName = params['ImageName']
|
1340
|
-
@Description = params['Description']
|
1341
|
-
@WorkspaceVersion = params['WorkspaceVersion']
|
1342
|
-
unless params['WorkspaceResourceDTO'].nil?
|
1343
|
-
@WorkspaceResourceDTO = WorkspaceResourceDTO.new
|
1344
|
-
@WorkspaceResourceDTO.deserialize(params['WorkspaceResourceDTO'])
|
1345
|
-
end
|
1346
|
-
@VersionControlUrl = params['VersionControlUrl']
|
1347
|
-
@VersionControlRef = params['VersionControlRef']
|
1348
|
-
@VersionControlRefType = params['VersionControlRefType']
|
1349
|
-
@SnapshotUid = params['SnapshotUid']
|
1350
|
-
@TemplateId = params['TemplateId']
|
1351
|
-
@PriceId = params['PriceId']
|
1352
|
-
@InitializeStatus = params['InitializeStatus']
|
1353
|
-
@VersionControlDesc = params['VersionControlDesc']
|
1354
|
-
end
|
1355
|
-
end
|
1356
|
-
|
1357
|
-
# 工作空间信息
|
1358
|
-
class WorkspaceInfo < TencentCloud::Common::AbstractModel
|
1359
|
-
# @param WorkspaceId: 工作空间ID
|
1360
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1361
|
-
# @type WorkspaceId: Integer
|
1362
|
-
# @param SpaceKey: 工作空间标识
|
1363
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1364
|
-
# @type SpaceKey: String
|
1365
|
-
# @param Name: 工作空间名称
|
1366
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1367
|
-
# @type Name: String
|
1368
|
-
|
1369
|
-
attr_accessor :WorkspaceId, :SpaceKey, :Name
|
1370
|
-
|
1371
|
-
def initialize(workspaceid=nil, spacekey=nil, name=nil)
|
1372
|
-
@WorkspaceId = workspaceid
|
1373
|
-
@SpaceKey = spacekey
|
1374
|
-
@Name = name
|
1375
|
-
end
|
1376
|
-
|
1377
|
-
def deserialize(params)
|
1378
|
-
@WorkspaceId = params['WorkspaceId']
|
1379
|
-
@SpaceKey = params['SpaceKey']
|
1380
|
-
@Name = params['Name']
|
1381
|
-
end
|
1382
|
-
end
|
1383
|
-
|
1384
|
-
# 工作空间基本信息描述
|
1385
|
-
class WorkspaceInfoDTO < TencentCloud::Common::AbstractModel
|
1386
|
-
# @param CreateDate: 工作空间创建时间
|
1387
|
-
# @type CreateDate: String
|
1388
|
-
# @param SpaceKey: 空间key
|
1389
|
-
# @type SpaceKey: String
|
1390
|
-
# @param WorkspaceId: 工作空间id
|
1391
|
-
# @type WorkspaceId: Integer
|
1392
|
-
|
1393
|
-
attr_accessor :CreateDate, :SpaceKey, :WorkspaceId
|
1394
|
-
|
1395
|
-
def initialize(createdate=nil, spacekey=nil, workspaceid=nil)
|
1396
|
-
@CreateDate = createdate
|
1397
|
-
@SpaceKey = spacekey
|
1398
|
-
@WorkspaceId = workspaceid
|
1399
|
-
end
|
1400
|
-
|
1401
|
-
def deserialize(params)
|
1402
|
-
@CreateDate = params['CreateDate']
|
1403
|
-
@SpaceKey = params['SpaceKey']
|
1404
|
-
@WorkspaceId = params['WorkspaceId']
|
1405
|
-
end
|
1406
|
-
end
|
1407
|
-
|
1408
|
-
# 工作空间资源结构
|
1409
|
-
class WorkspaceResourceDTO < TencentCloud::Common::AbstractModel
|
1410
|
-
# @param CpuCoreNumber: CPU核心数
|
1411
|
-
# @type CpuCoreNumber: Integer
|
1412
|
-
# @param NormalMemory: 一般内存
|
1413
|
-
# @type NormalMemory: Integer
|
1414
|
-
# @param SystemStorage: 系统存储
|
1415
|
-
# @type SystemStorage: Integer
|
1416
|
-
# @param UserStorage: 用户存储
|
1417
|
-
# @type UserStorage: Integer
|
1418
|
-
# @param GpuNumber: GPU数
|
1419
|
-
# @type GpuNumber: Integer
|
1420
|
-
# @param GpuMemory: GPU内存
|
1421
|
-
# @type GpuMemory: Integer
|
1422
|
-
|
1423
|
-
attr_accessor :CpuCoreNumber, :NormalMemory, :SystemStorage, :UserStorage, :GpuNumber, :GpuMemory
|
1424
|
-
|
1425
|
-
def initialize(cpucorenumber=nil, normalmemory=nil, systemstorage=nil, userstorage=nil, gpunumber=nil, gpumemory=nil)
|
1426
|
-
@CpuCoreNumber = cpucorenumber
|
1427
|
-
@NormalMemory = normalmemory
|
1428
|
-
@SystemStorage = systemstorage
|
1429
|
-
@UserStorage = userstorage
|
1430
|
-
@GpuNumber = gpunumber
|
1431
|
-
@GpuMemory = gpumemory
|
1432
|
-
end
|
1433
|
-
|
1434
|
-
def deserialize(params)
|
1435
|
-
@CpuCoreNumber = params['CpuCoreNumber']
|
1436
|
-
@NormalMemory = params['NormalMemory']
|
1437
|
-
@SystemStorage = params['SystemStorage']
|
1438
|
-
@UserStorage = params['UserStorage']
|
1439
|
-
@GpuNumber = params['GpuNumber']
|
1440
|
-
@GpuMemory = params['GpuMemory']
|
1441
|
-
end
|
1442
|
-
end
|
1443
|
-
|
1444
|
-
# 用户空间共享信息
|
1445
|
-
class WorkspaceShareInfo < TencentCloud::Common::AbstractModel
|
1446
|
-
# @param Status: 共享或不共享状态
|
1447
|
-
# @type Status: Boolean
|
1448
|
-
# @param WithMe: 是否与我共享
|
1449
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1450
|
-
# @type WithMe: Boolean
|
1451
|
-
# @param BeginDate: 开始共享的时间
|
1452
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1453
|
-
# @type BeginDate: String
|
1454
|
-
# @param EndDate: 停止共享的时间
|
1455
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1456
|
-
# @type EndDate: String
|
1457
|
-
# @param Users: 停止共享的时间
|
1458
|
-
# @type Users: Array
|
1459
|
-
|
1460
|
-
attr_accessor :Status, :WithMe, :BeginDate, :EndDate, :Users
|
1461
|
-
|
1462
|
-
def initialize(status=nil, withme=nil, begindate=nil, enddate=nil, users=nil)
|
1463
|
-
@Status = status
|
1464
|
-
@WithMe = withme
|
1465
|
-
@BeginDate = begindate
|
1466
|
-
@EndDate = enddate
|
1467
|
-
@Users = users
|
1468
|
-
end
|
1469
|
-
|
1470
|
-
def deserialize(params)
|
1471
|
-
@Status = params['Status']
|
1472
|
-
@WithMe = params['WithMe']
|
1473
|
-
@BeginDate = params['BeginDate']
|
1474
|
-
@EndDate = params['EndDate']
|
1475
|
-
unless params['Users'].nil?
|
1476
|
-
@Users = []
|
1477
|
-
params['Users'].each do |i|
|
1478
|
-
userinforsp_tmp = UserInfoRsp.new
|
1479
|
-
userinforsp_tmp.deserialize(i)
|
1480
|
-
@Users << userinforsp_tmp
|
1481
|
-
end
|
1482
|
-
end
|
1483
|
-
end
|
1484
|
-
end
|
1485
|
-
|
1486
|
-
# 获取用户工作空间返回信息
|
1487
|
-
class WorkspaceStatusInfo < TencentCloud::Common::AbstractModel
|
1488
|
-
# @param Id: 空间ID
|
1489
|
-
# @type Id: Integer
|
1490
|
-
# @param Name: 空间名称
|
1491
|
-
# @type Name: String
|
1492
|
-
# @param Owner: 所属人
|
1493
|
-
# @type Owner: :class:`Tencentcloud::Cloudstudio.v20210524.models.UserInfoRsp`
|
1494
|
-
# @param SpaceKey: 空间标识
|
1495
|
-
# @type SpaceKey: String
|
1496
|
-
# @param Status: 状态
|
1497
|
-
# @type Status: String
|
1498
|
-
# @param LastOpsDate: 最后操作时间
|
1499
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1500
|
-
# @type LastOpsDate: String
|
1501
|
-
# @param Description: 描述
|
1502
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1503
|
-
# @type Description: String
|
1504
|
-
# @param Share: 共享状态
|
1505
|
-
# @type Share: :class:`Tencentcloud::Cloudstudio.v20210524.models.WorkspaceShareInfo`
|
1506
|
-
# @param WorkspaceType: 空间类型
|
1507
|
-
# @type WorkspaceType: String
|
1508
|
-
# @param Label: 标签
|
1509
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1510
|
-
# @type Label: String
|
1511
|
-
# @param WorkspaceVersion: 空间版本
|
1512
|
-
# @type WorkspaceVersion: Integer
|
1513
|
-
# @param ImageIcon: 图标地址
|
1514
|
-
# @type ImageIcon: String
|
1515
|
-
# @param CreateDate: 创建时间
|
1516
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1517
|
-
# @type CreateDate: String
|
1518
|
-
# @param VersionControlUrl: 版本控制地址
|
1519
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1520
|
-
# @type VersionControlUrl: String
|
1521
|
-
# @param VersionControlDesc: 版本控制描述
|
1522
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1523
|
-
# @type VersionControlDesc: String
|
1524
|
-
# @param VersionControlRef: 版本控制引用
|
1525
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1526
|
-
# @type VersionControlRef: String
|
1527
|
-
# @param VersionControlRefType: 版本控制引用类型
|
1528
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1529
|
-
# @type VersionControlRefType: String
|
1530
|
-
# @param VersionControlType: 版本控制类型
|
1531
|
-
# @type VersionControlType: String
|
1532
|
-
# @param TemplateId: 模板ID
|
1533
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1534
|
-
# @type TemplateId: Integer
|
1535
|
-
# @param SnapshotUid: 快照ID
|
1536
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1537
|
-
# @type SnapshotUid: String
|
1538
|
-
# @param SpecDesc: 类型
|
1539
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1540
|
-
# @type SpecDesc: String
|
1541
|
-
# @param Cpu: CPU数量
|
1542
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1543
|
-
# @type Cpu: Integer
|
1544
|
-
# @param Memory: 内存
|
1545
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1546
|
-
# @type Memory: Integer
|
1547
|
-
|
1548
|
-
attr_accessor :Id, :Name, :Owner, :SpaceKey, :Status, :LastOpsDate, :Description, :Share, :WorkspaceType, :Label, :WorkspaceVersion, :ImageIcon, :CreateDate, :VersionControlUrl, :VersionControlDesc, :VersionControlRef, :VersionControlRefType, :VersionControlType, :TemplateId, :SnapshotUid, :SpecDesc, :Cpu, :Memory
|
1549
|
-
|
1550
|
-
def initialize(id=nil, name=nil, owner=nil, spacekey=nil, status=nil, lastopsdate=nil, description=nil, share=nil, workspacetype=nil, label=nil, workspaceversion=nil, imageicon=nil, createdate=nil, versioncontrolurl=nil, versioncontroldesc=nil, versioncontrolref=nil, versioncontrolreftype=nil, versioncontroltype=nil, templateid=nil, snapshotuid=nil, specdesc=nil, cpu=nil, memory=nil)
|
1551
|
-
@Id = id
|
1552
|
-
@Name = name
|
1553
|
-
@Owner = owner
|
1554
|
-
@SpaceKey = spacekey
|
1555
|
-
@Status = status
|
1556
|
-
@LastOpsDate = lastopsdate
|
1557
|
-
@Description = description
|
1558
|
-
@Share = share
|
1559
|
-
@WorkspaceType = workspacetype
|
1560
|
-
@Label = label
|
1561
|
-
@WorkspaceVersion = workspaceversion
|
1562
|
-
@ImageIcon = imageicon
|
1563
|
-
@CreateDate = createdate
|
1564
|
-
@VersionControlUrl = versioncontrolurl
|
1565
|
-
@VersionControlDesc = versioncontroldesc
|
1566
|
-
@VersionControlRef = versioncontrolref
|
1567
|
-
@VersionControlRefType = versioncontrolreftype
|
1568
|
-
@VersionControlType = versioncontroltype
|
1569
|
-
@TemplateId = templateid
|
1570
|
-
@SnapshotUid = snapshotuid
|
1571
|
-
@SpecDesc = specdesc
|
1572
|
-
@Cpu = cpu
|
1573
|
-
@Memory = memory
|
1574
|
-
end
|
1575
|
-
|
1576
|
-
def deserialize(params)
|
1577
|
-
@Id = params['Id']
|
1578
|
-
@Name = params['Name']
|
1579
|
-
unless params['Owner'].nil?
|
1580
|
-
@Owner = UserInfoRsp.new
|
1581
|
-
@Owner.deserialize(params['Owner'])
|
1582
|
-
end
|
1583
|
-
@SpaceKey = params['SpaceKey']
|
1584
|
-
@Status = params['Status']
|
1585
|
-
@LastOpsDate = params['LastOpsDate']
|
1586
|
-
@Description = params['Description']
|
1587
|
-
unless params['Share'].nil?
|
1588
|
-
@Share = WorkspaceShareInfo.new
|
1589
|
-
@Share.deserialize(params['Share'])
|
1590
|
-
end
|
1591
|
-
@WorkspaceType = params['WorkspaceType']
|
1592
|
-
@Label = params['Label']
|
1593
|
-
@WorkspaceVersion = params['WorkspaceVersion']
|
1594
|
-
@ImageIcon = params['ImageIcon']
|
1595
|
-
@CreateDate = params['CreateDate']
|
1596
|
-
@VersionControlUrl = params['VersionControlUrl']
|
1597
|
-
@VersionControlDesc = params['VersionControlDesc']
|
1598
|
-
@VersionControlRef = params['VersionControlRef']
|
1599
|
-
@VersionControlRefType = params['VersionControlRefType']
|
1600
|
-
@VersionControlType = params['VersionControlType']
|
1601
|
-
@TemplateId = params['TemplateId']
|
1602
|
-
@SnapshotUid = params['SnapshotUid']
|
1603
|
-
@SpecDesc = params['SpecDesc']
|
1604
|
-
@Cpu = params['Cpu']
|
1605
|
-
@Memory = params['Memory']
|
1606
|
-
end
|
1607
|
-
end
|
1608
|
-
|
1609
|
-
# 工作空间模板信息
|
1610
|
-
class WorkspaceTemplateInfo < TencentCloud::Common::AbstractModel
|
1611
|
-
# @param Id: 模板ID
|
1612
|
-
# @type Id: Integer
|
1613
|
-
# @param Category: 模板分类
|
1614
|
-
# @type Category: String
|
1615
|
-
# @param Name: 模板名称
|
1616
|
-
# @type Name: String
|
1617
|
-
# @param Description: 模板描述
|
1618
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1619
|
-
# @type Description: String
|
1620
|
-
# @param DescriptionEN: 中文描述
|
1621
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1622
|
-
# @type DescriptionEN: String
|
1623
|
-
# @param Tags: 模板标签
|
1624
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1625
|
-
# @type Tags: String
|
1626
|
-
# @param Icon: 模板图标地址
|
1627
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1628
|
-
# @type Icon: String
|
1629
|
-
# @param VersionControlType: 默认仓库类型
|
1630
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1631
|
-
# @type VersionControlType: String
|
1632
|
-
# @param VersionControlUrl: 默认仓库地址
|
1633
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1634
|
-
# @type VersionControlUrl: String
|
1635
|
-
# @param VersionControlDesc: 默认仓库描述
|
1636
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1637
|
-
# @type VersionControlDesc: String
|
1638
|
-
# @param VersionControlOwner: 默认仓库所属人
|
1639
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1640
|
-
# @type VersionControlOwner: String
|
1641
|
-
# @param VersionControlRef: 默认仓库引用地址
|
1642
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1643
|
-
# @type VersionControlRef: String
|
1644
|
-
# @param VersionControlRefType: 默认仓库引用类型
|
1645
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1646
|
-
# @type VersionControlRefType: String
|
1647
|
-
# @param UserVersionControlUrl: 用户自定义仓库地址
|
1648
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1649
|
-
# @type UserVersionControlUrl: String
|
1650
|
-
# @param UserVersionControlType: 用户自定义仓库类型
|
1651
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1652
|
-
# @type UserVersionControlType: String
|
1653
|
-
# @param UserVersionControlRef: 用户自定义仓库引用
|
1654
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1655
|
-
# @type UserVersionControlRef: String
|
1656
|
-
# @param UserVersionControlRefType: 用户自定义仓库引用类型
|
1657
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1658
|
-
# @type UserVersionControlRefType: String
|
1659
|
-
# @param DevFile: xxx
|
1660
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1661
|
-
# @type DevFile: String
|
1662
|
-
# @param PluginFile: xxx
|
1663
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1664
|
-
# @type PluginFile: String
|
1665
|
-
# @param Marked: 是否标记
|
1666
|
-
# @type Marked: Boolean
|
1667
|
-
# @param MarkAt: 标记状态
|
1668
|
-
# @type MarkAt: Integer
|
1669
|
-
# @param CreateDate: 创建时间
|
1670
|
-
# @type CreateDate: String
|
1671
|
-
# @param LastModified: 最后修改时间
|
1672
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1673
|
-
# @type LastModified: String
|
1674
|
-
# @param Sort: 编号
|
1675
|
-
# @type Sort: Integer
|
1676
|
-
# @param SnapshotUid: xxx
|
1677
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1678
|
-
# @type SnapshotUid: String
|
1679
|
-
# @param UserId: 用户ID
|
1680
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1681
|
-
# @type UserId: Integer
|
1682
|
-
# @param Author: 用户名
|
1683
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1684
|
-
# @type Author: String
|
1685
|
-
# @param Me: 是否属于当前用户
|
1686
|
-
# @type Me: Boolean
|
1687
|
-
# @param AuthorAvatar: xxx
|
1688
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1689
|
-
# @type AuthorAvatar: String
|
1690
|
-
|
1691
|
-
attr_accessor :Id, :Category, :Name, :Description, :DescriptionEN, :Tags, :Icon, :VersionControlType, :VersionControlUrl, :VersionControlDesc, :VersionControlOwner, :VersionControlRef, :VersionControlRefType, :UserVersionControlUrl, :UserVersionControlType, :UserVersionControlRef, :UserVersionControlRefType, :DevFile, :PluginFile, :Marked, :MarkAt, :CreateDate, :LastModified, :Sort, :SnapshotUid, :UserId, :Author, :Me, :AuthorAvatar
|
1692
|
-
|
1693
|
-
def initialize(id=nil, category=nil, name=nil, description=nil, descriptionen=nil, tags=nil, icon=nil, versioncontroltype=nil, versioncontrolurl=nil, versioncontroldesc=nil, versioncontrolowner=nil, versioncontrolref=nil, versioncontrolreftype=nil, userversioncontrolurl=nil, userversioncontroltype=nil, userversioncontrolref=nil, userversioncontrolreftype=nil, devfile=nil, pluginfile=nil, marked=nil, markat=nil, createdate=nil, lastmodified=nil, sort=nil, snapshotuid=nil, userid=nil, author=nil, me=nil, authoravatar=nil)
|
1694
|
-
@Id = id
|
1695
|
-
@Category = category
|
1696
|
-
@Name = name
|
1697
|
-
@Description = description
|
1698
|
-
@DescriptionEN = descriptionen
|
1699
|
-
@Tags = tags
|
1700
|
-
@Icon = icon
|
1701
|
-
@VersionControlType = versioncontroltype
|
1702
|
-
@VersionControlUrl = versioncontrolurl
|
1703
|
-
@VersionControlDesc = versioncontroldesc
|
1704
|
-
@VersionControlOwner = versioncontrolowner
|
1705
|
-
@VersionControlRef = versioncontrolref
|
1706
|
-
@VersionControlRefType = versioncontrolreftype
|
1707
|
-
@UserVersionControlUrl = userversioncontrolurl
|
1708
|
-
@UserVersionControlType = userversioncontroltype
|
1709
|
-
@UserVersionControlRef = userversioncontrolref
|
1710
|
-
@UserVersionControlRefType = userversioncontrolreftype
|
1711
|
-
@DevFile = devfile
|
1712
|
-
@PluginFile = pluginfile
|
1713
|
-
@Marked = marked
|
1714
|
-
@MarkAt = markat
|
1715
|
-
@CreateDate = createdate
|
1716
|
-
@LastModified = lastmodified
|
1717
|
-
@Sort = sort
|
1718
|
-
@SnapshotUid = snapshotuid
|
1719
|
-
@UserId = userid
|
1720
|
-
@Author = author
|
1721
|
-
@Me = me
|
1722
|
-
@AuthorAvatar = authoravatar
|
1723
|
-
end
|
1724
|
-
|
1725
|
-
def deserialize(params)
|
1726
|
-
@Id = params['Id']
|
1727
|
-
@Category = params['Category']
|
1728
|
-
@Name = params['Name']
|
1729
|
-
@Description = params['Description']
|
1730
|
-
@DescriptionEN = params['DescriptionEN']
|
1731
|
-
@Tags = params['Tags']
|
1732
|
-
@Icon = params['Icon']
|
1733
|
-
@VersionControlType = params['VersionControlType']
|
1734
|
-
@VersionControlUrl = params['VersionControlUrl']
|
1735
|
-
@VersionControlDesc = params['VersionControlDesc']
|
1736
|
-
@VersionControlOwner = params['VersionControlOwner']
|
1737
|
-
@VersionControlRef = params['VersionControlRef']
|
1738
|
-
@VersionControlRefType = params['VersionControlRefType']
|
1739
|
-
@UserVersionControlUrl = params['UserVersionControlUrl']
|
1740
|
-
@UserVersionControlType = params['UserVersionControlType']
|
1741
|
-
@UserVersionControlRef = params['UserVersionControlRef']
|
1742
|
-
@UserVersionControlRefType = params['UserVersionControlRefType']
|
1743
|
-
@DevFile = params['DevFile']
|
1744
|
-
@PluginFile = params['PluginFile']
|
1745
|
-
@Marked = params['Marked']
|
1746
|
-
@MarkAt = params['MarkAt']
|
1747
|
-
@CreateDate = params['CreateDate']
|
1748
|
-
@LastModified = params['LastModified']
|
1749
|
-
@Sort = params['Sort']
|
1750
|
-
@SnapshotUid = params['SnapshotUid']
|
1751
|
-
@UserId = params['UserId']
|
1752
|
-
@Author = params['Author']
|
1753
|
-
@Me = params['Me']
|
1754
|
-
@AuthorAvatar = params['AuthorAvatar']
|
1755
|
-
end
|
1756
|
-
end
|
1757
|
-
|
1758
|
-
# 创建临时工作空间凭证 DTO
|
1759
|
-
class WorkspaceTokenDTO < TencentCloud::Common::AbstractModel
|
1760
|
-
# @param SpaceKey: 工作空间 SpaceKey
|
1761
|
-
# @type SpaceKey: String
|
1762
|
-
# @param TokenExpiredLimitSec: token过期时间,单位是秒,默认 3600
|
1763
|
-
# @type TokenExpiredLimitSec: Integer
|
1764
|
-
|
1765
|
-
attr_accessor :SpaceKey, :TokenExpiredLimitSec
|
1766
|
-
|
1767
|
-
def initialize(spacekey=nil, tokenexpiredlimitsec=nil)
|
1768
|
-
@SpaceKey = spacekey
|
1769
|
-
@TokenExpiredLimitSec = tokenexpiredlimitsec
|
1770
|
-
end
|
1771
|
-
|
1772
|
-
def deserialize(params)
|
1773
|
-
@SpaceKey = params['SpaceKey']
|
1774
|
-
@TokenExpiredLimitSec = params['TokenExpiredLimitSec']
|
1775
|
-
end
|
1776
|
-
end
|
1777
|
-
|
1778
|
-
# 获取工作空间临时访问 token 出参
|
1779
|
-
class WorkspaceTokenInfoV0 < TencentCloud::Common::AbstractModel
|
1780
|
-
# @param Token: 访问工作空间临时凭证
|
1781
|
-
# @type Token: String
|
1782
|
-
# @param ExpiredTime: token 过期时间
|
1783
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1784
|
-
# @type ExpiredTime: String
|
1785
|
-
|
1786
|
-
attr_accessor :Token, :ExpiredTime
|
1787
|
-
|
1788
|
-
def initialize(token=nil, expiredtime=nil)
|
1789
|
-
@Token = token
|
1790
|
-
@ExpiredTime = expiredtime
|
1791
|
-
end
|
1792
|
-
|
1793
|
-
def deserialize(params)
|
1794
|
-
@Token = params['Token']
|
1795
|
-
@ExpiredTime = params['ExpiredTime']
|
1796
|
-
end
|
1797
|
-
end
|
1798
|
-
|
1799
|
-
end
|
1800
|
-
end
|
1801
|
-
end
|
1802
|
-
|