public sealed class AccessSecretVersionRequest : IMessage<AccessSecretVersionRequest>, IEquatable<AccessSecretVersionRequest>, IDeepCloneable<AccessSecretVersionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1 API class AccessSecretVersionRequest.
Request message for
[SecretManagerService.AccessSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AccessSecretVersion].
Required. The resource name of the
[SecretVersion][google.cloud.secretmanager.v1.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.v1.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\u003eAccessSecretVersionRequest\u003c/code\u003e class within the Google Cloud Secret Manager v1 API, specifically for version 2.4.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAccessSecretVersionRequest\u003c/code\u003e is a message class used to request access to a specific secret version, and it 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and includes properties like \u003ccode\u003eName\u003c/code\u003e (a string representing the resource name) and \u003ccode\u003eSecretVersionName\u003c/code\u003e (a typed view of the resource name).\u003c/p\u003e\n"],["\u003cp\u003eThe document also includes a comprehensive list of previous versions of this request, from 1.3.0 all the way to the latest 2.5.0, as well as the namespace and assembly to which it belongs.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for creating instances of \u003ccode\u003eAccessSecretVersionRequest\u003c/code\u003e, one empty and another accepting another \u003ccode\u003eAccessSecretVersionRequest\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]