Class: TencentCloud::Tcaplusdb::V20190823::Client
- Inherits:
-
Common::AbstractClient
- Object
- Common::AbstractClient
- TencentCloud::Tcaplusdb::V20190823::Client
- Defined in:
- lib/v20190823/client.rb
Instance Method Summary collapse
-
#ClearTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ClearTablesResponse`.
-
#CompareIdlFiles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::CompareIdlFilesResponse`.
-
#CreateBackup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::CreateBackupResponse`.
-
#CreateCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::CreateClusterResponse`.
-
#CreateSnapshots(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::CreateSnapshotsResponse`.
-
#CreateTableGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::CreateTableGroupResponse`.
-
#CreateTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::CreateTablesResponse`.
-
#DeleteBackupRecords(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DeleteBackupRecordsResponse`.
-
#DeleteCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DeleteClusterResponse`.
-
#DeleteIdlFiles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DeleteIdlFilesResponse`.
-
#DeleteSnapshots(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DeleteSnapshotsResponse`.
-
#DeleteTableDataFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DeleteTableDataFlowResponse`.
-
#DeleteTableGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DeleteTableGroupResponse`.
-
#DeleteTableIndex(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DeleteTableIndexResponse`.
-
#DeleteTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DeleteTablesResponse`.
-
#DescribeApplications(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeApplicationsResponse`.
-
#DescribeBackupRecords(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeBackupRecordsResponse`.
-
#DescribeClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeClustersResponse`.
-
#DescribeClusterTags(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeClusterTagsResponse`.
-
#DescribeIdlFileInfos(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeIdlFileInfosResponse`.
-
#DescribeMachine(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeMachineResponse`.
-
#DescribeRegions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeRegionsResponse`.
-
#DescribeSnapshots(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeSnapshotsResponse`.
-
#DescribeTableGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeTableGroupsResponse`.
-
#DescribeTableGroupTags(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeTableGroupTagsResponse`.
-
#DescribeTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeTablesResponse`.
-
#DescribeTablesInRecycle(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeTablesInRecycleResponse`.
-
#DescribeTableTags(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeTableTagsResponse`.
-
#DescribeTasks(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeTasksResponse`.
-
#DescribeUinInWhitelist(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeUinInWhitelistResponse`.
-
#DisableRestProxy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DisableRestProxyResponse`.
-
#EnableRestProxy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::EnableRestProxyResponse`.
-
#ImportSnapshots(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ImportSnapshotsResponse`.
-
#initialize(credential, region, profile = nil) ⇒ Client
constructor
A new instance of Client.
-
#MergeTablesData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::MergeTablesDataResponse`.
-
#ModifyCensorship(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyCensorshipResponse`.
-
#ModifyClusterMachine(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyClusterMachineResponse`.
-
#ModifyClusterName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyClusterNameResponse`.
-
#ModifyClusterPassword(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyClusterPasswordResponse`.
-
#ModifyClusterTags(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyClusterTagsResponse`.
-
#ModifySnapshots(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifySnapshotsResponse`.
-
#ModifyTableGroupName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyTableGroupNameResponse`.
-
#ModifyTableGroupTags(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyTableGroupTagsResponse`.
-
#ModifyTableMemos(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyTableMemosResponse`.
-
#ModifyTableQuotas(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyTableQuotasResponse`.
-
#ModifyTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyTablesResponse`.
-
#ModifyTableTags(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyTableTagsResponse`.
-
#RecoverRecycleTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::RecoverRecycleTablesResponse`.
-
#RollbackTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::RollbackTablesResponse`.
-
#SetBackupExpireRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::SetBackupExpireRuleResponse`.
-
#SetTableDataFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::SetTableDataFlowResponse`.
-
#SetTableIndex(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::SetTableIndexResponse`.
-
#UpdateApply(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::UpdateApplyResponse`.
-
#VerifyIdlFiles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::VerifyIdlFilesResponse`.
Constructor Details
#initialize(credential, region, profile = nil) ⇒ Client
Returns a new instance of Client.
24 25 26 27 28 29 |
# File 'lib/v20190823/client.rb', line 24 def initialize(credential, region, profile = nil) api_version = '2019-08-23' api_endpoint = 'tcaplusdb.tencentcloudapi.com' sdk_version = 'TCAPLUSDB_' + File.read(File.('../VERSION', __dir__)).strip super(credential, region, api_version, api_endpoint, sdk_version, profile) end |
Instance Method Details
#ClearTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ClearTablesResponse`
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/v20190823/client.rb', line 37 def ClearTables(request) body = send_request('ClearTables', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ClearTablesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CompareIdlFiles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::CompareIdlFilesResponse`
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/v20190823/client.rb', line 61 def CompareIdlFiles(request) body = send_request('CompareIdlFiles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CompareIdlFilesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateBackup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::CreateBackupResponse`
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/v20190823/client.rb', line 85 def CreateBackup(request) body = send_request('CreateBackup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateBackupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::CreateClusterResponse`
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/v20190823/client.rb', line 109 def CreateCluster(request) body = send_request('CreateCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateSnapshots(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::CreateSnapshotsResponse`
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/v20190823/client.rb', line 133 def CreateSnapshots(request) body = send_request('CreateSnapshots', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateSnapshotsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateTableGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::CreateTableGroupResponse`
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/v20190823/client.rb', line 157 def CreateTableGroup(request) body = send_request('CreateTableGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateTableGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::CreateTablesResponse`
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
# File 'lib/v20190823/client.rb', line 181 def CreateTables(request) body = send_request('CreateTables', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateTablesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteBackupRecords(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DeleteBackupRecordsResponse`
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 |
# File 'lib/v20190823/client.rb', line 205 def DeleteBackupRecords(request) body = send_request('DeleteBackupRecords', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteBackupRecordsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DeleteClusterResponse`
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 |
# File 'lib/v20190823/client.rb', line 229 def DeleteCluster(request) body = send_request('DeleteCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteIdlFiles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DeleteIdlFilesResponse`
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'lib/v20190823/client.rb', line 253 def DeleteIdlFiles(request) body = send_request('DeleteIdlFiles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteIdlFilesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteSnapshots(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DeleteSnapshotsResponse`
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 |
# File 'lib/v20190823/client.rb', line 277 def DeleteSnapshots(request) body = send_request('DeleteSnapshots', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteSnapshotsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteTableDataFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DeleteTableDataFlowResponse`
301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 |
# File 'lib/v20190823/client.rb', line 301 def DeleteTableDataFlow(request) body = send_request('DeleteTableDataFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteTableDataFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteTableGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DeleteTableGroupResponse`
325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 |
# File 'lib/v20190823/client.rb', line 325 def DeleteTableGroup(request) body = send_request('DeleteTableGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteTableGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteTableIndex(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DeleteTableIndexResponse`
349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 |
# File 'lib/v20190823/client.rb', line 349 def DeleteTableIndex(request) body = send_request('DeleteTableIndex', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteTableIndexResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DeleteTablesResponse`
373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 |
# File 'lib/v20190823/client.rb', line 373 def DeleteTables(request) body = send_request('DeleteTables', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteTablesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeApplications(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeApplicationsResponse`
397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 |
# File 'lib/v20190823/client.rb', line 397 def DescribeApplications(request) body = send_request('DescribeApplications', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeApplicationsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBackupRecords(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeBackupRecordsResponse`
425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 |
# File 'lib/v20190823/client.rb', line 425 def DescribeBackupRecords(request) body = send_request('DescribeBackupRecords', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBackupRecordsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeClustersResponse`
473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 |
# File 'lib/v20190823/client.rb', line 473 def DescribeClusters(request) body = send_request('DescribeClusters', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClustersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterTags(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeClusterTagsResponse`
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 |
# File 'lib/v20190823/client.rb', line 449 def DescribeClusterTags(request) body = send_request('DescribeClusterTags', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterTagsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeIdlFileInfos(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeIdlFileInfosResponse`
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 |
# File 'lib/v20190823/client.rb', line 497 def DescribeIdlFileInfos(request) body = send_request('DescribeIdlFileInfos', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeIdlFileInfosResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeMachine(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeMachineResponse`
521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 |
# File 'lib/v20190823/client.rb', line 521 def DescribeMachine(request) body = send_request('DescribeMachine', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeMachineResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRegions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeRegionsResponse`
545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 |
# File 'lib/v20190823/client.rb', line 545 def DescribeRegions(request) body = send_request('DescribeRegions', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRegionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSnapshots(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeSnapshotsResponse`
569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 |
# File 'lib/v20190823/client.rb', line 569 def DescribeSnapshots(request) body = send_request('DescribeSnapshots', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSnapshotsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTableGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeTableGroupsResponse`
617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 |
# File 'lib/v20190823/client.rb', line 617 def DescribeTableGroups(request) body = send_request('DescribeTableGroups', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTableGroupsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTableGroupTags(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeTableGroupTagsResponse`
593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 |
# File 'lib/v20190823/client.rb', line 593 def DescribeTableGroupTags(request) body = send_request('DescribeTableGroupTags', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTableGroupTagsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeTablesResponse`
665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 |
# File 'lib/v20190823/client.rb', line 665 def DescribeTables(request) body = send_request('DescribeTables', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTablesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTablesInRecycle(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeTablesInRecycleResponse`
689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'lib/v20190823/client.rb', line 689 def DescribeTablesInRecycle(request) body = send_request('DescribeTablesInRecycle', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTablesInRecycleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTableTags(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeTableTagsResponse`
641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 |
# File 'lib/v20190823/client.rb', line 641 def DescribeTableTags(request) body = send_request('DescribeTableTags', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTableTagsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTasks(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeTasksResponse`
713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 |
# File 'lib/v20190823/client.rb', line 713 def DescribeTasks(request) body = send_request('DescribeTasks', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTasksResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeUinInWhitelist(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DescribeUinInWhitelistResponse`
737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 |
# File 'lib/v20190823/client.rb', line 737 def DescribeUinInWhitelist(request) body = send_request('DescribeUinInWhitelist', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUinInWhitelistResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DisableRestProxy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::DisableRestProxyResponse`
761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 |
# File 'lib/v20190823/client.rb', line 761 def DisableRestProxy(request) body = send_request('DisableRestProxy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DisableRestProxyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#EnableRestProxy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::EnableRestProxyResponse`
785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 |
# File 'lib/v20190823/client.rb', line 785 def EnableRestProxy(request) body = send_request('EnableRestProxy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = EnableRestProxyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ImportSnapshots(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ImportSnapshotsResponse`
809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 |
# File 'lib/v20190823/client.rb', line 809 def ImportSnapshots(request) body = send_request('ImportSnapshots', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ImportSnapshotsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#MergeTablesData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::MergeTablesDataResponse`
833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 |
# File 'lib/v20190823/client.rb', line 833 def MergeTablesData(request) body = send_request('MergeTablesData', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = MergeTablesDataResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyCensorship(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyCensorshipResponse`
857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 |
# File 'lib/v20190823/client.rb', line 857 def ModifyCensorship(request) body = send_request('ModifyCensorship', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyCensorshipResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyClusterMachine(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyClusterMachineResponse`
881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 |
# File 'lib/v20190823/client.rb', line 881 def ModifyClusterMachine(request) body = send_request('ModifyClusterMachine', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterMachineResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyClusterName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyClusterNameResponse`
905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 |
# File 'lib/v20190823/client.rb', line 905 def ModifyClusterName(request) body = send_request('ModifyClusterName', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterNameResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyClusterPassword(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyClusterPasswordResponse`
929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 |
# File 'lib/v20190823/client.rb', line 929 def ModifyClusterPassword(request) body = send_request('ModifyClusterPassword', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterPasswordResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyClusterTags(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyClusterTagsResponse`
953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 |
# File 'lib/v20190823/client.rb', line 953 def ModifyClusterTags(request) body = send_request('ModifyClusterTags', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterTagsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifySnapshots(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifySnapshotsResponse`
977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 |
# File 'lib/v20190823/client.rb', line 977 def ModifySnapshots(request) body = send_request('ModifySnapshots', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifySnapshotsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyTableGroupName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyTableGroupNameResponse`
1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 |
# File 'lib/v20190823/client.rb', line 1001 def ModifyTableGroupName(request) body = send_request('ModifyTableGroupName', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyTableGroupNameResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyTableGroupTags(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyTableGroupTagsResponse`
1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 |
# File 'lib/v20190823/client.rb', line 1025 def ModifyTableGroupTags(request) body = send_request('ModifyTableGroupTags', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyTableGroupTagsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyTableMemos(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyTableMemosResponse`
1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 |
# File 'lib/v20190823/client.rb', line 1049 def ModifyTableMemos(request) body = send_request('ModifyTableMemos', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyTableMemosResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyTableQuotas(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyTableQuotasResponse`
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 |
# File 'lib/v20190823/client.rb', line 1073 def ModifyTableQuotas(request) body = send_request('ModifyTableQuotas', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyTableQuotasResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyTablesResponse`
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 |
# File 'lib/v20190823/client.rb', line 1121 def ModifyTables(request) body = send_request('ModifyTables', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyTablesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyTableTags(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::ModifyTableTagsResponse`
1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 |
# File 'lib/v20190823/client.rb', line 1097 def ModifyTableTags(request) body = send_request('ModifyTableTags', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyTableTagsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#RecoverRecycleTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::RecoverRecycleTablesResponse`
1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 |
# File 'lib/v20190823/client.rb', line 1145 def RecoverRecycleTables(request) body = send_request('RecoverRecycleTables', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RecoverRecycleTablesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#RollbackTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::RollbackTablesResponse`
1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 |
# File 'lib/v20190823/client.rb', line 1169 def RollbackTables(request) body = send_request('RollbackTables', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RollbackTablesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SetBackupExpireRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::SetBackupExpireRuleResponse`
1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 |
# File 'lib/v20190823/client.rb', line 1193 def SetBackupExpireRule(request) body = send_request('SetBackupExpireRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SetBackupExpireRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SetTableDataFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::SetTableDataFlowResponse`
1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 |
# File 'lib/v20190823/client.rb', line 1217 def SetTableDataFlow(request) body = send_request('SetTableDataFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SetTableDataFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SetTableIndex(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::SetTableIndexResponse`
1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 |
# File 'lib/v20190823/client.rb', line 1241 def SetTableIndex(request) body = send_request('SetTableIndex', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SetTableIndexResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateApply(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::UpdateApplyResponse`
1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 |
# File 'lib/v20190823/client.rb', line 1265 def UpdateApply(request) body = send_request('UpdateApply', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateApplyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#VerifyIdlFiles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tcaplusdb::V20190823::VerifyIdlFilesResponse`
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 |
# File 'lib/v20190823/client.rb', line 1289 def VerifyIdlFiles(request) body = send_request('VerifyIdlFiles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = VerifyIdlFilesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |