@snippet
def topic_delete(client, to_delete):
 TOPIC_NAME = ('topic_delete-%d' % (_millis(),))
 topic = client.topic(TOPIC_NAME)
 topic.create()
 assert topic.exists()
 topic.delete()
 assert (not topic.exists())

@ snippet def topic_delete ( client , to_delete ) : TOPIC_NAME = ( 'topic_delete-%d' % ( _millis ( ) , ) ) topic = client . topic ( TOPIC_NAME ) topic . create ( ) assert topic . exists ( ) topic . delete ( ) assert ( not topic . exists ( ) )
delete a topic .