tencentcloud-sdk-apigateway 3.0.620 → 3.0.622
Sign up to get free protection for your applications and to get access to all the features.
- 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: 32d2dcdc5aa1a61b87a067457c6ad48630961df5
|
4
|
+
data.tar.gz: f009641fa0251635cce5ff1683cc0918f74b4645
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5a88cbc6e4b9179a1c0c37d7e4251c7f5ddfb31afc5f7b1a0125464b0aa6dfbfa046385caddf5fef8abbb0844c47f8b26cd29b75dd34c15efdba5578512a2dc
|
7
|
+
data.tar.gz: 728d505a8551cbf4e7f21fcff64a42d264a94aa514433eb903845684d969f5d7649071e02c0314222343b13f595f5eb6ac76f2a8bd5273410b410d8fdbb71248
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.622
|
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.622
|
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-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|