Secret Manager v1 API - Class AddSecretVersionRequest (2.3.0)

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].

Inheritance

object > AddSecretVersionRequest

Namespace

Google.Cloud.SecretManager.V1

Assembly

Google.Cloud.SecretManager.V1.dll

Constructors

AddSecretVersionRequest()

public AddSecretVersionRequest()

AddSecretVersionRequest(AddSecretVersionRequest)

public AddSecretVersionRequest(AddSecretVersionRequest other)
Parameter
NameDescription
otherAddSecretVersionRequest

Properties

Parent

public string Parent { get; set; }

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
TypeDescription
string

ParentAsSecretName

public SecretName ParentAsSecretName { get; set; }

SecretName-typed view over the Parent resource name property.

Property Value
TypeDescription
SecretName

Payload

public SecretPayload Payload { get; set; }

Required. The secret payload of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].

Property Value
TypeDescription
SecretPayload