public sealed class DestroySecretVersionRequest : IMessage<DestroySecretVersionRequest>, IEquatable<DestroySecretVersionRequest>, IDeepCloneable<DestroySecretVersionRequest>, IBufferMessage, IMessage
Request message for [SecretManagerService.DestroySecretVersion][google.cloud.secretmanager.v1.SecretManagerService.DestroySecretVersion].
Required. The resource name of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to destroy in the format
projects/*/secrets/*/versions/*.
Property Value
Type
Description
System.String
SecretVersionName
public SecretVersionName SecretVersionName { get; set; }
[[["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 Google Cloud Secret Manager.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the class is 2.5.0, and the content includes documentation for versions ranging from 1.3.0 to 2.5.0, covering various iterations of the \u003ccode\u003eDestroySecretVersionRequest\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDestroySecretVersionRequest\u003c/code\u003e class inherits from \u003ccode\u003eSystem.Object\u003c/code\u003e and implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains two constructors, a default constructor and one that takes another \u003ccode\u003eDestroySecretVersionRequest\u003c/code\u003e as a parameter for initialization, along with properties such as \u003ccode\u003eName\u003c/code\u003e and \u003ccode\u003eSecretVersionName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property of the \u003ccode\u003eDestroySecretVersionRequest\u003c/code\u003e class is a required field, which specifies the resource name of the \u003ccode\u003eSecretVersion\u003c/code\u003e to be destroyed in a specific format, and \u003ccode\u003eSecretVersionName\u003c/code\u003e is a typed view over the \u003ccode\u003eName\u003c/code\u003e property.\u003c/p\u003e\n"]]],[],null,[]]