Class: TencentCloud::Antiddos::V20200309::CcGeoIPBlockConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::CcGeoIPBlockConfig
- Defined in:
- lib/v20200309/models.rb
Overview
DDoS防护的区域封禁配置
Instance Attribute Summary collapse
-
#Action ⇒ Object
oversea(境外) china(国内) customized(自定义地区) ] drop(拦截) alg(人机校验) ].
-
#AreaList ⇒ Object
oversea(境外) china(国内) customized(自定义地区) ] drop(拦截) alg(人机校验) ].
-
#Id ⇒ Object
oversea(境外) china(国内) customized(自定义地区) ] drop(拦截) alg(人机校验) ].
-
#RegionType ⇒ Object
oversea(境外) china(国内) customized(自定义地区) ] drop(拦截) alg(人机校验) ].
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(regiontype = nil, action = nil, id = nil, arealist = nil) ⇒ CcGeoIPBlockConfig
constructor
A new instance of CcGeoIPBlockConfig.
Constructor Details
#initialize(regiontype = nil, action = nil, id = nil, arealist = nil) ⇒ CcGeoIPBlockConfig
Returns a new instance of CcGeoIPBlockConfig.
1217 1218 1219 1220 1221 1222 |
# File 'lib/v20200309/models.rb', line 1217 def initialize(regiontype=nil, action=nil, id=nil, arealist=nil) @RegionType = regiontype @Action = action @Id = id @AreaList = arealist end |
Instance Attribute Details
#Action ⇒ Object
oversea(境外) china(国内) customized(自定义地区) ] drop(拦截) alg(人机校验) ]
1215 1216 1217 |
# File 'lib/v20200309/models.rb', line 1215 def Action @Action end |
#AreaList ⇒ Object
oversea(境外) china(国内) customized(自定义地区) ] drop(拦截) alg(人机校验) ]
1215 1216 1217 |
# File 'lib/v20200309/models.rb', line 1215 def AreaList @AreaList end |
#Id ⇒ Object
oversea(境外) china(国内) customized(自定义地区) ] drop(拦截) alg(人机校验) ]
1215 1216 1217 |
# File 'lib/v20200309/models.rb', line 1215 def Id @Id end |
#RegionType ⇒ Object
oversea(境外) china(国内) customized(自定义地区) ] drop(拦截) alg(人机校验) ]
1215 1216 1217 |
# File 'lib/v20200309/models.rb', line 1215 def RegionType @RegionType end |
Instance Method Details
#deserialize(params) ⇒ Object
1224 1225 1226 1227 1228 1229 |
# File 'lib/v20200309/models.rb', line 1224 def deserialize(params) @RegionType = params['RegionType'] @Action = params['Action'] @Id = params['Id'] @AreaList = params['AreaList'] end |