class 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.

Attributes

height_suggested[RW]

Indicates if there was a suggested change to height. Corresponds to the JSON property `heightSuggested` @return [Boolean]

height_suggested?[RW]

Indicates if there was a suggested change to height. Corresponds to the JSON property `heightSuggested` @return [Boolean]

width_suggested[RW]

Indicates if there was a suggested change to width. Corresponds to the JSON property `widthSuggested` @return [Boolean]

width_suggested?[RW]

Indicates if there was a suggested change to width. Corresponds to the JSON property `widthSuggested` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 4726
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/docs_v1/classes.rb, line 4731
def update!(**args)
  @height_suggested = args[:height_suggested] if args.key?(:height_suggested)
  @width_suggested = args[:width_suggested] if args.key?(:width_suggested)
end