tencentcloud-sdk-tsf 3.0.566 → 3.0.567
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180326/client.rb +24 -0
- data/lib/v20180326/models.rb +40 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: daf8b44db7fe070b74866ce359714466fd95365e
|
4
|
+
data.tar.gz: 19073ef6efd5a2e1ca06dee4150520051153753b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bad94ac6b2b5eca19face6ed06f2754bf0c9c9a5523be3024c8b3db979f228b18f693e0b4e8293c0ca701d5a3d63f4ccfa12edbccc7887dd43d639e75d5fca31
|
7
|
+
data.tar.gz: 881c3408506cc38bdecbf4699e78ca807eb38cae2767d6ba9b6953602d022d47469304504ec63855dd78e3417175c506aab6fb951bfed01e4546250d71f20bb8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.567
|
data/lib/v20180326/client.rb
CHANGED
@@ -1109,6 +1109,30 @@ module TencentCloud
|
|
1109
1109
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1110
1110
|
end
|
1111
1111
|
|
1112
|
+
# 批量删除API
|
1113
|
+
|
1114
|
+
# @param request: Request instance for DeleteGatewayApi.
|
1115
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::DeleteGatewayApiRequest`
|
1116
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::DeleteGatewayApiResponse`
|
1117
|
+
def DeleteGatewayApi(request)
|
1118
|
+
body = send_request('DeleteGatewayApi', request.serialize)
|
1119
|
+
response = JSON.parse(body)
|
1120
|
+
if response['Response'].key?('Error') == false
|
1121
|
+
model = DeleteGatewayApiResponse.new
|
1122
|
+
model.deserialize(response['Response'])
|
1123
|
+
model
|
1124
|
+
else
|
1125
|
+
code = response['Response']['Error']['Code']
|
1126
|
+
message = response['Response']['Error']['Message']
|
1127
|
+
reqid = response['Response']['RequestId']
|
1128
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1129
|
+
end
|
1130
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1131
|
+
raise e
|
1132
|
+
rescue StandardError => e
|
1133
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1134
|
+
end
|
1135
|
+
|
1112
1136
|
# 删除容器部署组
|
1113
1137
|
|
1114
1138
|
# @param request: Request instance for DeleteGroup.
|
data/lib/v20180326/models.rb
CHANGED
@@ -5004,6 +5004,46 @@ module TencentCloud
|
|
5004
5004
|
end
|
5005
5005
|
end
|
5006
5006
|
|
5007
|
+
# DeleteGatewayApi请求参数结构体
|
5008
|
+
class DeleteGatewayApiRequest < TencentCloud::Common::AbstractModel
|
5009
|
+
# @param GroupId: 分组ID
|
5010
|
+
# @type GroupId: String
|
5011
|
+
# @param ApiList: Api ID 数组
|
5012
|
+
# @type ApiList: Array
|
5013
|
+
|
5014
|
+
attr_accessor :GroupId, :ApiList
|
5015
|
+
|
5016
|
+
def initialize(groupid=nil, apilist=nil)
|
5017
|
+
@GroupId = groupid
|
5018
|
+
@ApiList = apilist
|
5019
|
+
end
|
5020
|
+
|
5021
|
+
def deserialize(params)
|
5022
|
+
@GroupId = params['GroupId']
|
5023
|
+
@ApiList = params['ApiList']
|
5024
|
+
end
|
5025
|
+
end
|
5026
|
+
|
5027
|
+
# DeleteGatewayApi返回参数结构体
|
5028
|
+
class DeleteGatewayApiResponse < TencentCloud::Common::AbstractModel
|
5029
|
+
# @param Result: 是否成功
|
5030
|
+
# @type Result: Boolean
|
5031
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5032
|
+
# @type RequestId: String
|
5033
|
+
|
5034
|
+
attr_accessor :Result, :RequestId
|
5035
|
+
|
5036
|
+
def initialize(result=nil, requestid=nil)
|
5037
|
+
@Result = result
|
5038
|
+
@RequestId = requestid
|
5039
|
+
end
|
5040
|
+
|
5041
|
+
def deserialize(params)
|
5042
|
+
@Result = params['Result']
|
5043
|
+
@RequestId = params['RequestId']
|
5044
|
+
end
|
5045
|
+
end
|
5046
|
+
|
5007
5047
|
# DeleteGroup请求参数结构体
|
5008
5048
|
class DeleteGroupRequest < TencentCloud::Common::AbstractModel
|
5009
5049
|
# @param GroupId: 部署组ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tsf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.567
|
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-05-
|
11
|
+
date: 2023-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|