Stackdriver Logging API

Writes log entries and manages your Stackdriver 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 Stackdriver Logging documentation.


The Service name is needed to create RPC client stubs.


CreateExclusion Creates a new exclusion in a specified parent resource.
CreateSink Creates a sink that exports specified log entries to a destination.
DeleteExclusion Deletes an exclusion.
DeleteSink Deletes a sink.
GetCmekSettings Gets the Logs Router CMEK settings for the given resource.
GetExclusion Gets the description of an exclusion.
GetSink Gets a sink.
ListExclusions Lists all the exclusions in a parent resource.
ListSinks Lists sinks.
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.


DeleteLog Deletes all the log entries in a log.
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.
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.