public sealed class DeleteSecretRequest : IMessage<DeleteSecretRequest>, IEquatable<DeleteSecretRequest>, IDeepCloneable<DeleteSecretRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1 API class DeleteSecretRequest.
Request message for
[SecretManagerService.DeleteSecret][google.cloud.secretmanager.v1.SecretManagerService.DeleteSecret].
Optional. Etag of the [Secret][google.cloud.secretmanager.v1.Secret]. The
request succeeds if it matches the etag of the currently stored secret
object. If the etag is omitted, the request succeeds.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This documentation page covers the `DeleteSecretRequest` class within the Google Cloud Secret Manager v1 API, specifically version 2.4.0."],["`DeleteSecretRequest` is used to request the deletion of a secret, implementing interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class provides constructors to create new `DeleteSecretRequest` objects, either default or by copying an existing instance, and it inherits members from the `object` class."],["Key properties of `DeleteSecretRequest` include `Etag` for conditional deletion, `Name` to specify the secret's resource name, and `SecretName`, a typed view over the resource name."],["The documentation lists previous versions of `DeleteSecretRequest` all the way back to version 1.3.0, and it references version 2.5.0 as being the latest."]]],[]]