Package com.google.cloud.logging.v2 (3.18.0)

GitHub Repository

This package is not the recommended entry point to using this client library!

For this library, we recommend using com.google.cloud.logging for new applications.

Client Classes

Client classes are the main entry point to using a package. They contain several variations of Java methods for each of the API's methods.

Client Description
com.google.cloud.logging.v2.ConfigClient Service Description: Service for configuring sinks used to route log entries.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:

com.google.cloud.logging.v2.LoggingClient Service Description: Service for ingesting and querying logs.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:

com.google.cloud.logging.v2.MetricsClient Service Description: Service for configuring logs-based metrics.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:

Settings Classes

Settings classes can be used to configure credentials, endpoints, and retry settings for a Client.

Settings Description
com.google.cloud.logging.v2.ConfigSettings Settings class to configure an instance of ConfigClient.

The default instance has everything set to sensible defaults:

com.google.cloud.logging.v2.LoggingSettings Settings class to configure an instance of LoggingClient.

The default instance has everything set to sensible defaults:

com.google.cloud.logging.v2.MetricsSettings Settings class to configure an instance of MetricsClient.

The default instance has everything set to sensible defaults:

Classes

Class Description
com.google.cloud.logging.v2.ConfigClient.ListBucketsFixedSizeCollection
com.google.cloud.logging.v2.ConfigClient.ListBucketsPage
com.google.cloud.logging.v2.ConfigClient.ListBucketsPagedResponse
com.google.cloud.logging.v2.ConfigClient.ListExclusionsFixedSizeCollection
com.google.cloud.logging.v2.ConfigClient.ListExclusionsPage
com.google.cloud.logging.v2.ConfigClient.ListExclusionsPagedResponse
com.google.cloud.logging.v2.ConfigClient.ListLinksFixedSizeCollection
com.google.cloud.logging.v2.ConfigClient.ListLinksPage
com.google.cloud.logging.v2.ConfigClient.ListLinksPagedResponse
com.google.cloud.logging.v2.ConfigClient.ListSinksFixedSizeCollection
com.google.cloud.logging.v2.ConfigClient.ListSinksPage
com.google.cloud.logging.v2.ConfigClient.ListSinksPagedResponse
com.google.cloud.logging.v2.ConfigClient.ListViewsFixedSizeCollection
com.google.cloud.logging.v2.ConfigClient.ListViewsPage
com.google.cloud.logging.v2.ConfigClient.ListViewsPagedResponse
com.google.cloud.logging.v2.ConfigSettings.Builder Builder for ConfigSettings.
com.google.cloud.logging.v2.LoggingClient.ListLogEntriesFixedSizeCollection
com.google.cloud.logging.v2.LoggingClient.ListLogEntriesPage
com.google.cloud.logging.v2.LoggingClient.ListLogEntriesPagedResponse
com.google.cloud.logging.v2.LoggingClient.ListLogsFixedSizeCollection
com.google.cloud.logging.v2.LoggingClient.ListLogsPage
com.google.cloud.logging.v2.LoggingClient.ListLogsPagedResponse
com.google.cloud.logging.v2.LoggingClient.ListMonitoredResourceDescriptorsFixedSizeCollection
com.google.cloud.logging.v2.LoggingClient.ListMonitoredResourceDescriptorsPage
com.google.cloud.logging.v2.LoggingClient.ListMonitoredResourceDescriptorsPagedResponse
com.google.cloud.logging.v2.LoggingSettings.Builder Builder for LoggingSettings.
com.google.cloud.logging.v2.MetricsClient.ListLogMetricsFixedSizeCollection
com.google.cloud.logging.v2.MetricsClient.ListLogMetricsPage
com.google.cloud.logging.v2.MetricsClient.ListLogMetricsPagedResponse
com.google.cloud.logging.v2.MetricsSettings.Builder Builder for MetricsSettings.