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.
1287 1288 1289 |
# File 'lib/google/apis/docs_v1/classes.rb', line 1287 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
1285 1286 1287 |
# File 'lib/google/apis/docs_v1/classes.rb', line 1285 def document_mode @document_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1292 1293 1294 |
# File 'lib/google/apis/docs_v1/classes.rb', line 1292 def update!(**args) @document_mode = args[:document_mode] if args.key?(:document_mode) end |