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/*.
Property Value
Type
Description
System.String
ParentAsSecretName
public SecretName ParentAsSecretName { 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 \u003ccode\u003eAddSecretVersionRequest\u003c/code\u003e class is a request message used for adding a secret version within the Google Cloud Secret Manager service.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.SecretManager.V1\u003c/code\u003e namespace and is found in the \u003ccode\u003eGoogle.Cloud.SecretManager.V1.dll\u003c/code\u003e assembly, implementing multiple interfaces for message handling and cloning.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties such as \u003ccode\u003eParent\u003c/code\u003e, which specifies the associated secret's resource name in the format \u003ccode\u003eprojects/*/secrets/*\u003c/code\u003e, and \u003ccode\u003ePayload\u003c/code\u003e, which holds the actual secret payload data.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this specific class is version 2.5.0, but it has multiple past versions available, all the way down to 1.3.0, which is the lowest that can be seen in the content.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default one and one that takes another \u003ccode\u003eAddSecretVersionRequest\u003c/code\u003e instance for copying, enabling the creation of new instances or duplication.\u003c/p\u003e\n"]]],[],null,[]]