public sealed class DeleteSecretRequest : IMessage<DeleteSecretRequest>, IEquatable<DeleteSecretRequest>, IDeepCloneable<DeleteSecretRequest>, IBufferMessage, IMessage
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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eDeleteSecretRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.SecretManager.V1\u003c/code\u003e namespace, used for deleting secrets in the Google Cloud Secret Manager service.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteSecretRequest\u003c/code\u003e class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version listed is 2.5.0, with the provided context focusing on version 1.8.0, and it is possible to view all the documentation of versions between 2.5.0 and 1.3.0, as they are all listed.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a parameterless one, and one that takes another \u003ccode\u003eDeleteSecretRequest\u003c/code\u003e as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe key properties of the \u003ccode\u003eDeleteSecretRequest\u003c/code\u003e class are \u003ccode\u003eEtag\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eSecretName\u003c/code\u003e, which are used to specify the secret to be deleted and confirm the deletion is correct.\u003c/p\u003e\n"]]],[],null,[]]