class Google::Apis::DocsV1::TextStyleSuggestionState

A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. For any field set to true, there is a new suggested value.

Attributes

background_color_suggested[RW]

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

background_color_suggested?[RW]

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

baseline_offset_suggested[RW]

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

baseline_offset_suggested?[RW]

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

bold_suggested[RW]

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

bold_suggested?[RW]

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

font_size_suggested[RW]

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

font_size_suggested?[RW]

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

foreground_color_suggested[RW]

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

foreground_color_suggested?[RW]

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

italic_suggested[RW]

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

italic_suggested?[RW]

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

small_caps_suggested[RW]

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

small_caps_suggested?[RW]

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

strikethrough_suggested[RW]

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

strikethrough_suggested?[RW]

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

underline_suggested[RW]

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

underline_suggested?[RW]

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

weighted_font_family_suggested[RW]

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

weighted_font_family_suggested?[RW]

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

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 5936
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 5941
def update!(**args)
  @background_color_suggested = args[:background_color_suggested] if args.key?(:background_color_suggested)
  @baseline_offset_suggested = args[:baseline_offset_suggested] if args.key?(:baseline_offset_suggested)
  @bold_suggested = args[:bold_suggested] if args.key?(:bold_suggested)
  @font_size_suggested = args[:font_size_suggested] if args.key?(:font_size_suggested)
  @foreground_color_suggested = args[:foreground_color_suggested] if args.key?(:foreground_color_suggested)
  @italic_suggested = args[:italic_suggested] if args.key?(:italic_suggested)
  @link_suggested = args[:link_suggested] if args.key?(:link_suggested)
  @small_caps_suggested = args[:small_caps_suggested] if args.key?(:small_caps_suggested)
  @strikethrough_suggested = args[:strikethrough_suggested] if args.key?(:strikethrough_suggested)
  @underline_suggested = args[:underline_suggested] if args.key?(:underline_suggested)
  @weighted_font_family_suggested = args[:weighted_font_family_suggested] if args.key?(:weighted_font_family_suggested)
end