# Google Cloud Logging v2 API - Namespace Microsoft.Extensions.DependencyInjection (4.5.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [4.5.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Microsoft.Extensions.DependencyInjection)
- [4.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/4.4.0/Microsoft.Extensions.DependencyInjection)
- [4.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/4.3.0/Microsoft.Extensions.DependencyInjection)
- [4.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/4.2.0/Microsoft.Extensions.DependencyInjection)
- [4.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/4.1.0/Microsoft.Extensions.DependencyInjection)
- [4.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/4.0.0/Microsoft.Extensions.DependencyInjection)
- [3.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/3.6.0/Microsoft.Extensions.DependencyInjection)
- [3.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/3.5.0/Microsoft.Extensions.DependencyInjection)
- [3.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/3.4.0/Microsoft.Extensions.DependencyInjection)
- [3.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/3.3.0/Microsoft.Extensions.DependencyInjection)

## Classes

### [ServiceCollectionExtensions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Microsoft.Extensions.DependencyInjection.ServiceCollectionExtensions)

Static class to provide extension methods to configure API clients.