public sealed class EnableSecretVersionRequest : IMessage<EnableSecretVersionRequest>, IEquatable<EnableSecretVersionRequest>, IDeepCloneable<EnableSecretVersionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1 API class EnableSecretVersionRequest.
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 document provides reference information for the `EnableSecretVersionRequest` class within the Google Cloud Secret Manager v1 API, specifically version 2.2.0."],["The `EnableSecretVersionRequest` class is used to construct a request for enabling a specific secret version, and it inherits from the `object` class, while also implementing several interfaces like `IMessage`, `IEquatable`, and `IDeepCloneable`."],["The class includes properties like `Etag` for version matching and `Name` to specify the secret version's resource name, and also provides a `SecretVersionName` property as a typed view over the Name property."],["Constructors are provided for creating an `EnableSecretVersionRequest` object, either as a default instance or by copying an existing `EnableSecretVersionRequest` object."],["The documentation details the required `Name` property format for specifying a `SecretVersion`, `projects/*/secrets/*/versions/*`, and also outlines that the optional `Etag` property allows for conditional operations to only succeed if it matches the etag of the currently stored secret version."]]],[]]