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.
1878 1879 1880 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1878 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
1875 1876 1877 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1875 def allow_automatic_image_improvements @allow_automatic_image_improvements end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1883 1884 1885 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1883 def update!(**args) @allow_automatic_image_improvements = args[:allow_automatic_image_improvements] if args.key?(:allow_automatic_image_improvements) end |