public sealed class DeleteSecretRequest : IMessage<DeleteSecretRequest>, IEquatable<DeleteSecretRequest>, IDeepCloneable<DeleteSecretRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1beta2 API class DeleteSecretRequest.
Request message for [SecretManagerService.DeleteSecret][google.cloud.secretmanager.v1beta2.SecretManagerService.DeleteSecret].
Implements
IMessageDeleteSecretRequest, IEquatableDeleteSecretRequest, IDeepCloneableDeleteSecretRequest, IBufferMessage, IMessageNamespace
Google.Cloud.SecretManager.V1Beta2Assembly
Google.Cloud.SecretManager.V1Beta2.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.v1beta2.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.v1beta2.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 |