Class: Google::Apis::DocsV1::PositionedObjectPositioningSuggestionState

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PositionedObjectPositioningSuggestionState

Returns a new instance of PositionedObjectPositioningSuggestionState.



3776
3777
3778
# File 'generated/google/apis/docs_v1/classes.rb', line 3776

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#layout_suggestedBoolean Also known as: layout_suggested?

Indicates if there was a suggested change to layout. Corresponds to the JSON property layoutSuggested

Returns:

  • (Boolean)


3761
3762
3763
# File 'generated/google/apis/docs_v1/classes.rb', line 3761

def layout_suggested
  @layout_suggested
end

#left_offset_suggestedBoolean Also known as: left_offset_suggested?

Indicates if there was a suggested change to left_offset. Corresponds to the JSON property leftOffsetSuggested

Returns:

  • (Boolean)


3767
3768
3769
# File 'generated/google/apis/docs_v1/classes.rb', line 3767

def left_offset_suggested
  @left_offset_suggested
end

#top_offset_suggestedBoolean Also known as: top_offset_suggested?

Indicates if there was a suggested change to top_offset. Corresponds to the JSON property topOffsetSuggested

Returns:

  • (Boolean)


3773
3774
3775
# File 'generated/google/apis/docs_v1/classes.rb', line 3773

def top_offset_suggested
  @top_offset_suggested
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3781
3782
3783
3784
3785
# File 'generated/google/apis/docs_v1/classes.rb', line 3781

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