Class: Google::Apis::ContentV2_1::AccountImageImprovementsSettings
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::AccountImageImprovementsSettings
- 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
Settings for the Automatic Image Improvements.
Instance Attribute Summary collapse
-
#allow_automatic_image_improvements ⇒ Boolean
(also: #allow_automatic_image_improvements?)
Enables automatic image improvements.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountImageImprovementsSettings
constructor
A new instance of AccountImageImprovementsSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccountImageImprovementsSettings
Returns a new instance of AccountImageImprovementsSettings.
611 612 613 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 611 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_automatic_image_improvements ⇒ Boolean Also known as: allow_automatic_image_improvements?
Enables automatic image improvements.
Corresponds to the JSON property allowAutomaticImageImprovements
608 609 610 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 608 def allow_automatic_image_improvements @allow_automatic_image_improvements end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
616 617 618 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 616 def update!(**args) @allow_automatic_image_improvements = args[:allow_automatic_image_improvements] if args.key?(:allow_automatic_image_improvements) end |