Class: Google::Apis::DocsV1::Body
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::Body
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb
Overview
The document body. The body typically contains the full document contents except for headers, footers and footnotes.
Instance Attribute Summary collapse
-
#content ⇒ Array<Google::Apis::DocsV1::StructuralElement>
The contents of the body.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Body
constructor
A new instance of Body.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Body
Returns a new instance of Body
198 199 200 |
# File 'generated/google/apis/docs_v1/classes.rb', line 198 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ Array<Google::Apis::DocsV1::StructuralElement>
The contents of the body.
The indices for the body's content begin at zero.
Corresponds to the JSON property content
196 197 198 |
# File 'generated/google/apis/docs_v1/classes.rb', line 196 def content @content end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
203 204 205 |
# File 'generated/google/apis/docs_v1/classes.rb', line 203 def update!(**args) @content = args[:content] if args.key?(:content) end |