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

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 Bullet 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) ⇒ BulletSuggestionState

Returns a new instance of BulletSuggestionState



279
280
281
# File 'generated/google/apis/docs_v1/classes.rb', line 279

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)


262
263
264
# File 'generated/google/apis/docs_v1/classes.rb', line 262

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)


269
270
271
# File 'generated/google/apis/docs_v1/classes.rb', line 269

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 is a new suggested value. Corresponds to the JSON property textStyleSuggestionState



277
278
279
# File 'generated/google/apis/docs_v1/classes.rb', line 277

def text_style_suggestion_state
  @text_style_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



284
285
286
287
288
# File 'generated/google/apis/docs_v1/classes.rb', line 284

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