public sealed class EnableSecretVersionRequest : IMessage<EnableSecretVersionRequest>, IEquatable<EnableSecretVersionRequest>, IDeepCloneable<EnableSecretVersionRequest>, IBufferMessage, IMessage
Request message for [SecretManagerService.EnableSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.EnableSecretVersion].
Required. The resource name of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to enable in the format
projects/*/secrets/*/versions/*.
Property Value
Type
Description
System.String
SecretVersionName
public SecretVersionName SecretVersionName { get; set; }
[[["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."],[[["The latest version of `EnableSecretVersionRequest` is 2.5.0, with numerous earlier versions available, starting from 1.3.0."],["`EnableSecretVersionRequest` is used to request the enabling of a specific secret version within the Secret Manager Service."],["This class inherits from `System.Object` and implements several interfaces, including `Google.Protobuf.IMessage` and `System.IEquatable\u003cEnableSecretVersionRequest\u003e`."],["The class contains two constructors, one parameterless and another that allows the creation of an instance of `EnableSecretVersionRequest` from an existing one."],["It has properties such as `Name`, which represents the resource name of the `SecretVersion` to be enabled, and `SecretVersionName` which is the typed view of the `Name` property."]]],[]]