public sealed class AddSecretVersionRequest : IMessage<AddSecretVersionRequest>, IEquatable<AddSecretVersionRequest>, IDeepCloneable<AddSecretVersionRequest>, IBufferMessage, IMessage
Request message for [SecretManagerService.AddSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AddSecretVersion].
Required. The resource name of the [Secret][google.cloud.secretmanager.v1.Secret] to associate with the
[SecretVersion][google.cloud.secretmanager.v1.SecretVersion] in the format projects/*/secrets/*.
[[["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 provides documentation for the \u003ccode\u003eAddSecretVersionRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.SecretManager.V1\u003c/code\u003e namespace, part of the Google Cloud Secret Manager API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 2.5.0, with a range of previous versions, going back to 1.3.0, also available for reference.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAddSecretVersionRequest\u003c/code\u003e is used to add a new secret version to a specified secret and it implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eAddSecretVersionRequest\u003c/code\u003e class include \u003ccode\u003eParent\u003c/code\u003e, which specifies the associated secret, and \u003ccode\u003ePayload\u003c/code\u003e, which holds the secret data.\u003c/p\u003e\n"],["\u003cp\u003eThe class has public constructors for creating new \u003ccode\u003eAddSecretVersionRequest\u003c/code\u003e objects, either empty or initialized with existing data, as well as inherited members such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]