Secret Manager v1 API - Class DeleteSecretRequest (2.5.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
Name Description
other DeleteSecretRequest

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
Type Description
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
Type Description
string

SecretName

public SecretName SecretName { get; set; }

SecretName-typed view over the Name resource name property.

Property Value
Type Description
SecretName