Class: Google::Apis::DocsV1::NestingLevelSuggestionState

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 NestingLevel 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) ⇒ NestingLevelSuggestionState

Returns a new instance of NestingLevelSuggestionState.



3039
3040
3041
# File 'generated/google/apis/docs_v1/classes.rb', line 3039

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

Instance Attribute Details

#bullet_alignment_suggestedBoolean Also known as: bullet_alignment_suggested?

Indicates if there was a suggested change to bullet_alignment. Corresponds to the JSON property bulletAlignmentSuggested

Returns:

  • (Boolean)


2987
2988
2989
# File 'generated/google/apis/docs_v1/classes.rb', line 2987

def bullet_alignment_suggested
  @bullet_alignment_suggested
end

#glyph_format_suggestedBoolean Also known as: glyph_format_suggested?

Indicates if there was a suggested change to glyph_format. Corresponds to the JSON property glyphFormatSuggested

Returns:

  • (Boolean)


2994
2995
2996
# File 'generated/google/apis/docs_v1/classes.rb', line 2994

def glyph_format_suggested
  @glyph_format_suggested
end

#glyph_symbol_suggestedBoolean Also known as: glyph_symbol_suggested?

Indicates if there was a suggested change to glyph_symbol. Corresponds to the JSON property glyphSymbolSuggested

Returns:

  • (Boolean)


3001
3002
3003
# File 'generated/google/apis/docs_v1/classes.rb', line 3001

def glyph_symbol_suggested
  @glyph_symbol_suggested
end

#glyph_type_suggestedBoolean Also known as: glyph_type_suggested?

Indicates if there was a suggested change to glyph_type. Corresponds to the JSON property glyphTypeSuggested

Returns:

  • (Boolean)


3008
3009
3010
# File 'generated/google/apis/docs_v1/classes.rb', line 3008

def glyph_type_suggested
  @glyph_type_suggested
end

#indent_first_line_suggestedBoolean Also known as: indent_first_line_suggested?

Indicates if there was a suggested change to indent_first_line. Corresponds to the JSON property indentFirstLineSuggested

Returns:

  • (Boolean)


3015
3016
3017
# File 'generated/google/apis/docs_v1/classes.rb', line 3015

def indent_first_line_suggested
  @indent_first_line_suggested
end

#indent_start_suggestedBoolean Also known as: indent_start_suggested?

Indicates if there was a suggested change to indent_start. Corresponds to the JSON property indentStartSuggested

Returns:

  • (Boolean)


3022
3023
3024
# File 'generated/google/apis/docs_v1/classes.rb', line 3022

def indent_start_suggested
  @indent_start_suggested
end

#start_number_suggestedBoolean Also known as: start_number_suggested?

Indicates if there was a suggested change to start_number. Corresponds to the JSON property startNumberSuggested

Returns:

  • (Boolean)


3029
3030
3031
# File 'generated/google/apis/docs_v1/classes.rb', line 3029

def start_number_suggested
  @start_number_suggested
end

#text_style_suggestion_stateGoogle::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. Corresponds to the JSON property textStyleSuggestionState



3037
3038
3039
# File 'generated/google/apis/docs_v1/classes.rb', line 3037

def text_style_suggestion_state
  @text_style_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
# File 'generated/google/apis/docs_v1/classes.rb', line 3044

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