Class: Google::Apis::ContentV2_1::AccountImageImprovements
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::AccountImageImprovements
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
This improvement will attempt to automatically correct submitted images if they don't meet the image requirements, 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
Instance Attribute Summary collapse
-
#account_image_improvements_settings ⇒ Google::Apis::ContentV2_1::AccountImageImprovementsSettings
Settings for the Automatic Image Improvements.
-
#effective_allow_automatic_image_improvements ⇒ Boolean
(also: #effective_allow_automatic_image_improvements?)
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountImageImprovements
constructor
A new instance of AccountImageImprovements.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccountImageImprovements
Returns a new instance of AccountImageImprovements.
590 591 592 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 590 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_image_improvements_settings ⇒ Google::Apis::ContentV2_1::AccountImageImprovementsSettings
Settings for the Automatic Image Improvements.
Corresponds to the JSON property accountImageImprovementsSettings
580 581 582 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 580 def account_image_improvements_settings @account_image_improvements_settings end |
#effective_allow_automatic_image_improvements ⇒ Boolean Also known as: effective_allow_automatic_image_improvements?
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.
Corresponds to the JSON property effectiveAllowAutomaticImageImprovements
587 588 589 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 587 def effective_allow_automatic_image_improvements @effective_allow_automatic_image_improvements end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
595 596 597 598 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 595 def update!(**args) @account_image_improvements_settings = args[:account_image_improvements_settings] if args.key?(:account_image_improvements_settings) @effective_allow_automatic_image_improvements = args[:effective_allow_automatic_image_improvements] if args.key?(:effective_allow_automatic_image_improvements) end |