public sealed class AccessSecretVersionResponse : IMessage<AccessSecretVersionResponse>, IEquatable<AccessSecretVersionResponse>, IDeepCloneable<AccessSecretVersionResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Secret Manager v1beta2 API class AccessSecretVersionResponse.
Response message for
[SecretManagerService.AccessSecretVersion][google.cloud.secretmanager.v1beta2.SecretManagerService.AccessSecretVersion].
The resource name of the
[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] in the
format projects/*/secrets/*/versions/* or
projects/*/locations/*/secrets/*/versions/*.
[[["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\u003eThis documentation is for the \u003ccode\u003eAccessSecretVersionResponse\u003c/code\u003e class within the Secret Manager v1beta2 API, specifically for the .NET library.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAccessSecretVersionResponse\u003c/code\u003e is a response message used in the \u003ccode\u003eSecretManagerService.AccessSecretVersion\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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\u003eIt has properties such as \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003ePayload\u003c/code\u003e, and \u003ccode\u003eSecretVersionName\u003c/code\u003e, which provide access to the resource name, secret payload, and a typed view of the resource name, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is \u003ccode\u003e1.0.0-beta03\u003c/code\u003e, and there is a previous version, \u003ccode\u003e1.0.0-beta02\u003c/code\u003e, available.\u003c/p\u003e\n"]]],[],null,["# Secret Manager v1beta2 API - Class AccessSecretVersionResponse (1.0.0-beta03)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta03 (latest)](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.AccessSecretVersionResponse)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/1.0.0-beta02/Google.Cloud.SecretManager.V1Beta2.AccessSecretVersionResponse) \n\n public sealed class AccessSecretVersionResponse : IMessage\u003cAccessSecretVersionResponse\u003e, IEquatable\u003cAccessSecretVersionResponse\u003e, IDeepCloneable\u003cAccessSecretVersionResponse\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Secret Manager v1beta2 API class AccessSecretVersionResponse.\n\nResponse message for\n\\[SecretManagerService.AccessSecretVersion\\]\\[google.cloud.secretmanager.v1beta2.SecretManagerService.AccessSecretVersion\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AccessSecretVersionResponse \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AccessSecretVersionResponse](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.AccessSecretVersionResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AccessSecretVersionResponse](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.AccessSecretVersionResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AccessSecretVersionResponse](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.AccessSecretVersionResponse), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.SecretManager.V1Beta2](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecretManager.V1Beta2.dll\n\nConstructors\n------------\n\n### AccessSecretVersionResponse()\n\n public AccessSecretVersionResponse()\n\n### AccessSecretVersionResponse(AccessSecretVersionResponse)\n\n public AccessSecretVersionResponse(AccessSecretVersionResponse other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\n\nThe resource name of the\n\\[SecretVersion\\]\\[google.cloud.secretmanager.v1beta2.SecretVersion\\] in the\nformat `projects/*/secrets/*/versions/*` or\n`projects/*/locations/*/secrets/*/versions/*`.\n\n### Payload\n\n public SecretPayload Payload { get; set; }\n\nSecret payload\n\n### SecretVersionName\n\n public SecretVersionName SecretVersionName { get; set; }\n\n[SecretVersionName](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.SecretVersionName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.AccessSecretVersionResponse#Google_Cloud_SecretManager_V1Beta2_AccessSecretVersionResponse_Name) resource name property."]]