tencentcloud-sdk-apigateway 3.0.584 → 3.0.586

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: de9ff60141afd59167b6b1876e35edf53ed7aeb3
4
- data.tar.gz: 494adbd5985519ff60335cd4e1b074287d5b8f3d
3
+ metadata.gz: 67cdae52672575611cb9a2d4df6196403b2a86d1
4
+ data.tar.gz: 55111283c9ac9bb9d9e2cf6d9b397e1f5eb89076
5
5
  SHA512:
6
- metadata.gz: fd529f13e1cb33d4bfc6f62fb2cae2e25bea6339496a9d7768d585b0e2106280b32f4a966aa9e038a3508633a17d626185feef13cba92d076202e674daa887ad
7
- data.tar.gz: 05e0f66adbb2c981b7b4c66e5f8f9e1911f6caadb1e940fb4100c3102ac842ca15c00d235d28c9169764f3d4dd951b5319f1934efa68829ec895a4047255d5c8
6
+ metadata.gz: c528284bb283f99b3e32b6bd347e29ac683c0208e91f3e39dcb565810e492b998f26a39edd147703ba083858ebc4da84a50f939c78615ac7412ecd9a8a285d41
7
+ data.tar.gz: 85aafbceddebd7b13266410949ab589db56e7167dc03a8629df8257ebce2936d1a965d62a7767a0888f1c0f29cbc9295cddc4ac99061411e48c9ad2c708f8b51
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.584
1
+ 3.0.586
@@ -370,7 +370,7 @@ module TencentCloud
370
370
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
371
371
  end
372
372
 
373
- # 用于创建创建后端通道
373
+ # 用于创建后端通道
374
374
 
375
375
  # @param request: Request instance for CreateUpstream.
376
376
  # @type request: :class:`Tencentcloud::apigateway::V20180808::CreateUpstreamRequest`
@@ -1049,7 +1049,7 @@ module TencentCloud
1049
1049
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1050
1050
  end
1051
1051
 
1052
- # 本接口(DescribeExclusiveInstances)用于查询独享实例列表信息。​
1052
+ # 本接口(DescribeExclusiveInstances)用于查询独享实例列表信息。
1053
1053
 
1054
1054
  # @param request: Request instance for DescribeExclusiveInstances.
1055
1055
  # @type request: :class:`Tencentcloud::apigateway::V20180808::DescribeExclusiveInstancesRequest`
@@ -2355,7 +2355,7 @@ module TencentCloud
2355
2355
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2356
2356
  end
2357
2357
 
2358
- # 本接口(UpdateService)用于从服务发布的环境中运行版本切换到特定版本。用户在使用 API 网关创建服务并发布服务到某个环境后,多因为开发过程会产生多个版本,此时可调用本接口。
2358
+ # 本接口(UpdateService)用于从服务已发布的环境中将运行版本切换到特定版本。用户在使用 API 网关创建服务并发布服务到某个环境后,如在开发过程产生多个版本需要切换,此时可调用本接口。
2359
2359
 
2360
2360
  # @param request: Request instance for UpdateService.
2361
2361
  # @type request: :class:`Tencentcloud::apigateway::V20180808::UpdateServiceRequest`
@@ -364,6 +364,7 @@ module TencentCloud
364
364
  # @param ApiId: API唯一ID。
365
365
  # @type ApiId: String
366
366
  # @param ApiDesc: API描述
367
+ # 注意:此字段可能返回 null,表示取不到有效值。
367
368
  # @type ApiDesc: String
368
369
  # @param Path: API PATH。
369
370
  # @type Path: String
@@ -718,9 +719,9 @@ module TencentCloud
718
719
  unless params['ServiceParameters'].nil?
719
720
  @ServiceParameters = []
720
721
  params['ServiceParameters'].each do |i|
721
- serviceparameter_tmp = ServiceParameter.new
722
- serviceparameter_tmp.deserialize(i)
723
- @ServiceParameters << serviceparameter_tmp
722
+ describeapiresultserviceparametersinfo_tmp = DescribeApiResultServiceParametersInfo.new
723
+ describeapiresultserviceparametersinfo_tmp.deserialize(i)
724
+ @ServiceParameters << describeapiresultserviceparametersinfo_tmp
724
725
  end
725
726
  end
726
727
  unless params['ConstantParameters'].nil?
@@ -1018,33 +1019,6 @@ module TencentCloud
1018
1019
  end
1019
1020
  end
1020
1021
 
1021
- # 描述api列表状态
1022
- class ApisStatus < TencentCloud::Common::AbstractModel
1023
- # @param TotalCount: 符合条件的 API 接口数量。
1024
- # @type TotalCount: Integer
1025
- # @param ApiIdStatusSet: API 接口列表。
1026
- # @type ApiIdStatusSet: Array
1027
-
1028
- attr_accessor :TotalCount, :ApiIdStatusSet
1029
-
1030
- def initialize(totalcount=nil, apiidstatusset=nil)
1031
- @TotalCount = totalcount
1032
- @ApiIdStatusSet = apiidstatusset
1033
- end
1034
-
1035
- def deserialize(params)
1036
- @TotalCount = params['TotalCount']
1037
- unless params['ApiIdStatusSet'].nil?
1038
- @ApiIdStatusSet = []
1039
- params['ApiIdStatusSet'].each do |i|
1040
- desapisstatus_tmp = DesApisStatus.new
1041
- desapisstatus_tmp.deserialize(i)
1042
- @ApiIdStatusSet << desapisstatus_tmp
1043
- end
1044
- end
1045
- end
1046
- end
1047
-
1048
1022
  # AttachPlugin请求参数结构体
1049
1023
  class AttachPluginRequest < TencentCloud::Common::AbstractModel
1050
1024
  # @param PluginId: 绑定的API网关插件ID。
@@ -1585,21 +1559,16 @@ module TencentCloud
1585
1559
 
1586
1560
  # BindSubDomain返回参数结构体
1587
1561
  class BindSubDomainResponse < TencentCloud::Common::AbstractModel
1588
- # @param Result: 绑定操作是否成功。
1589
- # 注意:此字段可能返回 null,表示取不到有效值。
1590
- # @type Result: Boolean
1591
1562
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1592
1563
  # @type RequestId: String
1593
1564
 
1594
- attr_accessor :Result, :RequestId
1565
+ attr_accessor :RequestId
1595
1566
 
1596
- def initialize(result=nil, requestid=nil)
1597
- @Result = result
1567
+ def initialize(requestid=nil)
1598
1568
  @RequestId = requestid
1599
1569
  end
1600
1570
 
1601
1571
  def deserialize(params)
1602
- @Result = params['Result']
1603
1572
  @RequestId = params['RequestId']
1604
1573
  end
1605
1574
  end
@@ -1643,12 +1612,16 @@ module TencentCloud
1643
1612
  # 常量参数
1644
1613
  class ConstantParameter < TencentCloud::Common::AbstractModel
1645
1614
  # @param Name: 常量参数名称。只有 ServiceType 是 HTTP 才会用到此参数。
1615
+ # 注意:此字段可能返回 null,表示取不到有效值。
1646
1616
  # @type Name: String
1647
1617
  # @param Desc: 常量参数描述。只有 ServiceType 是 HTTP 才会用到此参数。
1618
+ # 注意:此字段可能返回 null,表示取不到有效值。
1648
1619
  # @type Desc: String
1649
1620
  # @param Position: 常量参数位置。只有 ServiceType 是 HTTP 才会用到此参数。
1621
+ # 注意:此字段可能返回 null,表示取不到有效值。
1650
1622
  # @type Position: String
1651
1623
  # @param DefaultValue: 常量参数默认值。只有 ServiceType 是 HTTP 才会用到此参数。
1624
+ # 注意:此字段可能返回 null,表示取不到有效值。
1652
1625
  # @type DefaultValue: String
1653
1626
 
1654
1627
  attr_accessor :Name, :Desc, :Position, :DefaultValue
@@ -2144,7 +2117,7 @@ module TencentCloud
2144
2117
  class CreateApiResponse < TencentCloud::Common::AbstractModel
2145
2118
  # @param Result: api信息
2146
2119
  # 注意:此字段可能返回 null,表示取不到有效值。
2147
- # @type Result: :class:`Tencentcloud::Apigateway.v20180808.models.CreateApiRsp`
2120
+ # @type Result: :class:`Tencentcloud::Apigateway.v20180808.models.CreateApiResultInfo`
2148
2121
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2149
2122
  # @type RequestId: String
2150
2123
 
@@ -2157,13 +2130,45 @@ module TencentCloud
2157
2130
 
2158
2131
  def deserialize(params)
2159
2132
  unless params['Result'].nil?
2160
- @Result = CreateApiRsp.new
2133
+ @Result = CreateApiResultInfo.new
2161
2134
  @Result.deserialize(params['Result'])
2162
2135
  end
2163
2136
  @RequestId = params['RequestId']
2164
2137
  end
2165
2138
  end
2166
2139
 
2140
+ # 创建api返回
2141
+ class CreateApiResultInfo < TencentCloud::Common::AbstractModel
2142
+ # @param ApiId: api id
2143
+ # 注意:此字段可能返回 null,表示取不到有效值。
2144
+ # @type ApiId: String
2145
+ # @param Path: 路径
2146
+ # 注意:此字段可能返回 null,表示取不到有效值。
2147
+ # @type Path: String
2148
+ # @param Method: 请求方法
2149
+ # 注意:此字段可能返回 null,表示取不到有效值。
2150
+ # @type Method: String
2151
+ # @param CreatedTime: 创建时间
2152
+ # 注意:此字段可能返回 null,表示取不到有效值。
2153
+ # @type CreatedTime: String
2154
+
2155
+ attr_accessor :ApiId, :Path, :Method, :CreatedTime
2156
+
2157
+ def initialize(apiid=nil, path=nil, method=nil, createdtime=nil)
2158
+ @ApiId = apiid
2159
+ @Path = path
2160
+ @Method = method
2161
+ @CreatedTime = createdtime
2162
+ end
2163
+
2164
+ def deserialize(params)
2165
+ @ApiId = params['ApiId']
2166
+ @Path = params['Path']
2167
+ @Method = params['Method']
2168
+ @CreatedTime = params['CreatedTime']
2169
+ end
2170
+ end
2171
+
2167
2172
  # 创建api返回
2168
2173
  class CreateApiRsp < TencentCloud::Common::AbstractModel
2169
2174
  # @param ApiId: api id
@@ -3756,6 +3761,48 @@ module TencentCloud
3756
3761
  end
3757
3762
  end
3758
3763
 
3764
+ # ServiceParameter
3765
+ class DescribeApiResultServiceParametersInfo < TencentCloud::Common::AbstractModel
3766
+ # @param Name: API的后端服务参数名称。只有ServiceType是HTTP才会用到此参数。前后端参数名称可不同。
3767
+ # 注意:此字段可能返回 null,表示取不到有效值。
3768
+ # @type Name: String
3769
+ # @param Position: API 的后端服务参数位置,如 head。只有 ServiceType 是 HTTP 才会用到此参数。前后端参数位置可配置不同。
3770
+ # 注意:此字段可能返回 null,表示取不到有效值。
3771
+ # @type Position: String
3772
+ # @param RelevantRequestParameterPosition: API 的后端服务参数对应的前端参数位置,如 head。只有 ServiceType 是 HTTP 才会用到此参数。
3773
+ # 注意:此字段可能返回 null,表示取不到有效值。
3774
+ # @type RelevantRequestParameterPosition: String
3775
+ # @param RelevantRequestParameterName: API 的后端服务参数对应的前端参数名称。只有 ServiceType 是 HTTP 才会用到此参数。
3776
+ # 注意:此字段可能返回 null,表示取不到有效值。
3777
+ # @type RelevantRequestParameterName: String
3778
+ # @param DefaultValue: API 的后端服务参数默认值。只有 ServiceType 是 HTTP 才会用到此参数。
3779
+ # 注意:此字段可能返回 null,表示取不到有效值。
3780
+ # @type DefaultValue: String
3781
+ # @param RelevantRequestParameterDesc: API 的后端服务参数备注。只有 ServiceType 是 HTTP 才会用到此参数。
3782
+ # 注意:此字段可能返回 null,表示取不到有效值。
3783
+ # @type RelevantRequestParameterDesc: String
3784
+
3785
+ attr_accessor :Name, :Position, :RelevantRequestParameterPosition, :RelevantRequestParameterName, :DefaultValue, :RelevantRequestParameterDesc
3786
+
3787
+ def initialize(name=nil, position=nil, relevantrequestparameterposition=nil, relevantrequestparametername=nil, defaultvalue=nil, relevantrequestparameterdesc=nil)
3788
+ @Name = name
3789
+ @Position = position
3790
+ @RelevantRequestParameterPosition = relevantrequestparameterposition
3791
+ @RelevantRequestParameterName = relevantrequestparametername
3792
+ @DefaultValue = defaultvalue
3793
+ @RelevantRequestParameterDesc = relevantrequestparameterdesc
3794
+ end
3795
+
3796
+ def deserialize(params)
3797
+ @Name = params['Name']
3798
+ @Position = params['Position']
3799
+ @RelevantRequestParameterPosition = params['RelevantRequestParameterPosition']
3800
+ @RelevantRequestParameterName = params['RelevantRequestParameterName']
3801
+ @DefaultValue = params['DefaultValue']
3802
+ @RelevantRequestParameterDesc = params['RelevantRequestParameterDesc']
3803
+ end
3804
+ end
3805
+
3759
3806
  # DescribeApiUsagePlan请求参数结构体
3760
3807
  class DescribeApiUsagePlanRequest < TencentCloud::Common::AbstractModel
3761
3808
  # @param ServiceId: 待查询的服务唯一 ID。
@@ -3842,7 +3889,7 @@ module TencentCloud
3842
3889
  # DescribeApisStatus返回参数结构体
3843
3890
  class DescribeApisStatusResponse < TencentCloud::Common::AbstractModel
3844
3891
  # @param Result: API 详情列表。
3845
- # @type Result: :class:`Tencentcloud::Apigateway.v20180808.models.ApisStatus`
3892
+ # @type Result: :class:`Tencentcloud::Apigateway.v20180808.models.DescribeApisStatusResultInfo`
3846
3893
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3847
3894
  # @type RequestId: String
3848
3895
 
@@ -3855,13 +3902,29 @@ module TencentCloud
3855
3902
 
3856
3903
  def deserialize(params)
3857
3904
  unless params['Result'].nil?
3858
- @Result = ApisStatus.new
3905
+ @Result = DescribeApisStatusResultInfo.new
3859
3906
  @Result.deserialize(params['Result'])
3860
3907
  end
3861
3908
  @RequestId = params['RequestId']
3862
3909
  end
3863
3910
  end
3864
3911
 
3912
+ # 描述api列表状态
3913
+ class DescribeApisStatusResultInfo < TencentCloud::Common::AbstractModel
3914
+ # @param TotalCount: 符合条件的 API 接口数量。
3915
+ # @type TotalCount: Integer
3916
+
3917
+ attr_accessor :TotalCount
3918
+
3919
+ def initialize(totalcount=nil)
3920
+ @TotalCount = totalcount
3921
+ end
3922
+
3923
+ def deserialize(params)
3924
+ @TotalCount = params['TotalCount']
3925
+ end
3926
+ end
3927
+
3865
3928
  # DescribeExclusiveInstanceDetail请求参数结构体
3866
3929
  class DescribeExclusiveInstanceDetailRequest < TencentCloud::Common::AbstractModel
3867
3930
  # @param InstanceId: 独享实例唯一id
@@ -3935,7 +3998,7 @@ module TencentCloud
3935
3998
  # DescribeExclusiveInstances返回参数结构体
3936
3999
  class DescribeExclusiveInstancesResponse < TencentCloud::Common::AbstractModel
3937
4000
  # @param Result: 独享实例列表查询结果
3938
- # @type Result: :class:`Tencentcloud::Apigateway.v20180808.models.InstanceInfo`
4001
+ # @type Result: :class:`Tencentcloud::Apigateway.v20180808.models.DescribeExclusiveInstancesResult`
3939
4002
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3940
4003
  # @type RequestId: String
3941
4004
 
@@ -3948,13 +4011,24 @@ module TencentCloud
3948
4011
 
3949
4012
  def deserialize(params)
3950
4013
  unless params['Result'].nil?
3951
- @Result = InstanceInfo.new
4014
+ @Result = DescribeExclusiveInstancesResult.new
3952
4015
  @Result.deserialize(params['Result'])
3953
4016
  end
3954
4017
  @RequestId = params['RequestId']
3955
4018
  end
3956
4019
  end
3957
4020
 
4021
+ # 数据结构
4022
+ class DescribeExclusiveInstancesResult < TencentCloud::Common::AbstractModel
4023
+
4024
+
4025
+ def initialize()
4026
+ end
4027
+
4028
+ def deserialize(params)
4029
+ end
4030
+ end
4031
+
3958
4032
  # DescribeExclusiveInstancesStatus请求参数结构体
3959
4033
  class DescribeExclusiveInstancesStatusRequest < TencentCloud::Common::AbstractModel
3960
4034
  # @param Limit: 分页查询,limit
@@ -4887,6 +4961,28 @@ module TencentCloud
4887
4961
  end
4888
4962
  end
4889
4963
 
4964
+ # 服务发布列表详情
4965
+ class DescribeServiceReleaseVersionResultVersionListInfo < TencentCloud::Common::AbstractModel
4966
+ # @param VersionName: 版本号。
4967
+ # 注意:此字段可能返回 null,表示取不到有效值。
4968
+ # @type VersionName: String
4969
+ # @param VersionDesc: 版本描述。
4970
+ # 注意:此字段可能返回 null,表示取不到有效值。
4971
+ # @type VersionDesc: String
4972
+
4973
+ attr_accessor :VersionName, :VersionDesc
4974
+
4975
+ def initialize(versionname=nil, versiondesc=nil)
4976
+ @VersionName = versionname
4977
+ @VersionDesc = versiondesc
4978
+ end
4979
+
4980
+ def deserialize(params)
4981
+ @VersionName = params['VersionName']
4982
+ @VersionDesc = params['VersionDesc']
4983
+ end
4984
+ end
4985
+
4890
4986
  # DescribeService请求参数结构体
4891
4987
  class DescribeServiceRequest < TencentCloud::Common::AbstractModel
4892
4988
  # @param ServiceId: 待查询的服务唯一 ID。
@@ -5857,22 +5953,17 @@ module TencentCloud
5857
5953
  # @type EnvironmentName: String
5858
5954
  # @param Quota: 限流值
5859
5955
  # @type Quota: Integer
5860
- # @param MaxQuota: 限流最大值
5861
- # 注意:此字段可能返回 null,表示取不到有效值。
5862
- # @type MaxQuota: Integer
5863
5956
 
5864
- attr_accessor :EnvironmentName, :Quota, :MaxQuota
5957
+ attr_accessor :EnvironmentName, :Quota
5865
5958
 
5866
- def initialize(environmentname=nil, quota=nil, maxquota=nil)
5959
+ def initialize(environmentname=nil, quota=nil)
5867
5960
  @EnvironmentName = environmentname
5868
5961
  @Quota = quota
5869
- @MaxQuota = maxquota
5870
5962
  end
5871
5963
 
5872
5964
  def deserialize(params)
5873
5965
  @EnvironmentName = params['EnvironmentName']
5874
5966
  @Quota = params['Quota']
5875
- @MaxQuota = params['MaxQuota']
5876
5967
  end
5877
5968
  end
5878
5969
 
@@ -5986,12 +6077,16 @@ module TencentCloud
5986
6077
  # 健康检查配置,包括TsfHealthCheckConf和TargetServicesHealthCheckConf
5987
6078
  class HealthCheckConf < TencentCloud::Common::AbstractModel
5988
6079
  # @param IsHealthCheck: 是否开启健康检查。
6080
+ # 注意:此字段可能返回 null,表示取不到有效值。
5989
6081
  # @type IsHealthCheck: Boolean
5990
6082
  # @param RequestVolumeThreshold: 健康检查阈值。
6083
+ # 注意:此字段可能返回 null,表示取不到有效值。
5991
6084
  # @type RequestVolumeThreshold: Integer
5992
6085
  # @param SleepWindowInMilliseconds: 窗口大小。
6086
+ # 注意:此字段可能返回 null,表示取不到有效值。
5993
6087
  # @type SleepWindowInMilliseconds: Integer
5994
6088
  # @param ErrorThresholdPercentage: 阈值百分比。
6089
+ # 注意:此字段可能返回 null,表示取不到有效值。
5995
6090
  # @type ErrorThresholdPercentage: Integer
5996
6091
 
5997
6092
  attr_accessor :IsHealthCheck, :RequestVolumeThreshold, :SleepWindowInMilliseconds, :ErrorThresholdPercentage
@@ -7469,7 +7564,7 @@ module TencentCloud
7469
7564
  class ModifyUpstreamResponse < TencentCloud::Common::AbstractModel
7470
7565
  # @param Result: 返回修改后的后端通道信息
7471
7566
  # 注意:此字段可能返回 null,表示取不到有效值。
7472
- # @type Result: :class:`Tencentcloud::Apigateway.v20180808.models.UpstreamInfo`
7567
+ # @type Result: :class:`Tencentcloud::Apigateway.v20180808.models.ModifyUpstreamResultInfo`
7473
7568
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7474
7569
  # @type RequestId: String
7475
7570
 
@@ -7482,13 +7577,97 @@ module TencentCloud
7482
7577
 
7483
7578
  def deserialize(params)
7484
7579
  unless params['Result'].nil?
7485
- @Result = UpstreamInfo.new
7580
+ @Result = ModifyUpstreamResultInfo.new
7486
7581
  @Result.deserialize(params['Result'])
7487
7582
  end
7488
7583
  @RequestId = params['RequestId']
7489
7584
  end
7490
7585
  end
7491
7586
 
7587
+ # 后端通道详细信息
7588
+ class ModifyUpstreamResultInfo < TencentCloud::Common::AbstractModel
7589
+ # @param UpstreamId: 后端通道唯一ID
7590
+ # @type UpstreamId: String
7591
+ # @param UpstreamName: 后端通道名字
7592
+ # @type UpstreamName: String
7593
+ # @param UpstreamDescription: 后端通道描述
7594
+ # @type UpstreamDescription: String
7595
+ # @param Scheme: 后端协议,取值范围:HTTP, HTTPS
7596
+ # @type Scheme: String
7597
+ # @param Algorithm: 负载均衡算法,取值范围:ROUND_ROBIN
7598
+ # @type Algorithm: String
7599
+ # @param UniqVpcId: VPC唯一ID
7600
+ # @type UniqVpcId: String
7601
+ # @param Retries: 请求重试次数
7602
+ # @type Retries: Integer
7603
+ # @param Nodes: 后端节点
7604
+ # @type Nodes: Array
7605
+ # @param CreatedTime: 创建时间
7606
+ # @type CreatedTime: String
7607
+ # @param HealthChecker: 健康检查配置
7608
+ # 注意:此字段可能返回 null,表示取不到有效值。
7609
+ # @type HealthChecker: :class:`Tencentcloud::Apigateway.v20180808.models.UpstreamHealthChecker`
7610
+ # @param UpstreamType: 后端的类型,取值范围:IP_PORT, K8S
7611
+ # @type UpstreamType: String
7612
+ # @param K8sServices: K8S容器服务配置
7613
+ # 注意:此字段可能返回 null,表示取不到有效值。
7614
+ # @type K8sServices: Array
7615
+ # @param UpstreamHost: 网关转发给后端的Host请求头
7616
+ # 注意:此字段可能返回 null,表示取不到有效值。
7617
+ # @type UpstreamHost: String
7618
+
7619
+ attr_accessor :UpstreamId, :UpstreamName, :UpstreamDescription, :Scheme, :Algorithm, :UniqVpcId, :Retries, :Nodes, :CreatedTime, :HealthChecker, :UpstreamType, :K8sServices, :UpstreamHost
7620
+
7621
+ def initialize(upstreamid=nil, upstreamname=nil, upstreamdescription=nil, scheme=nil, algorithm=nil, uniqvpcid=nil, retries=nil, nodes=nil, createdtime=nil, healthchecker=nil, upstreamtype=nil, k8sservices=nil, upstreamhost=nil)
7622
+ @UpstreamId = upstreamid
7623
+ @UpstreamName = upstreamname
7624
+ @UpstreamDescription = upstreamdescription
7625
+ @Scheme = scheme
7626
+ @Algorithm = algorithm
7627
+ @UniqVpcId = uniqvpcid
7628
+ @Retries = retries
7629
+ @Nodes = nodes
7630
+ @CreatedTime = createdtime
7631
+ @HealthChecker = healthchecker
7632
+ @UpstreamType = upstreamtype
7633
+ @K8sServices = k8sservices
7634
+ @UpstreamHost = upstreamhost
7635
+ end
7636
+
7637
+ def deserialize(params)
7638
+ @UpstreamId = params['UpstreamId']
7639
+ @UpstreamName = params['UpstreamName']
7640
+ @UpstreamDescription = params['UpstreamDescription']
7641
+ @Scheme = params['Scheme']
7642
+ @Algorithm = params['Algorithm']
7643
+ @UniqVpcId = params['UniqVpcId']
7644
+ @Retries = params['Retries']
7645
+ unless params['Nodes'].nil?
7646
+ @Nodes = []
7647
+ params['Nodes'].each do |i|
7648
+ upstreamnode_tmp = UpstreamNode.new
7649
+ upstreamnode_tmp.deserialize(i)
7650
+ @Nodes << upstreamnode_tmp
7651
+ end
7652
+ end
7653
+ @CreatedTime = params['CreatedTime']
7654
+ unless params['HealthChecker'].nil?
7655
+ @HealthChecker = UpstreamHealthChecker.new
7656
+ @HealthChecker.deserialize(params['HealthChecker'])
7657
+ end
7658
+ @UpstreamType = params['UpstreamType']
7659
+ unless params['K8sServices'].nil?
7660
+ @K8sServices = []
7661
+ params['K8sServices'].each do |i|
7662
+ k8sservice_tmp = K8sService.new
7663
+ k8sservice_tmp.deserialize(i)
7664
+ @K8sServices << k8sservice_tmp
7665
+ end
7666
+ end
7667
+ @UpstreamHost = params['UpstreamHost']
7668
+ end
7669
+ end
7670
+
7492
7671
  # ModifyUsagePlan请求参数结构体
7493
7672
  class ModifyUsagePlanRequest < TencentCloud::Common::AbstractModel
7494
7673
  # @param UsagePlanId: 使用计划唯一 ID。
@@ -8380,9 +8559,9 @@ module TencentCloud
8380
8559
  unless params['VersionList'].nil?
8381
8560
  @VersionList = []
8382
8561
  params['VersionList'].each do |i|
8383
- servicereleasehistoryinfo_tmp = ServiceReleaseHistoryInfo.new
8384
- servicereleasehistoryinfo_tmp.deserialize(i)
8385
- @VersionList << servicereleasehistoryinfo_tmp
8562
+ describeservicereleaseversionresultversionlistinfo_tmp = DescribeServiceReleaseVersionResultVersionListInfo.new
8563
+ describeservicereleaseversionresultversionlistinfo_tmp.deserialize(i)
8564
+ @VersionList << describeservicereleaseversionresultversionlistinfo_tmp
8386
8565
  end
8387
8566
  end
8388
8567
  end
@@ -9219,6 +9398,7 @@ module TencentCloud
9219
9398
  # @param UsagePlanName: 使用计划名称。
9220
9399
  # @type UsagePlanName: String
9221
9400
  # @param UsagePlanDesc: 使用计划描述。
9401
+ # 注意:此字段可能返回 null,表示取不到有效值。
9222
9402
  # @type UsagePlanDesc: String
9223
9403
  # @param MaxRequestNumPreSec: 使用计划qps,-1表示没有限制。
9224
9404
  # @type MaxRequestNumPreSec: Integer
@@ -9440,18 +9620,12 @@ module TencentCloud
9440
9620
  # @param UsagePlanDesc: 使用计划描述。
9441
9621
  # 注意:此字段可能返回 null,表示取不到有效值。
9442
9622
  # @type UsagePlanDesc: String
9443
- # @param InitQuota: 初始化调用次数。
9444
- # 注意:此字段可能返回 null,表示取不到有效值。
9445
- # @type InitQuota: Integer
9446
9623
  # @param MaxRequestNumPreSec: 每秒请求限制数。
9447
9624
  # 注意:此字段可能返回 null,表示取不到有效值。
9448
9625
  # @type MaxRequestNumPreSec: Integer
9449
9626
  # @param MaxRequestNum: 最大调用次数。
9450
9627
  # 注意:此字段可能返回 null,表示取不到有效值。
9451
9628
  # @type MaxRequestNum: Integer
9452
- # @param IsHide: 是否隐藏。
9453
- # 注意:此字段可能返回 null,表示取不到有效值。
9454
- # @type IsHide: Integer
9455
9629
  # @param CreatedTime: 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ。
9456
9630
  # 注意:此字段可能返回 null,表示取不到有效值。
9457
9631
  # @type CreatedTime: String
@@ -9471,16 +9645,14 @@ module TencentCloud
9471
9645
  # 注意:此字段可能返回 null,表示取不到有效值。
9472
9646
  # @type BindEnvironments: Array
9473
9647
 
9474
- attr_accessor :UsagePlanId, :UsagePlanName, :UsagePlanDesc, :InitQuota, :MaxRequestNumPreSec, :MaxRequestNum, :IsHide, :CreatedTime, :ModifiedTime, :BindSecretIdTotalCount, :BindSecretIds, :BindEnvironmentTotalCount, :BindEnvironments
9648
+ attr_accessor :UsagePlanId, :UsagePlanName, :UsagePlanDesc, :MaxRequestNumPreSec, :MaxRequestNum, :CreatedTime, :ModifiedTime, :BindSecretIdTotalCount, :BindSecretIds, :BindEnvironmentTotalCount, :BindEnvironments
9475
9649
 
9476
- def initialize(usageplanid=nil, usageplanname=nil, usageplandesc=nil, initquota=nil, maxrequestnumpresec=nil, maxrequestnum=nil, ishide=nil, createdtime=nil, modifiedtime=nil, bindsecretidtotalcount=nil, bindsecretids=nil, bindenvironmenttotalcount=nil, bindenvironments=nil)
9650
+ def initialize(usageplanid=nil, usageplanname=nil, usageplandesc=nil, maxrequestnumpresec=nil, maxrequestnum=nil, createdtime=nil, modifiedtime=nil, bindsecretidtotalcount=nil, bindsecretids=nil, bindenvironmenttotalcount=nil, bindenvironments=nil)
9477
9651
  @UsagePlanId = usageplanid
9478
9652
  @UsagePlanName = usageplanname
9479
9653
  @UsagePlanDesc = usageplandesc
9480
- @InitQuota = initquota
9481
9654
  @MaxRequestNumPreSec = maxrequestnumpresec
9482
9655
  @MaxRequestNum = maxrequestnum
9483
- @IsHide = ishide
9484
9656
  @CreatedTime = createdtime
9485
9657
  @ModifiedTime = modifiedtime
9486
9658
  @BindSecretIdTotalCount = bindsecretidtotalcount
@@ -9493,10 +9665,8 @@ module TencentCloud
9493
9665
  @UsagePlanId = params['UsagePlanId']
9494
9666
  @UsagePlanName = params['UsagePlanName']
9495
9667
  @UsagePlanDesc = params['UsagePlanDesc']
9496
- @InitQuota = params['InitQuota']
9497
9668
  @MaxRequestNumPreSec = params['MaxRequestNumPreSec']
9498
9669
  @MaxRequestNum = params['MaxRequestNum']
9499
- @IsHide = params['IsHide']
9500
9670
  @CreatedTime = params['CreatedTime']
9501
9671
  @ModifiedTime = params['ModifiedTime']
9502
9672
  @BindSecretIdTotalCount = params['BindSecretIdTotalCount']
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.584
4
+ version: 3.0.586
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-06-05 00:00:00.000000000 Z
11
+ date: 2023-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common