Class: Google::Apis::MerchantapiAccountsV1beta::ImageImprovementsAccountLevelSettings
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiAccountsV1beta::ImageImprovementsAccountLevelSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_accounts_v1beta/classes.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb,
lib/google/apis/merchantapi_accounts_v1beta/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) ⇒ ImageImprovementsAccountLevelSettings
constructor
A new instance of ImageImprovementsAccountLevelSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImageImprovementsAccountLevelSettings
Returns a new instance of ImageImprovementsAccountLevelSettings.
1884 1885 1886 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1884 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
1881 1882 1883 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1881 def allow_automatic_image_improvements @allow_automatic_image_improvements end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1889 1890 1891 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1889 def update!(**args) @allow_automatic_image_improvements = args[:allow_automatic_image_improvements] if args.key?(:allow_automatic_image_improvements) end |