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.



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

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)


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

def tab_id
  @tab_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1108
1109
1110
# File 'lib/google/apis/docs_v1/classes.rb', line 1108

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