Class DeleteSecretRequest (1.5.0)

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

Request message for [SecretManagerService.DeleteSecret][google.cloud.secretmanager.v1.SecretManagerService.DeleteSecret].

Inheritance

Object > DeleteSecretRequest

Namespace

Google.Cloud.SecretManager.V1

Assembly

Google.Cloud.SecretManager.V1.dll

Constructors

DeleteSecretRequest()

public DeleteSecretRequest()

DeleteSecretRequest(DeleteSecretRequest)

public DeleteSecretRequest(DeleteSecretRequest other)
Parameter
NameDescription
otherDeleteSecretRequest

Properties

Etag

public string Etag { get; set; }

Optional. Etag of the [Secret][google.cloud.secretmanager.v1.Secret]. The request succeeds if it matches the etag of the currently stored secret object. If the etag is omitted, the request succeeds.

Property Value
TypeDescription
String

Name

public string Name { get; set; }

Required. The resource name of the [Secret][google.cloud.secretmanager.v1.Secret] to delete in the format projects/*/secrets/*.

Property Value
TypeDescription
String

SecretName

public SecretName SecretName { get; set; }

SecretName-typed view over the Name resource name property.

Property Value
TypeDescription
SecretName