public sealed class GetSecretVersionRequest : IMessage<GetSecretVersionRequest>, IEquatable<GetSecretVersionRequest>, IDeepCloneable<GetSecretVersionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1beta2 API class GetSecretVersionRequest.
Request message for
[SecretManagerService.GetSecretVersion][google.cloud.secretmanager.v1beta2.SecretManagerService.GetSecretVersion].
Required. The resource name of the
[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] in the
format projects/*/secrets/*/versions/* or
projects/*/locations/*/secrets/*/versions/*.
projects/*/secrets/*/versions/latest or
projects/*/locations/*/secrets/*/versions/latest is an alias to the most
recently created
[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].
[[["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\u003eGetSecretVersionRequest\u003c/code\u003e class within the Secret Manager v1beta2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetSecretVersionRequest\u003c/code\u003e class is a request message used to retrieve a specific secret version via \u003ccode\u003eSecretManagerService.GetSecretVersion\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor and one that accepts another \u003ccode\u003eGetSecretVersionRequest\u003c/code\u003e as a parameter for cloning.\u003c/p\u003e\n"],["\u003cp\u003eIt contains two properties, \u003ccode\u003eName\u003c/code\u003e (a string) and \u003ccode\u003eSecretVersionName\u003c/code\u003e (of type \u003ccode\u003eSecretVersionName\u003c/code\u003e), representing the resource name of the requested secret version.\u003c/p\u003e\n"]]],[],null,[]]