Secret Manager v1 API - Class DeleteSecretRequest (2.2.0)

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

Reference documentation and code samples for the Secret Manager v1 API class DeleteSecretRequest.

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