envoy_types/generated/
envoy.extensions.geoip_providers.maxmind.v3.rs

1// This file is @generated by prost-build.
2/// \[\#next-free-field: 6\]
3#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
4pub struct MaxMindConfig {
5    /// Full file path to the Maxmind city database, e.g. /etc/GeoLite2-City.mmdb.
6    /// Database file is expected to have .mmdb extension.
7    #[prost(string, tag = "1")]
8    pub city_db_path: ::prost::alloc::string::String,
9    /// Full file path to the Maxmind ASN database, e.g. /etc/GeoLite2-ASN.mmdb.
10    /// Database file is expected to have .mmdb extension.
11    /// When is defined the ASN information will always be fetched from the `asn_db`.
12    #[prost(string, tag = "2")]
13    pub asn_db_path: ::prost::alloc::string::String,
14    /// Full file path to the Maxmind anonymous IP database, e.g. /etc/GeoIP2-Anonymous-IP.mmdb.
15    /// Database file is expected to have .mmdb extension.
16    #[prost(string, tag = "3")]
17    pub anon_db_path: ::prost::alloc::string::String,
18    /// Full file path to the Maxmind ISP database, e.g. /etc/GeoLite2-ISP.mmdb.
19    /// Database file is expected to have .mmdb extension.
20    /// If `asn_db_path` is not defined, ASN information will be fetched from
21    /// `isp_db` instead.
22    #[prost(string, tag = "5")]
23    pub isp_db_path: ::prost::alloc::string::String,
24    /// Common provider configuration that specifies which geolocation headers will be populated with geolocation data.
25    #[prost(message, optional, tag = "4")]
26    pub common_provider_config: ::core::option::Option<
27        super::super::common::v3::CommonGeoipProviderConfig,
28    >,
29}