Class: Google::Apis::DocsV1::ImagePropertiesSuggestionState
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::ImagePropertiesSuggestionState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb
Overview
A mask that indicates which of the fields on the base ImageProperties have been changed in this suggestion. For any field set to true, there is a new suggested value.
Instance Attribute Summary collapse
-
#angle_suggested ⇒ Boolean
(also: #angle_suggested?)
Indicates if there was a suggested change to angle.
-
#brightness_suggested ⇒ Boolean
(also: #brightness_suggested?)
Indicates if there was a suggested change to brightness.
-
#content_uri_suggested ⇒ Boolean
(also: #content_uri_suggested?)
Indicates if there was a suggested change to content_uri.
-
#contrast_suggested ⇒ Boolean
(also: #contrast_suggested?)
Indicates if there was a suggested change to contrast.
-
#crop_properties_suggestion_state ⇒ Google::Apis::DocsV1::CropPropertiesSuggestionState
A mask that indicates which of the fields on the base CropProperties have been changed in this suggestion.
-
#source_uri_suggested ⇒ Boolean
(also: #source_uri_suggested?)
Indicates if there was a suggested change to source_uri.
-
#transparency_suggested ⇒ Boolean
(also: #transparency_suggested?)
Indicates if there was a suggested change to transparency.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImagePropertiesSuggestionState
constructor
A new instance of ImagePropertiesSuggestionState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ImagePropertiesSuggestionState
Returns a new instance of ImagePropertiesSuggestionState
1738 1739 1740 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1738 def initialize(**args) update!(**args) end |
Instance Attribute Details
#angle_suggested ⇒ Boolean Also known as: angle_suggested?
Indicates if there was a suggested change to angle.
Corresponds to the JSON property angleSuggested
1697 1698 1699 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1697 def angle_suggested @angle_suggested end |
#brightness_suggested ⇒ Boolean Also known as: brightness_suggested?
Indicates if there was a suggested change to brightness.
Corresponds to the JSON property brightnessSuggested
1703 1704 1705 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1703 def brightness_suggested @brightness_suggested end |
#content_uri_suggested ⇒ Boolean Also known as: content_uri_suggested?
Indicates if there was a suggested change to
content_uri.
Corresponds to the JSON property contentUriSuggested
1710 1711 1712 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1710 def content_uri_suggested @content_uri_suggested end |
#contrast_suggested ⇒ Boolean Also known as: contrast_suggested?
Indicates if there was a suggested change to contrast.
Corresponds to the JSON property contrastSuggested
1716 1717 1718 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1716 def contrast_suggested @contrast_suggested end |
#crop_properties_suggestion_state ⇒ Google::Apis::DocsV1::CropPropertiesSuggestionState
A mask that indicates which of the fields on the base CropProperties have been
changed in this suggestion.
For any field set to true, there is a new suggested value.
Corresponds to the JSON property cropPropertiesSuggestionState
1724 1725 1726 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1724 def crop_properties_suggestion_state @crop_properties_suggestion_state end |
#source_uri_suggested ⇒ Boolean Also known as: source_uri_suggested?
Indicates if there was a suggested change to source_uri.
Corresponds to the JSON property sourceUriSuggested
1729 1730 1731 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1729 def source_uri_suggested @source_uri_suggested end |
#transparency_suggested ⇒ Boolean Also known as: transparency_suggested?
Indicates if there was a suggested change to transparency.
Corresponds to the JSON property transparencySuggested
1735 1736 1737 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1735 def transparency_suggested @transparency_suggested end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1743 1744 1745 1746 1747 1748 1749 1750 1751 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1743 def update!(**args) @angle_suggested = args[:angle_suggested] if args.key?(:angle_suggested) @brightness_suggested = args[:brightness_suggested] if args.key?(:brightness_suggested) @content_uri_suggested = args[:content_uri_suggested] if args.key?(:content_uri_suggested) @contrast_suggested = args[:contrast_suggested] if args.key?(:contrast_suggested) @crop_properties_suggestion_state = args[:crop_properties_suggestion_state] if args.key?(:crop_properties_suggestion_state) @source_uri_suggested = args[:source_uri_suggested] if args.key?(:source_uri_suggested) @transparency_suggested = args[:transparency_suggested] if args.key?(:transparency_suggested) end |