Class: Google::Apis::DocsV1::TextStyleSuggestionState
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::TextStyleSuggestionState
- 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 TextStyle have been changed in this suggestion. For any field set to true, there is a new suggested value.
Instance Attribute Summary collapse
-
#background_color_suggested ⇒ Boolean
(also: #background_color_suggested?)
Indicates if there was a suggested change to background_color.
-
#baseline_offset_suggested ⇒ Boolean
(also: #baseline_offset_suggested?)
Indicates if there was a suggested change to baseline_offset.
-
#bold_suggested ⇒ Boolean
(also: #bold_suggested?)
Indicates if there was a suggested change to bold.
-
#font_size_suggested ⇒ Boolean
(also: #font_size_suggested?)
Indicates if there was a suggested change to font_size.
-
#foreground_color_suggested ⇒ Boolean
(also: #foreground_color_suggested?)
Indicates if there was a suggested change to foreground_color.
-
#italic_suggested ⇒ Boolean
(also: #italic_suggested?)
Indicates if there was a suggested change to italic.
-
#link_suggested ⇒ Boolean
(also: #link_suggested?)
Indicates if there was a suggested change to link.
-
#small_caps_suggested ⇒ Boolean
(also: #small_caps_suggested?)
Indicates if there was a suggested change to small_caps.
-
#strikethrough_suggested ⇒ Boolean
(also: #strikethrough_suggested?)
Indicates if there was a suggested change to strikethrough.
-
#underline_suggested ⇒ Boolean
(also: #underline_suggested?)
Indicates if there was a suggested change to underline.
-
#weighted_font_family_suggested ⇒ Boolean
(also: #weighted_font_family_suggested?)
Indicates if there was a suggested change to weighted_font_family.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TextStyleSuggestionState
constructor
A new instance of TextStyleSuggestionState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TextStyleSuggestionState
Returns a new instance of TextStyleSuggestionState.
6008 6009 6010 |
# File 'generated/google/apis/docs_v1/classes.rb', line 6008 def initialize(**args) update!(**args) end |
Instance Attribute Details
#background_color_suggested ⇒ Boolean Also known as: background_color_suggested?
Indicates if there was a suggested change to background_color.
Corresponds to the JSON property backgroundColorSuggested
5945 5946 5947 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5945 def background_color_suggested @background_color_suggested end |
#baseline_offset_suggested ⇒ Boolean Also known as: baseline_offset_suggested?
Indicates if there was a suggested change to baseline_offset.
Corresponds to the JSON property baselineOffsetSuggested
5951 5952 5953 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5951 def baseline_offset_suggested @baseline_offset_suggested end |
#bold_suggested ⇒ Boolean Also known as: bold_suggested?
Indicates if there was a suggested change to bold.
Corresponds to the JSON property boldSuggested
5957 5958 5959 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5957 def bold_suggested @bold_suggested end |
#font_size_suggested ⇒ Boolean Also known as: font_size_suggested?
Indicates if there was a suggested change to font_size.
Corresponds to the JSON property fontSizeSuggested
5963 5964 5965 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5963 def font_size_suggested @font_size_suggested end |
#foreground_color_suggested ⇒ Boolean Also known as: foreground_color_suggested?
Indicates if there was a suggested change to foreground_color.
Corresponds to the JSON property foregroundColorSuggested
5969 5970 5971 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5969 def foreground_color_suggested @foreground_color_suggested end |
#italic_suggested ⇒ Boolean Also known as: italic_suggested?
Indicates if there was a suggested change to italic.
Corresponds to the JSON property italicSuggested
5975 5976 5977 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5975 def italic_suggested @italic_suggested end |
#link_suggested ⇒ Boolean Also known as: link_suggested?
Indicates if there was a suggested change to link.
Corresponds to the JSON property linkSuggested
5981 5982 5983 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5981 def link_suggested @link_suggested end |
#small_caps_suggested ⇒ Boolean Also known as: small_caps_suggested?
Indicates if there was a suggested change to small_caps.
Corresponds to the JSON property smallCapsSuggested
5987 5988 5989 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5987 def small_caps_suggested @small_caps_suggested end |
#strikethrough_suggested ⇒ Boolean Also known as: strikethrough_suggested?
Indicates if there was a suggested change to strikethrough.
Corresponds to the JSON property strikethroughSuggested
5993 5994 5995 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5993 def strikethrough_suggested @strikethrough_suggested end |
#underline_suggested ⇒ Boolean Also known as: underline_suggested?
Indicates if there was a suggested change to underline.
Corresponds to the JSON property underlineSuggested
5999 6000 6001 |
# File 'generated/google/apis/docs_v1/classes.rb', line 5999 def underline_suggested @underline_suggested end |
#weighted_font_family_suggested ⇒ Boolean Also known as: weighted_font_family_suggested?
Indicates if there was a suggested change to weighted_font_family.
Corresponds to the JSON property weightedFontFamilySuggested
6005 6006 6007 |
# File 'generated/google/apis/docs_v1/classes.rb', line 6005 def weighted_font_family_suggested @weighted_font_family_suggested end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 |
# File 'generated/google/apis/docs_v1/classes.rb', line 6013 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 |