public sealed class EnableSecretVersionRequest : IMessage<EnableSecretVersionRequest>, IEquatable<EnableSecretVersionRequest>, IDeepCloneable<EnableSecretVersionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1beta1 API class EnableSecretVersionRequest.
Request message for
[SecretManagerService.EnableSecretVersion][google.cloud.secrets.v1beta1.SecretManagerService.EnableSecretVersion].
Required. The resource name of the
[SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] to enable in
the format projects/*/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 documentation covers the \u003ccode\u003eEnableSecretVersionRequest\u003c/code\u003e class, which is part of the Google Cloud Secret Manager v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEnableSecretVersionRequest\u003c/code\u003e is a request message used for enabling a specific version of a secret via the \u003ccode\u003eSecretManagerService.EnableSecretVersion\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnableSecretVersionRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eName\u003c/code\u003e, which is the resource name of the secret version to enable, and \u003ccode\u003eSecretVersionName\u003c/code\u003e, which provides a typed view of the \u003ccode\u003eName\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnableSecretVersionRequest\u003c/code\u003e comes in a few different versions with the most recent being 3.0.0-beta05, however there are two older versions that are also available, being 3.0.0-beta04 and 2.0.0-beta05.\u003c/p\u003e\n"]]],[],null,[]]