Package com.google.logging.v2 (3.23.7)
| GitHub Repository |
This package is not the recommended entry point to using this client library!
For this library, we recommend usingcom.google.cloud.logging for new applications.
Settings Classes
Settings classes can be used to configure credentials, endpoints, and retry settings for a Client.
| Settings | Description |
|---|---|
| com.google.logging.v2.CmekSettings | Describes the customer-managed encryption key (CMEK) settings associated with a project, folder, organization, billing account, or flexible resource. |
| com.google.logging.v2.Settings | Describes the settings associated with a project, folder, organization, billing account, or flexible resource. |
Classes
| Class | Description |
|---|---|
| com.google.logging.v2.BigQueryDataset | Describes a BigQuery dataset that was created by a link. |
| com.google.logging.v2.BigQueryDataset.Builder | Describes a BigQuery dataset that was created by a link. |
| com.google.logging.v2.BigQueryOptions | Options that change functionality of a sink exporting data to BigQuery. |
| com.google.logging.v2.BigQueryOptions.Builder | Options that change functionality of a sink exporting data to BigQuery. |
| com.google.logging.v2.BillingAccountLocationName | |
| com.google.logging.v2.BillingAccountLocationName.Builder | Builder for billingAccounts/{billing_account}/locations/{location}. |
| com.google.logging.v2.BillingAccountName | |
| com.google.logging.v2.BillingAccountName.Builder | Builder for billingAccounts/{billing_account}. |
| com.google.logging.v2.BucketMetadata | Metadata for LongRunningUpdateBucket Operations. |
| com.google.logging.v2.BucketMetadata.Builder | Metadata for LongRunningUpdateBucket Operations. |
| com.google.logging.v2.CmekSettings.Builder | Describes the customer-managed encryption key (CMEK) settings associated with a project, folder, organization, billing account, or flexible resource. |
| com.google.logging.v2.CmekSettingsName | |
| com.google.logging.v2.CmekSettingsName.BillingAccountCmekSettingsBuilder | Builder for billingAccounts/{billing_account}/cmekSettings. |
| com.google.logging.v2.CmekSettingsName.Builder | Builder for projects/{project}/cmekSettings. |
| com.google.logging.v2.CmekSettingsName.FolderCmekSettingsBuilder | Builder for folders/{folder}/cmekSettings. |
| com.google.logging.v2.CmekSettingsName.OrganizationCmekSettingsBuilder | Builder for organizations/{organization}/cmekSettings. |
| com.google.logging.v2.ConfigServiceV2Grpc | Service for configuring sinks used to route log entries. |
| com.google.logging.v2.ConfigServiceV2Grpc.ConfigServiceV2ImplBase | Base class for the server implementation of the service ConfigServiceV2. Service for configuring sinks used to route log entries. |
| com.google.logging.v2.CopyLogEntriesMetadata | Metadata for CopyLogEntries long running operations. |
| com.google.logging.v2.CopyLogEntriesMetadata.Builder | Metadata for CopyLogEntries long running operations. |
| com.google.logging.v2.CopyLogEntriesRequest | The parameters to CopyLogEntries. |
| com.google.logging.v2.CopyLogEntriesRequest.Builder | The parameters to CopyLogEntries. |
| com.google.logging.v2.CopyLogEntriesResponse | Response type for CopyLogEntries long running operations. |
| com.google.logging.v2.CopyLogEntriesResponse.Builder | Response type for CopyLogEntries long running operations. |
| com.google.logging.v2.CreateBucketRequest | The parameters toCreateBucket. |
| com.google.logging.v2.CreateBucketRequest.Builder | The parameters toCreateBucket. |
| com.google.logging.v2.CreateExclusionRequest | The parameters toCreateExclusion. |
| com.google.logging.v2.CreateExclusionRequest.Builder | The parameters toCreateExclusion. |
| com.google.logging.v2.CreateLinkRequest | The parameters to CreateLink. |
| com.google.logging.v2.CreateLinkRequest.Builder | The parameters to CreateLink. |
| com.google.logging.v2.CreateLogMetricRequest | The parameters to CreateLogMetric. |
| com.google.logging.v2.CreateLogMetricRequest.Builder | The parameters to CreateLogMetric. |
| com.google.logging.v2.CreateSinkRequest | The parameters toCreateSink. |
| com.google.logging.v2.CreateSinkRequest.Builder | The parameters toCreateSink. |
| com.google.logging.v2.CreateViewRequest | The parameters toCreateView. |
| com.google.logging.v2.CreateViewRequest.Builder | The parameters toCreateView. |
| com.google.logging.v2.DeleteBucketRequest | The parameters toDeleteBucket. |
| com.google.logging.v2.DeleteBucketRequest.Builder | The parameters toDeleteBucket. |
| com.google.logging.v2.DeleteExclusionRequest | The parameters toDeleteExclusion. |
| com.google.logging.v2.DeleteExclusionRequest.Builder | The parameters toDeleteExclusion. |
| com.google.logging.v2.DeleteLinkRequest | The parameters to DeleteLink. |
| com.google.logging.v2.DeleteLinkRequest.Builder | The parameters to DeleteLink. |
| com.google.logging.v2.DeleteLogMetricRequest | The parameters to DeleteLogMetric. |
| com.google.logging.v2.DeleteLogMetricRequest.Builder | The parameters to DeleteLogMetric. |
| com.google.logging.v2.DeleteLogRequest | The parameters to DeleteLog. |
| com.google.logging.v2.DeleteLogRequest.Builder | The parameters to DeleteLog. |
| com.google.logging.v2.DeleteSinkRequest | The parameters toDeleteSink. |
| com.google.logging.v2.DeleteSinkRequest.Builder | The parameters toDeleteSink. |
| com.google.logging.v2.DeleteViewRequest | The parameters toDeleteView. |
| com.google.logging.v2.DeleteViewRequest.Builder | The parameters toDeleteView. |
| com.google.logging.v2.FolderLocationName | |
| com.google.logging.v2.FolderLocationName.Builder | Builder for folders/{folder}/locations/{location}. |
| com.google.logging.v2.FolderName | |
| com.google.logging.v2.FolderName.Builder | Builder for folders/{folder}. |
| com.google.logging.v2.GetBucketRequest | The parameters toGetBucket. |
| com.google.logging.v2.GetBucketRequest.Builder | The parameters toGetBucket. |
| com.google.logging.v2.GetCmekSettingsRequest | The parameters toGetCmekSettings. |
| com.google.logging.v2.GetCmekSettingsRequest.Builder | The parameters toGetCmekSettings. |
| com.google.logging.v2.GetExclusionRequest | The parameters toGetExclusion. |
| com.google.logging.v2.GetExclusionRequest.Builder | The parameters toGetExclusion. |
| com.google.logging.v2.GetLinkRequest | The parameters to GetLink. |
| com.google.logging.v2.GetLinkRequest.Builder | The parameters to GetLink. |
| com.google.logging.v2.GetLogMetricRequest | The parameters to GetLogMetric. |
| com.google.logging.v2.GetLogMetricRequest.Builder | The parameters to GetLogMetric. |
| com.google.logging.v2.GetSettingsRequest | The parameters toGetSettings. |
| com.google.logging.v2.GetSettingsRequest.Builder | The parameters toGetSettings. |
| com.google.logging.v2.GetSinkRequest | The parameters toGetSink. |
| com.google.logging.v2.GetSinkRequest.Builder | The parameters toGetSink. |
| com.google.logging.v2.GetViewRequest | The parameters toGetView. |
| com.google.logging.v2.GetViewRequest.Builder | The parameters toGetView. |
| com.google.logging.v2.IndexConfig | Configuration for an indexed field. |
| com.google.logging.v2.IndexConfig.Builder | Configuration for an indexed field. |
| com.google.logging.v2.Link | Describes a link connected to an analytics enabled bucket. |
| com.google.logging.v2.Link.Builder | Describes a link connected to an analytics enabled bucket. |
| com.google.logging.v2.LinkMetadata | Metadata for long running Link operations. |
| com.google.logging.v2.LinkMetadata.Builder | Metadata for long running Link operations. |
| com.google.logging.v2.LinkName | |
| com.google.logging.v2.LinkName.BillingAccountLocationBucketLinkBuilder | Builder for billingAccounts/{billing_account}/locations/{location}/buckets/{bucket}/links/{link}. |
| com.google.logging.v2.LinkName.Builder | Builder for projects/{project}/locations/{location}/buckets/{bucket}/links/{link}. |
| com.google.logging.v2.LinkName.FolderLocationBucketLinkBuilder | Builder for folders/{folder}/locations/{location}/buckets/{bucket}/links/{link}. |
| com.google.logging.v2.LinkName.OrganizationLocationBucketLinkBuilder | Builder for organizations/{organization}/locations/{location}/buckets/{bucket}/links/{link}. |
| com.google.logging.v2.ListBucketsRequest | The parameters toListBuckets. |
| com.google.logging.v2.ListBucketsRequest.Builder | The parameters toListBuckets. |
| com.google.logging.v2.ListBucketsResponse | The response from ListBuckets. |
| com.google.logging.v2.ListBucketsResponse.Builder | The response from ListBuckets. |
| com.google.logging.v2.ListExclusionsRequest | The parameters toListExclusions. |
| com.google.logging.v2.ListExclusionsRequest.Builder | The parameters toListExclusions. |
| com.google.logging.v2.ListExclusionsResponse | Result returned fromListExclusions. |
| com.google.logging.v2.ListExclusionsResponse.Builder | Result returned fromListExclusions. |
| com.google.logging.v2.ListLinksRequest | The parameters to ListLinks. |
| com.google.logging.v2.ListLinksRequest.Builder | The parameters to ListLinks. |
| com.google.logging.v2.ListLinksResponse | The response from ListLinks. |
| com.google.logging.v2.ListLinksResponse.Builder | The response from ListLinks. |
| com.google.logging.v2.ListLogEntriesRequest | The parameters toListLogEntries. |
| com.google.logging.v2.ListLogEntriesRequest.Builder | The parameters toListLogEntries. |
| com.google.logging.v2.ListLogEntriesResponse | Result returned fromListLogEntries. |
| com.google.logging.v2.ListLogEntriesResponse.Builder | Result returned fromListLogEntries. |
| com.google.logging.v2.ListLogMetricsRequest | The parameters to ListLogMetrics. |
| com.google.logging.v2.ListLogMetricsRequest.Builder | The parameters to ListLogMetrics. |
| com.google.logging.v2.ListLogMetricsResponse | Result returned from ListLogMetrics. |
| com.google.logging.v2.ListLogMetricsResponse.Builder | Result returned from ListLogMetrics. |
| com.google.logging.v2.ListLogsRequest | The parameters to ListLogs. |
| com.google.logging.v2.ListLogsRequest.Builder | The parameters to ListLogs. |
| com.google.logging.v2.ListLogsResponse | Result returned from ListLogs. |
| com.google.logging.v2.ListLogsResponse.Builder | Result returned from ListLogs. |
| com.google.logging.v2.ListMonitoredResourceDescriptorsRequest | The parameters to ListMonitoredResourceDescriptors |
| com.google.logging.v2.ListMonitoredResourceDescriptorsRequest.Builder | The parameters to ListMonitoredResourceDescriptors |
| com.google.logging.v2.ListMonitoredResourceDescriptorsResponse | Result returned from ListMonitoredResourceDescriptors. |
| com.google.logging.v2.ListMonitoredResourceDescriptorsResponse.Builder | Result returned from ListMonitoredResourceDescriptors. |
| com.google.logging.v2.ListSinksRequest | The parameters toListSinks. |
| com.google.logging.v2.ListSinksRequest.Builder | The parameters toListSinks. |
| com.google.logging.v2.ListSinksResponse | Result returned fromListSinks. |
| com.google.logging.v2.ListSinksResponse.Builder | Result returned fromListSinks. |
| com.google.logging.v2.ListViewsRequest | The parameters toListViews. |
| com.google.logging.v2.ListViewsRequest.Builder | The parameters toListViews. |
| com.google.logging.v2.ListViewsResponse | The response from ListViews. |
| com.google.logging.v2.ListViewsResponse.Builder | The response from ListViews. |
| com.google.logging.v2.LocationMetadata | Cloud Logging specific location metadata. |
| com.google.logging.v2.LocationMetadata.Builder | Cloud Logging specific location metadata. |
| com.google.logging.v2.LocationName | |
| com.google.logging.v2.LocationName.Builder | Builder for projects/{project}/locations/{location}. |
| com.google.logging.v2.LogBucket | Describes a repository in which log entries are stored. |
| com.google.logging.v2.LogBucket.Builder | Describes a repository in which log entries are stored. |
| com.google.logging.v2.LogBucketName | |
| com.google.logging.v2.LogBucketName.BillingAccountLocationBucketBuilder | Builder for billingAccounts/{billing_account}/locations/{location}/buckets/{bucket}. |
| com.google.logging.v2.LogBucketName.Builder | Builder for projects/{project}/locations/{location}/buckets/{bucket}. |
| com.google.logging.v2.LogBucketName.FolderLocationBucketBuilder | Builder for folders/{folder}/locations/{location}/buckets/{bucket}. |
| com.google.logging.v2.LogBucketName.OrganizationLocationBucketBuilder | Builder for organizations/{organization}/locations/{location}/buckets/{bucket}. |
| com.google.logging.v2.LogEntry | An individual entry in a log. |
| com.google.logging.v2.LogEntry.Builder | An individual entry in a log. |
| com.google.logging.v2.LogEntryOperation | Additional information about a potentially long-running operation with which a log entry is associated. |
| com.google.logging.v2.LogEntryOperation.Builder | Additional information about a potentially long-running operation with which a log entry is associated. |
| com.google.logging.v2.LogEntryProto | |
| com.google.logging.v2.LogEntrySourceLocation | Additional information about the source code location that produced the log entry. |
| com.google.logging.v2.LogEntrySourceLocation.Builder | Additional information about the source code location that produced the log entry. |
| com.google.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 |
| com.google.logging.v2.LogExclusion.Builder | 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 |
| com.google.logging.v2.LogExclusionName | |
| com.google.logging.v2.LogExclusionName.BillingAccountExclusionBuilder | Builder for billingAccounts/{billing_account}/exclusions/{exclusion}. |
| com.google.logging.v2.LogExclusionName.Builder | Builder for projects/{project}/exclusions/{exclusion}. |
| com.google.logging.v2.LogExclusionName.FolderExclusionBuilder | Builder for folders/{folder}/exclusions/{exclusion}. |
| com.google.logging.v2.LogExclusionName.OrganizationExclusionBuilder | Builder for organizations/{organization}/exclusions/{exclusion}. |
| com.google.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. |
| com.google.logging.v2.LogMetric.Builder | 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. |
| com.google.logging.v2.LogMetricName | |
| com.google.logging.v2.LogMetricName.Builder | Builder for projects/{project}/metrics/{metric}. |
| com.google.logging.v2.LogName | |
| com.google.logging.v2.LogName.BillingAccountLogBuilder | Builder for billingAccounts/{billing_account}/logs/{log}. |
| com.google.logging.v2.LogName.Builder | Builder for projects/{project}/logs/{log}. |
| com.google.logging.v2.LogName.FolderLogBuilder | Builder for folders/{folder}/logs/{log}. |
| com.google.logging.v2.LogName.OrganizationLogBuilder | Builder for organizations/{organization}/logs/{log}. |
| com.google.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 |
| com.google.logging.v2.LogSink.Builder | 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 |
| com.google.logging.v2.LogSinkName | |
| com.google.logging.v2.LogSinkName.BillingAccountSinkBuilder | Builder for billingAccounts/{billing_account}/sinks/{sink}. |
| com.google.logging.v2.LogSinkName.Builder | Builder for projects/{project}/sinks/{sink}. |
| com.google.logging.v2.LogSinkName.FolderSinkBuilder | Builder for folders/{folder}/sinks/{sink}. |
| com.google.logging.v2.LogSinkName.OrganizationSinkBuilder | Builder for organizations/{organization}/sinks/{sink}. |
| com.google.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. |
| com.google.logging.v2.LogSplit.Builder | 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. |
| com.google.logging.v2.LogView | Describes a view over log entries in a bucket. |
| com.google.logging.v2.LogView.Builder | Describes a view over log entries in a bucket. |
| com.google.logging.v2.LogViewName | |
| com.google.logging.v2.LogViewName.BillingAccountLocationBucketViewBuilder | Builder for billingAccounts/{billing_account}/locations/{location}/buckets/{bucket}/views/{view}. |
| com.google.logging.v2.LogViewName.Builder | Builder for projects/{project}/locations/{location}/buckets/{bucket}/views/{view}. |
| com.google.logging.v2.LogViewName.FolderLocationBucketViewBuilder | Builder for folders/{folder}/locations/{location}/buckets/{bucket}/views/{view}. |
| com.google.logging.v2.LogViewName.OrganizationLocationBucketViewBuilder | Builder for organizations/{organization}/locations/{location}/buckets/{bucket}/views/{view}. |
| com.google.logging.v2.LoggingConfigProto | |
| com.google.logging.v2.LoggingMetricsProto | |
| com.google.logging.v2.LoggingProto | |
| com.google.logging.v2.LoggingServiceV2Grpc | Service for ingesting and querying logs. |
| com.google.logging.v2.LoggingServiceV2Grpc.LoggingServiceV2ImplBase | Base class for the server implementation of the service LoggingServiceV2. Service for ingesting and querying logs. |
| com.google.logging.v2.MetricsServiceV2Grpc | Service for configuring logs-based metrics. |
| com.google.logging.v2.MetricsServiceV2Grpc.MetricsServiceV2ImplBase | Base class for the server implementation of the service MetricsServiceV2. Service for configuring logs-based metrics. |
| com.google.logging.v2.OrganizationLocationName | |
| com.google.logging.v2.OrganizationLocationName.Builder | Builder for organizations/{organization}/locations/{location}. |
| com.google.logging.v2.OrganizationName | |
| com.google.logging.v2.OrganizationName.Builder | Builder for organizations/{organization}. |
| com.google.logging.v2.ProjectName | |
| com.google.logging.v2.ProjectName.Builder | Builder for projects/{project}. |
| com.google.logging.v2.Settings.Builder | Describes the settings associated with a project, folder, organization, billing account, or flexible resource. |
| com.google.logging.v2.SettingsName | |
| com.google.logging.v2.SettingsName.BillingAccountBuilder | Builder for billingAccounts/{billing_account}/settings. |
| com.google.logging.v2.SettingsName.Builder | Builder for projects/{project}/settings. |
| com.google.logging.v2.SettingsName.FolderBuilder | Builder for folders/{folder}/settings. |
| com.google.logging.v2.SettingsName.OrganizationBuilder | Builder for organizations/{organization}/settings. |
| com.google.logging.v2.TailLogEntriesRequest | The parameters toTailLogEntries. |
| com.google.logging.v2.TailLogEntriesRequest.Builder | The parameters toTailLogEntries. |
| com.google.logging.v2.TailLogEntriesResponse | Result returned fromTailLogEntries. |
| com.google.logging.v2.TailLogEntriesResponse.Builder | Result returned fromTailLogEntries. |
| com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo | Information about entries that were omitted from the session. |
| com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Builder | Information about entries that were omitted from the session. |
| com.google.logging.v2.UndeleteBucketRequest | The parameters toUndeleteBucket. |
| com.google.logging.v2.UndeleteBucketRequest.Builder | The parameters toUndeleteBucket. |
| com.google.logging.v2.UpdateBucketRequest | The parameters toUpdateBucket. |
| com.google.logging.v2.UpdateBucketRequest.Builder | The parameters toUpdateBucket. |
| com.google.logging.v2.UpdateCmekSettingsRequest | The parameters toUpdateCmekSettings. |
| com.google.logging.v2.UpdateCmekSettingsRequest.Builder | The parameters toUpdateCmekSettings. |
| com.google.logging.v2.UpdateExclusionRequest | The parameters toUpdateExclusion. |
| com.google.logging.v2.UpdateExclusionRequest.Builder | The parameters toUpdateExclusion. |
| com.google.logging.v2.UpdateLogMetricRequest | The parameters to UpdateLogMetric. |
| com.google.logging.v2.UpdateLogMetricRequest.Builder | The parameters to UpdateLogMetric. |
| com.google.logging.v2.UpdateSettingsRequest | The parameters toUpdateSettings. |
| com.google.logging.v2.UpdateSettingsRequest.Builder | The parameters toUpdateSettings. |
| com.google.logging.v2.UpdateSinkRequest | The parameters toUpdateSink. |
| com.google.logging.v2.UpdateSinkRequest.Builder | The parameters toUpdateSink. |
| com.google.logging.v2.UpdateViewRequest | The parameters toUpdateView. |
| com.google.logging.v2.UpdateViewRequest.Builder | The parameters toUpdateView. |
| com.google.logging.v2.WriteLogEntriesPartialErrors | Error details for WriteLogEntries with partial success. |
| com.google.logging.v2.WriteLogEntriesPartialErrors.Builder | Error details for WriteLogEntries with partial success. |
| com.google.logging.v2.WriteLogEntriesRequest | The parameters to WriteLogEntries. |
| com.google.logging.v2.WriteLogEntriesRequest.Builder | The parameters to WriteLogEntries. |
| com.google.logging.v2.WriteLogEntriesResponse | Result returned from WriteLogEntries. |
| com.google.logging.v2.WriteLogEntriesResponse.Builder | Result returned from WriteLogEntries. |
Interfaces
Enums
| Enum | Description |
|---|---|
| com.google.logging.v2.BucketMetadata.RequestCase | |
| com.google.logging.v2.IndexType | IndexType is used for custom indexing. It describes the type of an indexed field. |
| com.google.logging.v2.LifecycleState | LogBucket lifecycle states. |
| com.google.logging.v2.LinkMetadata.RequestCase | |
| com.google.logging.v2.LogEntry.PayloadCase | |
| com.google.logging.v2.LogMetric.ApiVersion | Logging API version. |
| com.google.logging.v2.LogSink.OptionsCase | |
| com.google.logging.v2.LogSink.VersionFormat | Deprecated. This is unused. |
| com.google.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, |
| com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason | An indicator of why entries were omitted. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-30 UTC.