target.apidocs.com.google.api.services.content.model.AccountItemUpdatesSettings.html Maven / Gradle / Ivy
AccountItemUpdatesSettings (Content API for Shopping v2.1-rev20220413-1.32.1)
com.google.api.services.content.model
Class AccountItemUpdatesSettings
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.content.model.AccountItemUpdatesSettings
-
public final class AccountItemUpdatesSettings
extends GenericJson
Settings for the Automatic Item Updates.
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 Content API for Shopping. For a detailed explanation
see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
AccountItemUpdatesSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AccountItemUpdatesSettings
clone()
Boolean
getAllowAvailabilityUpdates()
If availability updates are enabled, any previous availability values get overwritten if Google
finds an out-of-stock annotation on the offer's page.
Boolean
getAllowConditionUpdates()
If condition updates are enabled, Google always updates item condition with the condition
detected from the details of your product.
Boolean
getAllowPriceUpdates()
If price updates are enabled, Google always updates the active price with the crawled
information.
Boolean
getAllowStrictAvailabilityUpdates()
If allow_availability_updates is enabled, items are automatically updated in all your Shopping
target countries.
AccountItemUpdatesSettings
set(String fieldName,
Object value)
AccountItemUpdatesSettings
setAllowAvailabilityUpdates(Boolean allowAvailabilityUpdates)
If availability updates are enabled, any previous availability values get overwritten if Google
finds an out-of-stock annotation on the offer's page.
AccountItemUpdatesSettings
setAllowConditionUpdates(Boolean allowConditionUpdates)
If condition updates are enabled, Google always updates item condition with the condition
detected from the details of your product.
AccountItemUpdatesSettings
setAllowPriceUpdates(Boolean allowPriceUpdates)
If price updates are enabled, Google always updates the active price with the crawled
information.
AccountItemUpdatesSettings
setAllowStrictAvailabilityUpdates(Boolean allowStrictAvailabilityUpdates)
If allow_availability_updates is enabled, items are automatically updated in all your Shopping
target countries.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAllowAvailabilityUpdates
public Boolean getAllowAvailabilityUpdates()
If availability updates are enabled, any previous availability values get overwritten if Google
finds an out-of-stock annotation on the offer's page. If additionally
`allow_availability_updates` field is set to true, values get overwritten if Google finds an
in-stock annotation on the offer’s page.
- Returns:
- value or
null
for none
-
setAllowAvailabilityUpdates
public AccountItemUpdatesSettings setAllowAvailabilityUpdates(Boolean allowAvailabilityUpdates)
If availability updates are enabled, any previous availability values get overwritten if Google
finds an out-of-stock annotation on the offer's page. If additionally
`allow_availability_updates` field is set to true, values get overwritten if Google finds an
in-stock annotation on the offer’s page.
- Parameters:
allowAvailabilityUpdates
- allowAvailabilityUpdates or null
for none
-
getAllowConditionUpdates
public Boolean getAllowConditionUpdates()
If condition updates are enabled, Google always updates item condition with the condition
detected from the details of your product.
- Returns:
- value or
null
for none
-
setAllowConditionUpdates
public AccountItemUpdatesSettings setAllowConditionUpdates(Boolean allowConditionUpdates)
If condition updates are enabled, Google always updates item condition with the condition
detected from the details of your product.
- Parameters:
allowConditionUpdates
- allowConditionUpdates or null
for none
-
getAllowPriceUpdates
public Boolean getAllowPriceUpdates()
If price updates are enabled, Google always updates the active price with the crawled
information.
- Returns:
- value or
null
for none
-
setAllowPriceUpdates
public AccountItemUpdatesSettings setAllowPriceUpdates(Boolean allowPriceUpdates)
If price updates are enabled, Google always updates the active price with the crawled
information.
- Parameters:
allowPriceUpdates
- allowPriceUpdates or null
for none
-
getAllowStrictAvailabilityUpdates
public Boolean getAllowStrictAvailabilityUpdates()
If allow_availability_updates is enabled, items are automatically updated in all your Shopping
target countries. By default, availability updates will only be applied to items that are 'out
of stock' on your website but 'in stock' on Shopping. Set this to true to also update items
that are 'in stock' on your website, but 'out of stock' on Google Shopping. In order for this
field to have an effect, you must also allow availability updates.
- Returns:
- value or
null
for none
-
setAllowStrictAvailabilityUpdates
public AccountItemUpdatesSettings setAllowStrictAvailabilityUpdates(Boolean allowStrictAvailabilityUpdates)
If allow_availability_updates is enabled, items are automatically updated in all your Shopping
target countries. By default, availability updates will only be applied to items that are 'out
of stock' on your website but 'in stock' on Shopping. Set this to true to also update items
that are 'in stock' on your website, but 'out of stock' on Google Shopping. In order for this
field to have an effect, you must also allow availability updates.
- Parameters:
allowStrictAvailabilityUpdates
- allowStrictAvailabilityUpdates or null
for none
-
set
public AccountItemUpdatesSettings set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public AccountItemUpdatesSettings clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy