Class: Google::Apis::DocsV1::UpdateDocumentTabPropertiesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::UpdateDocumentTabPropertiesRequest
- 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
-
#fields ⇒ String
The fields that should be updated.
-
#tab_properties ⇒ Google::Apis::DocsV1::TabProperties
Properties of a tab.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateDocumentTabPropertiesRequest
constructor
A new instance of UpdateDocumentTabPropertiesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateDocumentTabPropertiesRequest
Returns a new instance of UpdateDocumentTabPropertiesRequest.
7020 7021 7022 |
# File 'lib/google/apis/docs_v1/classes.rb', line 7020 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fields ⇒ String
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
7013 7014 7015 |
# File 'lib/google/apis/docs_v1/classes.rb', line 7013 def fields @fields end |
#tab_properties ⇒ Google::Apis::DocsV1::TabProperties
Properties of a tab.
Corresponds to the JSON property tabProperties
7018 7019 7020 |
# File 'lib/google/apis/docs_v1/classes.rb', line 7018 def tab_properties @tab_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7025 7026 7027 7028 |
# File 'lib/google/apis/docs_v1/classes.rb', line 7025 def update!(**args) @fields = args[:fields] if args.key?(:fields) @tab_properties = args[:tab_properties] if args.key?(:tab_properties) end |