tencentcloud-sdk-apigateway 3.0.703 → 3.0.704
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 +123 -18
- 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: 8a91385635be9a7e2eeff3378aa6b4a52c6b7d64
|
4
|
+
data.tar.gz: 13d31427dcdc697831cc688db8b91f292c587cfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8c2cc11597e6c6550e0cebe86ed3aec97a5f4755b9d71acd837f4328a1adab21f295bb2299c9cec78f11df6cea3275a6638b6fd737155ecbbbe3c65d35ab116
|
7
|
+
data.tar.gz: 637da63d1d0d13c4871f7f49979cc8a5d2ee1f9b56f6c05a4431e99be0ced28c3e6189895abfb617d92d970eea048f25546ce963beacd5c34b36dd2e908fdfc1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.704
|
data/lib/v20180808/models.rb
CHANGED
@@ -25,19 +25,31 @@ module TencentCloud
|
|
25
25
|
# @type ApiDocName: String
|
26
26
|
# @param ApiDocStatus: API文档构建状态
|
27
27
|
# @type ApiDocStatus: String
|
28
|
+
# @param Tags: 标签
|
29
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30
|
+
# @type Tags: Array
|
28
31
|
|
29
|
-
attr_accessor :ApiDocId, :ApiDocName, :ApiDocStatus
|
32
|
+
attr_accessor :ApiDocId, :ApiDocName, :ApiDocStatus, :Tags
|
30
33
|
|
31
|
-
def initialize(apidocid=nil, apidocname=nil, apidocstatus=nil)
|
34
|
+
def initialize(apidocid=nil, apidocname=nil, apidocstatus=nil, tags=nil)
|
32
35
|
@ApiDocId = apidocid
|
33
36
|
@ApiDocName = apidocname
|
34
37
|
@ApiDocStatus = apidocstatus
|
38
|
+
@Tags = tags
|
35
39
|
end
|
36
40
|
|
37
41
|
def deserialize(params)
|
38
42
|
@ApiDocId = params['ApiDocId']
|
39
43
|
@ApiDocName = params['ApiDocName']
|
40
44
|
@ApiDocStatus = params['ApiDocStatus']
|
45
|
+
unless params['Tags'].nil?
|
46
|
+
@Tags = []
|
47
|
+
params['Tags'].each do |i|
|
48
|
+
tag_tmp = Tag.new
|
49
|
+
tag_tmp.deserialize(i)
|
50
|
+
@Tags << tag_tmp
|
51
|
+
end
|
52
|
+
end
|
41
53
|
end
|
42
54
|
end
|
43
55
|
|
@@ -71,10 +83,13 @@ module TencentCloud
|
|
71
83
|
# @type ServiceName: String
|
72
84
|
# @param ApiNames: 生成API文档的API名称
|
73
85
|
# @type ApiNames: Array
|
86
|
+
# @param Tags: 标签
|
87
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
88
|
+
# @type Tags: Array
|
74
89
|
|
75
|
-
attr_accessor :ApiDocId, :ApiDocName, :ApiDocStatus, :ApiCount, :ViewCount, :ReleaseCount, :ApiDocUri, :SharePassword, :UpdatedTime, :ServiceId, :Environment, :ApiIds, :ServiceName, :ApiNames
|
90
|
+
attr_accessor :ApiDocId, :ApiDocName, :ApiDocStatus, :ApiCount, :ViewCount, :ReleaseCount, :ApiDocUri, :SharePassword, :UpdatedTime, :ServiceId, :Environment, :ApiIds, :ServiceName, :ApiNames, :Tags
|
76
91
|
|
77
|
-
def initialize(apidocid=nil, apidocname=nil, apidocstatus=nil, apicount=nil, viewcount=nil, releasecount=nil, apidocuri=nil, sharepassword=nil, updatedtime=nil, serviceid=nil, environment=nil, apiids=nil, servicename=nil, apinames=nil)
|
92
|
+
def initialize(apidocid=nil, apidocname=nil, apidocstatus=nil, apicount=nil, viewcount=nil, releasecount=nil, apidocuri=nil, sharepassword=nil, updatedtime=nil, serviceid=nil, environment=nil, apiids=nil, servicename=nil, apinames=nil, tags=nil)
|
78
93
|
@ApiDocId = apidocid
|
79
94
|
@ApiDocName = apidocname
|
80
95
|
@ApiDocStatus = apidocstatus
|
@@ -89,6 +104,7 @@ module TencentCloud
|
|
89
104
|
@ApiIds = apiids
|
90
105
|
@ServiceName = servicename
|
91
106
|
@ApiNames = apinames
|
107
|
+
@Tags = tags
|
92
108
|
end
|
93
109
|
|
94
110
|
def deserialize(params)
|
@@ -106,6 +122,14 @@ module TencentCloud
|
|
106
122
|
@ApiIds = params['ApiIds']
|
107
123
|
@ServiceName = params['ServiceName']
|
108
124
|
@ApiNames = params['ApiNames']
|
125
|
+
unless params['Tags'].nil?
|
126
|
+
@Tags = []
|
127
|
+
params['Tags'].each do |i|
|
128
|
+
tag_tmp = Tag.new
|
129
|
+
tag_tmp.deserialize(i)
|
130
|
+
@Tags << tag_tmp
|
131
|
+
end
|
132
|
+
end
|
109
133
|
end
|
110
134
|
end
|
111
135
|
|
@@ -840,10 +864,13 @@ module TencentCloud
|
|
840
864
|
# @type Status: Integer
|
841
865
|
# @param CreatedTime: 创建时间。按照 ISO8601 标准表示,并且使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ。
|
842
866
|
# @type CreatedTime: String
|
867
|
+
# @param Tags: 标签
|
868
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
869
|
+
# @type Tags: Array
|
843
870
|
|
844
|
-
attr_accessor :AccessKeyId, :AccessKeySecret, :AccessKeyType, :SecretName, :ModifiedTime, :Status, :CreatedTime
|
871
|
+
attr_accessor :AccessKeyId, :AccessKeySecret, :AccessKeyType, :SecretName, :ModifiedTime, :Status, :CreatedTime, :Tags
|
845
872
|
|
846
|
-
def initialize(accesskeyid=nil, accesskeysecret=nil, accesskeytype=nil, secretname=nil, modifiedtime=nil, status=nil, createdtime=nil)
|
873
|
+
def initialize(accesskeyid=nil, accesskeysecret=nil, accesskeytype=nil, secretname=nil, modifiedtime=nil, status=nil, createdtime=nil, tags=nil)
|
847
874
|
@AccessKeyId = accesskeyid
|
848
875
|
@AccessKeySecret = accesskeysecret
|
849
876
|
@AccessKeyType = accesskeytype
|
@@ -851,6 +878,7 @@ module TencentCloud
|
|
851
878
|
@ModifiedTime = modifiedtime
|
852
879
|
@Status = status
|
853
880
|
@CreatedTime = createdtime
|
881
|
+
@Tags = tags
|
854
882
|
end
|
855
883
|
|
856
884
|
def deserialize(params)
|
@@ -861,6 +889,14 @@ module TencentCloud
|
|
861
889
|
@ModifiedTime = params['ModifiedTime']
|
862
890
|
@Status = params['Status']
|
863
891
|
@CreatedTime = params['CreatedTime']
|
892
|
+
unless params['Tags'].nil?
|
893
|
+
@Tags = []
|
894
|
+
params['Tags'].each do |i|
|
895
|
+
tag_tmp = Tag.new
|
896
|
+
tag_tmp.deserialize(i)
|
897
|
+
@Tags << tag_tmp
|
898
|
+
end
|
899
|
+
end
|
864
900
|
end
|
865
901
|
end
|
866
902
|
|
@@ -960,10 +996,13 @@ module TencentCloud
|
|
960
996
|
# @param ServiceName: 服务名称。
|
961
997
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
962
998
|
# @type ServiceName: String
|
999
|
+
# @param Tags: 标签
|
1000
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1001
|
+
# @type Tags: Array
|
963
1002
|
|
964
|
-
attr_accessor :ServiceId, :ApiId, :ApiName, :Path, :Method, :UsagePlanId, :UsagePlanName, :UsagePlanDesc, :Environment, :InUseRequestNum, :MaxRequestNum, :MaxRequestNumPreSec, :CreatedTime, :ModifiedTime, :ServiceName
|
1003
|
+
attr_accessor :ServiceId, :ApiId, :ApiName, :Path, :Method, :UsagePlanId, :UsagePlanName, :UsagePlanDesc, :Environment, :InUseRequestNum, :MaxRequestNum, :MaxRequestNumPreSec, :CreatedTime, :ModifiedTime, :ServiceName, :Tags
|
965
1004
|
|
966
|
-
def initialize(serviceid=nil, apiid=nil, apiname=nil, path=nil, method=nil, usageplanid=nil, usageplanname=nil, usageplandesc=nil, environment=nil, inuserequestnum=nil, maxrequestnum=nil, maxrequestnumpresec=nil, createdtime=nil, modifiedtime=nil, servicename=nil)
|
1005
|
+
def initialize(serviceid=nil, apiid=nil, apiname=nil, path=nil, method=nil, usageplanid=nil, usageplanname=nil, usageplandesc=nil, environment=nil, inuserequestnum=nil, maxrequestnum=nil, maxrequestnumpresec=nil, createdtime=nil, modifiedtime=nil, servicename=nil, tags=nil)
|
967
1006
|
@ServiceId = serviceid
|
968
1007
|
@ApiId = apiid
|
969
1008
|
@ApiName = apiname
|
@@ -979,6 +1018,7 @@ module TencentCloud
|
|
979
1018
|
@CreatedTime = createdtime
|
980
1019
|
@ModifiedTime = modifiedtime
|
981
1020
|
@ServiceName = servicename
|
1021
|
+
@Tags = tags
|
982
1022
|
end
|
983
1023
|
|
984
1024
|
def deserialize(params)
|
@@ -997,6 +1037,14 @@ module TencentCloud
|
|
997
1037
|
@CreatedTime = params['CreatedTime']
|
998
1038
|
@ModifiedTime = params['ModifiedTime']
|
999
1039
|
@ServiceName = params['ServiceName']
|
1040
|
+
unless params['Tags'].nil?
|
1041
|
+
@Tags = []
|
1042
|
+
params['Tags'].each do |i|
|
1043
|
+
tag_tmp = Tag.new
|
1044
|
+
tag_tmp.deserialize(i)
|
1045
|
+
@Tags << tag_tmp
|
1046
|
+
end
|
1047
|
+
end
|
1000
1048
|
end
|
1001
1049
|
end
|
1002
1050
|
|
@@ -1713,14 +1761,17 @@ module TencentCloud
|
|
1713
1761
|
# @type Environment: String
|
1714
1762
|
# @param ApiIds: 生成文档的API列表
|
1715
1763
|
# @type ApiIds: Array
|
1764
|
+
# @param Tags: 标签
|
1765
|
+
# @type Tags: Array
|
1716
1766
|
|
1717
|
-
attr_accessor :ApiDocName, :ServiceId, :Environment, :ApiIds
|
1767
|
+
attr_accessor :ApiDocName, :ServiceId, :Environment, :ApiIds, :Tags
|
1718
1768
|
|
1719
|
-
def initialize(apidocname=nil, serviceid=nil, environment=nil, apiids=nil)
|
1769
|
+
def initialize(apidocname=nil, serviceid=nil, environment=nil, apiids=nil, tags=nil)
|
1720
1770
|
@ApiDocName = apidocname
|
1721
1771
|
@ServiceId = serviceid
|
1722
1772
|
@Environment = environment
|
1723
1773
|
@ApiIds = apiids
|
1774
|
+
@Tags = tags
|
1724
1775
|
end
|
1725
1776
|
|
1726
1777
|
def deserialize(params)
|
@@ -1728,6 +1779,14 @@ module TencentCloud
|
|
1728
1779
|
@ServiceId = params['ServiceId']
|
1729
1780
|
@Environment = params['Environment']
|
1730
1781
|
@ApiIds = params['ApiIds']
|
1782
|
+
unless params['Tags'].nil?
|
1783
|
+
@Tags = []
|
1784
|
+
params['Tags'].each do |i|
|
1785
|
+
tag_tmp = Tag.new
|
1786
|
+
tag_tmp.deserialize(i)
|
1787
|
+
@Tags << tag_tmp
|
1788
|
+
end
|
1789
|
+
end
|
1731
1790
|
end
|
1732
1791
|
end
|
1733
1792
|
|
@@ -1808,14 +1867,17 @@ module TencentCloud
|
|
1808
1867
|
# @type AccessKeyId: String
|
1809
1868
|
# @param AccessKeySecret: 用户自定义密钥 Key,AccessKeyType 为 manual 时必传。长度为10 - 50字符,由字母、数字、英文下划线。
|
1810
1869
|
# @type AccessKeySecret: String
|
1870
|
+
# @param Tags: 标签
|
1871
|
+
# @type Tags: Array
|
1811
1872
|
|
1812
|
-
attr_accessor :SecretName, :AccessKeyType, :AccessKeyId, :AccessKeySecret
|
1873
|
+
attr_accessor :SecretName, :AccessKeyType, :AccessKeyId, :AccessKeySecret, :Tags
|
1813
1874
|
|
1814
|
-
def initialize(secretname=nil, accesskeytype=nil, accesskeyid=nil, accesskeysecret=nil)
|
1875
|
+
def initialize(secretname=nil, accesskeytype=nil, accesskeyid=nil, accesskeysecret=nil, tags=nil)
|
1815
1876
|
@SecretName = secretname
|
1816
1877
|
@AccessKeyType = accesskeytype
|
1817
1878
|
@AccessKeyId = accesskeyid
|
1818
1879
|
@AccessKeySecret = accesskeysecret
|
1880
|
+
@Tags = tags
|
1819
1881
|
end
|
1820
1882
|
|
1821
1883
|
def deserialize(params)
|
@@ -1823,6 +1885,14 @@ module TencentCloud
|
|
1823
1885
|
@AccessKeyType = params['AccessKeyType']
|
1824
1886
|
@AccessKeyId = params['AccessKeyId']
|
1825
1887
|
@AccessKeySecret = params['AccessKeySecret']
|
1888
|
+
unless params['Tags'].nil?
|
1889
|
+
@Tags = []
|
1890
|
+
params['Tags'].each do |i|
|
1891
|
+
tag_tmp = Tag.new
|
1892
|
+
tag_tmp.deserialize(i)
|
1893
|
+
@Tags << tag_tmp
|
1894
|
+
end
|
1895
|
+
end
|
1826
1896
|
end
|
1827
1897
|
end
|
1828
1898
|
|
@@ -2605,14 +2675,17 @@ module TencentCloud
|
|
2605
2675
|
# @type MaxRequestNum: Integer
|
2606
2676
|
# @param MaxRequestNumPreSec: 每秒请求限制数,取值范围为-1或者[1, 2000],默认-1,表示不开启。
|
2607
2677
|
# @type MaxRequestNumPreSec: Integer
|
2678
|
+
# @param Tags: 标签
|
2679
|
+
# @type Tags: Array
|
2608
2680
|
|
2609
|
-
attr_accessor :UsagePlanName, :UsagePlanDesc, :MaxRequestNum, :MaxRequestNumPreSec
|
2681
|
+
attr_accessor :UsagePlanName, :UsagePlanDesc, :MaxRequestNum, :MaxRequestNumPreSec, :Tags
|
2610
2682
|
|
2611
|
-
def initialize(usageplanname=nil, usageplandesc=nil, maxrequestnum=nil, maxrequestnumpresec=nil)
|
2683
|
+
def initialize(usageplanname=nil, usageplandesc=nil, maxrequestnum=nil, maxrequestnumpresec=nil, tags=nil)
|
2612
2684
|
@UsagePlanName = usageplanname
|
2613
2685
|
@UsagePlanDesc = usageplandesc
|
2614
2686
|
@MaxRequestNum = maxrequestnum
|
2615
2687
|
@MaxRequestNumPreSec = maxrequestnumpresec
|
2688
|
+
@Tags = tags
|
2616
2689
|
end
|
2617
2690
|
|
2618
2691
|
def deserialize(params)
|
@@ -2620,6 +2693,14 @@ module TencentCloud
|
|
2620
2693
|
@UsagePlanDesc = params['UsagePlanDesc']
|
2621
2694
|
@MaxRequestNum = params['MaxRequestNum']
|
2622
2695
|
@MaxRequestNumPreSec = params['MaxRequestNumPreSec']
|
2696
|
+
unless params['Tags'].nil?
|
2697
|
+
@Tags = []
|
2698
|
+
params['Tags'].each do |i|
|
2699
|
+
tag_tmp = Tag.new
|
2700
|
+
tag_tmp.deserialize(i)
|
2701
|
+
@Tags << tag_tmp
|
2702
|
+
end
|
2703
|
+
end
|
2623
2704
|
end
|
2624
2705
|
end
|
2625
2706
|
|
@@ -9763,10 +9844,13 @@ module TencentCloud
|
|
9763
9844
|
# @param BindEnvironments: 绑定环境详情。
|
9764
9845
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9765
9846
|
# @type BindEnvironments: Array
|
9847
|
+
# @param Tags: 标签
|
9848
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9849
|
+
# @type Tags: Array
|
9766
9850
|
|
9767
|
-
attr_accessor :UsagePlanId, :UsagePlanName, :UsagePlanDesc, :MaxRequestNumPreSec, :MaxRequestNum, :CreatedTime, :ModifiedTime, :BindSecretIdTotalCount, :BindSecretIds, :BindEnvironmentTotalCount, :BindEnvironments
|
9851
|
+
attr_accessor :UsagePlanId, :UsagePlanName, :UsagePlanDesc, :MaxRequestNumPreSec, :MaxRequestNum, :CreatedTime, :ModifiedTime, :BindSecretIdTotalCount, :BindSecretIds, :BindEnvironmentTotalCount, :BindEnvironments, :Tags
|
9768
9852
|
|
9769
|
-
def initialize(usageplanid=nil, usageplanname=nil, usageplandesc=nil, maxrequestnumpresec=nil, maxrequestnum=nil, createdtime=nil, modifiedtime=nil, bindsecretidtotalcount=nil, bindsecretids=nil, bindenvironmenttotalcount=nil, bindenvironments=nil)
|
9853
|
+
def initialize(usageplanid=nil, usageplanname=nil, usageplandesc=nil, maxrequestnumpresec=nil, maxrequestnum=nil, createdtime=nil, modifiedtime=nil, bindsecretidtotalcount=nil, bindsecretids=nil, bindenvironmenttotalcount=nil, bindenvironments=nil, tags=nil)
|
9770
9854
|
@UsagePlanId = usageplanid
|
9771
9855
|
@UsagePlanName = usageplanname
|
9772
9856
|
@UsagePlanDesc = usageplandesc
|
@@ -9778,6 +9862,7 @@ module TencentCloud
|
|
9778
9862
|
@BindSecretIds = bindsecretids
|
9779
9863
|
@BindEnvironmentTotalCount = bindenvironmenttotalcount
|
9780
9864
|
@BindEnvironments = bindenvironments
|
9865
|
+
@Tags = tags
|
9781
9866
|
end
|
9782
9867
|
|
9783
9868
|
def deserialize(params)
|
@@ -9799,6 +9884,14 @@ module TencentCloud
|
|
9799
9884
|
@BindEnvironments << usageplanbindenvironment_tmp
|
9800
9885
|
end
|
9801
9886
|
end
|
9887
|
+
unless params['Tags'].nil?
|
9888
|
+
@Tags = []
|
9889
|
+
params['Tags'].each do |i|
|
9890
|
+
tag_tmp = Tag.new
|
9891
|
+
tag_tmp.deserialize(i)
|
9892
|
+
@Tags << tag_tmp
|
9893
|
+
end
|
9894
|
+
end
|
9802
9895
|
end
|
9803
9896
|
end
|
9804
9897
|
|
@@ -9825,10 +9918,13 @@ module TencentCloud
|
|
9825
9918
|
# @param ModifiedTime: 最后修改时间。按照 ISO8601 标准表示,并且使用 UTC 时间。格式为:YYYY-MM-DDThh:mm:ssZ。
|
9826
9919
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9827
9920
|
# @type ModifiedTime: String
|
9921
|
+
# @param Tags: 标签
|
9922
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9923
|
+
# @type Tags: Array
|
9828
9924
|
|
9829
|
-
attr_accessor :UsagePlanId, :UsagePlanName, :UsagePlanDesc, :MaxRequestNumPreSec, :MaxRequestNum, :CreatedTime, :ModifiedTime
|
9925
|
+
attr_accessor :UsagePlanId, :UsagePlanName, :UsagePlanDesc, :MaxRequestNumPreSec, :MaxRequestNum, :CreatedTime, :ModifiedTime, :Tags
|
9830
9926
|
|
9831
|
-
def initialize(usageplanid=nil, usageplanname=nil, usageplandesc=nil, maxrequestnumpresec=nil, maxrequestnum=nil, createdtime=nil, modifiedtime=nil)
|
9927
|
+
def initialize(usageplanid=nil, usageplanname=nil, usageplandesc=nil, maxrequestnumpresec=nil, maxrequestnum=nil, createdtime=nil, modifiedtime=nil, tags=nil)
|
9832
9928
|
@UsagePlanId = usageplanid
|
9833
9929
|
@UsagePlanName = usageplanname
|
9834
9930
|
@UsagePlanDesc = usageplandesc
|
@@ -9836,6 +9932,7 @@ module TencentCloud
|
|
9836
9932
|
@MaxRequestNum = maxrequestnum
|
9837
9933
|
@CreatedTime = createdtime
|
9838
9934
|
@ModifiedTime = modifiedtime
|
9935
|
+
@Tags = tags
|
9839
9936
|
end
|
9840
9937
|
|
9841
9938
|
def deserialize(params)
|
@@ -9846,6 +9943,14 @@ module TencentCloud
|
|
9846
9943
|
@MaxRequestNum = params['MaxRequestNum']
|
9847
9944
|
@CreatedTime = params['CreatedTime']
|
9848
9945
|
@ModifiedTime = params['ModifiedTime']
|
9946
|
+
unless params['Tags'].nil?
|
9947
|
+
@Tags = []
|
9948
|
+
params['Tags'].each do |i|
|
9949
|
+
tag_tmp = Tag.new
|
9950
|
+
tag_tmp.deserialize(i)
|
9951
|
+
@Tags << tag_tmp
|
9952
|
+
end
|
9953
|
+
end
|
9849
9954
|
end
|
9850
9955
|
end
|
9851
9956
|
|