Shows how to delete a secret with a given name, ETag, and all of its versions.
Code sample
Go
To learn how to install and use the client library for Secret Manager, see Secret Manager client libraries.
Java
To learn how to install and use the client library for Secret Manager, see Secret Manager client libraries.
Python
To learn how to install and use the client library for Secret Manager, see Secret Manager client libraries.
What's next
To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.