public sealed class GetSecretRequest : IMessage<GetSecretRequest>, IEquatable<GetSecretRequest>, IDeepCloneable<GetSecretRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1beta2 API class GetSecretRequest.
Request message for
[SecretManagerService.GetSecret][google.cloud.secretmanager.v1beta2.SecretManagerService.GetSecret].
Required. The resource name of the
[Secret][google.cloud.secretmanager.v1beta2.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."],[[["This documentation is for the `GetSecretRequest` class within the Secret Manager v1beta2 API, specifically version 1.0.0-beta02."],["The `GetSecretRequest` class is a request message used to retrieve a secret via `SecretManagerService.GetSecret`."],["The `GetSecretRequest` class inherits from `object` and implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["Key properties of `GetSecretRequest` include `Name` (a string representing the secret's resource name) and `SecretName` (a typed view over the `Name` property)."],["The GetSecretRequest class can be constructed with no arguments, or by passing another `GetSecretRequest` as an argument."]]],[]]