tencentcloud-sdk-apigateway 3.0.911 → 3.0.912
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 +24 -0
- data/lib/v20180808/models.rb +37 -10
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 889f579c684463c368bde3173bc28a09463a458f
|
4
|
+
data.tar.gz: 03a185ae5ebd3b174e03130329557a86d78d8e07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf6ac2fe507577c0dc0eb72935cfe33498f515304c8a32b26a85e28fd9b12c9f8c3f62c7ac4337c887d5a10b97ba92801a83c668eaad0318a0a8aa5f208863bc
|
7
|
+
data.tar.gz: ed571d13fa44f90bfc4fb936c86ad5083aaf83d4d5fd089c6b0e98e234680649dbd65a0756ce99a55b164defa99f58eda3a8b9ec310e4f34c53c1f0b8d4dc244
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.912
|
data/lib/v20180808/client.rb
CHANGED
@@ -1049,6 +1049,30 @@ module TencentCloud
|
|
1049
1049
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1050
1050
|
end
|
1051
1051
|
|
1052
|
+
# Get the list of supported regions for dedicated instances
|
1053
|
+
|
1054
|
+
# @param request: Request instance for DescribeExclusiveInstanceRegions.
|
1055
|
+
# @type request: :class:`Tencentcloud::apigateway::V20180808::DescribeExclusiveInstanceRegionsRequest`
|
1056
|
+
# @rtype: :class:`Tencentcloud::apigateway::V20180808::DescribeExclusiveInstanceRegionsResponse`
|
1057
|
+
def DescribeExclusiveInstanceRegions(request)
|
1058
|
+
body = send_request('DescribeExclusiveInstanceRegions', request.serialize)
|
1059
|
+
response = JSON.parse(body)
|
1060
|
+
if response['Response'].key?('Error') == false
|
1061
|
+
model = DescribeExclusiveInstanceRegionsResponse.new
|
1062
|
+
model.deserialize(response['Response'])
|
1063
|
+
model
|
1064
|
+
else
|
1065
|
+
code = response['Response']['Error']['Code']
|
1066
|
+
message = response['Response']['Error']['Message']
|
1067
|
+
reqid = response['Response']['RequestId']
|
1068
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1069
|
+
end
|
1070
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1071
|
+
raise e
|
1072
|
+
rescue StandardError => e
|
1073
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1074
|
+
end
|
1075
|
+
|
1052
1076
|
# 本接口(DescribeExclusiveInstances)用于查询独享实例列表信息。
|
1053
1077
|
|
1054
1078
|
# @param request: Request instance for DescribeExclusiveInstances.
|
data/lib/v20180808/models.rb
CHANGED
@@ -436,8 +436,8 @@ module TencentCloud
|
|
436
436
|
|
437
437
|
attr_accessor :ServiceId, :ApiId, :ApiDesc, :Path, :Method, :CreatedTime, :ModifiedTime, :ApiName, :UniqVpcId, :ApiType, :Protocol, :IsDebugAfterCharge, :AuthType, :ApiBusinessType, :AuthRelationApiId, :RelationBuniessApiIds, :OauthConfig, :TokenLocation
|
438
438
|
extend Gem::Deprecate
|
439
|
-
deprecate :RelationBuniessApiIds, :none, 2024,
|
440
|
-
deprecate :RelationBuniessApiIds=, :none, 2024,
|
439
|
+
deprecate :RelationBuniessApiIds, :none, 2024, 9
|
440
|
+
deprecate :RelationBuniessApiIds=, :none, 2024, 9
|
441
441
|
|
442
442
|
def initialize(serviceid=nil, apiid=nil, apidesc=nil, path=nil, method=nil, createdtime=nil, modifiedtime=nil, apiname=nil, uniqvpcid=nil, apitype=nil, protocol=nil, isdebugaftercharge=nil, authtype=nil, apibusinesstype=nil, authrelationapiid=nil, relationbuniessapiids=nil, oauthconfig=nil, tokenlocation=nil)
|
443
443
|
@ServiceId = serviceid
|
@@ -3220,8 +3220,8 @@ module TencentCloud
|
|
3220
3220
|
|
3221
3221
|
attr_accessor :ServiceId, :ApiId, :ApiDesc, :CreatedTime, :ModifiedTime, :ApiName, :VpcId, :UniqVpcId, :ApiType, :Protocol, :IsDebugAfterCharge, :AuthType, :ApiBusinessType, :AuthRelationApiId, :OauthConfig, :RelationBuniessApiIds, :Tags, :Path, :Method
|
3222
3222
|
extend Gem::Deprecate
|
3223
|
-
deprecate :RelationBuniessApiIds, :none, 2024,
|
3224
|
-
deprecate :RelationBuniessApiIds=, :none, 2024,
|
3223
|
+
deprecate :RelationBuniessApiIds, :none, 2024, 9
|
3224
|
+
deprecate :RelationBuniessApiIds=, :none, 2024, 9
|
3225
3225
|
|
3226
3226
|
def initialize(serviceid=nil, apiid=nil, apidesc=nil, createdtime=nil, modifiedtime=nil, apiname=nil, vpcid=nil, uniqvpcid=nil, apitype=nil, protocol=nil, isdebugaftercharge=nil, authtype=nil, apibusinesstype=nil, authrelationapiid=nil, oauthconfig=nil, relationbuniessapiids=nil, tags=nil, path=nil, method=nil)
|
3227
3227
|
@ServiceId = serviceid
|
@@ -4074,8 +4074,8 @@ module TencentCloud
|
|
4074
4074
|
|
4075
4075
|
attr_accessor :ServiceId, :ApiId, :ApiDesc, :CreatedTime, :ModifiedTime, :ApiName, :VpcId, :UniqVpcId, :ApiType, :Protocol, :IsDebugAfterCharge, :AuthType, :ApiBusinessType, :AuthRelationApiId, :OauthConfig, :RelationBuniessApiIds, :Tags, :Path, :Method
|
4076
4076
|
extend Gem::Deprecate
|
4077
|
-
deprecate :RelationBuniessApiIds, :none, 2024,
|
4078
|
-
deprecate :RelationBuniessApiIds=, :none, 2024,
|
4077
|
+
deprecate :RelationBuniessApiIds, :none, 2024, 9
|
4078
|
+
deprecate :RelationBuniessApiIds=, :none, 2024, 9
|
4079
4079
|
|
4080
4080
|
def initialize(serviceid=nil, apiid=nil, apidesc=nil, createdtime=nil, modifiedtime=nil, apiname=nil, vpcid=nil, uniqvpcid=nil, apitype=nil, protocol=nil, isdebugaftercharge=nil, authtype=nil, apibusinesstype=nil, authrelationapiid=nil, oauthconfig=nil, relationbuniessapiids=nil, tags=nil, path=nil, method=nil)
|
4081
4081
|
@ServiceId = serviceid
|
@@ -4198,6 +4198,33 @@ module TencentCloud
|
|
4198
4198
|
end
|
4199
4199
|
end
|
4200
4200
|
|
4201
|
+
# DescribeExclusiveInstanceRegions请求参数结构体
|
4202
|
+
class DescribeExclusiveInstanceRegionsRequest < TencentCloud::Common::AbstractModel
|
4203
|
+
|
4204
|
+
|
4205
|
+
def initialize()
|
4206
|
+
end
|
4207
|
+
|
4208
|
+
def deserialize(params)
|
4209
|
+
end
|
4210
|
+
end
|
4211
|
+
|
4212
|
+
# DescribeExclusiveInstanceRegions返回参数结构体
|
4213
|
+
class DescribeExclusiveInstanceRegionsResponse < TencentCloud::Common::AbstractModel
|
4214
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4215
|
+
# @type RequestId: String
|
4216
|
+
|
4217
|
+
attr_accessor :RequestId
|
4218
|
+
|
4219
|
+
def initialize(requestid=nil)
|
4220
|
+
@RequestId = requestid
|
4221
|
+
end
|
4222
|
+
|
4223
|
+
def deserialize(params)
|
4224
|
+
@RequestId = params['RequestId']
|
4225
|
+
end
|
4226
|
+
end
|
4227
|
+
|
4201
4228
|
# DescribeExclusiveInstances请求参数结构体
|
4202
4229
|
class DescribeExclusiveInstancesRequest < TencentCloud::Common::AbstractModel
|
4203
4230
|
# @param Limit: 分页查询,limit
|
@@ -4535,8 +4562,8 @@ module TencentCloud
|
|
4535
4562
|
|
4536
4563
|
attr_accessor :StartTime, :EndTime, :ServiceId, :Filters, :Limit, :ConText, :Sort, :Query, :LogQuerys
|
4537
4564
|
extend Gem::Deprecate
|
4538
|
-
deprecate :LogQuerys, :none, 2024,
|
4539
|
-
deprecate :LogQuerys=, :none, 2024,
|
4565
|
+
deprecate :LogQuerys, :none, 2024, 9
|
4566
|
+
deprecate :LogQuerys=, :none, 2024, 9
|
4540
4567
|
|
4541
4568
|
def initialize(starttime=nil, endtime=nil, serviceid=nil, filters=nil, limit=nil, context=nil, sort=nil, query=nil, logquerys=nil)
|
4542
4569
|
@StartTime = starttime
|
@@ -8012,8 +8039,8 @@ module TencentCloud
|
|
8012
8039
|
|
8013
8040
|
attr_accessor :Name, :Value, :Default, :Unit, :Type, :Minimum, :Maximum, :ModifedTime, :ValueString, :DefaultValueString, :Range
|
8014
8041
|
extend Gem::Deprecate
|
8015
|
-
deprecate :ModifedTime, :none, 2024,
|
8016
|
-
deprecate :ModifedTime=, :none, 2024,
|
8042
|
+
deprecate :ModifedTime, :none, 2024, 9
|
8043
|
+
deprecate :ModifedTime=, :none, 2024, 9
|
8017
8044
|
|
8018
8045
|
def initialize(name=nil, value=nil, default=nil, unit=nil, type=nil, minimum=nil, maximum=nil, modifedtime=nil, valuestring=nil, defaultvaluestring=nil, range=nil)
|
8019
8046
|
@Name = name
|