Class: Google::Apis::DocsV1::BulletSuggestionState

Inherits:
Object
  • Object
show all
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 Bullet have been changed in this suggestion. For any field set to true, there's a new suggested value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BulletSuggestionState

Returns a new instance of BulletSuggestionState.



288
289
290
# File 'lib/google/apis/docs_v1/classes.rb', line 288

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

Instance Attribute Details

#list_id_suggestedBoolean Also known as: list_id_suggested?

Indicates if there was a suggested change to the list_id. Corresponds to the JSON property listIdSuggested

Returns:

  • (Boolean)


272
273
274
# File 'lib/google/apis/docs_v1/classes.rb', line 272

def list_id_suggested
  @list_id_suggested
end

#nesting_level_suggestedBoolean Also known as: nesting_level_suggested?

Indicates if there was a suggested change to the nesting_level. Corresponds to the JSON property nestingLevelSuggested

Returns:

  • (Boolean)


278
279
280
# File 'lib/google/apis/docs_v1/classes.rb', line 278

def nesting_level_suggested
  @nesting_level_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's a new suggested value. Corresponds to the JSON property textStyleSuggestionState



286
287
288
# File 'lib/google/apis/docs_v1/classes.rb', line 286

def text_style_suggestion_state
  @text_style_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



293
294
295
296
297
# File 'lib/google/apis/docs_v1/classes.rb', line 293

def update!(**args)
  @list_id_suggested = args[:list_id_suggested] if args.key?(:list_id_suggested)
  @nesting_level_suggested = args[:nesting_level_suggested] if args.key?(:nesting_level_suggested)
  @text_style_suggestion_state = args[:text_style_suggestion_state] if args.key?(:text_style_suggestion_state)
end