Class: Google::Apis::DocsV1::AddDocumentTabRequest
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::AddDocumentTabRequest
- 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
Adds a document tab. When a tab is added at a given index, all subsequent tabs' indexes are incremented.
Instance Attribute Summary collapse
-
#tab_properties ⇒ Google::Apis::DocsV1::TabProperties
Properties of a tab.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddDocumentTabRequest
constructor
A new instance of AddDocumentTabRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AddDocumentTabRequest
Returns a new instance of AddDocumentTabRequest.
35 36 37 |
# File 'lib/google/apis/docs_v1/classes.rb', line 35 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tab_properties ⇒ Google::Apis::DocsV1::TabProperties
Properties of a tab.
Corresponds to the JSON property tabProperties
33 34 35 |
# File 'lib/google/apis/docs_v1/classes.rb', line 33 def tab_properties @tab_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40 41 42 |
# File 'lib/google/apis/docs_v1/classes.rb', line 40 def update!(**args) @tab_properties = args[:tab_properties] if args.key?(:tab_properties) end |