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].
Implements
IMessageAddSecretVersionRequest, IEquatableAddSecretVersionRequest, IDeepCloneableAddSecretVersionRequest, IBufferMessage, IMessageNamespace
Google.Cloud.SecretManager.V1Assembly
Google.Cloud.SecretManager.V1.dll
Constructors
AddSecretVersionRequest()
public AddSecretVersionRequest()
AddSecretVersionRequest(AddSecretVersionRequest)
public AddSecretVersionRequest(AddSecretVersionRequest other)
Parameter | |
---|---|
Name | Description |
other |
AddSecretVersionRequest |
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/*
or projects/*/locations/*/secrets/*
.
Property Value | |
---|---|
Type | Description |
string |
ParentAsSecretName
public SecretName ParentAsSecretName { get; set; }
SecretName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
SecretName |
Payload
public SecretPayload Payload { get; set; }
Required. The secret payload of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
Property Value | |
---|---|
Type | Description |
SecretPayload |