Module sink (1.13.0)

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 reload .

client
Client

A client which holds credentials and project configuration for the sink (which requires a project).

Design a Mobile Site
View Site in Mobile | Classic
Share by: