public sealed class DestroySecretVersionRequest : IMessage<DestroySecretVersionRequest>, IEquatable<DestroySecretVersionRequest>, IDeepCloneable<DestroySecretVersionRequest>, IBufferMessage, IMessage
Request message for [SecretManagerService.DestroySecretVersion][google.cloud.secretmanager.v1.SecretManagerService.DestroySecretVersion].
Optional. Etag of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. The request succeeds if it matches
the etag of the currently stored secret version object. If the etag is
omitted, the request succeeds.
Required. The resource name of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to destroy in the format
projects/*/secrets/*/versions/*.
[[["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\u003eDestroySecretVersionRequest\u003c/code\u003e class, which is used to send requests to destroy a secret version in the Google Cloud Secret Manager.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, for functionality like message handling, object equality checks, deep cloning, and buffer message management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDestroySecretVersionRequest\u003c/code\u003e class includes properties like \u003ccode\u003eEtag\u003c/code\u003e (for version control), \u003ccode\u003eName\u003c/code\u003e (the resource name of the secret version to destroy), and \u003ccode\u003eSecretVersionName\u003c/code\u003e (a typed view of the resource name).\u003c/p\u003e\n"],["\u003cp\u003eIt is part of the \u003ccode\u003eGoogle.Cloud.SecretManager.V1\u003c/code\u003e namespace, found within the \u003ccode\u003eGoogle.Cloud.SecretManager.V1.dll\u003c/code\u003e assembly, and lists the available versions from 1.3.0 up to the latest 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available, a default constructor and a copy constructor that takes another \u003ccode\u003eDestroySecretVersionRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]