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.



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

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)


247
248
249
# File 'generated/google/apis/docs_v1/classes.rb', line 247

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)


253
254
255
# File 'generated/google/apis/docs_v1/classes.rb', line 253

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



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

def text_style_suggestion_state
  @text_style_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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