public sealed class GetGatewayRequest : IMessage<GetGatewayRequest>, IEquatable<GetGatewayRequest>, IDeepCloneable<GetGatewayRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class GetGatewayRequest.
[[["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\u003eThe \u003ccode\u003eGetGatewayRequest\u003c/code\u003e class is used to make requests to the \u003ccode\u003eGetGateway\u003c/code\u003e method within the Network Services v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetGatewayRequest\u003c/code\u003e class contains two properties, \u003ccode\u003eGatewayName\u003c/code\u003e and \u003ccode\u003eName\u003c/code\u003e, where \u003ccode\u003eName\u003c/code\u003e is a required field representing the name of the Gateway resource in the format \u003ccode\u003eprojects/*/locations/*/gateways/*\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors: a default constructor and a constructor that takes another \u003ccode\u003eGetGatewayRequest\u003c/code\u003e object as a parameter for copying.\u003c/p\u003e\n"]]],[],null,["# Network Services v1 API - Class GetGatewayRequest (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.GetGatewayRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.2.0/Google.Cloud.NetworkServices.V1.GetGatewayRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.1.0/Google.Cloud.NetworkServices.V1.GetGatewayRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.0.0/Google.Cloud.NetworkServices.V1.GetGatewayRequest) \n\n public sealed class GetGatewayRequest : IMessage\u003cGetGatewayRequest\u003e, IEquatable\u003cGetGatewayRequest\u003e, IDeepCloneable\u003cGetGatewayRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Services v1 API class GetGatewayRequest.\n\nRequest used by the GetGateway method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetGatewayRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetGatewayRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.GetGatewayRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetGatewayRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.GetGatewayRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetGatewayRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.GetGatewayRequest), [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### GetGatewayRequest()\n\n public GetGatewayRequest()\n\n### GetGatewayRequest(GetGatewayRequest)\n\n public GetGatewayRequest(GetGatewayRequest other)\n\nProperties\n----------\n\n### GatewayName\n\n public GatewayName GatewayName { get; set; }\n\n[GatewayName](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.GatewayName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.GetGatewayRequest#Google_Cloud_NetworkServices_V1_GetGatewayRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. A name of the Gateway to get. Must be in the format\n`projects/*/locations/*/gateways/*`."]]