public sealed class UpdateGatewayRequest : IMessage<UpdateGatewayRequest>, IEquatable<UpdateGatewayRequest>, IDeepCloneable<UpdateGatewayRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class UpdateGatewayRequest.
Optional. Field mask is used to specify the fields to be overwritten in the
Gateway resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
[[["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 page details the \u003ccode\u003eUpdateGatewayRequest\u003c/code\u003e class within the Google Cloud Network Services v1 API, with version 1.0.0 being the latest release.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateGatewayRequest\u003c/code\u003e class is used when calling the \u003ccode\u003eUpdateGateway\u003c/code\u003e method and inherits from \u003ccode\u003eobject\u003c/code\u003e, implementing multiple 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 properties \u003ccode\u003eGateway\u003c/code\u003e, which represents the updated Gateway resource, and \u003ccode\u003eUpdateMask\u003c/code\u003e, which allows for specifying which fields of the Gateway to overwrite during the update.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available: a parameterless constructor and one that takes another \u003ccode\u003eUpdateGatewayRequest\u003c/code\u003e object as a parameter for creating a copy.\u003c/p\u003e\n"],["\u003cp\u003eThe current namespace for the class is Google.Cloud.NetworkServices.V1, and it is contained within the Google.Cloud.NetworkServices.V1.dll assembly.\u003c/p\u003e\n"]]],[],null,["# Network Services v1 API - Class UpdateGatewayRequest (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.UpdateGatewayRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.2.0/Google.Cloud.NetworkServices.V1.UpdateGatewayRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.1.0/Google.Cloud.NetworkServices.V1.UpdateGatewayRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.0.0/Google.Cloud.NetworkServices.V1.UpdateGatewayRequest) \n\n public sealed class UpdateGatewayRequest : IMessage\u003cUpdateGatewayRequest\u003e, IEquatable\u003cUpdateGatewayRequest\u003e, IDeepCloneable\u003cUpdateGatewayRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Services v1 API class UpdateGatewayRequest.\n\nRequest used by the UpdateGateway method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateGatewayRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateGatewayRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.UpdateGatewayRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateGatewayRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.UpdateGatewayRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateGatewayRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.UpdateGatewayRequest), [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### UpdateGatewayRequest()\n\n public UpdateGatewayRequest()\n\n### UpdateGatewayRequest(UpdateGatewayRequest)\n\n public UpdateGatewayRequest(UpdateGatewayRequest other)\n\nProperties\n----------\n\n### Gateway\n\n public Gateway Gateway { get; set; }\n\nRequired. Updated Gateway resource.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nOptional. Field mask is used to specify the fields to be overwritten in the\nGateway resource by the update.\nThe fields specified in the update_mask are relative to the resource, not\nthe full request. A field will be overwritten if it is in the mask. If the\nuser does not provide a mask then all fields will be overwritten."]]