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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PurgeProductsRequest() |
| Modifier and Type | Method and Description |
|---|---|
PurgeProductsRequest |
clone() |
Boolean |
getDeleteOrphanProducts()
If delete_orphan_products is true, all Products that are not in any ProductSet will be deleted.
|
Boolean |
getForce()
The default value is false.
|
ProductSetPurgeConfig |
getProductSetPurgeConfig()
Specify which ProductSet contains the Products to be deleted.
|
PurgeProductsRequest |
set(String fieldName,
Object value) |
PurgeProductsRequest |
setDeleteOrphanProducts(Boolean deleteOrphanProducts)
If delete_orphan_products is true, all Products that are not in any ProductSet will be deleted.
|
PurgeProductsRequest |
setForce(Boolean force)
The default value is false.
|
PurgeProductsRequest |
setProductSetPurgeConfig(ProductSetPurgeConfig productSetPurgeConfig)
Specify which ProductSet contains the Products to be deleted.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getDeleteOrphanProducts()
null for nonepublic PurgeProductsRequest setDeleteOrphanProducts(Boolean deleteOrphanProducts)
deleteOrphanProducts - deleteOrphanProducts or null for nonepublic Boolean getForce()
null for nonepublic PurgeProductsRequest setForce(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(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic PurgeProductsRequest clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.