Required. The Engine to update. If the caller does not have permission to update the Engine, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Engine to update does not exist, a NOT_FOUND error is returned.
If the caller does not have permission to update the
Engine, regardless of whether or
not it exists, a PERMISSION_DENIED error is returned.
If the Engine to update does not
exist, a NOT_FOUND error is returned.
If the caller does not have permission to update the
Engine, regardless of whether or
not it exists, a PERMISSION_DENIED error is returned.
If the 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-09-04 UTC."],[],[],null,["# Google Cloud Discovery Engine V1 Client - Class UpdateEngineRequest (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/php/docs/reference/cloud-discoveryengine/latest/V1.UpdateEngineRequest)\n- [1.6.1](/php/docs/reference/cloud-discoveryengine/1.6.1/V1.UpdateEngineRequest)\n- [1.5.1](/php/docs/reference/cloud-discoveryengine/1.5.1/V1.UpdateEngineRequest)\n- [1.4.0](/php/docs/reference/cloud-discoveryengine/1.4.0/V1.UpdateEngineRequest)\n- [1.3.3](/php/docs/reference/cloud-discoveryengine/1.3.3/V1.UpdateEngineRequest)\n- [1.2.0](/php/docs/reference/cloud-discoveryengine/1.2.0/V1.UpdateEngineRequest)\n- [1.1.0](/php/docs/reference/cloud-discoveryengine/1.1.0/V1.UpdateEngineRequest)\n- [1.0.0](/php/docs/reference/cloud-discoveryengine/1.0.0/V1.UpdateEngineRequest)\n- [0.11.3](/php/docs/reference/cloud-discoveryengine/0.11.3/V1.UpdateEngineRequest)\n- [0.8.0](/php/docs/reference/cloud-discoveryengine/0.8.0/V1.UpdateEngineRequest)\n- [0.7.1](/php/docs/reference/cloud-discoveryengine/0.7.1/V1.UpdateEngineRequest)\n- [0.6.0](/php/docs/reference/cloud-discoveryengine/0.6.0/V1.UpdateEngineRequest)\n- [0.5.0](/php/docs/reference/cloud-discoveryengine/0.5.0/V1.UpdateEngineRequest)\n- [0.4.0](/php/docs/reference/cloud-discoveryengine/0.4.0/V1.UpdateEngineRequest)\n- [0.3.0](/php/docs/reference/cloud-discoveryengine/0.3.0/V1.UpdateEngineRequest)\n- [0.2.0](/php/docs/reference/cloud-discoveryengine/0.2.0/V1.UpdateEngineRequest)\n- [0.1.1](/php/docs/reference/cloud-discoveryengine/0.1.1/V1.UpdateEngineRequest) \nReference documentation and code samples for the Google Cloud Discovery Engine V1 Client class UpdateEngineRequest.\n\nRequest message for\n[EngineService.UpdateEngine](/php/docs/reference/cloud-discoveryengine/latest/V1.Client.EngineServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_EngineServiceClient__updateEngine__)\nmethod.\n\nGenerated from protobuf message `google.cloud.discoveryengine.v1.UpdateEngineRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DiscoveryEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getEngine\n\nRequired. The [Engine](/php/docs/reference/cloud-discoveryengine/latest/V1.Engine) to update.\n\nIf the caller does not have permission to update the\n[Engine](/php/docs/reference/cloud-discoveryengine/latest/V1.Engine), regardless of whether or\nnot it exists, a PERMISSION_DENIED error is returned.\nIf the [Engine](/php/docs/reference/cloud-discoveryengine/latest/V1.Engine) to update does not\nexist, a NOT_FOUND error is returned.\n\n### hasEngine\n\n### clearEngine\n\n### setEngine\n\nRequired. The [Engine](/php/docs/reference/cloud-discoveryengine/latest/V1.Engine) to update.\n\nIf the caller does not have permission to update the\n[Engine](/php/docs/reference/cloud-discoveryengine/latest/V1.Engine), regardless of whether or\nnot it exists, a PERMISSION_DENIED error is returned.\nIf the [Engine](/php/docs/reference/cloud-discoveryengine/latest/V1.Engine) to update does not\nexist, a NOT_FOUND error is returned.\n\n### getUpdateMask\n\nIndicates which fields in the provided\n[Engine](/php/docs/reference/cloud-discoveryengine/latest/V1.Engine) to update.\n\nIf an unsupported or unknown field is provided, an INVALID_ARGUMENT error\nis returned.\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nIndicates which fields in the provided\n[Engine](/php/docs/reference/cloud-discoveryengine/latest/V1.Engine) to update.\n\nIf an unsupported or unknown field is provided, an INVALID_ARGUMENT error\nis returned.\n\n### static::build"]]