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.



6970
6971
6972
# File 'lib/google/apis/docs_v1/classes.rb', line 6970

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)


6963
6964
6965
# File 'lib/google/apis/docs_v1/classes.rb', line 6963

def fields
  @fields
end

#tab_propertiesGoogle::Apis::DocsV1::TabProperties

Properties of a tab. Corresponds to the JSON property tabProperties



6968
6969
6970
# File 'lib/google/apis/docs_v1/classes.rb', line 6968

def tab_properties
  @tab_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6975
6976
6977
6978
# File 'lib/google/apis/docs_v1/classes.rb', line 6975

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