public sealed class GetSecretRequest : IMessage<GetSecretRequest>, IEquatable<GetSecretRequest>, IDeepCloneable<GetSecretRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1beta1 API class GetSecretRequest.
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\u003eThe \u003ccode\u003eGetSecretRequest\u003c/code\u003e class is used to request a specific secret from the Secret Manager v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003eIt implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality checks, deep cloning, and buffer message support.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, a default constructor and one that takes another \u003ccode\u003eGetSecretRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property, which is a required field, specifies the resource name of the secret being requested, and it can be accessed through the string property or the \u003ccode\u003eSecretName\u003c/code\u003e type property.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetSecretRequest\u003c/code\u003e class is found within the \u003ccode\u003eGoogle.Cloud.SecretManager.V1Beta1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.SecretManager.V1Beta1.dll\u003c/code\u003e assembly, which has the newest version being 3.0.0-beta05.\u003c/p\u003e\n"]]],[],null,[]]