Module sink (1.12.1)
Stay organized with collections
Save and categorize content based on your preferences.
Define Stackdriver Logging API Sinks.
Classes
Sink
Sink(name, filter_=None, destination=None, client=None)Sinks represent filtered exports for log entries.
See https://cloud.google.com/logging/docs/reference/v2/rest/v2/projects.sinks
| Parameters | |
|---|---|
| Name | Description |
name |
str
the name of the sink |
filter_ |
str
(optional) the advanced logs filter expression defining the entries exported by the sink. |
destination |
str
destination URI for the entries exported by the sink. If not passed, the instance should already exist, to be refreshed via |
client |
Client
A client which holds credentials and project configuration for the sink (which requires a project). |