tencentcloud-sdk-waf 3.0.679 → 3.0.680
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/v20180125/client.rb +72 -0
- data/lib/v20180125/models.rb +281 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c8db5129233fb728b82193a192bcb2765f1bc6c
|
4
|
+
data.tar.gz: fff4acdf17b9642eeebc50b2359e921218f15424
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 211a8db31b2f15575c4127c1d81a58da893f012d189aacf14cc9d947ea937ead935112398d00cd314973cc87a2122ad511cae643273024cc7c4dae538d2f9e8f
|
7
|
+
data.tar.gz: 84909a799a2292522e9cf9dfe01fd157d7bf1395b14a2d440f55f1400d3ea90b4ce6d0638e14ed8e0f01f454307a02288a1da05cd0297e31039ee43fd37818cb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.680
|
data/lib/v20180125/client.rb
CHANGED
@@ -1594,6 +1594,30 @@ module TencentCloud
|
|
1594
1594
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1595
1595
|
end
|
1596
1596
|
|
1597
|
+
# waf斯巴达-获取防护域名信息
|
1598
|
+
|
1599
|
+
# @param request: Request instance for DescribeSpartaProtectionInfo.
|
1600
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::DescribeSpartaProtectionInfoRequest`
|
1601
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::DescribeSpartaProtectionInfoResponse`
|
1602
|
+
def DescribeSpartaProtectionInfo(request)
|
1603
|
+
body = send_request('DescribeSpartaProtectionInfo', request.serialize)
|
1604
|
+
response = JSON.parse(body)
|
1605
|
+
if response['Response'].key?('Error') == false
|
1606
|
+
model = DescribeSpartaProtectionInfoResponse.new
|
1607
|
+
model.deserialize(response['Response'])
|
1608
|
+
model
|
1609
|
+
else
|
1610
|
+
code = response['Response']['Error']['Code']
|
1611
|
+
message = response['Response']['Error']['Message']
|
1612
|
+
reqid = response['Response']['RequestId']
|
1613
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1614
|
+
end
|
1615
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1616
|
+
raise e
|
1617
|
+
rescue StandardError => e
|
1618
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1619
|
+
end
|
1620
|
+
|
1597
1621
|
# 查询用户TLS版本
|
1598
1622
|
|
1599
1623
|
# @param request: Request instance for DescribeTlsVersion.
|
@@ -1714,6 +1738,30 @@ module TencentCloud
|
|
1714
1738
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1715
1739
|
end
|
1716
1740
|
|
1741
|
+
# 获取用户防护规则等级
|
1742
|
+
|
1743
|
+
# @param request: Request instance for DescribeUserLevel.
|
1744
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::DescribeUserLevelRequest`
|
1745
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::DescribeUserLevelResponse`
|
1746
|
+
def DescribeUserLevel(request)
|
1747
|
+
body = send_request('DescribeUserLevel', request.serialize)
|
1748
|
+
response = JSON.parse(body)
|
1749
|
+
if response['Response'].key?('Error') == false
|
1750
|
+
model = DescribeUserLevelResponse.new
|
1751
|
+
model.deserialize(response['Response'])
|
1752
|
+
model
|
1753
|
+
else
|
1754
|
+
code = response['Response']['Error']['Code']
|
1755
|
+
message = response['Response']['Error']['Message']
|
1756
|
+
reqid = response['Response']['RequestId']
|
1757
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1758
|
+
end
|
1759
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1760
|
+
raise e
|
1761
|
+
rescue StandardError => e
|
1762
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1763
|
+
end
|
1764
|
+
|
1717
1765
|
# 获取用户特征规则列表
|
1718
1766
|
|
1719
1767
|
# @param request: Request instance for DescribeUserSignatureRule.
|
@@ -1860,6 +1908,30 @@ module TencentCloud
|
|
1860
1908
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1861
1909
|
end
|
1862
1910
|
|
1911
|
+
# 获取域名的webshell状态
|
1912
|
+
|
1913
|
+
# @param request: Request instance for DescribeWebshellStatus.
|
1914
|
+
# @type request: :class:`Tencentcloud::waf::V20180125::DescribeWebshellStatusRequest`
|
1915
|
+
# @rtype: :class:`Tencentcloud::waf::V20180125::DescribeWebshellStatusResponse`
|
1916
|
+
def DescribeWebshellStatus(request)
|
1917
|
+
body = send_request('DescribeWebshellStatus', request.serialize)
|
1918
|
+
response = JSON.parse(body)
|
1919
|
+
if response['Response'].key?('Error') == false
|
1920
|
+
model = DescribeWebshellStatusResponse.new
|
1921
|
+
model.deserialize(response['Response'])
|
1922
|
+
model
|
1923
|
+
else
|
1924
|
+
code = response['Response']['Error']['Code']
|
1925
|
+
message = response['Response']['Error']['Message']
|
1926
|
+
reqid = response['Response']['RequestId']
|
1927
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1928
|
+
end
|
1929
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1930
|
+
raise e
|
1931
|
+
rescue StandardError => e
|
1932
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1933
|
+
end
|
1934
|
+
|
1863
1935
|
# 刷新防篡改url
|
1864
1936
|
|
1865
1937
|
# @param request: Request instance for FreshAntiFakeUrl.
|
data/lib/v20180125/models.rb
CHANGED
@@ -1592,6 +1592,38 @@ module TencentCloud
|
|
1592
1592
|
end
|
1593
1593
|
end
|
1594
1594
|
|
1595
|
+
# Clb-waf地域信息
|
1596
|
+
class ClbWafRegionItem < TencentCloud::Common::AbstractModel
|
1597
|
+
# @param Id: 地域ID
|
1598
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1599
|
+
# @type Id: String
|
1600
|
+
# @param Text: 地域中文说明
|
1601
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1602
|
+
# @type Text: String
|
1603
|
+
# @param Value: 地域英文全拼
|
1604
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1605
|
+
# @type Value: String
|
1606
|
+
# @param Code: 地域编码
|
1607
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1608
|
+
# @type Code: String
|
1609
|
+
|
1610
|
+
attr_accessor :Id, :Text, :Value, :Code
|
1611
|
+
|
1612
|
+
def initialize(id=nil, text=nil, value=nil, code=nil)
|
1613
|
+
@Id = id
|
1614
|
+
@Text = text
|
1615
|
+
@Value = value
|
1616
|
+
@Code = code
|
1617
|
+
end
|
1618
|
+
|
1619
|
+
def deserialize(params)
|
1620
|
+
@Id = params['Id']
|
1621
|
+
@Text = params['Text']
|
1622
|
+
@Value = params['Value']
|
1623
|
+
@Code = params['Code']
|
1624
|
+
end
|
1625
|
+
end
|
1626
|
+
|
1595
1627
|
# CreateAccessExport请求参数结构体
|
1596
1628
|
class CreateAccessExportRequest < TencentCloud::Common::AbstractModel
|
1597
1629
|
# @param TopicId: 客户要查询的日志主题ID,每个客户都有对应的一个主题
|
@@ -4961,6 +4993,158 @@ module TencentCloud
|
|
4961
4993
|
end
|
4962
4994
|
end
|
4963
4995
|
|
4996
|
+
# DescribeSpartaProtectionInfo请求参数结构体
|
4997
|
+
class DescribeSpartaProtectionInfoRequest < TencentCloud::Common::AbstractModel
|
4998
|
+
# @param Domain: 域名
|
4999
|
+
# @type Domain: String
|
5000
|
+
# @param Edition: 版本
|
5001
|
+
# @type Edition: String
|
5002
|
+
# @param InstanceID: 实例
|
5003
|
+
# @type InstanceID: String
|
5004
|
+
|
5005
|
+
attr_accessor :Domain, :Edition, :InstanceID
|
5006
|
+
|
5007
|
+
def initialize(domain=nil, edition=nil, instanceid=nil)
|
5008
|
+
@Domain = domain
|
5009
|
+
@Edition = edition
|
5010
|
+
@InstanceID = instanceid
|
5011
|
+
end
|
5012
|
+
|
5013
|
+
def deserialize(params)
|
5014
|
+
@Domain = params['Domain']
|
5015
|
+
@Edition = params['Edition']
|
5016
|
+
@InstanceID = params['InstanceID']
|
5017
|
+
end
|
5018
|
+
end
|
5019
|
+
|
5020
|
+
# DescribeSpartaProtectionInfo返回参数结构体
|
5021
|
+
class DescribeSpartaProtectionInfoResponse < TencentCloud::Common::AbstractModel
|
5022
|
+
# @param Domain: 域名
|
5023
|
+
# @type Domain: String
|
5024
|
+
# @param DomainId: 域名ID
|
5025
|
+
# @type DomainId: String
|
5026
|
+
# @param Cname: cname取值
|
5027
|
+
# @type Cname: String
|
5028
|
+
# @param Status: 状态
|
5029
|
+
# @type Status: String
|
5030
|
+
# @param SrcList: 源IP地址列表
|
5031
|
+
# @type SrcList: Array
|
5032
|
+
# @param CertType: 证书类型
|
5033
|
+
# @type CertType: String
|
5034
|
+
# @param Cert: 证书
|
5035
|
+
# @type Cert: String
|
5036
|
+
# @param PrivateKey: 私有密钥
|
5037
|
+
# @type PrivateKey: String
|
5038
|
+
# @param Sslid: ssl的id
|
5039
|
+
# @type Sslid: String
|
5040
|
+
# @param IsCdn: 是否是cdn
|
5041
|
+
# @type IsCdn: String
|
5042
|
+
# @param GrayAreas: 灰度区域列表
|
5043
|
+
# @type GrayAreas: Array
|
5044
|
+
# @param Engine: 引擎
|
5045
|
+
# @type Engine: String
|
5046
|
+
# @param HttpsRewrite: HTTPS重写
|
5047
|
+
# @type HttpsRewrite: String
|
5048
|
+
# @param UpstreamType: upstreamType取值
|
5049
|
+
# @type UpstreamType: String
|
5050
|
+
# @param UpstreamDomain: upstreamDomain取值
|
5051
|
+
# @type UpstreamDomain: String
|
5052
|
+
# @param UpstreamScheme: upstreamScheme取值
|
5053
|
+
# @type UpstreamScheme: String
|
5054
|
+
# @param IsHttp2: 是否是HTTP2
|
5055
|
+
# @type IsHttp2: String
|
5056
|
+
# @param IsWebsocket: 是否含有websocket
|
5057
|
+
# @type IsWebsocket: String
|
5058
|
+
# @param LoadBalance: loadBalance信息
|
5059
|
+
# @type LoadBalance: String
|
5060
|
+
# @param HttpsUpstreamPort: httpsUpstreamPort取值
|
5061
|
+
# @type HttpsUpstreamPort: String
|
5062
|
+
# @param Ports: port信息
|
5063
|
+
# @type Ports: Array
|
5064
|
+
# @param IsGray: 是否灰度
|
5065
|
+
# @type IsGray: String
|
5066
|
+
# @param Mode: 模式
|
5067
|
+
# @type Mode: String
|
5068
|
+
# @param Level: 防御等级,100,200,300
|
5069
|
+
# @type Level: String
|
5070
|
+
# @param IsKeepAlive: 与源站是否保持长连接
|
5071
|
+
# @type IsKeepAlive: String
|
5072
|
+
# @param Anycast: 0:BGP 1:Anycast
|
5073
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5074
|
+
# @type Anycast: String
|
5075
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5076
|
+
# @type RequestId: String
|
5077
|
+
|
5078
|
+
attr_accessor :Domain, :DomainId, :Cname, :Status, :SrcList, :CertType, :Cert, :PrivateKey, :Sslid, :IsCdn, :GrayAreas, :Engine, :HttpsRewrite, :UpstreamType, :UpstreamDomain, :UpstreamScheme, :IsHttp2, :IsWebsocket, :LoadBalance, :HttpsUpstreamPort, :Ports, :IsGray, :Mode, :Level, :IsKeepAlive, :Anycast, :RequestId
|
5079
|
+
|
5080
|
+
def initialize(domain=nil, domainid=nil, cname=nil, status=nil, srclist=nil, certtype=nil, cert=nil, privatekey=nil, sslid=nil, iscdn=nil, grayareas=nil, engine=nil, httpsrewrite=nil, upstreamtype=nil, upstreamdomain=nil, upstreamscheme=nil, ishttp2=nil, iswebsocket=nil, loadbalance=nil, httpsupstreamport=nil, ports=nil, isgray=nil, mode=nil, level=nil, iskeepalive=nil, anycast=nil, requestid=nil)
|
5081
|
+
@Domain = domain
|
5082
|
+
@DomainId = domainid
|
5083
|
+
@Cname = cname
|
5084
|
+
@Status = status
|
5085
|
+
@SrcList = srclist
|
5086
|
+
@CertType = certtype
|
5087
|
+
@Cert = cert
|
5088
|
+
@PrivateKey = privatekey
|
5089
|
+
@Sslid = sslid
|
5090
|
+
@IsCdn = iscdn
|
5091
|
+
@GrayAreas = grayareas
|
5092
|
+
@Engine = engine
|
5093
|
+
@HttpsRewrite = httpsrewrite
|
5094
|
+
@UpstreamType = upstreamtype
|
5095
|
+
@UpstreamDomain = upstreamdomain
|
5096
|
+
@UpstreamScheme = upstreamscheme
|
5097
|
+
@IsHttp2 = ishttp2
|
5098
|
+
@IsWebsocket = iswebsocket
|
5099
|
+
@LoadBalance = loadbalance
|
5100
|
+
@HttpsUpstreamPort = httpsupstreamport
|
5101
|
+
@Ports = ports
|
5102
|
+
@IsGray = isgray
|
5103
|
+
@Mode = mode
|
5104
|
+
@Level = level
|
5105
|
+
@IsKeepAlive = iskeepalive
|
5106
|
+
@Anycast = anycast
|
5107
|
+
@RequestId = requestid
|
5108
|
+
end
|
5109
|
+
|
5110
|
+
def deserialize(params)
|
5111
|
+
@Domain = params['Domain']
|
5112
|
+
@DomainId = params['DomainId']
|
5113
|
+
@Cname = params['Cname']
|
5114
|
+
@Status = params['Status']
|
5115
|
+
@SrcList = params['SrcList']
|
5116
|
+
@CertType = params['CertType']
|
5117
|
+
@Cert = params['Cert']
|
5118
|
+
@PrivateKey = params['PrivateKey']
|
5119
|
+
@Sslid = params['Sslid']
|
5120
|
+
@IsCdn = params['IsCdn']
|
5121
|
+
@GrayAreas = params['GrayAreas']
|
5122
|
+
@Engine = params['Engine']
|
5123
|
+
@HttpsRewrite = params['HttpsRewrite']
|
5124
|
+
@UpstreamType = params['UpstreamType']
|
5125
|
+
@UpstreamDomain = params['UpstreamDomain']
|
5126
|
+
@UpstreamScheme = params['UpstreamScheme']
|
5127
|
+
@IsHttp2 = params['IsHttp2']
|
5128
|
+
@IsWebsocket = params['IsWebsocket']
|
5129
|
+
@LoadBalance = params['LoadBalance']
|
5130
|
+
@HttpsUpstreamPort = params['HttpsUpstreamPort']
|
5131
|
+
unless params['Ports'].nil?
|
5132
|
+
@Ports = []
|
5133
|
+
params['Ports'].each do |i|
|
5134
|
+
portitem_tmp = PortItem.new
|
5135
|
+
portitem_tmp.deserialize(i)
|
5136
|
+
@Ports << portitem_tmp
|
5137
|
+
end
|
5138
|
+
end
|
5139
|
+
@IsGray = params['IsGray']
|
5140
|
+
@Mode = params['Mode']
|
5141
|
+
@Level = params['Level']
|
5142
|
+
@IsKeepAlive = params['IsKeepAlive']
|
5143
|
+
@Anycast = params['Anycast']
|
5144
|
+
@RequestId = params['RequestId']
|
5145
|
+
end
|
5146
|
+
end
|
5147
|
+
|
4964
5148
|
# DescribeTlsVersion请求参数结构体
|
4965
5149
|
class DescribeTlsVersionRequest < TencentCloud::Common::AbstractModel
|
4966
5150
|
|
@@ -5124,18 +5308,30 @@ module TencentCloud
|
|
5124
5308
|
# @param Data: 地域(标准的ap-格式)列表
|
5125
5309
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5126
5310
|
# @type Data: Array
|
5311
|
+
# @param RichDatas: 包含详细属性的地域信息
|
5312
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5313
|
+
# @type RichDatas: Array
|
5127
5314
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5128
5315
|
# @type RequestId: String
|
5129
5316
|
|
5130
|
-
attr_accessor :Data, :RequestId
|
5317
|
+
attr_accessor :Data, :RichDatas, :RequestId
|
5131
5318
|
|
5132
|
-
def initialize(data=nil, requestid=nil)
|
5319
|
+
def initialize(data=nil, richdatas=nil, requestid=nil)
|
5133
5320
|
@Data = data
|
5321
|
+
@RichDatas = richdatas
|
5134
5322
|
@RequestId = requestid
|
5135
5323
|
end
|
5136
5324
|
|
5137
5325
|
def deserialize(params)
|
5138
5326
|
@Data = params['Data']
|
5327
|
+
unless params['RichDatas'].nil?
|
5328
|
+
@RichDatas = []
|
5329
|
+
params['RichDatas'].each do |i|
|
5330
|
+
clbwafregionitem_tmp = ClbWafRegionItem.new
|
5331
|
+
clbwafregionitem_tmp.deserialize(i)
|
5332
|
+
@RichDatas << clbwafregionitem_tmp
|
5333
|
+
end
|
5334
|
+
end
|
5139
5335
|
@RequestId = params['RequestId']
|
5140
5336
|
end
|
5141
5337
|
end
|
@@ -5178,6 +5374,42 @@ module TencentCloud
|
|
5178
5374
|
end
|
5179
5375
|
end
|
5180
5376
|
|
5377
|
+
# DescribeUserLevel请求参数结构体
|
5378
|
+
class DescribeUserLevelRequest < TencentCloud::Common::AbstractModel
|
5379
|
+
# @param Domain: 域名
|
5380
|
+
# @type Domain: String
|
5381
|
+
|
5382
|
+
attr_accessor :Domain
|
5383
|
+
|
5384
|
+
def initialize(domain=nil)
|
5385
|
+
@Domain = domain
|
5386
|
+
end
|
5387
|
+
|
5388
|
+
def deserialize(params)
|
5389
|
+
@Domain = params['Domain']
|
5390
|
+
end
|
5391
|
+
end
|
5392
|
+
|
5393
|
+
# DescribeUserLevel返回参数结构体
|
5394
|
+
class DescribeUserLevelResponse < TencentCloud::Common::AbstractModel
|
5395
|
+
# @param Level: 300:正常 400:严格
|
5396
|
+
# @type Level: Integer
|
5397
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5398
|
+
# @type RequestId: String
|
5399
|
+
|
5400
|
+
attr_accessor :Level, :RequestId
|
5401
|
+
|
5402
|
+
def initialize(level=nil, requestid=nil)
|
5403
|
+
@Level = level
|
5404
|
+
@RequestId = requestid
|
5405
|
+
end
|
5406
|
+
|
5407
|
+
def deserialize(params)
|
5408
|
+
@Level = params['Level']
|
5409
|
+
@RequestId = params['RequestId']
|
5410
|
+
end
|
5411
|
+
end
|
5412
|
+
|
5181
5413
|
# DescribeUserSignatureRule请求参数结构体
|
5182
5414
|
class DescribeUserSignatureRuleRequest < TencentCloud::Common::AbstractModel
|
5183
5415
|
# @param Domain: 需要查询的域名
|
@@ -5474,6 +5706,46 @@ module TencentCloud
|
|
5474
5706
|
end
|
5475
5707
|
end
|
5476
5708
|
|
5709
|
+
# DescribeWebshellStatus请求参数结构体
|
5710
|
+
class DescribeWebshellStatusRequest < TencentCloud::Common::AbstractModel
|
5711
|
+
# @param Domain: 域名
|
5712
|
+
# @type Domain: String
|
5713
|
+
|
5714
|
+
attr_accessor :Domain
|
5715
|
+
|
5716
|
+
def initialize(domain=nil)
|
5717
|
+
@Domain = domain
|
5718
|
+
end
|
5719
|
+
|
5720
|
+
def deserialize(params)
|
5721
|
+
@Domain = params['Domain']
|
5722
|
+
end
|
5723
|
+
end
|
5724
|
+
|
5725
|
+
# DescribeWebshellStatus返回参数结构体
|
5726
|
+
class DescribeWebshellStatusResponse < TencentCloud::Common::AbstractModel
|
5727
|
+
# @param Domain: webshell域名
|
5728
|
+
# @type Domain: String
|
5729
|
+
# @param Status: 开关状态
|
5730
|
+
# @type Status: Integer
|
5731
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5732
|
+
# @type RequestId: String
|
5733
|
+
|
5734
|
+
attr_accessor :Domain, :Status, :RequestId
|
5735
|
+
|
5736
|
+
def initialize(domain=nil, status=nil, requestid=nil)
|
5737
|
+
@Domain = domain
|
5738
|
+
@Status = status
|
5739
|
+
@RequestId = requestid
|
5740
|
+
end
|
5741
|
+
|
5742
|
+
def deserialize(params)
|
5743
|
+
@Domain = params['Domain']
|
5744
|
+
@Status = params['Status']
|
5745
|
+
@RequestId = params['RequestId']
|
5746
|
+
end
|
5747
|
+
end
|
5748
|
+
|
5477
5749
|
# domain列表
|
5478
5750
|
class DomainInfo < TencentCloud::Common::AbstractModel
|
5479
5751
|
# @param Domain: 域名
|
@@ -5669,17 +5941,22 @@ module TencentCloud
|
|
5669
5941
|
# @type Domain: String
|
5670
5942
|
# @param Edition: 版本
|
5671
5943
|
# @type Edition: String
|
5944
|
+
# @param InstanceID: 实例ID
|
5945
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5946
|
+
# @type InstanceID: String
|
5672
5947
|
|
5673
|
-
attr_accessor :Domain, :Edition
|
5948
|
+
attr_accessor :Domain, :Edition, :InstanceID
|
5674
5949
|
|
5675
|
-
def initialize(domain=nil, edition=nil)
|
5950
|
+
def initialize(domain=nil, edition=nil, instanceid=nil)
|
5676
5951
|
@Domain = domain
|
5677
5952
|
@Edition = edition
|
5953
|
+
@InstanceID = instanceid
|
5678
5954
|
end
|
5679
5955
|
|
5680
5956
|
def deserialize(params)
|
5681
5957
|
@Domain = params['Domain']
|
5682
5958
|
@Edition = params['Edition']
|
5959
|
+
@InstanceID = params['InstanceID']
|
5683
5960
|
end
|
5684
5961
|
end
|
5685
5962
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-waf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.680
|
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-10-
|
11
|
+
date: 2023-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -34,8 +34,8 @@ extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
36
|
- lib/tencentcloud-sdk-waf.rb
|
37
|
-
- lib/v20180125/models.rb
|
38
37
|
- lib/v20180125/client.rb
|
38
|
+
- lib/v20180125/models.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|