Class: Google::Apis::SlidesV1::DeleteTextRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeleteTextRequest

Returns a new instance of DeleteTextRequest.



975
976
977
# File 'generated/google/apis/slides_v1/classes.rb', line 975

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

Instance Attribute Details

#cell_locationGoogle::Apis::SlidesV1::TableCellLocation

A location of a single table cell within a table. Corresponds to the JSON property cellLocation



962
963
964
# File 'generated/google/apis/slides_v1/classes.rb', line 962

def cell_location
  @cell_location
end

#object_id_propString

The object ID of the shape or table from which the text will be deleted. Corresponds to the JSON property objectId

Returns:

  • (String)


967
968
969
# File 'generated/google/apis/slides_v1/classes.rb', line 967

def object_id_prop
  @object_id_prop
end

#text_rangeGoogle::Apis::SlidesV1::Range

Specifies a contiguous range of an indexed collection, such as characters in text. Corresponds to the JSON property textRange



973
974
975
# File 'generated/google/apis/slides_v1/classes.rb', line 973

def text_range
  @text_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



980
981
982
983
984
# File 'generated/google/apis/slides_v1/classes.rb', line 980

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