tencentcloud-sdk-privatedns 3.0.591 → 3.0.592

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: 162da4f0b01e95c8ffbf6e6714738bb56fa72c1c
4
- data.tar.gz: 4babaafdba0cd1599da86ed8753821faecfab2a4
3
+ metadata.gz: cb28390eef8fa5aed769ec2d77fd8e83ebb45740
4
+ data.tar.gz: f04bc4a0cbc53fbd349ae230482c228e5ebadfeb
5
5
  SHA512:
6
- metadata.gz: 6460994008ce333062a3ff73317c42f63c82192665abe069dfe5703d839c03f634d0809afa872c807299fa6005df6d50f8c6ac51b1a78cbfe149e1c69e32db21
7
- data.tar.gz: cc8ed9afce14d15b57d8b2ee3fc6432b30ed4e4ca3399c1915bd8652de5155da6d1474c1b2058e611c68e203fbcafe82aa0dd3fa96314a42ff9aa5c148dcb2b2
6
+ metadata.gz: 0067febab337270b594b3e4f10833e41d47d19d14babc489aea0df1a84424ad58ab2ac72119b8a0f80ce802ced07fb70cc4bc57f84d4e2f763bf9f9e04748ea4
7
+ data.tar.gz: acdf9fd5de0544c46f80e46b39d9ed17f5ea685a63c2cc7e7e55db7ddd4ed6c849a7e5fbac07907ce903d3f255a43fdab1ee2ba39d5e3af141e9746415e4015f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.591
1
+ 3.0.592
@@ -101,6 +101,30 @@ module TencentCloud
101
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
102
  end
103
103
 
104
+ # 删除终端节点
105
+
106
+ # @param request: Request instance for DeleteEndPoint.
107
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::DeleteEndPointRequest`
108
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::DeleteEndPointResponse`
109
+ def DeleteEndPoint(request)
110
+ body = send_request('DeleteEndPoint', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DeleteEndPointResponse.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
+
104
128
  # 删除私有域解析账号
105
129
 
106
130
  # @param request: Request instance for DeletePrivateDNSAccount.
@@ -370,6 +370,38 @@ module TencentCloud
370
370
  end
371
371
  end
372
372
 
373
+ # DeleteEndPoint请求参数结构体
374
+ class DeleteEndPointRequest < TencentCloud::Common::AbstractModel
375
+ # @param EndPointId: 终端节点ID
376
+ # @type EndPointId: String
377
+
378
+ attr_accessor :EndPointId
379
+
380
+ def initialize(endpointid=nil)
381
+ @EndPointId = endpointid
382
+ end
383
+
384
+ def deserialize(params)
385
+ @EndPointId = params['EndPointId']
386
+ end
387
+ end
388
+
389
+ # DeleteEndPoint返回参数结构体
390
+ class DeleteEndPointResponse < TencentCloud::Common::AbstractModel
391
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
392
+ # @type RequestId: String
393
+
394
+ attr_accessor :RequestId
395
+
396
+ def initialize(requestid=nil)
397
+ @RequestId = requestid
398
+ end
399
+
400
+ def deserialize(params)
401
+ @RequestId = params['RequestId']
402
+ end
403
+ end
404
+
373
405
  # DeletePrivateDNSAccount请求参数结构体
374
406
  class DeletePrivateDNSAccountRequest < TencentCloud::Common::AbstractModel
375
407
  # @param Account: 私有域解析账号
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-privatedns
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.591
4
+ version: 3.0.592
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-06-13 00:00:00.000000000 Z
11
+ date: 2023-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common