logging.v2 library Null safety

Cloud Logging API - v2

Writes log entries and manages your Cloud Logging configuration. The table entries below are presented in alphabetical order, not in order of common use. For explanations of the concepts found in the table entries, read the documentation at https://cloud.google.com/logging/docs.

For more information, see cloud.google.com/logging/docs/

Create an instance of LoggingApi to access these resources:

Classes

BigQueryOptions
Options that change functionality of a sink exporting data to BigQuery.
BillingAccountsBucketsResource
BillingAccountsBucketsViewsResource
BillingAccountsExclusionsResource
BillingAccountsLocationsBucketsResource
BillingAccountsLocationsBucketsViewsResource
BillingAccountsLocationsOperationsResource
BillingAccountsLocationsResource
BillingAccountsLogsResource
BillingAccountsOperationsResource
BillingAccountsResource
BillingAccountsSinksResource
BucketOptions
BucketOptions describes the bucket boundaries used to create a histogram for the distribution. [...]
CancelOperationRequest
The request message for Operations.CancelOperation.
CmekSettings
Describes the customer-managed encryption key (CMEK) settings associated with a project, folder, organization, billing account, or flexible resource.Note: CMEK for the Logs Router can currently only be configured for GCP organizations. [...]
CopyLogEntriesMetadata
Metadata for CopyLogEntries long running operations.
CopyLogEntriesRequest
The parameters to CopyLogEntries.
CopyLogEntriesResponse
Response type for CopyLogEntries long running operations.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. [...]
EntriesResource
ExclusionsResource
Explicit
Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= N) buckets. [...]
Exponential
Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. [...]
FoldersExclusionsResource
FoldersLocationsBucketsResource
FoldersLocationsBucketsViewsResource
FoldersLocationsOperationsResource
FoldersLocationsResource
FoldersLogsResource
FoldersResource
FoldersSinksResource
HttpRequest
A common proto for logging HTTP requests. [...]
LabelDescriptor
A description of a label.
Linear
Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). [...]
ListBucketsResponse
The response from ListBuckets.
ListExclusionsResponse
Result returned from ListExclusions.
ListLocationsResponse
The response message for Locations.ListLocations.
ListLogEntriesRequest
The parameters to ListLogEntries.
ListLogEntriesResponse
Result returned from ListLogEntries.
ListLogMetricsResponse
Result returned from ListLogMetrics.
ListLogsResponse
Result returned from ListLogs.
ListMonitoredResourceDescriptorsResponse
Result returned from ListMonitoredResourceDescriptors.
ListOperationsResponse
The response message for Operations.ListOperations.
ListSinksResponse
Result returned from ListSinks.
ListViewsResponse
The response from ListViews.
Location
A resource that represents Google Cloud Platform location.
LocationsBucketsResource
LocationsBucketsViewsResource
LocationsOperationsResource
LocationsResource
LogBucket
Describes a repository in which log entries are stored.
LogEntry
An individual entry in a log.
LogEntryOperation
Additional information about a potentially long-running operation with which a log entry is associated.
LogEntrySourceLocation
Additional information about the source code location that produced the log entry.
LogExclusion
Specifies a set of log entries that are not to be stored in Cloud Logging. [...]
LoggingApi
Writes log entries and manages your Cloud Logging configuration. [...]
LogLine
Application log line emitted while processing a request.
LogMetric
Describes a logs-based metric. [...]
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. [...]
LogsResource
LogView
Describes a view over log entries in a bucket.
MetricDescriptor
Defines a metric type and its schema. [...]
MetricDescriptorMetadata
Additional annotations that can be used to guide the usage of a metric.
MonitoredResource
An object representing a resource that can be used for monitoring, logging, billing, or other purposes. [...]
MonitoredResourceDescriptor
An object that describes the schema of a MonitoredResource object using a type name and a set of labels. [...]
MonitoredResourceDescriptorsResource
MonitoredResourceMetadata
Auxiliary metadata for a MonitoredResource object. [...]
Operation
This resource represents a long-running operation that is the result of a network API call.
OrganizationsExclusionsResource
OrganizationsLocationsBucketsResource
OrganizationsLocationsBucketsViewsResource
OrganizationsLocationsOperationsResource
OrganizationsLocationsResource
OrganizationsLogsResource
OrganizationsResource
OrganizationsSinksResource
ProjectsExclusionsResource
ProjectsLocationsBucketsResource
ProjectsLocationsBucketsViewsResource
ProjectsLocationsOperationsResource
ProjectsLocationsResource
ProjectsLogsResource
ProjectsMetricsResource
ProjectsResource
ProjectsSinksResource
RequestLog
Complete log information about a single HTTP request to an App Engine application.
SinksResource
SourceLocation
Specifies a location in a source code file.
SourceReference
A reference to a particular snapshot of the source tree used to build and deploy an application.
Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. [...]
SuppressionInfo
Information about entries that were omitted from the session.
TableFieldSchema
A field in TableSchema. [...]
TableSchema
Schema of a table containing logs.
TailLogEntriesRequest
The parameters to TailLogEntries.
TailLogEntriesResponse
Result returned from TailLogEntries.
UndeleteBucketRequest
The parameters to UndeleteBucket.
V2Resource
WriteLogEntriesRequest
The parameters to WriteLogEntries.
WriteLogEntriesResponse
Result returned from WriteLogEntries.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.