Reference documentation and code samples for the Cloud Vision V1 Client class UpdateProductRequest.
Request message for the UpdateProduct
method.
Generated from protobuf message google.cloud.vision.v1.UpdateProductRequest
Namespace
Google \ Cloud \ Vision \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ product
Product
Required. The Product resource which replaces the one on the server. product.name is immutable.
↳ update_mask
Google\Protobuf\FieldMask
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.
product.name is immutable.
hasProduct
clearProduct
setProduct
Required. The Product resource which replaces the one on the server.
product.name is immutable.
$this
getUpdateMask
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
.
hasUpdateMask
clearUpdateMask
setUpdateMask
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
.
$this
static::build
product
Product
Required. The Product resource which replaces the one on the server. product.name is immutable.
updateMask
Google\Protobuf\FieldMask
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
.

