Module sink (1.15.3) 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.
Seehttps://cloud.google.com/logging/docs/reference/v2/rest/v2/projects.sinks
| Parameters | |
|---|---|
| Name | Description |
name | strthe name of the sink |
filter_ | str(optional) the advanced logs filter expression defining the entries exported by the sink. |
destination | strdestination URI for the entries exported by the sink. If not passed, the instance should already exist, to be refreshed via |
client | ClientA client which holds credentials and project configuration for the sink (which requires a project). |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-10 UTC.