public final class PurgeProductsRequest
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Vision API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
PurgeProductsRequest() |
Modifier and Type | Method and Description |
---|---|
PurgeProductsRequest |
clone() |
java.lang.Boolean |
getDeleteOrphanProducts()
If delete_orphan_products is true, all Products that are not in any ProductSet will be deleted.
|
java.lang.Boolean |
getForce()
The default value is false.
|
ProductSetPurgeConfig |
getProductSetPurgeConfig()
Specify which ProductSet contains the Products to be deleted.
|
PurgeProductsRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
PurgeProductsRequest |
setDeleteOrphanProducts(java.lang.Boolean deleteOrphanProducts)
If delete_orphan_products is true, all Products that are not in any ProductSet will be deleted.
|
PurgeProductsRequest |
setForce(java.lang.Boolean force)
The default value is false.
|
PurgeProductsRequest |
setProductSetPurgeConfig(ProductSetPurgeConfig productSetPurgeConfig)
Specify which ProductSet contains the Products to be deleted.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getDeleteOrphanProducts()
null
for nonepublic PurgeProductsRequest setDeleteOrphanProducts(java.lang.Boolean deleteOrphanProducts)
deleteOrphanProducts
- deleteOrphanProducts or null
for nonepublic java.lang.Boolean getForce()
null
for nonepublic PurgeProductsRequest setForce(java.lang.Boolean force)
force
- force or null
for nonepublic ProductSetPurgeConfig getProductSetPurgeConfig()
null
for nonepublic PurgeProductsRequest setProductSetPurgeConfig(ProductSetPurgeConfig productSetPurgeConfig)
productSetPurgeConfig
- productSetPurgeConfig or null
for nonepublic PurgeProductsRequest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public PurgeProductsRequest clone()
clone
in class com.google.api.client.json.GenericJson