The FieldMask that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. Valid mask paths include product_labels, display_name, and description.
getProduct
Required. The Product resource which replaces the one on the server.
The FieldMask that specifies which fields
to update.
If update_mask isn't specified, all mutable fields are to be updated.
Valid mask paths include product_labels, display_name, and
description.
[[["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,["# Cloud Vision V1 Client - Class UpdateProductRequest (2.0.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.3 (latest)](/php/docs/reference/cloud-vision/latest/V1.UpdateProductRequest)\n- [2.0.2](/php/docs/reference/cloud-vision/2.0.2/V1.UpdateProductRequest)\n- [1.10.3](/php/docs/reference/cloud-vision/1.10.3/V1.UpdateProductRequest)\n- [1.9.4](/php/docs/reference/cloud-vision/1.9.4/V1.UpdateProductRequest)\n- [1.8.0](/php/docs/reference/cloud-vision/1.8.0/V1.UpdateProductRequest)\n- [1.7.6](/php/docs/reference/cloud-vision/1.7.6/V1.UpdateProductRequest)\n- [1.6.8](/php/docs/reference/cloud-vision/1.6.8/V1.UpdateProductRequest) \nReference documentation and code samples for the Cloud Vision V1 Client class UpdateProductRequest.\n\nRequest message for the `UpdateProduct` method.\n\nGenerated from protobuf message `google.cloud.vision.v1.UpdateProductRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Vision \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getProduct\n\nRequired. The Product resource which replaces the one on the server.\n\nproduct.name is immutable.\n\n### hasProduct\n\n### clearProduct\n\n### setProduct\n\nRequired. The Product resource which replaces the one on the server.\n\nproduct.name is immutable.\n\n### getUpdateMask\n\nThe [FieldMask](https://protobuf.dev/reference/php/api-docs/FieldMask) that specifies which fields\nto update.\n\nIf update_mask isn't specified, all mutable fields are to be updated.\nValid mask paths include `product_labels`, `display_name`, and\n`description`.\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nThe [FieldMask](https://protobuf.dev/reference/php/api-docs/FieldMask) that specifies which fields\nto update.\n\nIf update_mask isn't specified, all mutable fields are to be updated.\nValid mask paths include `product_labels`, `display_name`, and\n`description`.\n\n### static::build"]]