Class: Google::Apis::DocsV1::Equation
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::Equation
- 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 ParagraphElement representing an equation.
Instance Attribute Summary collapse
-
#suggested_deletion_ids ⇒ Array<String>
The suggested deletion IDs.
-
#suggested_insertion_ids ⇒ Array<String>
The suggested insertion IDs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Equation
constructor
A new instance of Equation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Equation
Returns a new instance of Equation.
1602 1603 1604 |
# File 'lib/google/apis/docs_v1/classes.rb', line 1602 def initialize(**args) update!(**args) end |
Instance Attribute Details
#suggested_deletion_ids ⇒ Array<String>
The suggested deletion IDs. If empty, then there are no suggested deletions of
this content.
Corresponds to the JSON property suggestedDeletionIds
1594 1595 1596 |
# File 'lib/google/apis/docs_v1/classes.rb', line 1594 def suggested_deletion_ids @suggested_deletion_ids end |
#suggested_insertion_ids ⇒ Array<String>
The suggested insertion IDs. An Equation may have multiple insertion IDs if it'
s a nested suggested change. If empty, then this is not a suggested insertion.
Corresponds to the JSON property suggestedInsertionIds
1600 1601 1602 |
# File 'lib/google/apis/docs_v1/classes.rb', line 1600 def suggested_insertion_ids @suggested_insertion_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1607 1608 1609 1610 |
# File 'lib/google/apis/docs_v1/classes.rb', line 1607 def update!(**args) @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) @suggested_insertion_ids = args[:suggested_insertion_ids] if args.key?(:suggested_insertion_ids) end |