public sealed class DeleteProductRequest : IMessage<DeleteProductRequest>, IEquatable<DeleteProductRequest>, IDeepCloneable<DeleteProductRequest>, IBufferMessage, IMessage
Required. Full resource name of [Product][google.cloud.retail.v2.Product],
such as
projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id.
If the caller does not have permission to delete the
[Product][google.cloud.retail.v2.Product], regardless of whether or not it
exists, a PERMISSION_DENIED error is returned.
If the [Product][google.cloud.retail.v2.Product] to delete 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-03-21 UTC."],[[["This webpage details the `DeleteProductRequest` class, which is used to request the deletion of a product within the Google Cloud Retail V2 service."],["The class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the `Object` class, providing a range of functionalities."],["The `DeleteProductRequest` class has two constructors, one default and one that copies another instance of the `DeleteProductRequest`."],["The class contains two properties: `Name` (a string representing the full resource name of the product to delete) and `ProductName` (a typed view over the `Name`)."],["There is a historical record of versioning for the `DeleteProductRequest` object, with the latest being version 2.12.0 and going down to 1.0.0."]]],[]]