class Google::Apis::DocsV1::Body

The document body. The body typically contains the full document contents except for headers, footers and footnotes.

Attributes

content[RW]

The contents of the body. The indexes for the body's content begin at zero. Corresponds to the JSON property `content` @return [Array<Google::Apis::DocsV1::StructuralElement>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 189
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/docs_v1/classes.rb, line 194
def update!(**args)
  @content = args[:content] if args.key?(:content)
end