Class: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/sheets_v4/classes.rb,
generated/google/apis/sheets_v4/representations.rb,
generated/google/apis/sheets_v4/representations.rb

Overview

Deletes the embedded object with the given ID.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DeleteEmbeddedObjectRequest

Returns a new instance of DeleteEmbeddedObjectRequest



2107
2108
2109
# File 'generated/google/apis/sheets_v4/classes.rb', line 2107

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

Instance Attribute Details

#object_id_propFixnum

The ID of the embedded object to delete. Corresponds to the JSON property objectId

Returns:

  • (Fixnum)


2105
2106
2107
# File 'generated/google/apis/sheets_v4/classes.rb', line 2105

def object_id_prop
  @object_id_prop
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2112
2113
2114
# File 'generated/google/apis/sheets_v4/classes.rb', line 2112

def update!(**args)
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
end