public sealed class GetSecretRequest : IMessage<GetSecretRequest>, IEquatable<GetSecretRequest>, IDeepCloneable<GetSecretRequest>, IBufferMessage, IMessage
Request message for [SecretManagerService.GetSecret][google.cloud.secrets.v1beta1.SecretManagerService.GetSecret].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eGetSecretRequest\u003c/code\u003e class, which is a request message for retrieving a secret within the Google Cloud Secret Manager service, specifically for version \u003ccode\u003eV1Beta1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetSecretRequest\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling features such as deep cloning and message handling.\u003c/p\u003e\n"],["\u003cp\u003eIt is a part of the \u003ccode\u003eGoogle.Cloud.SecretManager.V1Beta1\u003c/code\u003e namespace, and it's included within the \u003ccode\u003eGoogle.Cloud.SecretManager.V1Beta1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains two constructors: a default one \u003ccode\u003eGetSecretRequest()\u003c/code\u003e, and another one allowing to construct from an existing object \u003ccode\u003eGetSecretRequest(GetSecretRequest other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt provides two properties to set and get the secret name, one is a \u003ccode\u003estring\u003c/code\u003e named \u003ccode\u003eName\u003c/code\u003e, and the other one is \u003ccode\u003eSecretName\u003c/code\u003e typed, which is a view over the string.\u003c/p\u003e\n"]]],[],null,[]]