Class: Google::Apis::DocsV1::SuggestedBullet

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 suggested change to a Bullet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SuggestedBullet

Returns a new instance of SuggestedBullet.



5220
5221
5222
# File 'lib/google/apis/docs_v1/classes.rb', line 5220

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

Instance Attribute Details

#bulletGoogle::Apis::DocsV1::Bullet

Describes the bullet of a paragraph. Corresponds to the JSON property bullet



5212
5213
5214
# File 'lib/google/apis/docs_v1/classes.rb', line 5212

def bullet
  @bullet
end

#bullet_suggestion_stateGoogle::Apis::DocsV1::BulletSuggestionState

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. Corresponds to the JSON property bulletSuggestionState



5218
5219
5220
# File 'lib/google/apis/docs_v1/classes.rb', line 5218

def bullet_suggestion_state
  @bullet_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5225
5226
5227
5228
# File 'lib/google/apis/docs_v1/classes.rb', line 5225

def update!(**args)
  @bullet = args[:bullet] if args.key?(:bullet)
  @bullet_suggestion_state = args[:bullet_suggestion_state] if args.key?(:bullet_suggestion_state)
end