tencentcloud-sdk-tse 3.0.615 → 3.0.617
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/v20201207/client.rb +24 -0
- data/lib/v20201207/models.rb +91 -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: e03ebc2db853b58ce007e7bbb3c145f46e3da80f
|
4
|
+
data.tar.gz: cf1e8a2cc152281a12732d514dcf6b8803fe6f07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 330b9d7d8f52efa11fddd79b84e3b962aa0d63005b3dfd82306fc9f7f65c13954fa69034ba0b1749233cc6cfa6691f5c22d2ae0d339d2c13b0761d3501b5c261
|
7
|
+
data.tar.gz: 2b4d067738040565ffaf9908e2aa3e01a15eafb2a773f68d83ee58229cc22db6531e553b0476c9b55f4a4ec06aad9c091f5830473848737f8e13242085451cbc
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.617
|
data/lib/v20201207/client.rb
CHANGED
@@ -365,6 +365,30 @@ module TencentCloud
|
|
365
365
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
366
|
end
|
367
367
|
|
368
|
+
# 获取云原生API网关实例端口信息
|
369
|
+
|
370
|
+
# @param request: Request instance for DescribeCloudNativeAPIGatewayPorts.
|
371
|
+
# @type request: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayPortsRequest`
|
372
|
+
# @rtype: :class:`Tencentcloud::tse::V20201207::DescribeCloudNativeAPIGatewayPortsResponse`
|
373
|
+
def DescribeCloudNativeAPIGatewayPorts(request)
|
374
|
+
body = send_request('DescribeCloudNativeAPIGatewayPorts', request.serialize)
|
375
|
+
response = JSON.parse(body)
|
376
|
+
if response['Response'].key?('Error') == false
|
377
|
+
model = DescribeCloudNativeAPIGatewayPortsResponse.new
|
378
|
+
model.deserialize(response['Response'])
|
379
|
+
model
|
380
|
+
else
|
381
|
+
code = response['Response']['Error']['Code']
|
382
|
+
message = response['Response']['Error']['Message']
|
383
|
+
reqid = response['Response']['RequestId']
|
384
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
385
|
+
end
|
386
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
387
|
+
raise e
|
388
|
+
rescue StandardError => e
|
389
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
|
+
end
|
391
|
+
|
368
392
|
# 查询云原生网关的限流插件(路由)
|
369
393
|
|
370
394
|
# @param request: Request instance for DescribeCloudNativeAPIGatewayRouteRateLimit.
|
data/lib/v20201207/models.rb
CHANGED
@@ -1219,6 +1219,46 @@ module TencentCloud
|
|
1219
1219
|
end
|
1220
1220
|
end
|
1221
1221
|
|
1222
|
+
# DescribeCloudNativeAPIGatewayPorts请求参数结构体
|
1223
|
+
class DescribeCloudNativeAPIGatewayPortsRequest < TencentCloud::Common::AbstractModel
|
1224
|
+
# @param GatewayId: 云原生API网关实例ID
|
1225
|
+
# @type GatewayId: String
|
1226
|
+
|
1227
|
+
attr_accessor :GatewayId
|
1228
|
+
|
1229
|
+
def initialize(gatewayid=nil)
|
1230
|
+
@GatewayId = gatewayid
|
1231
|
+
end
|
1232
|
+
|
1233
|
+
def deserialize(params)
|
1234
|
+
@GatewayId = params['GatewayId']
|
1235
|
+
end
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
# DescribeCloudNativeAPIGatewayPorts返回参数结构体
|
1239
|
+
class DescribeCloudNativeAPIGatewayPortsResponse < TencentCloud::Common::AbstractModel
|
1240
|
+
# @param Result: 云原生API网关实例协议端口列表响应结果
|
1241
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1242
|
+
# @type Result: :class:`Tencentcloud::Tse.v20201207.models.DescribeGatewayInstancePortResult`
|
1243
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1244
|
+
# @type RequestId: String
|
1245
|
+
|
1246
|
+
attr_accessor :Result, :RequestId
|
1247
|
+
|
1248
|
+
def initialize(result=nil, requestid=nil)
|
1249
|
+
@Result = result
|
1250
|
+
@RequestId = requestid
|
1251
|
+
end
|
1252
|
+
|
1253
|
+
def deserialize(params)
|
1254
|
+
unless params['Result'].nil?
|
1255
|
+
@Result = DescribeGatewayInstancePortResult.new
|
1256
|
+
@Result.deserialize(params['Result'])
|
1257
|
+
end
|
1258
|
+
@RequestId = params['RequestId']
|
1259
|
+
end
|
1260
|
+
end
|
1261
|
+
|
1222
1262
|
# DescribeCloudNativeAPIGatewayRouteRateLimit请求参数结构体
|
1223
1263
|
class DescribeCloudNativeAPIGatewayRouteRateLimitRequest < TencentCloud::Common::AbstractModel
|
1224
1264
|
# @param GatewayId: 网关Id
|
@@ -1432,6 +1472,35 @@ module TencentCloud
|
|
1432
1472
|
end
|
1433
1473
|
end
|
1434
1474
|
|
1475
|
+
# 获取云原生API网关实例协议端口列表响应结果
|
1476
|
+
class DescribeGatewayInstancePortResult < TencentCloud::Common::AbstractModel
|
1477
|
+
# @param GatewayId: 云原生API网关ID
|
1478
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1479
|
+
# @type GatewayId: String
|
1480
|
+
# @param GatewayInstancePortList: 网关实例协议端口列表
|
1481
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1482
|
+
# @type GatewayInstancePortList: Array
|
1483
|
+
|
1484
|
+
attr_accessor :GatewayId, :GatewayInstancePortList
|
1485
|
+
|
1486
|
+
def initialize(gatewayid=nil, gatewayinstanceportlist=nil)
|
1487
|
+
@GatewayId = gatewayid
|
1488
|
+
@GatewayInstancePortList = gatewayinstanceportlist
|
1489
|
+
end
|
1490
|
+
|
1491
|
+
def deserialize(params)
|
1492
|
+
@GatewayId = params['GatewayId']
|
1493
|
+
unless params['GatewayInstancePortList'].nil?
|
1494
|
+
@GatewayInstancePortList = []
|
1495
|
+
params['GatewayInstancePortList'].each do |i|
|
1496
|
+
gatewayinstanceschemeandports_tmp = GatewayInstanceSchemeAndPorts.new
|
1497
|
+
gatewayinstanceschemeandports_tmp.deserialize(i)
|
1498
|
+
@GatewayInstancePortList << gatewayinstanceschemeandports_tmp
|
1499
|
+
end
|
1500
|
+
end
|
1501
|
+
end
|
1502
|
+
end
|
1503
|
+
|
1435
1504
|
# 实例地域信息描述
|
1436
1505
|
class DescribeInstanceRegionInfo < TencentCloud::Common::AbstractModel
|
1437
1506
|
# @param EngineRegion: 引擎部署地域信息
|
@@ -2136,6 +2205,28 @@ module TencentCloud
|
|
2136
2205
|
end
|
2137
2206
|
end
|
2138
2207
|
|
2208
|
+
# 网关实例协议端口列表
|
2209
|
+
class GatewayInstanceSchemeAndPorts < TencentCloud::Common::AbstractModel
|
2210
|
+
# @param Scheme: 端口协议,可选HTTP、HTTPS、TCP和UDP
|
2211
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2212
|
+
# @type Scheme: String
|
2213
|
+
# @param PortList: 端口列表
|
2214
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2215
|
+
# @type PortList: Array
|
2216
|
+
|
2217
|
+
attr_accessor :Scheme, :PortList
|
2218
|
+
|
2219
|
+
def initialize(scheme=nil, portlist=nil)
|
2220
|
+
@Scheme = scheme
|
2221
|
+
@PortList = portlist
|
2222
|
+
end
|
2223
|
+
|
2224
|
+
def deserialize(params)
|
2225
|
+
@Scheme = params['Scheme']
|
2226
|
+
@PortList = params['PortList']
|
2227
|
+
end
|
2228
|
+
end
|
2229
|
+
|
2139
2230
|
# 引擎实例的标签信息
|
2140
2231
|
class InstanceTagInfo < TencentCloud::Common::AbstractModel
|
2141
2232
|
# @param TagKey: 标签键
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.617
|
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-07-
|
11
|
+
date: 2023-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|