public sealed class DisableSecretVersionRequest : IMessage<DisableSecretVersionRequest>, IEquatable<DisableSecretVersionRequest>, IDeepCloneable<DisableSecretVersionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1 API class DisableSecretVersionRequest.
Request message for [SecretManagerService.DisableSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.DisableSecretVersion].
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 disable 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\u003eThe latest version of the \u003ccode\u003eDisableSecretVersionRequest\u003c/code\u003e is 2.5.0, with versions available from 1.3.0 up to 2.5.0 in the documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDisableSecretVersionRequest\u003c/code\u003e is a class used for requesting the disabling of a specific secret version within the Secret Manager API, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDisableSecretVersionRequest\u003c/code\u003e class has two constructors, one default and one that takes another \u003ccode\u003eDisableSecretVersionRequest\u003c/code\u003e as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe class has three properties: \u003ccode\u003eEtag\u003c/code\u003e (string), \u003ccode\u003eName\u003c/code\u003e (string), and \u003ccode\u003eSecretVersionName\u003c/code\u003e (\u003ccode\u003eSecretVersionName\u003c/code\u003e), allowing for the specification of the version to disable.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property in the \u003ccode\u003eDisableSecretVersionRequest\u003c/code\u003e class is a required resource name in the format \u003ccode\u003eprojects/*/secrets/*/versions/*\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]