target.apidocs.com.google.api.services.content.model.AccountItemUpdates.html Maven / Gradle / Ivy
AccountItemUpdates (Content API for Shopping v2.1-rev20220413-1.32.1)
com.google.api.services.content.model
Class AccountItemUpdates
- 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.AccountItemUpdates
-
public final class AccountItemUpdates
extends GenericJson
Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to
automatically update items for you. When item updates are on, Google uses the structured data
markup on the website and advanced data extractors to update the price and availability of the
items. When the item updates are off, items with mismatched data aren't shown.
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
AccountItemUpdates()
-
Method Summary
-
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
-
getAccountItemUpdatesSettings
public AccountItemUpdatesSettings getAccountItemUpdatesSettings()
Determines which attributes of the items should be automatically updated. If this field is not
present, then the settings will be deleted. If there are no settings for subaccount, they are
inherited from aggregator.
- Returns:
- value or
null
for none
-
setAccountItemUpdatesSettings
public AccountItemUpdates setAccountItemUpdatesSettings(AccountItemUpdatesSettings accountItemUpdatesSettings)
Determines which attributes of the items should be automatically updated. If this field is not
present, then the settings will be deleted. If there are no settings for subaccount, they are
inherited from aggregator.
- Parameters:
accountItemUpdatesSettings
- accountItemUpdatesSettings or null
for none
-
getEffectiveAllowAvailabilityUpdates
public Boolean getEffectiveAllowAvailabilityUpdates()
Output only. The effective value of allow_availability_updates. If
account_item_updates_settings is present, then this value is the same. Otherwise, it represents
the inherited value of the parent account. Read-only.
- Returns:
- value or
null
for none
-
setEffectiveAllowAvailabilityUpdates
public AccountItemUpdates setEffectiveAllowAvailabilityUpdates(Boolean effectiveAllowAvailabilityUpdates)
Output only. The effective value of allow_availability_updates. If
account_item_updates_settings is present, then this value is the same. Otherwise, it represents
the inherited value of the parent account. Read-only.
- Parameters:
effectiveAllowAvailabilityUpdates
- effectiveAllowAvailabilityUpdates or null
for none
-
getEffectiveAllowConditionUpdates
public Boolean getEffectiveAllowConditionUpdates()
Output only. The effective value of allow_condition_updates. If account_item_updates_settings
is present, then this value is the same. Otherwise, it represents the inherited value of the
parent account. Read-only.
- Returns:
- value or
null
for none
-
setEffectiveAllowConditionUpdates
public AccountItemUpdates setEffectiveAllowConditionUpdates(Boolean effectiveAllowConditionUpdates)
Output only. The effective value of allow_condition_updates. If account_item_updates_settings
is present, then this value is the same. Otherwise, it represents the inherited value of the
parent account. Read-only.
- Parameters:
effectiveAllowConditionUpdates
- effectiveAllowConditionUpdates or null
for none
-
getEffectiveAllowPriceUpdates
public Boolean getEffectiveAllowPriceUpdates()
Output only. The effective value of allow_price_updates. If account_item_updates_settings is
present, then this value is the same. Otherwise, it represents the inherited value of the
parent account. Read-only.
- Returns:
- value or
null
for none
-
setEffectiveAllowPriceUpdates
public AccountItemUpdates setEffectiveAllowPriceUpdates(Boolean effectiveAllowPriceUpdates)
Output only. The effective value of allow_price_updates. If account_item_updates_settings is
present, then this value is the same. Otherwise, it represents the inherited value of the
parent account. Read-only.
- Parameters:
effectiveAllowPriceUpdates
- effectiveAllowPriceUpdates or null
for none
-
getEffectiveAllowStrictAvailabilityUpdates
public Boolean getEffectiveAllowStrictAvailabilityUpdates()
Output only. The effective value of allow_strict_availability_updates. If
account_item_updates_settings is present, then this value is the same. Otherwise, it represents
the inherited value of the parent account. Read-only.
- Returns:
- value or
null
for none
-
setEffectiveAllowStrictAvailabilityUpdates
public AccountItemUpdates setEffectiveAllowStrictAvailabilityUpdates(Boolean effectiveAllowStrictAvailabilityUpdates)
Output only. The effective value of allow_strict_availability_updates. If
account_item_updates_settings is present, then this value is the same. Otherwise, it represents
the inherited value of the parent account. Read-only.
- Parameters:
effectiveAllowStrictAvailabilityUpdates
- effectiveAllowStrictAvailabilityUpdates or null
for none
-
set
public AccountItemUpdates set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public AccountItemUpdates clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy