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, specifically for version 2.3.0 of the .NET library."],["The `DeleteSecretRequest` class is used to construct requests for deleting a secret, and it inherits from various interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class includes properties such as `Etag` (optional) to ensure the correct secret is deleted, `Name` (required) specifying the secret's resource name, and `SecretName` which provides a strongly-typed view of the secret's resource name."],["The page provides a history of the documentation versions, ranging from version 2.5.0 down to 1.3.0, with 2.5.0 being the most current version."],["There are two constructors for the `DeleteSecretRequest` class, one being a parameterless constructor and the other taking an existing `DeleteSecretRequest` object to create a copy."]]],[]]