def delete_sink(sink_name):
 logging_client = logging.Client()
 sink = logging_client.sink(sink_name)
 sink.delete()
 print 'Deleted sink {}'.format(sink.name)

def delete_sink ( sink_name ) : logging_client = logging . Client ( ) sink = logging_client . sink ( sink_name ) sink . delete ( ) print 'Deleted sink {}' . format ( sink . name )
deletes a sink .