tencentcloud-sdk-apigateway 3.0.621 → 3.0.623
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/v20180808/client.rb +0 -26
- data/lib/v20180808/models.rb +0 -67
- 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: 9e1ff7787ec8cb9d34920aed4f3980254ab3e47d
|
|
4
|
+
data.tar.gz: de60bd21ad730d4fa3e5e82bc12d2751f76bfeb7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 90e557a8913d2ce527b36bfbae3f3a95538d771125a2a88ddd28fe6c547dbe20ef02ca97a4c85f7ce81d5c90588665b3868796c549ccddffb0aaab9a3e406ac0
|
|
7
|
+
data.tar.gz: 74b24558f26a70b514739e1da00922a3b9380b1393e1455f1c4b9a9798259ab0073d830e1b22cb1738031a4aaefcc49871096720926af7d53bc293e2a1601aae
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.623
|
data/lib/v20180808/client.rb
CHANGED
|
@@ -1752,32 +1752,6 @@ module TencentCloud
|
|
|
1752
1752
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1753
1753
|
end
|
|
1754
1754
|
|
|
1755
|
-
# 接口已废弃
|
|
1756
|
-
|
|
1757
|
-
# 本接口(GenerateApiDocument)用于自动生成 API 文档和 SDK,一个服务的一个环境生成一份文档和 SDK。
|
|
1758
|
-
|
|
1759
|
-
# @param request: Request instance for GenerateApiDocument.
|
|
1760
|
-
# @type request: :class:`Tencentcloud::apigateway::V20180808::GenerateApiDocumentRequest`
|
|
1761
|
-
# @rtype: :class:`Tencentcloud::apigateway::V20180808::GenerateApiDocumentResponse`
|
|
1762
|
-
def GenerateApiDocument(request)
|
|
1763
|
-
body = send_request('GenerateApiDocument', request.serialize)
|
|
1764
|
-
response = JSON.parse(body)
|
|
1765
|
-
if response['Response'].key?('Error') == false
|
|
1766
|
-
model = GenerateApiDocumentResponse.new
|
|
1767
|
-
model.deserialize(response['Response'])
|
|
1768
|
-
model
|
|
1769
|
-
else
|
|
1770
|
-
code = response['Response']['Error']['Code']
|
|
1771
|
-
message = response['Response']['Error']['Message']
|
|
1772
|
-
reqid = response['Response']['RequestId']
|
|
1773
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1774
|
-
end
|
|
1775
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1776
|
-
raise e
|
|
1777
|
-
rescue StandardError => e
|
|
1778
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1779
|
-
end
|
|
1780
|
-
|
|
1781
1755
|
# 本接口(ImportOpenApi)用于将OpenAPI规范定义的API导入到API网关。
|
|
1782
1756
|
|
|
1783
1757
|
# @param request: Request instance for ImportOpenApi.
|
data/lib/v20180808/models.rb
CHANGED
|
@@ -5929,26 +5929,6 @@ module TencentCloud
|
|
|
5929
5929
|
end
|
|
5930
5930
|
end
|
|
5931
5931
|
|
|
5932
|
-
# api文档下载
|
|
5933
|
-
class DocumentSDK < TencentCloud::Common::AbstractModel
|
|
5934
|
-
# @param DocumentURL: 生成的 document 会存放到 COS 中,此出参返回产生文件的下载链接。
|
|
5935
|
-
# @type DocumentURL: String
|
|
5936
|
-
# @param SdkURL: 生成的 SDK 会存放到 COS 中,此出参返回产生 SDK 文件的下载链接。
|
|
5937
|
-
# @type SdkURL: String
|
|
5938
|
-
|
|
5939
|
-
attr_accessor :DocumentURL, :SdkURL
|
|
5940
|
-
|
|
5941
|
-
def initialize(documenturl=nil, sdkurl=nil)
|
|
5942
|
-
@DocumentURL = documenturl
|
|
5943
|
-
@SdkURL = sdkurl
|
|
5944
|
-
end
|
|
5945
|
-
|
|
5946
|
-
def deserialize(params)
|
|
5947
|
-
@DocumentURL = params['DocumentURL']
|
|
5948
|
-
@SdkURL = params['SdkURL']
|
|
5949
|
-
end
|
|
5950
|
-
end
|
|
5951
|
-
|
|
5952
5932
|
# 服务自定义域名列表
|
|
5953
5933
|
class DomainSetList < TencentCloud::Common::AbstractModel
|
|
5954
5934
|
# @param DomainName: 域名名称。
|
|
@@ -6165,53 +6145,6 @@ module TencentCloud
|
|
|
6165
6145
|
end
|
|
6166
6146
|
end
|
|
6167
6147
|
|
|
6168
|
-
# GenerateApiDocument请求参数结构体
|
|
6169
|
-
class GenerateApiDocumentRequest < TencentCloud::Common::AbstractModel
|
|
6170
|
-
# @param ServiceId: 待创建文档的服务唯一 ID。
|
|
6171
|
-
# @type ServiceId: String
|
|
6172
|
-
# @param GenEnvironment: 待创建 SDK 的服务所在环境。
|
|
6173
|
-
# @type GenEnvironment: String
|
|
6174
|
-
# @param GenLanguage: 待创建 SDK 的语言。当前只支持 Python 和 JavaScript。
|
|
6175
|
-
# @type GenLanguage: String
|
|
6176
|
-
|
|
6177
|
-
attr_accessor :ServiceId, :GenEnvironment, :GenLanguage
|
|
6178
|
-
|
|
6179
|
-
def initialize(serviceid=nil, genenvironment=nil, genlanguage=nil)
|
|
6180
|
-
@ServiceId = serviceid
|
|
6181
|
-
@GenEnvironment = genenvironment
|
|
6182
|
-
@GenLanguage = genlanguage
|
|
6183
|
-
end
|
|
6184
|
-
|
|
6185
|
-
def deserialize(params)
|
|
6186
|
-
@ServiceId = params['ServiceId']
|
|
6187
|
-
@GenEnvironment = params['GenEnvironment']
|
|
6188
|
-
@GenLanguage = params['GenLanguage']
|
|
6189
|
-
end
|
|
6190
|
-
end
|
|
6191
|
-
|
|
6192
|
-
# GenerateApiDocument返回参数结构体
|
|
6193
|
-
class GenerateApiDocumentResponse < TencentCloud::Common::AbstractModel
|
|
6194
|
-
# @param Result: api文档&sdk链接。
|
|
6195
|
-
# @type Result: :class:`Tencentcloud::Apigateway.v20180808.models.DocumentSDK`
|
|
6196
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6197
|
-
# @type RequestId: String
|
|
6198
|
-
|
|
6199
|
-
attr_accessor :Result, :RequestId
|
|
6200
|
-
|
|
6201
|
-
def initialize(result=nil, requestid=nil)
|
|
6202
|
-
@Result = result
|
|
6203
|
-
@RequestId = requestid
|
|
6204
|
-
end
|
|
6205
|
-
|
|
6206
|
-
def deserialize(params)
|
|
6207
|
-
unless params['Result'].nil?
|
|
6208
|
-
@Result = DocumentSDK.new
|
|
6209
|
-
@Result.deserialize(params['Result'])
|
|
6210
|
-
end
|
|
6211
|
-
@RequestId = params['RequestId']
|
|
6212
|
-
end
|
|
6213
|
-
end
|
|
6214
|
-
|
|
6215
6148
|
# 健康检查配置,包括TsfHealthCheckConf和TargetServicesHealthCheckConf
|
|
6216
6149
|
class HealthCheckConf < TencentCloud::Common::AbstractModel
|
|
6217
6150
|
# @param IsHealthCheck: 是否开启健康检查。
|
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.
|
|
4
|
+
version: 3.0.623
|
|
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-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|