# Google Cloud Logging v2 API - Namespace Google.Cloud.Logging.V2 (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/Google.Cloud.Logging.V2)
- [4.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/4.4.0/Google.Cloud.Logging.V2)
- [4.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/4.3.0/Google.Cloud.Logging.V2)
- [4.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/4.2.0/Google.Cloud.Logging.V2)
- [4.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/4.1.0/Google.Cloud.Logging.V2)
- [4.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/4.0.0/Google.Cloud.Logging.V2)
- [3.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/3.6.0/Google.Cloud.Logging.V2)
- [3.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/3.5.0/Google.Cloud.Logging.V2)
- [3.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/3.4.0/Google.Cloud.Logging.V2)
- [3.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/3.3.0/Google.Cloud.Logging.V2)

## Classes

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

Describes a BigQuery dataset that was created by a link.

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

Options that change functionality of a sink exporting data to BigQuery.

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

Resource name for the `BillingAccountLocation` resource.

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

Metadata for LongRunningUpdateBucket Operations.

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

Describes the customer-managed encryption key (CMEK) settings associated with
a project, folder, organization, billing account, or flexible resource.

Note: CMEK for the Log Router can currently only be configured for Google
Cloud organizations. Once configured, it applies to all projects and folders
in the Google Cloud organization.

See [Enabling CMEK for Log
Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
more information.

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

Resource name for the `CmekSettings` resource.

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

Service for configuring sinks used to route log entries.

### [ConfigServiceV2.ConfigServiceV2Base](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.ConfigServiceV2.ConfigServiceV2Base)

Base class for server-side implementations of ConfigServiceV2

### [ConfigServiceV2.ConfigServiceV2Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.ConfigServiceV2.ConfigServiceV2Client)

Client for ConfigServiceV2

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

ConfigServiceV2 client wrapper, for convenient use.

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

Builder class for [ConfigServiceV2Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.ConfigServiceV2Client) to provide simple configuration of credentials, endpoint
etc.

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

ConfigServiceV2 client wrapper implementation, for convenient use.

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

Settings for [ConfigServiceV2Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.ConfigServiceV2Client) instances.

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

Metadata for CopyLogEntries long running operations.

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

The parameters to CopyLogEntries.

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

Response type for CopyLogEntries long running operations.

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

The parameters to `CreateBucket`.

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

The parameters to `CreateExclusion`.

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

The parameters to CreateLink.

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

The parameters to CreateLogMetric.

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

The parameters to `CreateSink`.

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

The parameters to `CreateView`.

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

The parameters to `DeleteBucket`.

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

The parameters to `DeleteExclusion`.

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

The parameters to DeleteLink.

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

The parameters to DeleteLogMetric.

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

The parameters to DeleteLog.

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

The parameters to `DeleteSink`.

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

The parameters to `DeleteView`.

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

Resource name for the `FolderLocation` resource.

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

The parameters to `GetBucket`.

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

The parameters to
\[GetCmekSettings\]\[google.logging.v2.ConfigServiceV2.GetCmekSettings\].

See [Enabling CMEK for Log
Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
more information.

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

The parameters to `GetExclusion`.

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

The parameters to GetLink.

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

The parameters to GetLogMetric.

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

The parameters to
\[GetSettings\]\[google.logging.v2.ConfigServiceV2.GetSettings\].

See [Enabling CMEK for Log
Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
more information.

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

The parameters to `GetSink`.

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

The parameters to `GetView`.

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

Configuration for an indexed field.

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

Describes a link connected to an analytics enabled bucket.

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

Metadata for long running Link operations.

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

Resource name for the `Link` resource.

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

The parameters to `ListBuckets`.

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

The response from ListBuckets.

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

The parameters to `ListExclusions`.

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

Result returned from `ListExclusions`.

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

The parameters to ListLinks.

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

The response from ListLinks.

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

The parameters to `ListLogEntries`.

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

Result returned from `ListLogEntries`.

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

The parameters to ListLogMetrics.

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

Result returned from ListLogMetrics.

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

The parameters to ListLogs.

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

Result returned from ListLogs.

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

The parameters to ListMonitoredResourceDescriptors

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

Result returned from ListMonitoredResourceDescriptors.

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

The parameters to `ListSinks`.

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

Result returned from `ListSinks`.

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

The parameters to `ListViews`.

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

The response from ListViews.

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

Cloud Logging specific location metadata.

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

Describes a repository in which log entries are stored.

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

Resource name for the `LogBucket` resource.

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

An individual entry in a log.

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

Additional information about a potentially long-running operation with which
a log entry is associated.

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

Additional information about the source code location that produced the log
entry.

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

Specifies a set of log entries that are filtered out by a sink. If
your Google Cloud resource receives a large volume of log entries, you can
use exclusions to reduce your chargeable logs. Note that exclusions on
organization-level and folder-level sinks don't apply to child resources.
Note also that you cannot modify the _Required sink or exclude logs from it.

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

Resource name for the `LogExclusion` resource.

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

Describes a logs-based metric. The value of the metric is the number of log
entries that match a logs filter in a given time interval.

Logs-based metrics can also be used to extract values from logs and create a
distribution of the values. The distribution records the statistics of the
extracted values along with an optional histogram of the values as specified
by the bucket options.

### [LogMetric.Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LogMetric.Types)

Container for nested types declared in the LogMetric message type.

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

Resource name for the `LogMetric` resource.

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

Resource name for the `Log` resource.

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

Describes a sink used to export log entries to one of the following
destinations in any project: a Cloud Storage bucket, a BigQuery dataset, a
Pub/Sub topic or a Cloud Logging log bucket. A logs filter controls which log
entries are exported. The sink must be created within a project,
organization, billing account, or folder.

### [LogSink.Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LogSink.Types)

Container for nested types declared in the LogSink message type.

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

Resource name for the `LogSink` resource.

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

Additional information used to correlate multiple log entries. Used when a
single LogEntry would exceed the Google Cloud Logging size limit and is
split across multiple log entries.

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

Describes a view over log entries in a bucket.

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

Resource name for the `LogView` resource.

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

Service for ingesting and querying logs.

### [LoggingServiceV2.LoggingServiceV2Base](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LoggingServiceV2.LoggingServiceV2Base)

Base class for server-side implementations of LoggingServiceV2

### [LoggingServiceV2.LoggingServiceV2Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LoggingServiceV2.LoggingServiceV2Client)

Client for LoggingServiceV2

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

LoggingServiceV2 client wrapper, for convenient use.

### [LoggingServiceV2Client.TailLogEntriesStream](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LoggingServiceV2Client.TailLogEntriesStream)

Bidirectional streaming methods for
[TailLogEntries(CallSettings, BidirectionalStreamingSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LoggingServiceV2Client#Google_Cloud_Logging_V2_LoggingServiceV2Client_TailLogEntries_Google_Api_Gax_Grpc_CallSettings_Google_Api_Gax_Grpc_BidirectionalStreamingSettings_).

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

Builder class for [LoggingServiceV2Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LoggingServiceV2Client) to provide simple configuration of credentials, endpoint
etc.

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

LoggingServiceV2 client wrapper implementation, for convenient use.

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

Settings for [LoggingServiceV2Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LoggingServiceV2Client) instances.

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

Service for configuring logs-based metrics.

### [MetricsServiceV2.MetricsServiceV2Base](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.MetricsServiceV2.MetricsServiceV2Base)

Base class for server-side implementations of MetricsServiceV2

### [MetricsServiceV2.MetricsServiceV2Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.MetricsServiceV2.MetricsServiceV2Client)

Client for MetricsServiceV2

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

MetricsServiceV2 client wrapper, for convenient use.

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

Builder class for [MetricsServiceV2Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.MetricsServiceV2Client) to provide simple configuration of credentials, endpoint
etc.

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

MetricsServiceV2 client wrapper implementation, for convenient use.

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

Settings for [MetricsServiceV2Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.MetricsServiceV2Client) instances.

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

Resource name for the `OrganizationLocation` resource.

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

Describes the settings associated with a project, folder, organization,
billing account, or flexible resource.

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

Resource name for the `Settings` resource.

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

The parameters to `TailLogEntries`.

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

Result returned from `TailLogEntries`.

### [TailLogEntriesResponse.Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.TailLogEntriesResponse.Types)

Container for nested types declared in the TailLogEntriesResponse message type.

### [TailLogEntriesResponse.Types.SuppressionInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.TailLogEntriesResponse.Types.SuppressionInfo)

Information about entries that were omitted from the session.

### [TailLogEntriesResponse.Types.SuppressionInfo.Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.TailLogEntriesResponse.Types.SuppressionInfo.Types)

Container for nested types declared in the SuppressionInfo message type.

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

The parameters to `UndeleteBucket`.

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

The parameters to `UpdateBucket`.

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

The parameters to
\[UpdateCmekSettings\]\[google.logging.v2.ConfigServiceV2.UpdateCmekSettings\].

See [Enabling CMEK for Log
Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
more information.

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

The parameters to `UpdateExclusion`.

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

The parameters to UpdateLogMetric.

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

The parameters to
\[UpdateSettings\]\[google.logging.v2.ConfigServiceV2.UpdateSettings\].

See [Enabling CMEK for Log
Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
more information.

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

The parameters to `UpdateSink`.

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

The parameters to `UpdateView`.

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

Error details for WriteLogEntries with partial success.

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

The parameters to WriteLogEntries.

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

Result returned from WriteLogEntries.

## Enums

### [BillingAccountLocationName.ResourceNameType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.BillingAccountLocationName.ResourceNameType)

The possible contents of [BillingAccountLocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.BillingAccountLocationName).

### [BucketMetadata.RequestOneofCase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.BucketMetadata.RequestOneofCase)

Enum of possible cases for the "request" oneof.

### [CmekSettingsName.ResourceNameType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.CmekSettingsName.ResourceNameType)

The possible contents of [CmekSettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.CmekSettingsName).

### [FolderLocationName.ResourceNameType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.FolderLocationName.ResourceNameType)

The possible contents of [FolderLocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.FolderLocationName).

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

IndexType is used for custom indexing. It describes the type of an indexed
field.

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

LogBucket lifecycle states.

### [LinkMetadata.RequestOneofCase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LinkMetadata.RequestOneofCase)

Enum of possible cases for the "request" oneof.

### [LinkName.ResourceNameType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LinkName.ResourceNameType)

The possible contents of [LinkName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LinkName).

### [LogBucketName.ResourceNameType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LogBucketName.ResourceNameType)

The possible contents of [LogBucketName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LogBucketName).

### [LogEntry.PayloadOneofCase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LogEntry.PayloadOneofCase)

Enum of possible cases for the "payload" oneof.

### [LogExclusionName.ResourceNameType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LogExclusionName.ResourceNameType)

The possible contents of [LogExclusionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LogExclusionName).

### [LogMetric.Types.ApiVersion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LogMetric.Types.ApiVersion)

Logging API version.

### [LogMetricName.ResourceNameType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LogMetricName.ResourceNameType)

The possible contents of [LogMetricName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LogMetricName).

### [LogName.ResourceNameType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LogName.ResourceNameType)

The possible contents of [LogName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LogName).

### [LogSink.OptionsOneofCase](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LogSink.OptionsOneofCase)

Enum of possible cases for the "options" oneof.

### [LogSink.Types.VersionFormat](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LogSink.Types.VersionFormat)

Deprecated. This is unused.

### [LogSinkName.ResourceNameType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LogSinkName.ResourceNameType)

The possible contents of [LogSinkName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LogSinkName).

### [LogViewName.ResourceNameType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LogViewName.ResourceNameType)

The possible contents of [LogViewName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.LogViewName).

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

List of different operation states.
High level state of the operation. This is used to report the job's
current state to the user. Once a long running operation is created,
the current state of the operation can be queried even before the
operation is finished and the final result is available.

### [OrganizationLocationName.ResourceNameType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.OrganizationLocationName.ResourceNameType)

The possible contents of [OrganizationLocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.OrganizationLocationName).

### [SettingsName.ResourceNameType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.SettingsName.ResourceNameType)

The possible contents of [SettingsName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.SettingsName).

### [TailLogEntriesResponse.Types.SuppressionInfo.Types.Reason](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.TailLogEntriesResponse.Types.SuppressionInfo.Types.Reason)

An indicator of why entries were omitted.