tencentcloud-sdk-cdwch 3.0.460

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: 70a3cd7f836914b870bc82b0dd14a3726be0f4a5
4
+ data.tar.gz: fb03ac9e590572bc4b25b1b8043e4859835f0d18
5
+ SHA512:
6
+ metadata.gz: b8b2146cf2ce6559fbfba58a3a3f4d4c6b6c84e85cd84747c5030a977df8888240577a9e93b60265375e727f91773d98fcdb193ba4009ffb09e6cc15ef4b1723
7
+ data.tar.gz: 07ade69bfe7ec34c5cd0202c76d7658ed61694304372b1d4e2eeea138ae1e5ddf73e1be8b5d1adac580ce18970c13ed8ba80b43afb927248da36f686cb3707b2
data/lib/VERSION ADDED
@@ -0,0 +1 @@
1
+ 3.0.460
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'tencentcloud-sdk-common'
4
+
5
+ require_relative 'v20200915/client'
6
+ require_relative 'v20200915/models'
7
+
8
+ module TencentCloud
9
+ module Cdwch
10
+ end
11
+ end
@@ -0,0 +1,204 @@
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 Cdwch
21
+ module V20200915
22
+ class Client < TencentCloud::Common::AbstractClient
23
+
24
+ def initialize(credential, region, profile = nil)
25
+ api_version = '2020-09-15'
26
+ api_endpoint = 'cdwch.tencentcloudapi.com'
27
+ sdk_version = 'CDWCH_' + 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 ActionAlterCkUser.
35
+ # @type request: :class:`Tencentcloud::cdwch::V20200915::ActionAlterCkUserRequest`
36
+ # @rtype: :class:`Tencentcloud::cdwch::V20200915::ActionAlterCkUserResponse`
37
+ def ActionAlterCkUser(request)
38
+ body = send_request('ActionAlterCkUser', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = ActionAlterCkUserResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
56
+ # 创建或者修改备份策略
57
+
58
+ # @param request: Request instance for CreateBackUpSchedule.
59
+ # @type request: :class:`Tencentcloud::cdwch::V20200915::CreateBackUpScheduleRequest`
60
+ # @rtype: :class:`Tencentcloud::cdwch::V20200915::CreateBackUpScheduleResponse`
61
+ def CreateBackUpSchedule(request)
62
+ body = send_request('CreateBackUpSchedule', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CreateBackUpScheduleResponse.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
+ # 针对驱动sql命令查询ck集群接口
81
+
82
+ # @param request: Request instance for DescribeCkSqlApis.
83
+ # @type request: :class:`Tencentcloud::cdwch::V20200915::DescribeCkSqlApisRequest`
84
+ # @rtype: :class:`Tencentcloud::cdwch::V20200915::DescribeCkSqlApisResponse`
85
+ def DescribeCkSqlApis(request)
86
+ body = send_request('DescribeCkSqlApis', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = DescribeCkSqlApisResponse.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
+ # 获取实例shard信息列表
105
+
106
+ # @param request: Request instance for DescribeInstanceShards.
107
+ # @type request: :class:`Tencentcloud::cdwch::V20200915::DescribeInstanceShardsRequest`
108
+ # @rtype: :class:`Tencentcloud::cdwch::V20200915::DescribeInstanceShardsResponse`
109
+ def DescribeInstanceShards(request)
110
+ body = send_request('DescribeInstanceShards', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DescribeInstanceShardsResponse.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
+ # 在集群配置页面修改集群配置文件接口,xml模式
129
+
130
+ # @param request: Request instance for ModifyClusterConfigs.
131
+ # @type request: :class:`Tencentcloud::cdwch::V20200915::ModifyClusterConfigsRequest`
132
+ # @rtype: :class:`Tencentcloud::cdwch::V20200915::ModifyClusterConfigsResponse`
133
+ def ModifyClusterConfigs(request)
134
+ body = send_request('ModifyClusterConfigs', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = ModifyClusterConfigsResponse.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
+ # 针对ck账号的权限做管控(新版)
153
+
154
+ # @param request: Request instance for ModifyUserNewPrivilege.
155
+ # @type request: :class:`Tencentcloud::cdwch::V20200915::ModifyUserNewPrivilegeRequest`
156
+ # @rtype: :class:`Tencentcloud::cdwch::V20200915::ModifyUserNewPrivilegeResponse`
157
+ def ModifyUserNewPrivilege(request)
158
+ body = send_request('ModifyUserNewPrivilege', request.serialize)
159
+ response = JSON.parse(body)
160
+ if response['Response'].key?('Error') == false
161
+ model = ModifyUserNewPrivilegeResponse.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
+ # 开启或者关闭策略
177
+
178
+ # @param request: Request instance for OpenBackUp.
179
+ # @type request: :class:`Tencentcloud::cdwch::V20200915::OpenBackUpRequest`
180
+ # @rtype: :class:`Tencentcloud::cdwch::V20200915::OpenBackUpResponse`
181
+ def OpenBackUp(request)
182
+ body = send_request('OpenBackUp', request.serialize)
183
+ response = JSON.parse(body)
184
+ if response['Response'].key?('Error') == false
185
+ model = OpenBackUpResponse.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
+ end
202
+ end
203
+ end
204
+ end
@@ -0,0 +1,414 @@
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 Cdwch
19
+ module V20200915
20
+ # ActionAlterCkUser请求参数结构体
21
+ class ActionAlterCkUserRequest < TencentCloud::Common::AbstractModel
22
+ # @param UserInfo: 用户信息
23
+ # @type UserInfo: :class:`Tencentcloud::Cdwch.v20200915.models.CkUserAlterInfo`
24
+ # @param ApiType: api接口类型
25
+ # @type ApiType: String
26
+
27
+ attr_accessor :UserInfo, :ApiType
28
+
29
+ def initialize(userinfo=nil, apitype=nil)
30
+ @UserInfo = userinfo
31
+ @ApiType = apitype
32
+ end
33
+
34
+ def deserialize(params)
35
+ unless params['UserInfo'].nil?
36
+ @UserInfo = CkUserAlterInfo.new
37
+ @UserInfo.deserialize(params['UserInfo'])
38
+ end
39
+ @ApiType = params['ApiType']
40
+ end
41
+ end
42
+
43
+ # ActionAlterCkUser返回参数结构体
44
+ class ActionAlterCkUserResponse < TencentCloud::Common::AbstractModel
45
+ # @param ErrMsg: 错误信息
46
+ # 注意:此字段可能返回 null,表示取不到有效值。
47
+ # @type ErrMsg: String
48
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
49
+ # @type RequestId: String
50
+
51
+ attr_accessor :ErrMsg, :RequestId
52
+
53
+ def initialize(errmsg=nil, requestid=nil)
54
+ @ErrMsg = errmsg
55
+ @RequestId = requestid
56
+ end
57
+
58
+ def deserialize(params)
59
+ @ErrMsg = params['ErrMsg']
60
+ @RequestId = params['RequestId']
61
+ end
62
+ end
63
+
64
+ # 备份表信息
65
+ class BackupTableContent < TencentCloud::Common::AbstractModel
66
+ # @param Database: 数据库
67
+ # @type Database: String
68
+ # @param Table: 表
69
+ # @type Table: String
70
+ # @param TotalBytes: 表总字节数
71
+ # @type TotalBytes: Integer
72
+ # @param VCluster: 虚拟cluster
73
+ # @type VCluster: String
74
+ # @param Ips: 表ip
75
+ # @type Ips: String
76
+
77
+ attr_accessor :Database, :Table, :TotalBytes, :VCluster, :Ips
78
+
79
+ def initialize(database=nil, table=nil, totalbytes=nil, vcluster=nil, ips=nil)
80
+ @Database = database
81
+ @Table = table
82
+ @TotalBytes = totalbytes
83
+ @VCluster = vcluster
84
+ @Ips = ips
85
+ end
86
+
87
+ def deserialize(params)
88
+ @Database = params['Database']
89
+ @Table = params['Table']
90
+ @TotalBytes = params['TotalBytes']
91
+ @VCluster = params['VCluster']
92
+ @Ips = params['Ips']
93
+ end
94
+ end
95
+
96
+ # 新增或是修改ck用户
97
+ class CkUserAlterInfo < TencentCloud::Common::AbstractModel
98
+ # @param InstanceId: 集群实例id
99
+ # @type InstanceId: String
100
+ # @param UserName: 用户名
101
+ # @type UserName: String
102
+ # @param PassWord: 密码
103
+ # @type PassWord: String
104
+ # @param Describe: 描述
105
+ # @type Describe: String
106
+
107
+ attr_accessor :InstanceId, :UserName, :PassWord, :Describe
108
+
109
+ def initialize(instanceid=nil, username=nil, password=nil, describe=nil)
110
+ @InstanceId = instanceid
111
+ @UserName = username
112
+ @PassWord = password
113
+ @Describe = describe
114
+ end
115
+
116
+ def deserialize(params)
117
+ @InstanceId = params['InstanceId']
118
+ @UserName = params['UserName']
119
+ @PassWord = params['PassWord']
120
+ @Describe = params['Describe']
121
+ end
122
+ end
123
+
124
+ # 配置文件修改信息
125
+ class ConfigSubmitContext < TencentCloud::Common::AbstractModel
126
+ # @param FileName: 配置文件名称
127
+ # @type FileName: String
128
+ # @param OldConfValue: 配置文件旧内容,base64编码
129
+ # @type OldConfValue: String
130
+ # @param NewConfValue: 配置文件新内容,base64编码
131
+ # @type NewConfValue: String
132
+ # @param FilePath: 保存配置文件的路径
133
+ # @type FilePath: String
134
+
135
+ attr_accessor :FileName, :OldConfValue, :NewConfValue, :FilePath
136
+
137
+ def initialize(filename=nil, oldconfvalue=nil, newconfvalue=nil, filepath=nil)
138
+ @FileName = filename
139
+ @OldConfValue = oldconfvalue
140
+ @NewConfValue = newconfvalue
141
+ @FilePath = filepath
142
+ end
143
+
144
+ def deserialize(params)
145
+ @FileName = params['FileName']
146
+ @OldConfValue = params['OldConfValue']
147
+ @NewConfValue = params['NewConfValue']
148
+ @FilePath = params['FilePath']
149
+ end
150
+ end
151
+
152
+ # CreateBackUpSchedule请求参数结构体
153
+ class CreateBackUpScheduleRequest < TencentCloud::Common::AbstractModel
154
+ # @param ScheduleId: 编辑时需要传
155
+ # @type ScheduleId: Integer
156
+ # @param WeekDays: 选择的星期 逗号分隔
157
+ # @type WeekDays: String
158
+ # @param ExecuteHour: 执行小时
159
+ # @type ExecuteHour: Integer
160
+ # @param BackUpTables: 备份表列表
161
+ # @type BackUpTables: Array
162
+
163
+ attr_accessor :ScheduleId, :WeekDays, :ExecuteHour, :BackUpTables
164
+
165
+ def initialize(scheduleid=nil, weekdays=nil, executehour=nil, backuptables=nil)
166
+ @ScheduleId = scheduleid
167
+ @WeekDays = weekdays
168
+ @ExecuteHour = executehour
169
+ @BackUpTables = backuptables
170
+ end
171
+
172
+ def deserialize(params)
173
+ @ScheduleId = params['ScheduleId']
174
+ @WeekDays = params['WeekDays']
175
+ @ExecuteHour = params['ExecuteHour']
176
+ unless params['BackUpTables'].nil?
177
+ @BackUpTables = []
178
+ params['BackUpTables'].each do |i|
179
+ backuptablecontent_tmp = BackupTableContent.new
180
+ backuptablecontent_tmp.deserialize(i)
181
+ @BackUpTables << backuptablecontent_tmp
182
+ end
183
+ end
184
+ end
185
+ end
186
+
187
+ # CreateBackUpSchedule返回参数结构体
188
+ class CreateBackUpScheduleResponse < TencentCloud::Common::AbstractModel
189
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
190
+ # @type RequestId: String
191
+
192
+ attr_accessor :RequestId
193
+
194
+ def initialize(requestid=nil)
195
+ @RequestId = requestid
196
+ end
197
+
198
+ def deserialize(params)
199
+ @RequestId = params['RequestId']
200
+ end
201
+ end
202
+
203
+ # DescribeCkSqlApis请求参数结构体
204
+ class DescribeCkSqlApisRequest < TencentCloud::Common::AbstractModel
205
+ # @param InstanceId: 实例id
206
+ # @type InstanceId: String
207
+ # @param ApiType: api接口名称
208
+ # @type ApiType: String
209
+ # @param Cluster: 集群名称
210
+ # @type Cluster: String
211
+ # @param UserName: 用户名称
212
+ # @type UserName: String
213
+
214
+ attr_accessor :InstanceId, :ApiType, :Cluster, :UserName
215
+
216
+ def initialize(instanceid=nil, apitype=nil, cluster=nil, username=nil)
217
+ @InstanceId = instanceid
218
+ @ApiType = apitype
219
+ @Cluster = cluster
220
+ @UserName = username
221
+ end
222
+
223
+ def deserialize(params)
224
+ @InstanceId = params['InstanceId']
225
+ @ApiType = params['ApiType']
226
+ @Cluster = params['Cluster']
227
+ @UserName = params['UserName']
228
+ end
229
+ end
230
+
231
+ # DescribeCkSqlApis返回参数结构体
232
+ class DescribeCkSqlApisResponse < TencentCloud::Common::AbstractModel
233
+ # @param ReturnData: 返回的查询数据,大部分情况是list,也可能是bool
234
+ # 注意:此字段可能返回 null,表示取不到有效值。
235
+ # @type ReturnData: String
236
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
237
+ # @type RequestId: String
238
+
239
+ attr_accessor :ReturnData, :RequestId
240
+
241
+ def initialize(returndata=nil, requestid=nil)
242
+ @ReturnData = returndata
243
+ @RequestId = requestid
244
+ end
245
+
246
+ def deserialize(params)
247
+ @ReturnData = params['ReturnData']
248
+ @RequestId = params['RequestId']
249
+ end
250
+ end
251
+
252
+ # DescribeInstanceShards请求参数结构体
253
+ class DescribeInstanceShardsRequest < TencentCloud::Common::AbstractModel
254
+ # @param InstanceId: 集群实例ID
255
+ # @type InstanceId: String
256
+
257
+ attr_accessor :InstanceId
258
+
259
+ def initialize(instanceid=nil)
260
+ @InstanceId = instanceid
261
+ end
262
+
263
+ def deserialize(params)
264
+ @InstanceId = params['InstanceId']
265
+ end
266
+ end
267
+
268
+ # DescribeInstanceShards返回参数结构体
269
+ class DescribeInstanceShardsResponse < TencentCloud::Common::AbstractModel
270
+ # @param InstanceShardsList: 实例shard信息
271
+ # 注意:此字段可能返回 null,表示取不到有效值。
272
+ # @type InstanceShardsList: String
273
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
274
+ # @type RequestId: String
275
+
276
+ attr_accessor :InstanceShardsList, :RequestId
277
+
278
+ def initialize(instanceshardslist=nil, requestid=nil)
279
+ @InstanceShardsList = instanceshardslist
280
+ @RequestId = requestid
281
+ end
282
+
283
+ def deserialize(params)
284
+ @InstanceShardsList = params['InstanceShardsList']
285
+ @RequestId = params['RequestId']
286
+ end
287
+ end
288
+
289
+ # ModifyClusterConfigs请求参数结构体
290
+ class ModifyClusterConfigsRequest < TencentCloud::Common::AbstractModel
291
+ # @param InstanceId: 集群ID,例如cdwch-xxxx
292
+ # @type InstanceId: String
293
+ # @param ModifyConfContext: 配置文件修改信息
294
+ # @type ModifyConfContext: Array
295
+ # @param Remark: 修改原因
296
+ # @type Remark: String
297
+
298
+ attr_accessor :InstanceId, :ModifyConfContext, :Remark
299
+
300
+ def initialize(instanceid=nil, modifyconfcontext=nil, remark=nil)
301
+ @InstanceId = instanceid
302
+ @ModifyConfContext = modifyconfcontext
303
+ @Remark = remark
304
+ end
305
+
306
+ def deserialize(params)
307
+ @InstanceId = params['InstanceId']
308
+ unless params['ModifyConfContext'].nil?
309
+ @ModifyConfContext = []
310
+ params['ModifyConfContext'].each do |i|
311
+ configsubmitcontext_tmp = ConfigSubmitContext.new
312
+ configsubmitcontext_tmp.deserialize(i)
313
+ @ModifyConfContext << configsubmitcontext_tmp
314
+ end
315
+ end
316
+ @Remark = params['Remark']
317
+ end
318
+ end
319
+
320
+ # ModifyClusterConfigs返回参数结构体
321
+ class ModifyClusterConfigsResponse < TencentCloud::Common::AbstractModel
322
+ # @param FlowId: 流程相关信息
323
+ # @type FlowId: Integer
324
+ # @param ErrorMsg: 错误信息
325
+ # @type ErrorMsg: String
326
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
327
+ # @type RequestId: String
328
+
329
+ attr_accessor :FlowId, :ErrorMsg, :RequestId
330
+
331
+ def initialize(flowid=nil, errormsg=nil, requestid=nil)
332
+ @FlowId = flowid
333
+ @ErrorMsg = errormsg
334
+ @RequestId = requestid
335
+ end
336
+
337
+ def deserialize(params)
338
+ @FlowId = params['FlowId']
339
+ @ErrorMsg = params['ErrorMsg']
340
+ @RequestId = params['RequestId']
341
+ end
342
+ end
343
+
344
+ # ModifyUserNewPrivilege请求参数结构体
345
+ class ModifyUserNewPrivilegeRequest < TencentCloud::Common::AbstractModel
346
+
347
+
348
+ def initialize()
349
+ end
350
+
351
+ def deserialize(params)
352
+ end
353
+ end
354
+
355
+ # ModifyUserNewPrivilege返回参数结构体
356
+ class ModifyUserNewPrivilegeResponse < 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
+ # OpenBackUp请求参数结构体
372
+ class OpenBackUpRequest < TencentCloud::Common::AbstractModel
373
+ # @param InstanceId: 集群id
374
+ # @type InstanceId: String
375
+ # @param OperationType: OPEN 或者CLOSE
376
+ # @type OperationType: String
377
+ # @param CosBucketName: 桶名字
378
+ # @type CosBucketName: String
379
+
380
+ attr_accessor :InstanceId, :OperationType, :CosBucketName
381
+
382
+ def initialize(instanceid=nil, operationtype=nil, cosbucketname=nil)
383
+ @InstanceId = instanceid
384
+ @OperationType = operationtype
385
+ @CosBucketName = cosbucketname
386
+ end
387
+
388
+ def deserialize(params)
389
+ @InstanceId = params['InstanceId']
390
+ @OperationType = params['OperationType']
391
+ @CosBucketName = params['CosBucketName']
392
+ end
393
+ end
394
+
395
+ # OpenBackUp返回参数结构体
396
+ class OpenBackUpResponse < TencentCloud::Common::AbstractModel
397
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
398
+ # @type RequestId: String
399
+
400
+ attr_accessor :RequestId
401
+
402
+ def initialize(requestid=nil)
403
+ @RequestId = requestid
404
+ end
405
+
406
+ def deserialize(params)
407
+ @RequestId = params['RequestId']
408
+ end
409
+ end
410
+
411
+ end
412
+ end
413
+ end
414
+
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tencentcloud-sdk-cdwch
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.0.460
5
+ platform: ruby
6
+ authors:
7
+ - Tencent Cloud
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-11-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: tencentcloud-sdk-common
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '3.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '3.0'
27
+ description: Tencent Cloud Ruby SDK is the official software development kit, which
28
+ allows Ruby developers to write software that makes use of Tencent Cloud service
29
+ CDWCH.
30
+ email:
31
+ - tencentcloudapi@tencent.com
32
+ executables: []
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - lib/tencentcloud-sdk-cdwch.rb
37
+ - lib/v20200915/client.rb
38
+ - lib/v20200915/models.rb
39
+ - lib/VERSION
40
+ homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
+ licenses:
42
+ - Apache-2.0
43
+ metadata:
44
+ source_code_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/tencentcloud-sdk-cdwch
45
+ changelog_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/blob/master/CHANGELOG.md
46
+ post_install_message:
47
+ rdoc_options: []
48
+ require_paths:
49
+ - lib
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ required_rubygems_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - '>='
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ requirements: []
61
+ rubyforge_project:
62
+ rubygems_version: 2.0.14
63
+ signing_key:
64
+ specification_version: 4
65
+ summary: Tencent Cloud SDK for Ruby - CDWCH
66
+ test_files: []