Class: Google::Apis::DocsV1::DocumentFormat
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::DocumentFormat
- 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
Represents document-level format settings.
Instance Attribute Summary collapse
-
#document_mode ⇒ String
Whether the document has pages or is pageless.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DocumentFormat
constructor
A new instance of DocumentFormat.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DocumentFormat
Returns a new instance of DocumentFormat.
1103 1104 1105 |
# File 'lib/google/apis/docs_v1/classes.rb', line 1103 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document_mode ⇒ String
Whether the document has pages or is pageless.
Corresponds to the JSON property documentMode
1101 1102 1103 |
# File 'lib/google/apis/docs_v1/classes.rb', line 1101 def document_mode @document_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1108 1109 1110 |
# File 'lib/google/apis/docs_v1/classes.rb', line 1108 def update!(**args) @document_mode = args[:document_mode] if args.key?(:document_mode) end |