public sealed class PurgeProductsRequest : IMessage<PurgeProductsRequest>, IEquatable<PurgeProductsRequest>, IDeepCloneable<PurgeProductsRequest>, IBufferMessage, IMessage
Request message for the PurgeProducts
method.
Implements
IMessage<PurgeProductsRequest>, IEquatable<PurgeProductsRequest>, IDeepCloneable<PurgeProductsRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Vision.V1Assembly
Google.Cloud.Vision.V1.dll
Constructors
PurgeProductsRequest()
public PurgeProductsRequest()
PurgeProductsRequest(PurgeProductsRequest)
public PurgeProductsRequest(PurgeProductsRequest other)
Parameter | |
---|---|
Name | Description |
other | PurgeProductsRequest |
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 | |
---|---|
Type | Description |
Boolean |
Force
public bool Force { get; set; }
The default value is false. Override this value to true to actually perform the purge.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }
LocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
LocationName |
ProductSetPurgeConfig
public ProductSetPurgeConfig ProductSetPurgeConfig { get; set; }
Specify which ProductSet contains the Products to be deleted.
Property Value | |
---|---|
Type | Description |
ProductSetPurgeConfig |
TargetCase
public PurgeProductsRequest.TargetOneofCase TargetCase { get; }
Property Value | |
---|---|
Type | Description |
PurgeProductsRequest.TargetOneofCase |