public sealed class DeleteModelRequest : IMessage<DeleteModelRequest>, IEquatable<DeleteModelRequest>, IDeepCloneable<DeleteModelRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class DeleteModelRequest.
Required. The resource name of the [Model][google.cloud.retail.v2.Model] to
delete. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version available for the \u003ccode\u003eDeleteModelRequest\u003c/code\u003e class is 2.12.0, while the current page focuses on version 2.7.0 of the Retail v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteModelRequest\u003c/code\u003e class is used to formulate a request to delete a model within the Google Cloud Retail API, as outlined in the documentation.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showcasing its comprehensive functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteModelRequest\u003c/code\u003e class has two constructors, one default and one that accepts another \u003ccode\u003eDeleteModelRequest\u003c/code\u003e object, allowing for the creation of a new instance from an existing one.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteModelRequest\u003c/code\u003e class includes a \u003ccode\u003eName\u003c/code\u003e property which is required to specify the resource name of the Model to be deleted, with the format \u003ccode\u003eprojects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]