public sealed class GetEndpointPolicyRequest : IMessage<GetEndpointPolicyRequest>, IEquatable<GetEndpointPolicyRequest>, IDeepCloneable<GetEndpointPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class GetEndpointPolicyRequest.
[[["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\u003eGetEndpointPolicyRequest\u003c/code\u003e class within the Network Services v1 API, version 1.0.0 (latest).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetEndpointPolicyRequest\u003c/code\u003e class is used as a request object for the \u003ccode\u003eGetEndpointPolicy\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eIt 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\u003eThe class includes constructors for creating instances, either default or by copying another \u003ccode\u003eGetEndpointPolicyRequest\u003c/code\u003e object, and has two properties: \u003ccode\u003eEndpointPolicyName\u003c/code\u003e and \u003ccode\u003eName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property is required and specifies the name of the EndpointPolicy to retrieve, using the format \u003ccode\u003eprojects/*/locations/global/endpointPolicies/*\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Network Services v1 API - Class GetEndpointPolicyRequest (1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.GetEndpointPolicyRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.2.0/Google.Cloud.NetworkServices.V1.GetEndpointPolicyRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.1.0/Google.Cloud.NetworkServices.V1.GetEndpointPolicyRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.0.0/Google.Cloud.NetworkServices.V1.GetEndpointPolicyRequest) \n\n public sealed class GetEndpointPolicyRequest : IMessage\u003cGetEndpointPolicyRequest\u003e, IEquatable\u003cGetEndpointPolicyRequest\u003e, IDeepCloneable\u003cGetEndpointPolicyRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Services v1 API class GetEndpointPolicyRequest.\n\nRequest used with the GetEndpointPolicy method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetEndpointPolicyRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetEndpointPolicyRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.GetEndpointPolicyRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetEndpointPolicyRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.GetEndpointPolicyRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetEndpointPolicyRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.GetEndpointPolicyRequest), [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.NetworkServices.V1](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.NetworkServices.V1.dll\n\nConstructors\n------------\n\n### GetEndpointPolicyRequest()\n\n public GetEndpointPolicyRequest()\n\n### GetEndpointPolicyRequest(GetEndpointPolicyRequest)\n\n public GetEndpointPolicyRequest(GetEndpointPolicyRequest other)\n\nProperties\n----------\n\n### EndpointPolicyName\n\n public EndpointPolicyName EndpointPolicyName { get; set; }\n\n[EndpointPolicyName](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.EndpointPolicyName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.GetEndpointPolicyRequest#Google_Cloud_NetworkServices_V1_GetEndpointPolicyRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. A name of the EndpointPolicy to get. Must be in the format\n`projects/*/locations/global/endpointPolicies/*`."]]