Class: Google::Apis::DocsV1::PositionedObjectPositioningSuggestionState
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::PositionedObjectPositioningSuggestionState
- 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 PositionedObjectPositioning have been changed in this suggestion. For any field set to true, there is a new suggested value.
Instance Attribute Summary collapse
-
#layout_suggested ⇒ Boolean
(also: #layout_suggested?)
Indicates if there was a suggested change to layout.
-
#left_offset_suggested ⇒ Boolean
(also: #left_offset_suggested?)
Indicates if there was a suggested change to left_offset.
-
#top_offset_suggested ⇒ Boolean
(also: #top_offset_suggested?)
Indicates if there was a suggested change to top_offset.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PositionedObjectPositioningSuggestionState
constructor
A new instance of PositionedObjectPositioningSuggestionState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PositionedObjectPositioningSuggestionState
Returns a new instance of PositionedObjectPositioningSuggestionState
3391 3392 3393 |
# File 'generated/google/apis/docs_v1/classes.rb', line 3391 def initialize(**args) update!(**args) end |
Instance Attribute Details
#layout_suggested ⇒ Boolean Also known as: layout_suggested?
Indicates if there was a suggested change to layout.
Corresponds to the JSON property layoutSuggested
3376 3377 3378 |
# File 'generated/google/apis/docs_v1/classes.rb', line 3376 def layout_suggested @layout_suggested end |
#left_offset_suggested ⇒ Boolean Also known as: left_offset_suggested?
Indicates if there was a suggested change to left_offset.
Corresponds to the JSON property leftOffsetSuggested
3382 3383 3384 |
# File 'generated/google/apis/docs_v1/classes.rb', line 3382 def left_offset_suggested @left_offset_suggested end |
#top_offset_suggested ⇒ Boolean Also known as: top_offset_suggested?
Indicates if there was a suggested change to top_offset.
Corresponds to the JSON property topOffsetSuggested
3388 3389 3390 |
# File 'generated/google/apis/docs_v1/classes.rb', line 3388 def top_offset_suggested @top_offset_suggested end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3396 3397 3398 3399 3400 |
# File 'generated/google/apis/docs_v1/classes.rb', line 3396 def update!(**args) @layout_suggested = args[:layout_suggested] if args.key?(:layout_suggested) @left_offset_suggested = args[:left_offset_suggested] if args.key?(:left_offset_suggested) @top_offset_suggested = args[:top_offset_suggested] if args.key?(:top_offset_suggested) end |