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].
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page provides documentation for the `DeleteSecretRequest` class within the Google Cloud Secret Manager v1 API for .NET, specifically version 2.1.0."],["The `DeleteSecretRequest` class is used to construct a request to delete a secret via the `SecretManagerService.DeleteSecret` method."],["The class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message handling, equality comparison, deep cloning, and buffered message operations."],["Key properties of the `DeleteSecretRequest` class include `Etag`, which is an optional field for conditional deletion based on the secret's etag, and `Name`, which is a required field specifying the resource name of the secret to be deleted."],["The documentation also lists all the version history for `DeleteSecretRequest` from version 2.5.0 down to 1.3.0."]]],[]]