Secret Manager v1beta2 API - Class AddSecretVersionRequest (1.0.0-beta01)

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

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

Request message for [SecretManagerService.AddSecretVersion][google.cloud.secretmanager.v1beta2.SecretManagerService.AddSecretVersion].

Inheritance

object > AddSecretVersionRequest

Namespace

Google.Cloud.SecretManager.V1Beta2

Assembly

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

Property Value
TypeDescription
SecretPayload