public sealed class GetSecretRequest : IMessage<GetSecretRequest>, IEquatable<GetSecretRequest>, IDeepCloneable<GetSecretRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1 API class GetSecretRequest.
Request message for [SecretManagerService.GetSecret][google.cloud.secretmanager.v1.SecretManagerService.GetSecret].
[[["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."],[[["The `GetSecretRequest` class is used to request a secret from the Secret Manager v1 API in the Google Cloud platform."],["This class is part of the `Google.Cloud.SecretManager.V1` namespace and is implemented in the `Google.Cloud.SecretManager.V1.dll` assembly, and is available in version 2.2.0 of the library, but has multiple versions, with 2.5.0 being the most recent."],["`GetSecretRequest` implements several interfaces including `IMessage`, `IEquatable\u003cGetSecretRequest\u003e`, `IDeepCloneable\u003cGetSecretRequest\u003e`, and `IBufferMessage`."],["It has two constructors, one default and another that takes another `GetSecretRequest` object as parameter, allowing for the cloning of requests."],["The `GetSecretRequest` class includes two key properties: `Name` which is a string representing the secret's resource name, and `SecretName`, which is a typed view of the `Name` property."]]],[]]