public sealed class DisableSecretVersionRequest : IMessage<DisableSecretVersionRequest>, IEquatable<DisableSecretVersionRequest>, IDeepCloneable<DisableSecretVersionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1beta2 API class DisableSecretVersionRequest.
Request message for
[SecretManagerService.DisableSecretVersion][google.cloud.secretmanager.v1beta2.SecretManagerService.DisableSecretVersion].
Optional. Etag of the
[SecretVersion][google.cloud.secretmanager.v1beta2.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.v1beta2.SecretVersion] to
disable in the format projects/*/secrets/*/versions/* or
projects/*/locations/*/secrets/*/versions/*.
[[["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-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eDisableSecretVersionRequest\u003c/code\u003e class within the Google Cloud Secret Manager v1beta2 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDisableSecretVersionRequest\u003c/code\u003e is used as a request message to disable a specific secret version via \u003ccode\u003eSecretManagerService.DisableSecretVersion\u003c/code\u003e.\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, with inheritance from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDisableSecretVersionRequest\u003c/code\u003e class has properties for \u003ccode\u003eEtag\u003c/code\u003e (optional), \u003ccode\u003eName\u003c/code\u003e (required), and \u003ccode\u003eSecretVersionName\u003c/code\u003e, which provides a typed view over the Name property.\u003c/p\u003e\n"],["\u003cp\u003eThis class has two constructors: a default one, and another to take in another \u003ccode\u003eDisableSecretVersionRequest\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]