Required. TheCompletionConfigto update. If the caller does not have permission to update theCompletionConfig, then a PERMISSION_DENIED error is returned. If theCompletionConfigto update does not exist, a NOT_FOUND error is returned.
If the caller does not have permission to update theCompletionConfig, then a
PERMISSION_DENIED error is returned.
If theCompletionConfigto
update does not exist, a NOT_FOUND error is returned.
If the caller does not have permission to update theCompletionConfig, then a
PERMISSION_DENIED error is returned.
If theCompletionConfigto
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 Retail V2 Client - Class UpdateCompletionConfigRequest (2.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.1 (latest)](/php/docs/reference/cloud-retail/latest/V2.UpdateCompletionConfigRequest)\n- [2.3.0](/php/docs/reference/cloud-retail/2.3.0/V2.UpdateCompletionConfigRequest)\n- [2.2.1](/php/docs/reference/cloud-retail/2.2.1/V2.UpdateCompletionConfigRequest)\n- [2.1.3](/php/docs/reference/cloud-retail/2.1.3/V2.UpdateCompletionConfigRequest)\n- [2.0.0](/php/docs/reference/cloud-retail/2.0.0/V2.UpdateCompletionConfigRequest)\n- [1.7.0](/php/docs/reference/cloud-retail/1.7.0/V2.UpdateCompletionConfigRequest)\n- [1.6.4](/php/docs/reference/cloud-retail/1.6.4/V2.UpdateCompletionConfigRequest)\n- [1.5.0](/php/docs/reference/cloud-retail/1.5.0/V2.UpdateCompletionConfigRequest)\n- [1.4.2](/php/docs/reference/cloud-retail/1.4.2/V2.UpdateCompletionConfigRequest)\n- [1.3.1](/php/docs/reference/cloud-retail/1.3.1/V2.UpdateCompletionConfigRequest)\n- [1.2.1](/php/docs/reference/cloud-retail/1.2.1/V2.UpdateCompletionConfigRequest)\n- [1.1.1](/php/docs/reference/cloud-retail/1.1.1/V2.UpdateCompletionConfigRequest)\n- [1.0.1](/php/docs/reference/cloud-retail/1.0.1/V2.UpdateCompletionConfigRequest) \nReference documentation and code samples for the Google Cloud Retail V2 Client class UpdateCompletionConfigRequest.\n\nRequest for\n[CatalogService.UpdateCompletionConfig](/php/docs/reference/cloud-retail/latest/V2.Client.CatalogServiceClient#_Google_Cloud_Retail_V2_Client_CatalogServiceClient__updateCompletionConfig__)\nmethod.\n\nGenerated from protobuf message `google.cloud.retail.v2.UpdateCompletionConfigRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Retail \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getCompletionConfig\n\nRequired. The [CompletionConfig](/php/docs/reference/cloud-retail/latest/V2.CompletionConfig)\nto update.\n\nIf the caller does not have permission to update the\n[CompletionConfig](/php/docs/reference/cloud-retail/latest/V2.CompletionConfig), then a\nPERMISSION_DENIED error is returned.\nIf the [CompletionConfig](/php/docs/reference/cloud-retail/latest/V2.CompletionConfig) to\nupdate does not exist, a NOT_FOUND error is returned.\n\n### hasCompletionConfig\n\n### clearCompletionConfig\n\n### setCompletionConfig\n\nRequired. The [CompletionConfig](/php/docs/reference/cloud-retail/latest/V2.CompletionConfig)\nto update.\n\nIf the caller does not have permission to update the\n[CompletionConfig](/php/docs/reference/cloud-retail/latest/V2.CompletionConfig), then a\nPERMISSION_DENIED error is returned.\nIf the [CompletionConfig](/php/docs/reference/cloud-retail/latest/V2.CompletionConfig) to\nupdate does not exist, a NOT_FOUND error is returned.\n\n### getUpdateMask\n\nIndicates which fields in the provided\n[CompletionConfig](/php/docs/reference/cloud-retail/latest/V2.CompletionConfig) to update. The\nfollowing are the only supported fields:\n\n- [CompletionConfig.matching_order](/php/docs/reference/cloud-retail/latest/V2.CompletionConfig#_Google_Cloud_Retail_V2_CompletionConfig__getMatchingOrder__)\n- [CompletionConfig.max_suggestions](/php/docs/reference/cloud-retail/latest/V2.CompletionConfig#_Google_Cloud_Retail_V2_CompletionConfig__getMaxSuggestions__)\n- [CompletionConfig.min_prefix_length](/php/docs/reference/cloud-retail/latest/V2.CompletionConfig#_Google_Cloud_Retail_V2_CompletionConfig__getMinPrefixLength__)\n- [CompletionConfig.auto_learning](/php/docs/reference/cloud-retail/latest/V2.CompletionConfig#_Google_Cloud_Retail_V2_CompletionConfig__getAutoLearning__) If not set, all supported fields are updated.\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nIndicates which fields in the provided\n[CompletionConfig](/php/docs/reference/cloud-retail/latest/V2.CompletionConfig) to update. The\nfollowing are the only supported fields:\n\n- [CompletionConfig.matching_order](/php/docs/reference/cloud-retail/latest/V2.CompletionConfig#_Google_Cloud_Retail_V2_CompletionConfig__getMatchingOrder__)\n- [CompletionConfig.max_suggestions](/php/docs/reference/cloud-retail/latest/V2.CompletionConfig#_Google_Cloud_Retail_V2_CompletionConfig__getMaxSuggestions__)\n- [CompletionConfig.min_prefix_length](/php/docs/reference/cloud-retail/latest/V2.CompletionConfig#_Google_Cloud_Retail_V2_CompletionConfig__getMinPrefixLength__)\n- [CompletionConfig.auto_learning](/php/docs/reference/cloud-retail/latest/V2.CompletionConfig#_Google_Cloud_Retail_V2_CompletionConfig__getAutoLearning__) If not set, all supported fields are updated.\n\n### static::build"]]