public sealed class DeleteProductRequest : IMessage<DeleteProductRequest>, IEquatable<DeleteProductRequest>, IDeepCloneable<DeleteProductRequest>, IBufferMessage, IMessageRequest message for [DeleteProduct][] method.
Inheritance
System.Object > DeleteProductRequestImplements
Google.Protobuf.IMessage<DeleteProductRequest>, System.IEquatable<DeleteProductRequest>, Google.Protobuf.IDeepCloneable<DeleteProductRequest>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
DeleteProductRequest()
public DeleteProductRequest()DeleteProductRequest(DeleteProductRequest)
public DeleteProductRequest(DeleteProductRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteProductRequest |
Properties
Name
public string Name { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
System.String |
|
ProductName
public ProductName ProductName { get; set; }ProductName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
ProductName |
|