public sealed class EnableSecretVersionRequest : IMessage<EnableSecretVersionRequest>, IEquatable<EnableSecretVersionRequest>, IDeepCloneable<EnableSecretVersionRequest>, IBufferMessage, IMessage
Request message for [SecretManagerService.EnableSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.EnableSecretVersion].
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 enable 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\u003eThis webpage details the \u003ccode\u003eEnableSecretVersionRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.SecretManager.V1\u003c/code\u003e namespace, specifically version 1.8.0 of the library, which is used for enabling secret versions within Google Cloud Secret Manager.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnableSecretVersionRequest\u003c/code\u003e 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, supporting various functionalities like message handling, equality comparison, deep cloning, and buffer manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eEtag\u003c/code\u003e, which allows for conditional requests based on the version's current state, and \u003ccode\u003eName\u003c/code\u003e, which is required to identify the specific secret version to enable in a structured format.\u003c/p\u003e\n"],["\u003cp\u003eThe provided content highlights that \u003ccode\u003eEnableSecretVersionRequest\u003c/code\u003e inherits members from the base \u003ccode\u003eObject\u003c/code\u003e class, such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e, showing the foundational structure of the class.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage lists previous versions of the same feature, ranging from the latest version, 2.5.0 to 1.3.0, demonstrating historical release information.\u003c/p\u003e\n"]]],[],null,[]]