Class: Google::Apis::SlidesV1::DeleteTextRequest
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::DeleteTextRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/slides_v1/classes.rb,
generated/google/apis/slides_v1/representations.rb,
generated/google/apis/slides_v1/representations.rb
Overview
Deletes text from a shape or a table cell.
Instance Attribute Summary collapse
-
#cell_location ⇒ Google::Apis::SlidesV1::TableCellLocation
A location of a single table cell within a table.
-
#object_id_prop ⇒ String
The object ID of the shape or table from which the text will be deleted.
-
#text_range ⇒ Google::Apis::SlidesV1::Range
Specifies a contiguous range of an indexed collection, such as characters in text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeleteTextRequest
constructor
A new instance of DeleteTextRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeleteTextRequest
Returns a new instance of DeleteTextRequest
1007 1008 1009 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1007 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cell_location ⇒ Google::Apis::SlidesV1::TableCellLocation
A location of a single table cell within a table.
Corresponds to the JSON property cellLocation
994 995 996 |
# File 'generated/google/apis/slides_v1/classes.rb', line 994 def cell_location @cell_location end |
#object_id_prop ⇒ String
The object ID of the shape or table from which the text will be deleted.
Corresponds to the JSON property objectId
999 1000 1001 |
# File 'generated/google/apis/slides_v1/classes.rb', line 999 def object_id_prop @object_id_prop end |
#text_range ⇒ Google::Apis::SlidesV1::Range
Specifies a contiguous range of an indexed collection, such as characters in
text.
Corresponds to the JSON property textRange
1005 1006 1007 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1005 def text_range @text_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1012 1013 1014 1015 1016 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1012 def update!(**args) @cell_location = args[:cell_location] if args.key?(:cell_location) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) @text_range = args[:text_range] if args.key?(:text_range) end |