tencentcloud-sdk-dcdb 3.0.516 → 3.0.518

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2869bd33f719dce352e9952689b6d7868145ba34
4
- data.tar.gz: 1fcf7ca4e911fe89875d72d9be59d748f6355eee
3
+ metadata.gz: 418d7f718439b0999f4bca1bc3a206178d723df9
4
+ data.tar.gz: 8d11b0b62a1e01603e3549c25d545dfa8a7a73ec
5
5
  SHA512:
6
- metadata.gz: 575f52d34a4b584759b4267468adbfe1dd80304c6178b1a0c3466e92e05776070bd021275b42262ee7bc9b672885ef86c9b1d0337c00a5dcbac878f2c913a2ac
7
- data.tar.gz: 01ca3569ef5ed6c594331bd29226ab3cc46bbeebd3068cb52a69786a30607989417acdbeab7dd28ae9c1101452fbada4b5f566c32c7d3488efbd1278dd3276ea
6
+ metadata.gz: 0cb544ea9614d330815646b2c067b4466eaafdb5c0e91baf85a6b4ca19633521b36a706a90d2144c23514aac93ec344ca83cbb3cb021ec908a55bf121fcaa08f
7
+ data.tar.gz: ed85f8180ed6b0f91f97994312375b9d9bbbc11efe7638df7777da311e23c0906613973573218267b7c7bb14c65e23d99faa56ea8499d476651fe6e9caf525b6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.516
1
+ 3.0.518
@@ -1167,6 +1167,30 @@ module TencentCloud
1167
1167
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1168
1168
  end
1169
1169
 
1170
+ # 本接口(ModifyDBEncryptAttributes)用于修改实例数据加密。
1171
+
1172
+ # @param request: Request instance for ModifyDBEncryptAttributes.
1173
+ # @type request: :class:`Tencentcloud::dcdb::V20180411::ModifyDBEncryptAttributesRequest`
1174
+ # @rtype: :class:`Tencentcloud::dcdb::V20180411::ModifyDBEncryptAttributesResponse`
1175
+ def ModifyDBEncryptAttributes(request)
1176
+ body = send_request('ModifyDBEncryptAttributes', request.serialize)
1177
+ response = JSON.parse(body)
1178
+ if response['Response'].key?('Error') == false
1179
+ model = ModifyDBEncryptAttributesResponse.new
1180
+ model.deserialize(response['Response'])
1181
+ model
1182
+ else
1183
+ code = response['Response']['Error']['Code']
1184
+ message = response['Response']['Error']['Message']
1185
+ reqid = response['Response']['RequestId']
1186
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1187
+ end
1188
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1189
+ raise e
1190
+ rescue StandardError => e
1191
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1192
+ end
1193
+
1170
1194
  # 本接口(ModifyDBInstanceName)用于修改实例名字
1171
1195
 
1172
1196
  # @param request: Request instance for ModifyDBInstanceName.
@@ -3622,6 +3622,42 @@ module TencentCloud
3622
3622
  end
3623
3623
  end
3624
3624
 
3625
+ # ModifyDBEncryptAttributes请求参数结构体
3626
+ class ModifyDBEncryptAttributesRequest < TencentCloud::Common::AbstractModel
3627
+ # @param InstanceId: 实例Id,形如:tdsqlshard-ow728lmc。
3628
+ # @type InstanceId: String
3629
+ # @param EncryptEnabled: 是否启用数据加密,开启后暂不支持关闭。本接口的可选值为:1-开启数据加密。
3630
+ # @type EncryptEnabled: Integer
3631
+
3632
+ attr_accessor :InstanceId, :EncryptEnabled
3633
+
3634
+ def initialize(instanceid=nil, encryptenabled=nil)
3635
+ @InstanceId = instanceid
3636
+ @EncryptEnabled = encryptenabled
3637
+ end
3638
+
3639
+ def deserialize(params)
3640
+ @InstanceId = params['InstanceId']
3641
+ @EncryptEnabled = params['EncryptEnabled']
3642
+ end
3643
+ end
3644
+
3645
+ # ModifyDBEncryptAttributes返回参数结构体
3646
+ class ModifyDBEncryptAttributesResponse < TencentCloud::Common::AbstractModel
3647
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3648
+ # @type RequestId: String
3649
+
3650
+ attr_accessor :RequestId
3651
+
3652
+ def initialize(requestid=nil)
3653
+ @RequestId = requestid
3654
+ end
3655
+
3656
+ def deserialize(params)
3657
+ @RequestId = params['RequestId']
3658
+ end
3659
+ end
3660
+
3625
3661
  # ModifyDBInstanceName请求参数结构体
3626
3662
  class ModifyDBInstanceNameRequest < TencentCloud::Common::AbstractModel
3627
3663
  # @param InstanceId: 实例ID,形如tdsql-hdaprz0v
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dcdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.516
4
+ version: 3.0.518
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-24 00:00:00.000000000 Z
11
+ date: 2023-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common