Class: Google::Apis::SlidesV1::DeleteObjectRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SlidesV1::DeleteObjectRequest
 
- 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 an object, either pages or page elements, from the presentation.
Instance Attribute Summary collapse
- 
  
    
      #object_id_prop  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The object ID of the page or page element to delete. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DeleteObjectRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of DeleteObjectRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeleteObjectRequest
Returns a new instance of DeleteObjectRequest
| 891 892 893 | # File 'generated/google/apis/slides_v1/classes.rb', line 891 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#object_id_prop ⇒ String
The object ID of the page or page element to delete.
If after a delete operation a group contains
only 1 or no page elements, the group is also deleted.
If a placeholder is deleted on a layout, any empty inheriting shapes are
also deleted.
Corresponds to the JSON property objectId
| 889 890 891 | # File 'generated/google/apis/slides_v1/classes.rb', line 889 def object_id_prop @object_id_prop end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 896 897 898 | # File 'generated/google/apis/slides_v1/classes.rb', line 896 def update!(**args) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) end |