Class: Google::Apis::DocsV1::NestingLevelSuggestionState
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::NestingLevelSuggestionState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/docs_v1/classes.rb,
lib/google/apis/docs_v1/representations.rb,
lib/google/apis/docs_v1/representations.rb
Overview
A mask that indicates which of the fields on the base NestingLevel have been changed in this suggestion. For any field set to true, there's a new suggested value.
Instance Attribute Summary collapse
-
#bullet_alignment_suggested ⇒ Boolean
(also: #bullet_alignment_suggested?)
Indicates if there was a suggested change to bullet_alignment.
-
#glyph_format_suggested ⇒ Boolean
(also: #glyph_format_suggested?)
Indicates if there was a suggested change to glyph_format.
-
#glyph_symbol_suggested ⇒ Boolean
(also: #glyph_symbol_suggested?)
Indicates if there was a suggested change to glyph_symbol.
-
#glyph_type_suggested ⇒ Boolean
(also: #glyph_type_suggested?)
Indicates if there was a suggested change to glyph_type.
-
#indent_first_line_suggested ⇒ Boolean
(also: #indent_first_line_suggested?)
Indicates if there was a suggested change to indent_first_line.
-
#indent_start_suggested ⇒ Boolean
(also: #indent_start_suggested?)
Indicates if there was a suggested change to indent_start.
-
#start_number_suggested ⇒ Boolean
(also: #start_number_suggested?)
Indicates if there was a suggested change to start_number.
-
#text_style_suggestion_state ⇒ Google::Apis::DocsV1::TextStyleSuggestionState
A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NestingLevelSuggestionState
constructor
A new instance of NestingLevelSuggestionState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NestingLevelSuggestionState
Returns a new instance of NestingLevelSuggestionState.
3199 3200 3201 |
# File 'lib/google/apis/docs_v1/classes.rb', line 3199 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bullet_alignment_suggested ⇒ Boolean Also known as: bullet_alignment_suggested?
Indicates if there was a suggested change to bullet_alignment.
Corresponds to the JSON property bulletAlignmentSuggested
3153 3154 3155 |
# File 'lib/google/apis/docs_v1/classes.rb', line 3153 def bullet_alignment_suggested @bullet_alignment_suggested end |
#glyph_format_suggested ⇒ Boolean Also known as: glyph_format_suggested?
Indicates if there was a suggested change to glyph_format.
Corresponds to the JSON property glyphFormatSuggested
3159 3160 3161 |
# File 'lib/google/apis/docs_v1/classes.rb', line 3159 def glyph_format_suggested @glyph_format_suggested end |
#glyph_symbol_suggested ⇒ Boolean Also known as: glyph_symbol_suggested?
Indicates if there was a suggested change to glyph_symbol.
Corresponds to the JSON property glyphSymbolSuggested
3165 3166 3167 |
# File 'lib/google/apis/docs_v1/classes.rb', line 3165 def glyph_symbol_suggested @glyph_symbol_suggested end |
#glyph_type_suggested ⇒ Boolean Also known as: glyph_type_suggested?
Indicates if there was a suggested change to glyph_type.
Corresponds to the JSON property glyphTypeSuggested
3171 3172 3173 |
# File 'lib/google/apis/docs_v1/classes.rb', line 3171 def glyph_type_suggested @glyph_type_suggested end |
#indent_first_line_suggested ⇒ Boolean Also known as: indent_first_line_suggested?
Indicates if there was a suggested change to indent_first_line.
Corresponds to the JSON property indentFirstLineSuggested
3177 3178 3179 |
# File 'lib/google/apis/docs_v1/classes.rb', line 3177 def indent_first_line_suggested @indent_first_line_suggested end |
#indent_start_suggested ⇒ Boolean Also known as: indent_start_suggested?
Indicates if there was a suggested change to indent_start.
Corresponds to the JSON property indentStartSuggested
3183 3184 3185 |
# File 'lib/google/apis/docs_v1/classes.rb', line 3183 def indent_start_suggested @indent_start_suggested end |
#start_number_suggested ⇒ Boolean Also known as: start_number_suggested?
Indicates if there was a suggested change to start_number.
Corresponds to the JSON property startNumberSuggested
3189 3190 3191 |
# File 'lib/google/apis/docs_v1/classes.rb', line 3189 def start_number_suggested @start_number_suggested end |
#text_style_suggestion_state ⇒ 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's a new suggested
value.
Corresponds to the JSON property textStyleSuggestionState
3197 3198 3199 |
# File 'lib/google/apis/docs_v1/classes.rb', line 3197 def text_style_suggestion_state @text_style_suggestion_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 |
# File 'lib/google/apis/docs_v1/classes.rb', line 3204 def update!(**args) @bullet_alignment_suggested = args[:bullet_alignment_suggested] if args.key?(:bullet_alignment_suggested) @glyph_format_suggested = args[:glyph_format_suggested] if args.key?(:glyph_format_suggested) @glyph_symbol_suggested = args[:glyph_symbol_suggested] if args.key?(:glyph_symbol_suggested) @glyph_type_suggested = args[:glyph_type_suggested] if args.key?(:glyph_type_suggested) @indent_first_line_suggested = args[:indent_first_line_suggested] if args.key?(:indent_first_line_suggested) @indent_start_suggested = args[:indent_start_suggested] if args.key?(:indent_start_suggested) @start_number_suggested = args[:start_number_suggested] if args.key?(:start_number_suggested) @text_style_suggestion_state = args[:text_style_suggestion_state] if args.key?(:text_style_suggestion_state) end |