public sealed class AddSecretVersionRequest : IMessage<AddSecretVersionRequest>, IEquatable<AddSecretVersionRequest>, IDeepCloneable<AddSecretVersionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1 API class AddSecretVersionRequest.
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 documentation page covers the \u003ccode\u003eAddSecretVersionRequest\u003c/code\u003e class within the Google Cloud Secret Manager v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAddSecretVersionRequest\u003c/code\u003e class is used to send requests for adding a new version to a secret in the Secret Manager service, as detailed by the API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.5.0, but multiple versions, from 1.3.0 to 2.5.0, of \u003ccode\u003eAddSecretVersionRequest\u003c/code\u003e are documented and accessible here.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAddSecretVersionRequest\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing various functionalities for message handling.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eAddSecretVersionRequest\u003c/code\u003e include \u003ccode\u003eParent\u003c/code\u003e (the associated secret's resource name), \u003ccode\u003eParentAsSecretName\u003c/code\u003e (a typed view of the \u003ccode\u003eParent\u003c/code\u003e resource name), and \u003ccode\u003ePayload\u003c/code\u003e (the secret payload for the new version).\u003c/p\u003e\n"]]],[],null,[]]