Class: Google::Apis::DocsV1::AddDocumentTabResponse

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

The result of adding a document tab.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AddDocumentTabResponse

Returns a new instance of AddDocumentTabResponse.



54
55
56
# File 'lib/google/apis/docs_v1/classes.rb', line 54

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

Instance Attribute Details

#tab_propertiesGoogle::Apis::DocsV1::TabProperties

Properties of a tab. Corresponds to the JSON property tabProperties



52
53
54
# File 'lib/google/apis/docs_v1/classes.rb', line 52

def tab_properties
  @tab_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



59
60
61
# File 'lib/google/apis/docs_v1/classes.rb', line 59

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