Class: Google::Apis::DocsV1::UpdateDocumentTabPropertiesRequest

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

Update the properties of a document tab.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateDocumentTabPropertiesRequest

Returns a new instance of UpdateDocumentTabPropertiesRequest.



7021
7022
7023
# File 'lib/google/apis/docs_v1/classes.rb', line 7021

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

Instance Attribute Details

#fieldsString

The fields that should be updated. At least one field must be specified. The root tab_properties is implied and should not be specified. A single "*" can be used as short-hand for listing every field. Corresponds to the JSON property fields

Returns:

  • (String)


7014
7015
7016
# File 'lib/google/apis/docs_v1/classes.rb', line 7014

def fields
  @fields
end

#tab_propertiesGoogle::Apis::DocsV1::TabProperties

Properties of a tab. Corresponds to the JSON property tabProperties



7019
7020
7021
# File 'lib/google/apis/docs_v1/classes.rb', line 7019

def tab_properties
  @tab_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7026
7027
7028
7029
# File 'lib/google/apis/docs_v1/classes.rb', line 7026

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