Class: Google::Apis::DocsV1::EmbeddedObjectSuggestionState
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::EmbeddedObjectSuggestionState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/docs_v1/classes.rb,
lib/google/apis/docs_v1/representations.rb,
lib/google/apis/docs_v1/representations.rb
Overview
A mask that indicates which of the fields on the base EmbeddedObject have been changed in this suggestion. For any field set to true, there's a new suggested value.
Instance Attribute Summary collapse
-
#description_suggested ⇒ Boolean
(also: #description_suggested?)
Indicates if there was a suggested change to description.
-
#embedded_drawing_properties_suggestion_state ⇒ Google::Apis::DocsV1::EmbeddedDrawingPropertiesSuggestionState
A mask that indicates which of the fields on the base EmbeddedDrawingProperties have been changed in this suggestion.
-
#embedded_object_border_suggestion_state ⇒ Google::Apis::DocsV1::EmbeddedObjectBorderSuggestionState
A mask that indicates which of the fields on the base EmbeddedObjectBorder have been changed in this suggestion.
-
#image_properties_suggestion_state ⇒ Google::Apis::DocsV1::ImagePropertiesSuggestionState
A mask that indicates which of the fields on the base ImageProperties have been changed in this suggestion.
-
#linked_content_reference_suggestion_state ⇒ Google::Apis::DocsV1::LinkedContentReferenceSuggestionState
A mask that indicates which of the fields on the base LinkedContentReference have been changed in this suggestion.
-
#margin_bottom_suggested ⇒ Boolean
(also: #margin_bottom_suggested?)
Indicates if there was a suggested change to margin_bottom.
-
#margin_left_suggested ⇒ Boolean
(also: #margin_left_suggested?)
Indicates if there was a suggested change to margin_left.
-
#margin_right_suggested ⇒ Boolean
(also: #margin_right_suggested?)
Indicates if there was a suggested change to margin_right.
-
#margin_top_suggested ⇒ Boolean
(also: #margin_top_suggested?)
Indicates if there was a suggested change to margin_top.
-
#size_suggestion_state ⇒ Google::Apis::DocsV1::SizeSuggestionState
A mask that indicates which of the fields on the base Size have been changed in this suggestion.
-
#title_suggested ⇒ Boolean
(also: #title_suggested?)
Indicates if there was a suggested change to title.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EmbeddedObjectSuggestionState
constructor
A new instance of EmbeddedObjectSuggestionState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EmbeddedObjectSuggestionState
2031 2032 2033 |
# File 'lib/google/apis/docs_v1/classes.rb', line 2031 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description_suggested ⇒ Boolean Also known as: description_suggested?
Indicates if there was a suggested change to description.
Corresponds to the JSON property descriptionSuggested
1963 1964 1965 |
# File 'lib/google/apis/docs_v1/classes.rb', line 1963 def description_suggested @description_suggested end |
#embedded_drawing_properties_suggestion_state ⇒ Google::Apis::DocsV1::EmbeddedDrawingPropertiesSuggestionState
A mask that indicates which of the fields on the base
EmbeddedDrawingProperties have been changed in this suggestion. For any field
set to true, there's a new suggested value.
Corresponds to the JSON property embeddedDrawingPropertiesSuggestionState
1971 1972 1973 |
# File 'lib/google/apis/docs_v1/classes.rb', line 1971 def end |
#embedded_object_border_suggestion_state ⇒ Google::Apis::DocsV1::EmbeddedObjectBorderSuggestionState
A mask that indicates which of the fields on the base EmbeddedObjectBorder
have been changed in this suggestion. For any field set to true, there's a new
suggested value.
Corresponds to the JSON property embeddedObjectBorderSuggestionState
1978 1979 1980 |
# File 'lib/google/apis/docs_v1/classes.rb', line 1978 def end |
#image_properties_suggestion_state ⇒ Google::Apis::DocsV1::ImagePropertiesSuggestionState
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's a new
suggested value.
Corresponds to the JSON property imagePropertiesSuggestionState
1985 1986 1987 |
# File 'lib/google/apis/docs_v1/classes.rb', line 1985 def image_properties_suggestion_state @image_properties_suggestion_state end |
#linked_content_reference_suggestion_state ⇒ Google::Apis::DocsV1::LinkedContentReferenceSuggestionState
A mask that indicates which of the fields on the base LinkedContentReference
have been changed in this suggestion. For any field set to true, there's a new
suggested value.
Corresponds to the JSON property linkedContentReferenceSuggestionState
1992 1993 1994 |
# File 'lib/google/apis/docs_v1/classes.rb', line 1992 def linked_content_reference_suggestion_state @linked_content_reference_suggestion_state end |
#margin_bottom_suggested ⇒ Boolean Also known as: margin_bottom_suggested?
Indicates if there was a suggested change to margin_bottom.
Corresponds to the JSON property marginBottomSuggested
1997 1998 1999 |
# File 'lib/google/apis/docs_v1/classes.rb', line 1997 def margin_bottom_suggested @margin_bottom_suggested end |
#margin_left_suggested ⇒ Boolean Also known as: margin_left_suggested?
Indicates if there was a suggested change to margin_left.
Corresponds to the JSON property marginLeftSuggested
2003 2004 2005 |
# File 'lib/google/apis/docs_v1/classes.rb', line 2003 def margin_left_suggested @margin_left_suggested end |
#margin_right_suggested ⇒ Boolean Also known as: margin_right_suggested?
Indicates if there was a suggested change to margin_right.
Corresponds to the JSON property marginRightSuggested
2009 2010 2011 |
# File 'lib/google/apis/docs_v1/classes.rb', line 2009 def margin_right_suggested @margin_right_suggested end |
#margin_top_suggested ⇒ Boolean Also known as: margin_top_suggested?
Indicates if there was a suggested change to margin_top.
Corresponds to the JSON property marginTopSuggested
2015 2016 2017 |
# File 'lib/google/apis/docs_v1/classes.rb', line 2015 def margin_top_suggested @margin_top_suggested end |
#size_suggestion_state ⇒ Google::Apis::DocsV1::SizeSuggestionState
A mask that indicates which of the fields on the base Size have been changed
in this suggestion. For any field set to true, the Size has a new suggested
value.
Corresponds to the JSON property sizeSuggestionState
2023 2024 2025 |
# File 'lib/google/apis/docs_v1/classes.rb', line 2023 def size_suggestion_state @size_suggestion_state end |
#title_suggested ⇒ Boolean Also known as: title_suggested?
Indicates if there was a suggested change to title.
Corresponds to the JSON property titleSuggested
2028 2029 2030 |
# File 'lib/google/apis/docs_v1/classes.rb', line 2028 def title_suggested @title_suggested end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 |
# File 'lib/google/apis/docs_v1/classes.rb', line 2036 def update!(**args) @description_suggested = args[:description_suggested] if args.key?(:description_suggested) = args[:embedded_drawing_properties_suggestion_state] if args.key?(:embedded_drawing_properties_suggestion_state) = args[:embedded_object_border_suggestion_state] if args.key?(:embedded_object_border_suggestion_state) @image_properties_suggestion_state = args[:image_properties_suggestion_state] if args.key?(:image_properties_suggestion_state) @linked_content_reference_suggestion_state = args[:linked_content_reference_suggestion_state] if args.key?(:linked_content_reference_suggestion_state) @margin_bottom_suggested = args[:margin_bottom_suggested] if args.key?(:margin_bottom_suggested) @margin_left_suggested = args[:margin_left_suggested] if args.key?(:margin_left_suggested) @margin_right_suggested = args[:margin_right_suggested] if args.key?(:margin_right_suggested) @margin_top_suggested = args[:margin_top_suggested] if args.key?(:margin_top_suggested) @size_suggestion_state = args[:size_suggestion_state] if args.key?(:size_suggestion_state) @title_suggested = args[:title_suggested] if args.key?(:title_suggested) end |