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].
Required. The resource name of the
[Secret][google.cloud.secretmanager.v1.Secret], in the format
projects/*/secrets/* or projects/*/locations/*/secrets/*.
[[["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 latest version of the `GetSecretRequest` class for the Secret Manager v1 API is 2.5.0, with multiple previous versions available, ranging down to 1.3.0."],["`GetSecretRequest` is a request message used for the `SecretManagerService.GetSecret` method in the Secret Manager v1 API."],["The class `GetSecretRequest` implements several interfaces, including `IMessage`, `IEquatable\u003cGetSecretRequest\u003e`, `IDeepCloneable\u003cGetSecretRequest\u003e`, and `IBufferMessage`."],["The `GetSecretRequest` class has a `Name` property which is a required resource name string representing the Secret, and a read only `SecretName` property that is a typed view of the `Name` resource."]]],[]]