def DeleteResourceSample():
 client = CreateClient()
 doc = gdata.docs.data.Resource(type='document', title='My Sample Doc')
 doc = client.CreateResource(doc)
 client.DeleteResource(doc)

def DeleteResourceSample ( ) : client = CreateClient ( ) doc = gdata . docs . data . Resource ( type = 'document' , title = 'My Sample Doc' ) doc = client . CreateResource ( doc ) client . DeleteResource ( doc )
delete a resource .