tencentcloud-sdk-apigateway 3.0.446 → 3.0.448

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: 35e18913f191f310257e362e06f482322d1008d4
4
- data.tar.gz: 1c0a18c2aa6b14d327ecb4aff8290477771a1dbc
3
+ metadata.gz: 25bf166e8343a72ac53afc60184966031fff7250
4
+ data.tar.gz: 913fd8eb4499cf69fc18898cd1c7265f7acda35d
5
5
  SHA512:
6
- metadata.gz: b8f9ca598824ad1f782f417c08b50c1d50c819fa49751e79882b220d5737463059fb3724e4452ef84136d6894ca858693985839439b12328cad6c49eb7e0853b
7
- data.tar.gz: 771ea4662a01d4ceb3f2f72cd1edbc731b75725dc81c65e7d0891f79b7aa29916787347bbbd507934507a94d178bfd7896e3bd46df967af3f6bc4ee364e14fab
6
+ metadata.gz: 76ef5e436d4e10b09f9559193d1700a476768ac48b6bd157e70ae9c1e958c30cb17bc633f37cf8c5fdc326264fdb9fd1ad43cbccfb72fccc8223a82a95d9bce4
7
+ data.tar.gz: 58b6cbe21d033895e00528ba83a4fc6371154ab2364cbe3c08715ab50b1d271a6bd325a533b5910e6fd2bc0e70d79cb092ece16ad890a9b2212be04695eca771
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.446
1
+ 3.0.448
@@ -1265,6 +1265,30 @@ module TencentCloud
1265
1265
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1266
1266
  end
1267
1267
 
1268
+ # 展示API上已绑定的插件列表。
1269
+
1270
+ # @param request: Request instance for DescribePluginsByApi.
1271
+ # @type request: :class:`Tencentcloud::apigateway::V20180808::DescribePluginsByApiRequest`
1272
+ # @rtype: :class:`Tencentcloud::apigateway::V20180808::DescribePluginsByApiResponse`
1273
+ def DescribePluginsByApi(request)
1274
+ body = send_request('DescribePluginsByApi', request.serialize)
1275
+ response = JSON.parse(body)
1276
+ if response['Response'].key?('Error') == false
1277
+ model = DescribePluginsByApiResponse.new
1278
+ model.deserialize(response['Response'])
1279
+ model
1280
+ else
1281
+ code = response['Response']['Error']['Code']
1282
+ message = response['Response']['Error']['Message']
1283
+ reqid = response['Response']['RequestId']
1284
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1285
+ end
1286
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1287
+ raise e
1288
+ rescue StandardError => e
1289
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1290
+ end
1291
+
1268
1292
  # 本接口(DescribeService)用于查询一个服务的详细信息、包括服务的描述、域名、协议、创建时间、发布情况等信息。
1269
1293
 
1270
1294
  # @param request: Request instance for DescribeService.
@@ -1166,6 +1166,73 @@ module TencentCloud
1166
1166
  end
1167
1167
  end
1168
1168
 
1169
+ # 已绑定的插件信息。
1170
+ class AttachedPluginInfo < TencentCloud::Common::AbstractModel
1171
+ # @param PluginId: 插件ID。
1172
+ # @type PluginId: String
1173
+ # @param Environment: 环境信息。
1174
+ # @type Environment: String
1175
+ # @param AttachedTime: 绑定时间。
1176
+ # @type AttachedTime: String
1177
+ # @param PluginName: 插件名称。
1178
+ # @type PluginName: String
1179
+ # @param PluginType: 插件类型。
1180
+ # @type PluginType: String
1181
+ # @param Description: 插件描述。
1182
+ # @type Description: String
1183
+ # @param PluginData: 插件定义语句。
1184
+ # @type PluginData: String
1185
+
1186
+ attr_accessor :PluginId, :Environment, :AttachedTime, :PluginName, :PluginType, :Description, :PluginData
1187
+
1188
+ def initialize(pluginid=nil, environment=nil, attachedtime=nil, pluginname=nil, plugintype=nil, description=nil, plugindata=nil)
1189
+ @PluginId = pluginid
1190
+ @Environment = environment
1191
+ @AttachedTime = attachedtime
1192
+ @PluginName = pluginname
1193
+ @PluginType = plugintype
1194
+ @Description = description
1195
+ @PluginData = plugindata
1196
+ end
1197
+
1198
+ def deserialize(params)
1199
+ @PluginId = params['PluginId']
1200
+ @Environment = params['Environment']
1201
+ @AttachedTime = params['AttachedTime']
1202
+ @PluginName = params['PluginName']
1203
+ @PluginType = params['PluginType']
1204
+ @Description = params['Description']
1205
+ @PluginData = params['PluginData']
1206
+ end
1207
+ end
1208
+
1209
+ # 已绑定的插件信息。
1210
+ class AttachedPluginSummary < TencentCloud::Common::AbstractModel
1211
+ # @param TotalCount: 已绑定的插件总数。
1212
+ # @type TotalCount: Integer
1213
+ # @param PluginSummary: 已绑定的插件信息。
1214
+ # @type PluginSummary: Array
1215
+
1216
+ attr_accessor :TotalCount, :PluginSummary
1217
+
1218
+ def initialize(totalcount=nil, pluginsummary=nil)
1219
+ @TotalCount = totalcount
1220
+ @PluginSummary = pluginsummary
1221
+ end
1222
+
1223
+ def deserialize(params)
1224
+ @TotalCount = params['TotalCount']
1225
+ unless params['PluginSummary'].nil?
1226
+ @PluginSummary = []
1227
+ params['PluginSummary'].each do |i|
1228
+ attachedplugininfo_tmp = AttachedPluginInfo.new
1229
+ attachedplugininfo_tmp.deserialize(i)
1230
+ @PluginSummary << attachedplugininfo_tmp
1231
+ end
1232
+ end
1233
+ end
1234
+ end
1235
+
1169
1236
  # 插件相关的API信息。
1170
1237
  class AvailableApiInfo < TencentCloud::Common::AbstractModel
1171
1238
  # @param ApiId: API ID。
@@ -4348,6 +4415,61 @@ module TencentCloud
4348
4415
  end
4349
4416
  end
4350
4417
 
4418
+ # DescribePluginsByApi请求参数结构体
4419
+ class DescribePluginsByApiRequest < TencentCloud::Common::AbstractModel
4420
+ # @param ApiId: 要查询的API ID。
4421
+ # @type ApiId: String
4422
+ # @param ServiceId: 要查询的服务ID。
4423
+ # @type ServiceId: String
4424
+ # @param EnvironmentName: 环境信息。
4425
+ # @type EnvironmentName: String
4426
+ # @param Limit: 返回数量,默认为 20,最大值为 100。
4427
+ # @type Limit: Integer
4428
+ # @param Offset: 偏移量,默认为 0。
4429
+ # @type Offset: Integer
4430
+
4431
+ attr_accessor :ApiId, :ServiceId, :EnvironmentName, :Limit, :Offset
4432
+
4433
+ def initialize(apiid=nil, serviceid=nil, environmentname=nil, limit=nil, offset=nil)
4434
+ @ApiId = apiid
4435
+ @ServiceId = serviceid
4436
+ @EnvironmentName = environmentname
4437
+ @Limit = limit
4438
+ @Offset = offset
4439
+ end
4440
+
4441
+ def deserialize(params)
4442
+ @ApiId = params['ApiId']
4443
+ @ServiceId = params['ServiceId']
4444
+ @EnvironmentName = params['EnvironmentName']
4445
+ @Limit = params['Limit']
4446
+ @Offset = params['Offset']
4447
+ end
4448
+ end
4449
+
4450
+ # DescribePluginsByApi返回参数结构体
4451
+ class DescribePluginsByApiResponse < TencentCloud::Common::AbstractModel
4452
+ # @param Result: 插件可绑定的API列表信息。
4453
+ # @type Result: :class:`Tencentcloud::Apigateway.v20180808.models.AttachedPluginSummary`
4454
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4455
+ # @type RequestId: String
4456
+
4457
+ attr_accessor :Result, :RequestId
4458
+
4459
+ def initialize(result=nil, requestid=nil)
4460
+ @Result = result
4461
+ @RequestId = requestid
4462
+ end
4463
+
4464
+ def deserialize(params)
4465
+ unless params['Result'].nil?
4466
+ @Result = AttachedPluginSummary.new
4467
+ @Result.deserialize(params['Result'])
4468
+ end
4469
+ @RequestId = params['RequestId']
4470
+ end
4471
+ end
4472
+
4351
4473
  # DescribePlugins请求参数结构体
4352
4474
  class DescribePluginsRequest < TencentCloud::Common::AbstractModel
4353
4475
  # @param PluginIds: 要查询的插件列表。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-apigateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.446
4
+ version: 3.0.448
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-07 00:00:00.000000000 Z
11
+ date: 2022-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common