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."],[[["The `GetSecretRequest` class is part of the Secret Manager v1beta2 API, specifically used to request a secret via `SecretManagerService.GetSecret`."],["This class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities such as deep cloning and equality comparison."],["The `GetSecretRequest` class has two constructors: a default constructor and one that accepts another `GetSecretRequest` object for initialization."],["It contains properties such as `Name`, which is a required string representing the resource name of the secret, and `SecretName`, which provides a typed view over the `Name` property."],["The `GetSecretRequest` class inherits from `object` and includes methods like `GetHashCode`, `GetType`, and `ToString`, and its namespace is `Google.Cloud.SecretManager.V1Beta2`."]]],[]]