Class: Google::Apis::ContentV2_1::AccountImageImprovementsSettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_improvementsBoolean Also known as: allow_automatic_image_improvements?

Enables automatic image improvements. Corresponds to the JSON property allowAutomaticImageImprovements

Returns:

  • (Boolean)


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