class Google::Apis::DocsV1::Header
A document header.
Attributes
content[RW]
The contents of the header. The indexes for a header's content begin at zero. Corresponds to the JSON property `content` @return [Array<Google::Apis::DocsV1::StructuralElement>]
header_id[RW]
The ID of the header. Corresponds to the JSON property `headerId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 1737 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 1742 def update!(**args) @content = args[:content] if args.key?(:content) @header_id = args[:header_id] if args.key?(:header_id) end