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"]],[["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\u003eThe latest version of \u003ccode\u003eEnableSecretVersionRequest\u003c/code\u003e is 2.5.0, with numerous earlier versions available, starting from 1.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEnableSecretVersionRequest\u003c/code\u003e is used to request the enabling of a specific secret version within the Secret Manager Service.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eSystem.Object\u003c/code\u003e and implements several interfaces, including \u003ccode\u003eGoogle.Protobuf.IMessage\u003c/code\u003e and \u003ccode\u003eSystem.IEquatable<EnableSecretVersionRequest>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains two constructors, one parameterless and another that allows the creation of an instance of \u003ccode\u003eEnableSecretVersionRequest\u003c/code\u003e from an existing one.\u003c/p\u003e\n"],["\u003cp\u003eIt has properties such as \u003ccode\u003eName\u003c/code\u003e, which represents the resource name of the \u003ccode\u003eSecretVersion\u003c/code\u003e to be enabled, and \u003ccode\u003eSecretVersionName\u003c/code\u003e which is the typed view of the \u003ccode\u003eName\u003c/code\u003e property.\u003c/p\u003e\n"]]],[],null,[]]