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].
[[["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 provides reference documentation for the \u003ccode\u003eGetSecretRequest\u003c/code\u003e class within the Google Cloud Secret Manager v1 API, specifically for version 2.1.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetSecretRequest\u003c/code\u003e is a message class used to request a secret from the Secret Manager Service, and it implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from the \u003ccode\u003eObject\u003c/code\u003e class and has properties such as \u003ccode\u003eName\u003c/code\u003e (a string representing the resource name) and \u003ccode\u003eSecretName\u003c/code\u003e (a typed view of the resource name).\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.5.0, with the documentation providing links to previous versions, including from version 1.3.0 and onwards.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for creating a \u003ccode\u003eGetSecretRequest\u003c/code\u003e instance: a default constructor and a constructor that takes another \u003ccode\u003eGetSecretRequest\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"]]],[],null,[]]