Skip to main content
S3NS
Technology areas
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Infrastructure as code
  • SDK, languages, frameworks, and tools
/
  • .NET
  • Client libraries
Overview Guides Reference
S3NS
  • Technology areas
    • More
    • Overview
    • Guides
    • Reference
  • Cross-product tools
    • More
  • Overview
  • Library reference docs
  • Client library help
  • Google.Api.CommonProtos
  • Google.Api.Gax
  • Google.Apis
  • Google.Apps.Script.Type
  • Google.Cloud.AIPlatform.V1
  • Google.Cloud.AIPlatform.V1Beta1
  • Google.Cloud.AccessApproval.V1
  • Google.Cloud.AdvisoryNotifications.V1
  • Google.Cloud.AlloyDb.V1
  • Google.Cloud.AlloyDb.V1Alpha
  • Google.Cloud.AlloyDb.V1Beta
  • Google.Cloud.ApiGateway.V1
  • Google.Cloud.ApiHub.V1
  • Google.Cloud.ApiKeys.V2
  • Google.Cloud.ApigeeConnect.V1
  • Google.Cloud.ApigeeRegistry.V1
  • Google.Cloud.AppEngine.Logging.V1
  • Google.Cloud.AppEngine.V1
  • Google.Cloud.AppHub.V1
  • Google.Cloud.ArtifactRegistry.V1
  • Google.Cloud.ArtifactRegistry.V1Beta2
  • Google.Cloud.Asset.V1
  • Google.Cloud.AssuredWorkloads.V1
  • Google.Cloud.AssuredWorkloads.V1Beta1
  • Google.Cloud.Audit
  • Google.Cloud.AutoML.V1
  • Google.Cloud.BackupDR.V1
  • Google.Cloud.BareMetalSolution.V2
  • Google.Cloud.Batch.V1
  • Google.Cloud.Batch.V1Alpha
  • Google.Cloud.BeyondCorp.AppConnections.V1
  • Google.Cloud.BeyondCorp.AppConnectors.V1
  • Google.Cloud.BeyondCorp.AppGateways.V1
  • Google.Cloud.BeyondCorp.ClientConnectorServices.V1
  • Google.Cloud.BeyondCorp.ClientGateways.V1
  • Google.Cloud.BigQuery.AnalyticsHub.V1
  • Google.Cloud.BigQuery.Connection.V1
  • Google.Cloud.BigQuery.DataExchange.Common
  • Google.Cloud.BigQuery.DataExchange.V1Beta1
  • Google.Cloud.BigQuery.DataPolicies.V1
  • Google.Cloud.BigQuery.DataPolicies.V1Beta1
  • Google.Cloud.BigQuery.DataTransfer.V1
  • Google.Cloud.BigQuery.Logging.V1
  • Google.Cloud.BigQuery.Migration.V2
  • Google.Cloud.BigQuery.Reservation.V1
  • Google.Cloud.BigQuery.Storage.V1
  • Google.Cloud.BigQuery.V2
  • Google.Cloud.Bigtable.Admin.V2
  • Google.Cloud.Bigtable.Common.V2
  • Google.Cloud.Bigtable.V2
  • Google.Cloud.Billing.Budgets.V1
  • Google.Cloud.Billing.Budgets.V1Beta1
  • Google.Cloud.Billing.V1
  • Google.Cloud.BinaryAuthorization.V1
  • Google.Cloud.BinaryAuthorization.V1Beta1
  • Google.Cloud.CapacityPlanner.V1Beta
  • Google.Cloud.CertificateManager.V1
  • Google.Cloud.Channel.V1
  • Google.Cloud.Chronicle.V1
  • Google.Cloud.CloudBuild.V1
  • Google.Cloud.CloudBuild.V2
  • Google.Cloud.CloudControlsPartner.V1
  • Google.Cloud.CloudControlsPartner.V1Beta
  • Google.Cloud.CloudDms.V1
  • Google.Cloud.CloudQuotas.V1
  • Google.Cloud.CloudQuotas.V1Beta
  • Google.Cloud.CloudSecurityCompliance.V1
  • Google.Cloud.Commerce.Consumer.Procurement.V1
  • Google.Cloud.Common
  • Google.Cloud.Compute.V1
  • Google.Cloud.ConfidentialComputing.V1
  • Google.Cloud.ConfidentialComputing.V1Alpha1
  • Google.Cloud.Config.V1
  • Google.Cloud.Connectors.V1
  • Google.Cloud.ContactCenterInsights.V1
  • Google.Cloud.Container.V1
  • Google.Cloud.DataCatalog.Lineage.V1
  • Google.Cloud.DataCatalog.V1
  • Google.Cloud.DataFusion.V1
  • Google.Cloud.DataQnA.V1Alpha
  • Google.Cloud.Dataflow.V1Beta3
  • Google.Cloud.Dataform.V1Beta1
  • Google.Cloud.Dataplex.V1
  • Google.Cloud.Dataproc.V1
  • Google.Cloud.Datastore.Admin.V1
  • Google.Cloud.Datastore.V1
  • Google.Cloud.Datastream.V1
  • Google.Cloud.Datastream.V1Alpha1
  • Google.Cloud.Debugger.V2
  • Google.Cloud.Deploy.V1
  • Google.Cloud.DevTools.Common
  • Google.Cloud.DevTools.ContainerAnalysis.V1
  • Google.Cloud.DeveloperConnect.V1
  • Google.Cloud.DeviceStreaming.V1
  • Google.Cloud.Diagnostics.AspNetCore
  • Google.Cloud.Diagnostics.AspNetCore3
  • Google.Cloud.Diagnostics.Common
  • Google.Cloud.Dialogflow.Cx.V3
  • Google.Cloud.Dialogflow.V2
  • Google.Cloud.Dialogflow.V2Beta1
  • Google.Cloud.DiscoveryEngine.V1
  • Google.Cloud.DiscoveryEngine.V1Beta
  • Google.Cloud.Dlp.V2
  • Google.Cloud.DocumentAI.V1
  • Google.Cloud.DocumentAI.V1Beta3
  • Google.Cloud.Domains.V1
  • Google.Cloud.Domains.V1Beta1
  • Google.Cloud.EdgeNetwork.V1
  • Google.Cloud.EnterpriseKnowledgeGraph.V1
  • Google.Cloud.ErrorReporting.V1Beta1
  • Google.Cloud.EssentialContacts.V1
  • Google.Cloud.Eventarc.Publishing.V1
  • Google.Cloud.Eventarc.V1
  • Google.Cloud.Filestore.V1
  • Google.Cloud.FinancialServices.V1
  • Google.Cloud.Firestore
  • Google.Cloud.Firestore.Admin.V1
  • Google.Cloud.Firestore.V1
  • Google.Cloud.Functions.V1
  • Google.Cloud.Functions.V2
  • Google.Cloud.Functions.V2Beta
  • Google.Cloud.GSuiteAddOns.V1
  • Google.Cloud.Gaming.V1
  • Google.Cloud.Gaming.V1Beta
  • Google.Cloud.GdcHardwareManagement.V1Alpha
  • Google.Cloud.GeminiDataAnalytics.V1Beta
  • Google.Cloud.GkeBackup.V1
  • Google.Cloud.GkeConnect.Gateway.V1
  • Google.Cloud.GkeConnect.Gateway.V1Beta1
  • Google.Cloud.GkeHub.V1
  • Google.Cloud.GkeHub.V1Beta1
  • Google.Cloud.GkeMultiCloud.V1
  • Google.Cloud.Iam.Admin.V1
  • Google.Cloud.Iam.Credentials.V1
  • Google.Cloud.Iam.V1
  • Google.Cloud.Iam.V2
  • Google.Cloud.Iam.V3
  • Google.Cloud.Iam.V3Beta
  • Google.Cloud.Iap.V1
  • Google.Cloud.Ids.V1
  • Google.Cloud.Iot.V1
  • Google.Cloud.Kms.Inventory.V1
  • Google.Cloud.Kms.V1
  • Google.Cloud.Language.V1
  • Google.Cloud.Language.V2
  • Google.Cloud.LifeSciences.V2Beta
  • Google.Cloud.Location
  • Google.Cloud.LocationFinder.V1
  • Google.Cloud.Logging.Console
  • Google.Cloud.Logging.Log4Net
  • Google.Cloud.Logging.NLog
  • Google.Cloud.Logging.Type
  • Google.Cloud.Logging.V2
    • Overview
      • Getting started
      • Version history
    • Microsoft.Extensions.DependencyInjection (namespace)
      • All types
      • ServiceCollectionExtensions
    • All types
    • BigQueryDataset
    • BigQueryOptions
    • BillingAccountLocationName
    • BillingAccountLocationName.ResourceNameType
    • BucketMetadata
    • BucketMetadata.RequestOneofCase
    • CmekSettings
    • CmekSettingsName
    • CmekSettingsName.ResourceNameType
    • ConfigServiceV2
    • ConfigServiceV2.ConfigServiceV2Base
    • ConfigServiceV2.ConfigServiceV2Client
    • ConfigServiceV2Client
    • ConfigServiceV2ClientBuilder
    • ConfigServiceV2ClientImpl
    • ConfigServiceV2Settings
    • CopyLogEntriesMetadata
    • CopyLogEntriesRequest
    • CopyLogEntriesResponse
    • CreateBucketRequest
    • CreateExclusionRequest
    • CreateLinkRequest
    • CreateLogMetricRequest
    • CreateSinkRequest
    • CreateViewRequest
    • DeleteBucketRequest
    • DeleteExclusionRequest
    • DeleteLinkRequest
    • DeleteLogMetricRequest
    • DeleteLogRequest
    • DeleteSinkRequest
    • DeleteViewRequest
    • FolderLocationName
    • FolderLocationName.ResourceNameType
    • GetBucketRequest
    • GetCmekSettingsRequest
    • GetExclusionRequest
    • GetLinkRequest
    • GetLogMetricRequest
    • GetSettingsRequest
    • GetSinkRequest
    • GetViewRequest
    • IndexConfig
    • IndexType
    • LifecycleState
    • Link
    • LinkMetadata
    • LinkMetadata.RequestOneofCase
    • LinkName
    • LinkName.ResourceNameType
    • ListBucketsRequest
    • ListBucketsResponse
    • ListExclusionsRequest
    • ListExclusionsResponse
    • ListLinksRequest
    • ListLinksResponse
    • ListLogEntriesRequest
    • ListLogEntriesResponse
    • ListLogMetricsRequest
    • ListLogMetricsResponse
    • ListLogsRequest
    • ListLogsResponse
    • ListMonitoredResourceDescriptorsRequest
    • ListMonitoredResourceDescriptorsResponse
    • ListSinksRequest
    • ListSinksResponse
    • ListViewsRequest
    • ListViewsResponse
    • LocationMetadata
    • LogBucket
    • LogBucketName
    • LogBucketName.ResourceNameType
    • LogEntry
    • LogEntry.PayloadOneofCase
    • LogEntryOperation
    • LogEntrySourceLocation
    • LogExclusion
    • LogExclusionName
    • LogExclusionName.ResourceNameType
    • LogMetric
    • LogMetric.Types
    • LogMetric.Types.ApiVersion
    • LogMetricName
    • LogMetricName.ResourceNameType
    • LogName
    • LogName.ResourceNameType
    • LogSink
    • LogSink.OptionsOneofCase
    • LogSink.Types
    • LogSink.Types.VersionFormat
    • LogSinkName
    • LogSinkName.ResourceNameType
    • LogSplit
    • LogView
    • LogViewName
    • LogViewName.ResourceNameType
    • LoggingServiceV2
    • LoggingServiceV2.LoggingServiceV2Base
    • LoggingServiceV2.LoggingServiceV2Client
    • LoggingServiceV2Client
    • LoggingServiceV2Client.TailLogEntriesStream
    • LoggingServiceV2ClientBuilder
    • LoggingServiceV2ClientImpl
    • LoggingServiceV2Settings
    • MetricsServiceV2
    • MetricsServiceV2.MetricsServiceV2Base
    • MetricsServiceV2.MetricsServiceV2Client
    • MetricsServiceV2Client
    • MetricsServiceV2ClientBuilder
    • MetricsServiceV2ClientImpl
    • MetricsServiceV2Settings
    • OperationState
    • OrganizationLocationName
    • OrganizationLocationName.ResourceNameType
    • Settings
    • SettingsName
    • SettingsName.ResourceNameType
    • TailLogEntriesRequest
    • TailLogEntriesResponse
    • TailLogEntriesResponse.Types
    • TailLogEntriesResponse.Types.SuppressionInfo
    • TailLogEntriesResponse.Types.SuppressionInfo.Types
    • TailLogEntriesResponse.Types.SuppressionInfo.Types.Reason
    • UndeleteBucketRequest
    • UpdateBucketRequest
    • UpdateCmekSettingsRequest
    • UpdateExclusionRequest
    • UpdateLogMetricRequest
    • UpdateSettingsRequest
    • UpdateSinkRequest
    • UpdateViewRequest
    • WriteLogEntriesPartialErrors
    • WriteLogEntriesRequest
    • WriteLogEntriesResponse
  • Google.Cloud.Lustre.V1
  • Google.Cloud.Maintenance.Api.V1Beta
  • Google.Cloud.ManagedIdentities.V1
  • Google.Cloud.ManagedKafka.V1
  • Google.Cloud.MediaTranslation.V1Beta1
  • Google.Cloud.Memcache.V1
  • Google.Cloud.Memcache.V1Beta2
  • Google.Cloud.Memorystore.V1
  • Google.Cloud.Memorystore.V1Beta
  • Google.Cloud.Metastore.V1
  • Google.Cloud.Metastore.V1Alpha
  • Google.Cloud.Metastore.V1Beta
  • Google.Cloud.MigrationCenter.V1
  • Google.Cloud.ModelArmor.V1
  • Google.Cloud.ModelArmor.V1Beta
  • Google.Cloud.Monitoring.V3
  • Google.Cloud.NetApp.V1
  • Google.Cloud.NetworkConnectivity.V1
  • Google.Cloud.NetworkConnectivity.V1Alpha1
  • Google.Cloud.NetworkManagement.V1
  • Google.Cloud.NetworkSecurity.V1Beta1
  • Google.Cloud.NetworkServices.V1
  • Google.Cloud.Notebooks.V1
  • Google.Cloud.Notebooks.V1Beta1
  • Google.Cloud.Notebooks.V2
  • Google.Cloud.Optimization.V1
  • Google.Cloud.OracleDatabase.V1
  • Google.Cloud.Orchestration.Airflow.Service.V1
  • Google.Cloud.OrgPolicy.V1
  • Google.Cloud.OrgPolicy.V2
  • Google.Cloud.OsConfig.V1
  • Google.Cloud.OsConfig.V1Alpha
  • Google.Cloud.OsLogin.Common
  • Google.Cloud.OsLogin.V1
  • Google.Cloud.OsLogin.V1Beta
  • Google.Cloud.Parallelstore.V1
  • Google.Cloud.Parallelstore.V1Beta
  • Google.Cloud.ParameterManager.V1
  • Google.Cloud.PhishingProtection.V1Beta1
  • Google.Cloud.PolicySimulator.V1
  • Google.Cloud.PolicyTroubleshooter.Iam.V3
  • Google.Cloud.PolicyTroubleshooter.V1
  • Google.Cloud.PrivateCatalog.V1Beta1
  • Google.Cloud.PrivilegedAccessManager.V1
  • Google.Cloud.Profiler.V2
  • Google.Cloud.PubSub.V1
  • Google.Cloud.RapidMigrationAssessment.V1
  • Google.Cloud.RecaptchaEnterprise.V1
  • Google.Cloud.RecaptchaEnterprise.V1Beta1
  • Google.Cloud.RecommendationEngine.V1Beta1
  • Google.Cloud.Recommender.V1
  • Google.Cloud.Redis.Cluster.V1
  • Google.Cloud.Redis.V1
  • Google.Cloud.Redis.V1Beta1
  • Google.Cloud.ResourceManager.V3
  • Google.Cloud.Retail.V2
  • Google.Cloud.Run.V2
  • Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1
  • Google.Cloud.Scheduler.V1
  • Google.Cloud.SecretManager.V1
  • Google.Cloud.SecretManager.V1Beta1
  • Google.Cloud.SecretManager.V1Beta2
  • Google.Cloud.Security.PrivateCA.V1
  • Google.Cloud.Security.PublicCA.V1
  • Google.Cloud.Security.PublicCA.V1Beta1
  • Google.Cloud.SecurityCenter.Settings.V1Beta1
  • Google.Cloud.SecurityCenter.V1
  • Google.Cloud.SecurityCenter.V1P1Beta1
  • Google.Cloud.SecurityCenter.V2
  • Google.Cloud.SecurityCenterManagement.V1
  • Google.Cloud.ServiceControl.V1
  • Google.Cloud.ServiceDirectory.V1
  • Google.Cloud.ServiceDirectory.V1Beta1
  • Google.Cloud.ServiceHealth.V1
  • Google.Cloud.ServiceManagement.V1
  • Google.Cloud.ServiceUsage.V1
  • Google.Cloud.Shell.V1
  • Google.Cloud.Spanner.Admin.Database.V1
  • Google.Cloud.Spanner.Admin.Instance.V1
  • Google.Cloud.Spanner.Common.V1
  • Google.Cloud.Spanner.Data
  • Google.Cloud.Spanner.V1
  • Google.Cloud.Speech.V1
  • Google.Cloud.Speech.V1P1Beta1
  • Google.Cloud.Speech.V2
  • Google.Cloud.Storage.Control.V2
  • Google.Cloud.Storage.V1
  • Google.Cloud.StorageBatchOperations.V1
  • Google.Cloud.StorageInsights.V1
  • Google.Cloud.StorageTransfer.V1
  • Google.Cloud.Support.V2
  • Google.Cloud.Support.V2Beta
  • Google.Cloud.Talent.V4
  • Google.Cloud.Talent.V4Beta1
  • Google.Cloud.Tasks.V2
  • Google.Cloud.Tasks.V2Beta3
  • Google.Cloud.TelcoAutomation.V1
  • Google.Cloud.TextToSpeech.V1
  • Google.Cloud.TextToSpeech.V1Beta1
  • Google.Cloud.Tpu.V1
  • Google.Cloud.Trace.V1
  • Google.Cloud.Trace.V2
  • Google.Cloud.Translate.V3
  • Google.Cloud.Translation.V2
  • Google.Cloud.VMMigration.V1
  • Google.Cloud.Video.LiveStream.V1
  • Google.Cloud.Video.Stitcher.V1
  • Google.Cloud.Video.Transcoder.V1
  • Google.Cloud.VideoIntelligence.V1
  • Google.Cloud.Vision.V1
  • Google.Cloud.VmwareEngine.V1
  • Google.Cloud.VpcAccess.V1
  • Google.Cloud.WebRisk.V1
  • Google.Cloud.WebRisk.V1Beta1
  • Google.Cloud.WebSecurityScanner.V1
  • Google.Cloud.Workflows.Common.V1
  • Google.Cloud.Workflows.Common.V1Beta
  • Google.Cloud.Workflows.Executions.V1
  • Google.Cloud.Workflows.Executions.V1Beta
  • Google.Cloud.Workflows.V1
  • Google.Cloud.Workflows.V1Beta
  • Google.Cloud.Workstations.V1
  • Google.Identity.AccessContextManager.Type
  • Google.Identity.AccessContextManager.V1
  • Google.LongRunning
  • Google.Protobuf
  • Grafeas.V1
  • Grpc.Auth
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Access and resources management
  • Infrastructure as code
  • SDK, languages, frameworks, and tools
Some or all of the information on this page might not apply to Cloud de Confiance by S3NS. See Differences from Google Cloud for more details.
  • Home
  • Technology areas
  • .NET
  • Client libraries

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

  • 4.5.0 (latest)
  • 4.4.0
  • 4.3.0
  • 4.2.0
  • 4.1.0
  • 4.0.0
  • 3.6.0
  • 3.5.0
  • 3.4.0
  • 3.3.0

Classes

ServiceCollectionExtensions

Static class to provide extension methods to configure API clients.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-11-05 UTC.

  • Terms
  • Privacy
  • Manage cookies