Shape the future of software operations and make your voice heard by taking the 2021 State of DevOps survey.

Cloud Logging API

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


The Service name is needed to create RPC client stubs.


CreateBucket Creates a bucket that can be used to store log entries.
CreateExclusion Creates a new exclusion in a specified parent resource.
CreateSink Creates a sink that exports specified log entries to a destination.
CreateView Creates a view over logs in a bucket.
DeleteBucket Deletes a bucket.
DeleteExclusion Deletes an exclusion.
DeleteSink Deletes a sink.
DeleteView Deletes a view from a bucket.
GetBucket Gets a bucket.
GetCmekSettings Gets the Logs Router CMEK settings for the given resource.
GetExclusion Gets the description of an exclusion.
GetSink Gets a sink.
GetView Gets a view.
ListBuckets Lists buckets.
ListExclusions Lists all the exclusions in a parent resource.
ListSinks Lists sinks.
ListViews Lists views on a bucket.
UndeleteBucket Undeletes a bucket.
UpdateBucket Updates a bucket.
UpdateCmekSettings Updates the Logs Router CMEK settings for the given resource.
UpdateExclusion Changes one or more properties of an existing exclusion.
UpdateSink Updates a sink.
UpdateView Updates a view.


DeleteLog Deletes all the log entries in a log for the _Default Log Bucket.
ListLogEntries Lists log entries.
ListLogs Lists the logs in projects, organizations, folders, or billing accounts.
ListMonitoredResourceDescriptors Lists the descriptors for monitored resource types used by Logging.
TailLogEntries Streaming read of log entries as they are ingested.
WriteLogEntries Writes log entries to Logging.


CreateLogMetric Creates a logs-based metric.
DeleteLogMetric Deletes a logs-based metric.
GetLogMetric Gets a logs-based metric.
ListLogMetrics Lists logs-based metrics.
UpdateLogMetric Creates or updates a logs-based metric.