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"]],[["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-03-21 UTC."],[[["This webpage details the `EnableSecretVersionRequest` class, which is used to send requests to enable a specific version of a secret within the Google Cloud Secret Manager."],["The latest version of `EnableSecretVersionRequest` is 2.5.0, with older versions dating back to 1.3.0, and version 1.5.0 being specifically referenced throughout the content."],["The `EnableSecretVersionRequest` class implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `Object`."],["Key properties of the `EnableSecretVersionRequest` class include `Etag`, which is used for optimistic locking, `Name`, which specifies the resource name of the secret version to enable, and `SecretVersionName`, which provides a typed view over the `Name` property."],["The class provides two constructors, a default constructor, and one that accepts another `EnableSecretVersionRequest` object for copying."]]],[]]