Retail v2 API - Class PurgeProductsResponse (2.11.0)

public sealed class PurgeProductsResponse : IMessage<PurgeProductsResponse>, IEquatable<PurgeProductsResponse>, IDeepCloneable<PurgeProductsResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Retail v2 API class PurgeProductsResponse.

Response of the PurgeProductsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.

Inheritance

object > PurgeProductsResponse

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

PurgeProductsResponse()

public PurgeProductsResponse()

PurgeProductsResponse(PurgeProductsResponse)

public PurgeProductsResponse(PurgeProductsResponse other)
Parameter
Name Description
other PurgeProductsResponse

Properties

PurgeCount

public long PurgeCount { get; set; }

The total count of products purged as a result of the operation.

Property Value
Type Description
long

PurgeSample

public RepeatedField<string> PurgeSample { get; }

A sample of the product names that will be deleted. Only populated if force is set to false. A max of 100 names will be returned and the names are chosen at random.

Property Value
Type Description
RepeatedFieldstring

PurgeSampleAsProductNames

public ResourceNameList<ProductName> PurgeSampleAsProductNames { get; }

ProductName-typed view over the PurgeSample resource name property.

Property Value
Type Description
ResourceNameListProductName