tencentcloud-sdk-apigateway 3.0.445 → 3.0.447

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: 352e4116efe60648e2e40233235436d28617740f
4
- data.tar.gz: bf89236256d67d138a8d3370338f2e03d304771c
3
+ metadata.gz: e07c002ffdf31c64153a2bb13e35f334541e74b7
4
+ data.tar.gz: 0da411377310e8c07782b3e1a8f9570af98f7469
5
5
  SHA512:
6
- metadata.gz: 269ab5a8649c860cddfadd5ab125a70053294298ade09ba1d09f337d17ea88995160f76ddf66e4686f7ca041dafb3fa1f3c8faed34244fb85b5025edc4562087
7
- data.tar.gz: 8457d08fa9f7981b017774486df7081127d9c78e58c80447793359485f918b7400e1559fd898daa21034d072947b3be866e7ac7551a7c28e1b590b039fb4cf51
6
+ metadata.gz: 3ce2d92059a1aaf498c24b1ecd743f379aff40ced90c9cdb3cf7f3d9d7cd31ff50853513e80528f0519b57097749983964ab57dfe9f0c33ede1be1b1e0aae0ff
7
+ data.tar.gz: f9d02d85f5af497726f4a83c8119acd8b7a8a4c577d4529cf137827d3a6deeccd3eabe4883d73057ae87ed9390e423c050c5c1374116bb26de2a48a579b1ed02
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.445
1
+ 3.0.447
@@ -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.445
4
+ version: 3.0.447
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-06 00:00:00.000000000 Z
11
+ date: 2022-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
19
+ version: '3.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '1.0'
26
+ version: '3.0'
27
27
  description: Tencent Cloud Ruby SDK is the official software development kit, which
28
28
  allows Ruby developers to write software that makes use of Tencent Cloud service
29
29
  APIGATEWAY.