Class: Google::Apis::DocsV1::SuggestedBullet
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::SuggestedBullet
- 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 suggested change to a Bullet.
Instance Attribute Summary collapse
-
#bullet ⇒ Google::Apis::DocsV1::Bullet
Describes the bullet of a paragraph.
-
#bullet_suggestion_state ⇒ Google::Apis::DocsV1::BulletSuggestionState
A mask that indicates which of the fields on the base Bullet have been changed in this suggestion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SuggestedBullet
constructor
A new instance of SuggestedBullet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SuggestedBullet
Returns a new instance of SuggestedBullet.
4630 4631 4632 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4630 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bullet ⇒ Google::Apis::DocsV1::Bullet
Describes the bullet of a paragraph.
Corresponds to the JSON property bullet
4622 4623 4624 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4622 def bullet @bullet end |
#bullet_suggestion_state ⇒ Google::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 is a new suggested value.
Corresponds to the JSON property bulletSuggestionState
4628 4629 4630 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4628 def bullet_suggestion_state @bullet_suggestion_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4635 4636 4637 4638 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4635 def update!(**args) @bullet = args[:bullet] if args.key?(:bullet) @bullet_suggestion_state = args[:bullet_suggestion_state] if args.key?(:bullet_suggestion_state) end |