tencentcloud-sdk-apigateway 3.0.587 → 3.0.588
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/models.rb +139 -2
- 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: 0febc4672c59e0d550d075e71698de23d5789c43
|
|
4
|
+
data.tar.gz: 8e6f324e5abde8b1b90663e99285aff8e095e346
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 16ef7d7ee3f2cadeea49ed73357dbca73dff4c6ab3a3f6c924c2424535e21baf6c111e6be2a791b0bf07fcc9a542cf62c22ffc901c1847d225cb772ffc639ff5
|
|
7
|
+
data.tar.gz: 3ed25c52955b0712edecd6614854c3693b2edb7f3eb52753db6b67324d08b7853d4f79a64891e1354f396ab719cd83d7f0d738c3a8f8e45517cf6006ec96950f
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.588
|
data/lib/v20180808/models.rb
CHANGED
|
@@ -1019,6 +1019,17 @@ module TencentCloud
|
|
|
1019
1019
|
end
|
|
1020
1020
|
end
|
|
1021
1021
|
|
|
1022
|
+
# key-value
|
|
1023
|
+
class ApigatewayTags < TencentCloud::Common::AbstractModel
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
def initialize()
|
|
1027
|
+
end
|
|
1028
|
+
|
|
1029
|
+
def deserialize(params)
|
|
1030
|
+
end
|
|
1031
|
+
end
|
|
1032
|
+
|
|
1022
1033
|
# AttachPlugin请求参数结构体
|
|
1023
1034
|
class AttachPluginRequest < TencentCloud::Common::AbstractModel
|
|
1024
1035
|
# @param PluginId: 绑定的API网关插件ID。
|
|
@@ -3909,19 +3920,145 @@ module TencentCloud
|
|
|
3909
3920
|
end
|
|
3910
3921
|
end
|
|
3911
3922
|
|
|
3923
|
+
# api状态详情
|
|
3924
|
+
class DescribeApisStatusResultApiIdStatusSetInfo < TencentCloud::Common::AbstractModel
|
|
3925
|
+
# @param ServiceId: 服务唯一ID。
|
|
3926
|
+
# @type ServiceId: String
|
|
3927
|
+
# @param ApiId: API唯一ID。
|
|
3928
|
+
# @type ApiId: String
|
|
3929
|
+
# @param ApiDesc: 用户自定义的 API 接口描述。
|
|
3930
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3931
|
+
# @type ApiDesc: String
|
|
3932
|
+
# @param CreatedTime: 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ。
|
|
3933
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3934
|
+
# @type CreatedTime: String
|
|
3935
|
+
# @param ModifiedTime: 最后修改时间。按照 ISO8601 标准表示,并且使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ。
|
|
3936
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3937
|
+
# @type ModifiedTime: String
|
|
3938
|
+
# @param ApiName: API 接口的名称。
|
|
3939
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3940
|
+
# @type ApiName: String
|
|
3941
|
+
# @param VpcId: VPCID。
|
|
3942
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3943
|
+
# @type VpcId: Integer
|
|
3944
|
+
# @param UniqVpcId: VPC唯一ID。
|
|
3945
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3946
|
+
# @type UniqVpcId: String
|
|
3947
|
+
# @param ApiType: API类型。取值为NORMAL(普通API)和TSF(微服务API)。
|
|
3948
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3949
|
+
# @type ApiType: String
|
|
3950
|
+
# @param Protocol: API协议。
|
|
3951
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3952
|
+
# @type Protocol: String
|
|
3953
|
+
# @param IsDebugAfterCharge: 是否买后调试。(云市场预留字段)
|
|
3954
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3955
|
+
# @type IsDebugAfterCharge: Boolean
|
|
3956
|
+
# @param AuthType: API 鉴权类型。取值为SECRET(密钥对鉴权)、NONE(免鉴权)、OAUTH、EIAM。
|
|
3957
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3958
|
+
# @type AuthType: String
|
|
3959
|
+
# @param ApiBusinessType: OAUTH API的类型。当AuthType 为 OAUTH时该字段有效, 取值为NORMAL(业务API)和 OAUTH(授权API)。
|
|
3960
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3961
|
+
# @type ApiBusinessType: String
|
|
3962
|
+
# @param AuthRelationApiId: 关联的授权API 唯一 ID,当AuthType为OAUTH且ApiBusinessType为NORMAL时生效。标示业务API绑定的oauth2.0授权API唯一ID。
|
|
3963
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3964
|
+
# @type AuthRelationApiId: String
|
|
3965
|
+
# @param OauthConfig: OAUTH 配置信息。当AuthType是OAUTH时生效。
|
|
3966
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3967
|
+
# @type OauthConfig: :class:`Tencentcloud::Apigateway.v20180808.models.OauthConfig`
|
|
3968
|
+
# @param RelationBuniessApiIds: 授权API关联的业务API列表。
|
|
3969
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3970
|
+
# @type RelationBuniessApiIds: Array
|
|
3971
|
+
# @param Tags: API关联的标签信息。
|
|
3972
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3973
|
+
# @type Tags: Array
|
|
3974
|
+
# @param Path: API 的路径,如 /path。
|
|
3975
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3976
|
+
# @type Path: String
|
|
3977
|
+
# @param Method: API 的请求方法,如 GET。
|
|
3978
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3979
|
+
# @type Method: String
|
|
3980
|
+
|
|
3981
|
+
attr_accessor :ServiceId, :ApiId, :ApiDesc, :CreatedTime, :ModifiedTime, :ApiName, :VpcId, :UniqVpcId, :ApiType, :Protocol, :IsDebugAfterCharge, :AuthType, :ApiBusinessType, :AuthRelationApiId, :OauthConfig, :RelationBuniessApiIds, :Tags, :Path, :Method
|
|
3982
|
+
|
|
3983
|
+
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)
|
|
3984
|
+
@ServiceId = serviceid
|
|
3985
|
+
@ApiId = apiid
|
|
3986
|
+
@ApiDesc = apidesc
|
|
3987
|
+
@CreatedTime = createdtime
|
|
3988
|
+
@ModifiedTime = modifiedtime
|
|
3989
|
+
@ApiName = apiname
|
|
3990
|
+
@VpcId = vpcid
|
|
3991
|
+
@UniqVpcId = uniqvpcid
|
|
3992
|
+
@ApiType = apitype
|
|
3993
|
+
@Protocol = protocol
|
|
3994
|
+
@IsDebugAfterCharge = isdebugaftercharge
|
|
3995
|
+
@AuthType = authtype
|
|
3996
|
+
@ApiBusinessType = apibusinesstype
|
|
3997
|
+
@AuthRelationApiId = authrelationapiid
|
|
3998
|
+
@OauthConfig = oauthconfig
|
|
3999
|
+
@RelationBuniessApiIds = relationbuniessapiids
|
|
4000
|
+
@Tags = tags
|
|
4001
|
+
@Path = path
|
|
4002
|
+
@Method = method
|
|
4003
|
+
end
|
|
4004
|
+
|
|
4005
|
+
def deserialize(params)
|
|
4006
|
+
@ServiceId = params['ServiceId']
|
|
4007
|
+
@ApiId = params['ApiId']
|
|
4008
|
+
@ApiDesc = params['ApiDesc']
|
|
4009
|
+
@CreatedTime = params['CreatedTime']
|
|
4010
|
+
@ModifiedTime = params['ModifiedTime']
|
|
4011
|
+
@ApiName = params['ApiName']
|
|
4012
|
+
@VpcId = params['VpcId']
|
|
4013
|
+
@UniqVpcId = params['UniqVpcId']
|
|
4014
|
+
@ApiType = params['ApiType']
|
|
4015
|
+
@Protocol = params['Protocol']
|
|
4016
|
+
@IsDebugAfterCharge = params['IsDebugAfterCharge']
|
|
4017
|
+
@AuthType = params['AuthType']
|
|
4018
|
+
@ApiBusinessType = params['ApiBusinessType']
|
|
4019
|
+
@AuthRelationApiId = params['AuthRelationApiId']
|
|
4020
|
+
unless params['OauthConfig'].nil?
|
|
4021
|
+
@OauthConfig = OauthConfig.new
|
|
4022
|
+
@OauthConfig.deserialize(params['OauthConfig'])
|
|
4023
|
+
end
|
|
4024
|
+
@RelationBuniessApiIds = params['RelationBuniessApiIds']
|
|
4025
|
+
unless params['Tags'].nil?
|
|
4026
|
+
@Tags = []
|
|
4027
|
+
params['Tags'].each do |i|
|
|
4028
|
+
apigatewaytags_tmp = ApigatewayTags.new
|
|
4029
|
+
apigatewaytags_tmp.deserialize(i)
|
|
4030
|
+
@Tags << apigatewaytags_tmp
|
|
4031
|
+
end
|
|
4032
|
+
end
|
|
4033
|
+
@Path = params['Path']
|
|
4034
|
+
@Method = params['Method']
|
|
4035
|
+
end
|
|
4036
|
+
end
|
|
4037
|
+
|
|
3912
4038
|
# 描述api列表状态
|
|
3913
4039
|
class DescribeApisStatusResultInfo < TencentCloud::Common::AbstractModel
|
|
3914
4040
|
# @param TotalCount: 符合条件的 API 接口数量。
|
|
3915
4041
|
# @type TotalCount: Integer
|
|
4042
|
+
# @param ApiIdStatusSet: API 接口列表。
|
|
4043
|
+
# @type ApiIdStatusSet: Array
|
|
3916
4044
|
|
|
3917
|
-
attr_accessor :TotalCount
|
|
4045
|
+
attr_accessor :TotalCount, :ApiIdStatusSet
|
|
3918
4046
|
|
|
3919
|
-
def initialize(totalcount=nil)
|
|
4047
|
+
def initialize(totalcount=nil, apiidstatusset=nil)
|
|
3920
4048
|
@TotalCount = totalcount
|
|
4049
|
+
@ApiIdStatusSet = apiidstatusset
|
|
3921
4050
|
end
|
|
3922
4051
|
|
|
3923
4052
|
def deserialize(params)
|
|
3924
4053
|
@TotalCount = params['TotalCount']
|
|
4054
|
+
unless params['ApiIdStatusSet'].nil?
|
|
4055
|
+
@ApiIdStatusSet = []
|
|
4056
|
+
params['ApiIdStatusSet'].each do |i|
|
|
4057
|
+
describeapisstatusresultapiidstatussetinfo_tmp = DescribeApisStatusResultApiIdStatusSetInfo.new
|
|
4058
|
+
describeapisstatusresultapiidstatussetinfo_tmp.deserialize(i)
|
|
4059
|
+
@ApiIdStatusSet << describeapisstatusresultapiidstatussetinfo_tmp
|
|
4060
|
+
end
|
|
4061
|
+
end
|
|
3925
4062
|
end
|
|
3926
4063
|
end
|
|
3927
4064
|
|