product property

Product? product
getter/setter pair

The product to insert or update.

Only required if the method is insert or update. If the update method is used with updateMask only to delete a field, then this isn't required. For example, setting salePrice on the updateMask and not providing a product will result in an existing sale price on the product specified by productId being deleted.

Implementation

Product? product;