public sealed class GetSecretVersionRequest : IMessage<GetSecretVersionRequest>, IEquatable<GetSecretVersionRequest>, IDeepCloneable<GetSecretVersionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1beta1 API class GetSecretVersionRequest.
Request message for
[SecretManagerService.GetSecretVersion][google.cloud.secrets.v1beta1.SecretManagerService.GetSecretVersion].
Required. The resource name of the
[SecretVersion][google.cloud.secrets.v1beta1.SecretVersion] in the format
projects/*/secrets/*/versions/*.
projects/*/secrets/*/versions/latest is an alias to the latest
[SecretVersion][google.cloud.secrets.v1beta1.SecretVersion].
[[["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-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eGetSecretVersionRequest\u003c/code\u003e class is 3.0.0-beta05, as part of the Secret Manager v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetSecretVersionRequest\u003c/code\u003e is a request message used for retrieving a specific version of a secret via the \u003ccode\u003eSecretManagerService.GetSecretVersion\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and implements interfaces such as \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\u003eIt includes two constructors, a parameterless one and one that accepts another \u003ccode\u003eGetSecretVersionRequest\u003c/code\u003e object as a parameter for cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains two primary properties, \u003ccode\u003eName\u003c/code\u003e (a string) and \u003ccode\u003eSecretVersionName\u003c/code\u003e (of type \u003ccode\u003eSecretVersionName\u003c/code\u003e), which are used to specify the target secret version by its resource name.\u003c/p\u003e\n"]]],[],null,[]]