tencentcloud-sdk-dcdb 3.0.516 → 3.0.517

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2869bd33f719dce352e9952689b6d7868145ba34
4
- data.tar.gz: 1fcf7ca4e911fe89875d72d9be59d748f6355eee
3
+ metadata.gz: 584a1f8b8c8eb94c92ed5d5ddfe040c2770d78bd
4
+ data.tar.gz: 97d5c20159d852a11ab4b36a0256870ace1b7feb
5
5
  SHA512:
6
- metadata.gz: 575f52d34a4b584759b4267468adbfe1dd80304c6178b1a0c3466e92e05776070bd021275b42262ee7bc9b672885ef86c9b1d0337c00a5dcbac878f2c913a2ac
7
- data.tar.gz: 01ca3569ef5ed6c594331bd29226ab3cc46bbeebd3068cb52a69786a30607989417acdbeab7dd28ae9c1101452fbada4b5f566c32c7d3488efbd1278dd3276ea
6
+ metadata.gz: 9331086bb1234930922eba04200f7cf092939f8818eab79cf9379d6273713bc58049bd5c738e66159f363573c57b30e98437082a05e3d63a6a4af5e7c4d55031
7
+ data.tar.gz: c67dab59c4cd120316f757ce4bd3786e67d26ba091fcec9dc853353e10c650ee55308dd9f4e30fe8f98294d347970c4e5ecbcdb25b21f18a608f4c0347d7e189
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.516
1
+ 3.0.517
@@ -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.517
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-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common