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/* 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 Secret Manager v1 API, specifically for .NET development.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDisableSecretVersionRequest\u003c/code\u003e class is used to request the disabling of a specific secret version in Google Cloud Secret Manager, and is implemented using several interfaces.\u003c/p\u003e\n"],["\u003cp\u003eIt lists all available versions for the \u003ccode\u003eDisableSecretVersionRequest\u003c/code\u003e, starting with the latest version 2.5.0 down to 1.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe document details the class's properties, including \u003ccode\u003eEtag\u003c/code\u003e for version control and \u003ccode\u003eName\u003c/code\u003e for identifying the secret version, along with a \u003ccode\u003eSecretVersionName\u003c/code\u003e typed view for the resource name.\u003c/p\u003e\n"],["\u003cp\u003eIt outlines the constructors for this class, including a default constructor and one that allows for cloning an existing instance, as well as the inherited members from the base object class.\u003c/p\u003e\n"]]],[],null,[]]