target.apidocs.com.google.api.services.content.model.AccountImageImprovements.html Maven / Gradle / Ivy
AccountImageImprovements (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class AccountImageImprovements
- 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.AccountImageImprovements
-
public final class AccountImageImprovements
extends com.google.api.client.json.GenericJson
This improvement will attempt to automatically correct submitted images if they don't meet the
[image requirements](https://support.google.com/merchants/answer/6324350), for example, removing
overlays. If successful, the image will be replaced and approved. This improvement is only
applied to images of disapproved offers. For more information see: [Automatic image
improvements](https://support.google.com/merchants/answer/9242973)
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
com.google.api.client.util.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
AccountImageImprovements()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AccountImageImprovements
clone()
AccountImageImprovementsSettings
getAccountImageImprovementsSettings()
Determines how the images should be automatically updated.
Boolean
getEffectiveAllowAutomaticImageImprovements()
Output only.
AccountImageImprovements
set(String fieldName,
Object value)
AccountImageImprovements
setAccountImageImprovementsSettings(AccountImageImprovementsSettings accountImageImprovementsSettings)
Determines how the images should be automatically updated.
AccountImageImprovements
setEffectiveAllowAutomaticImageImprovements(Boolean effectiveAllowAutomaticImageImprovements)
Output only.
-
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
-
getAccountImageImprovementsSettings
public AccountImageImprovementsSettings getAccountImageImprovementsSettings()
Determines how the images 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
-
setAccountImageImprovementsSettings
public AccountImageImprovements setAccountImageImprovementsSettings(AccountImageImprovementsSettings accountImageImprovementsSettings)
Determines how the images 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:
accountImageImprovementsSettings
- accountImageImprovementsSettings or null
for none
-
getEffectiveAllowAutomaticImageImprovements
public Boolean getEffectiveAllowAutomaticImageImprovements()
Output only. The effective value of allow_automatic_image_improvements. If
account_image_improvements_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
-
setEffectiveAllowAutomaticImageImprovements
public AccountImageImprovements setEffectiveAllowAutomaticImageImprovements(Boolean effectiveAllowAutomaticImageImprovements)
Output only. The effective value of allow_automatic_image_improvements. If
account_image_improvements_settings is present, then this value is the same. Otherwise, it
represents the inherited value of the parent account. Read-only.
- Parameters:
effectiveAllowAutomaticImageImprovements
- effectiveAllowAutomaticImageImprovements or null
for none
-
set
public AccountImageImprovements set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public AccountImageImprovements clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy