Class: Google::Apis::DocsV1::DeleteTabRequest

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

Deletes a tab. If the tab has child tabs, they are deleted as well.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeleteTabRequest

Returns a new instance of DeleteTabRequest.



1097
1098
1099
# File 'lib/google/apis/docs_v1/classes.rb', line 1097

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

Instance Attribute Details

#tab_idString

The ID of the tab to delete. Corresponds to the JSON property tabId

Returns:

  • (String)


1095
1096
1097
# File 'lib/google/apis/docs_v1/classes.rb', line 1095

def tab_id
  @tab_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1102
1103
1104
# File 'lib/google/apis/docs_v1/classes.rb', line 1102

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