public sealed class AccessSecretVersionRequest : IMessage<AccessSecretVersionRequest>, IEquatable<AccessSecretVersionRequest>, IDeepCloneable<AccessSecretVersionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1beta2 API class AccessSecretVersionRequest.
Request message for
[SecretManagerService.AccessSecretVersion][google.cloud.secretmanager.v1beta2.SecretManagerService.AccessSecretVersion].
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 documentation is for the \u003ccode\u003eAccessSecretVersionRequest\u003c/code\u003e class within the Google Cloud Secret Manager v1beta2 API, specifically version 1.0.0-beta02.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAccessSecretVersionRequest\u003c/code\u003e class is a request message used to access a specific secret version within the Secret Manager service, inheriting from the \u003ccode\u003eobject\u003c/code\u003e class and implementing several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e and \u003ccode\u003eIEquatable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class contains two constructors: one default constructor \u003ccode\u003eAccessSecretVersionRequest()\u003c/code\u003e and one that takes an \u003ccode\u003eAccessSecretVersionRequest\u003c/code\u003e object as an argument: \u003ccode\u003eAccessSecretVersionRequest(AccessSecretVersionRequest other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eName\u003c/code\u003e, a string representing the resource name of the secret version, and \u003ccode\u003eSecretVersionName\u003c/code\u003e, providing a typed view of the resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property is required and takes a resource name in the format of \u003ccode\u003eprojects/*/secrets/*/versions/*\u003c/code\u003e or \u003ccode\u003eprojects/*/locations/*/secrets/*/versions/*\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]