Google Cloud Vision v1 API - Class PurgeProductsRequest (3.3.0)

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

Reference documentation and code samples for the Google Cloud Vision v1 API class PurgeProductsRequest.

Request message for the PurgeProducts method.

Inheritance

Object > PurgeProductsRequest

Namespace

Google.Cloud.Vision.V1

Assembly

Google.Cloud.Vision.V1.dll

Constructors

PurgeProductsRequest()

public PurgeProductsRequest()

PurgeProductsRequest(PurgeProductsRequest)

public PurgeProductsRequest(PurgeProductsRequest other)
Parameter
NameDescription
otherPurgeProductsRequest

Properties

DeleteOrphanProducts

public bool DeleteOrphanProducts { get; set; }

If delete_orphan_products is true, all Products that are not in any ProductSet will be deleted.

Property Value
TypeDescription
Boolean

Force

public bool Force { get; set; }

The default value is false. Override this value to true to actually perform the purge.

Property Value
TypeDescription
Boolean

Parent

public string Parent { get; set; }

Required. The project and location in which the Products should be deleted.

Format is projects/PROJECT_ID/locations/LOC_ID.

Property Value
TypeDescription
String

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

ProductSetPurgeConfig

public ProductSetPurgeConfig ProductSetPurgeConfig { get; set; }

Specify which ProductSet contains the Products to be deleted.

Property Value
TypeDescription
ProductSetPurgeConfig

TargetCase

public PurgeProductsRequest.TargetOneofCase TargetCase { get; }
Property Value
TypeDescription
PurgeProductsRequest.TargetOneofCase