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

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
Name Description
other AddSecretVersionRequest

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

Property Value
Type Description
SecretPayload