DdosGeoMatch Class
A geographic source match. The service validates that at least one of continent or countryCode is specified. If both are specified, the service validates that the country belongs to the continent according to the service-defined mapping. For example, RU, TR, and KZ map to Asia, EG maps to Africa, and CY maps to Europe.
Constructor
DdosGeoMatch(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
continent
|
str or
DdosContinent
The continent to match. Country membership follows the service-defined mapping documented on DdosGeoMatch. Known values are: "Africa", "Antarctica", "Asia", "Europe", "NorthAmerica", "Oceania", and "SouthAmerica". |
|
country_code
|
The uppercase two-letter ISO 3166-1 alpha-2 code for the country or territory to match. |
Attributes
continent
The continent to match. Country membership follows the service-defined mapping documented on DdosGeoMatch. Known values are: "Africa", "Antarctica", "Asia", "Europe", "NorthAmerica", "Oceania", and "SouthAmerica".
continent: str | _models.DdosContinent | None
country_code
The uppercase two-letter ISO 3166-1 alpha-2 code for the country or territory to match.
country_code: str | None