dotnet-geo-management/Svrnty.GeoManagement.Google/Configuration/GoogleGeoManagementOptions.cs

22 lines
600 B
C#

namespace Svrnty.GeoManagement.Google.Configuration;
/// <summary>
/// Configuration options for Google Geocoding API
/// </summary>
public class GoogleGeoManagementOptions
{
/// <summary>
/// Google Maps API key for authentication
/// </summary>
public string ApiKey { get; set; } = string.Empty;
/// <summary>
/// Optional language code for address results (e.g., "en", "fr", "de")
/// </summary>
public string? Language { get; set; }
/// <summary>
/// Optional region code for biasing results (e.g., "us", "uk", "ca")
/// </summary>
public string? Region { get; set; }
}