Secret Manager v1beta1 API - Class AddSecretVersionRequest (3.0.0-beta04)

public sealed class AddSecretVersionRequest : IMessage<AddSecretVersionRequest>, IEquatable<AddSecretVersionRequest>, IDeepCloneable<AddSecretVersionRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Secret Manager v1beta1 API class AddSecretVersionRequest.

Request message for [SecretManagerService.AddSecretVersion][google.cloud.secrets.v1beta1.SecretManagerService.AddSecretVersion].

Inheritance

object > AddSecretVersionRequest

Namespace

Google.Cloud.SecretManager.V1Beta1

Assembly

Google.Cloud.SecretManager.V1Beta1.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.secrets.v1beta1.Secret] to associate with the [SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] in the format projects/*/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.secrets.v1beta1.SecretVersion].

Property Value
Type Description
SecretPayload