public sealed class UpdateEngineRequest : IMessage<UpdateEngineRequest>, IEquatable<UpdateEngineRequest>, IDeepCloneable<UpdateEngineRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class UpdateEngineRequest.
Request message for
[EngineService.UpdateEngine][google.cloud.discoveryengine.v1.EngineService.UpdateEngine]
method.
Required. The [Engine][google.cloud.discoveryengine.v1.Engine] to update.
If the caller does not have permission to update the
[Engine][google.cloud.discoveryengine.v1.Engine], regardless of whether or
not it exists, a PERMISSION_DENIED error is returned.
If the [Engine][google.cloud.discoveryengine.v1.Engine] to update does not
exist, a NOT_FOUND error is returned.
[[["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-28 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eUpdateEngineRequest\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eUpdateEngineRequest\u003c/code\u003e is 1.6.0, and it also includes documentation for previous versions, ranging from 1.5.0 down to 1.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateEngineRequest\u003c/code\u003e is used as a request message for the \u003ccode\u003eEngineService.UpdateEngine\u003c/code\u003e method, allowing users to update an engine.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateEngineRequest\u003c/code\u003e 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\u003eThe UpdateEngineRequest class has two main properties: \u003ccode\u003eEngine\u003c/code\u003e, the engine that is to be updated, and \u003ccode\u003eUpdateMask\u003c/code\u003e, which indicates the fields to update.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class UpdateEngineRequest (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.UpdateEngineRequest)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.UpdateEngineRequest)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.UpdateEngineRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.UpdateEngineRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.UpdateEngineRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.UpdateEngineRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.UpdateEngineRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.UpdateEngineRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.UpdateEngineRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.UpdateEngineRequest) \n\n public sealed class UpdateEngineRequest : IMessage\u003cUpdateEngineRequest\u003e, IEquatable\u003cUpdateEngineRequest\u003e, IDeepCloneable\u003cUpdateEngineRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class UpdateEngineRequest.\n\nRequest message for\n\\[EngineService.UpdateEngine\\]\\[google.cloud.discoveryengine.v1.EngineService.UpdateEngine\\]\nmethod. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateEngineRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateEngineRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.UpdateEngineRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateEngineRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.UpdateEngineRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateEngineRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.UpdateEngineRequest), [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.DiscoveryEngine.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### UpdateEngineRequest()\n\n public UpdateEngineRequest()\n\n### UpdateEngineRequest(UpdateEngineRequest)\n\n public UpdateEngineRequest(UpdateEngineRequest other)\n\nProperties\n----------\n\n### Engine\n\n public Engine Engine { get; set; }\n\nRequired. The \\[Engine\\]\\[google.cloud.discoveryengine.v1.Engine\\] to update.\n\nIf the caller does not have permission to update the\n\\[Engine\\]\\[google.cloud.discoveryengine.v1.Engine\\], regardless of whether or\nnot it exists, a PERMISSION_DENIED error is returned.\n\nIf the \\[Engine\\]\\[google.cloud.discoveryengine.v1.Engine\\] to update does not\nexist, a NOT_FOUND error is returned.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nIndicates which fields in the provided\n\\[Engine\\]\\[google.cloud.discoveryengine.v1.Engine\\] to update.\n\nIf an unsupported or unknown field is provided, an INVALID_ARGUMENT error\nis returned."]]