Google Apps Script API
Preparing search index...
google-apps-script-events
GoogleAppsScript
Document
RichLink
Interface RichLink
An element representing a link to a Google resource, such as a Drive file or a YouTube video.
interface
RichLink
{
asBody
()
:
GoogleAppsScript
.
Document
.
Body
;
asDate
()
:
GoogleAppsScript
.
Document
.
Date
;
asEquation
()
:
GoogleAppsScript
.
Document
.
Equation
;
asEquationFunction
()
:
EquationFunction
;
asEquationFunctionArgumentSeparator
()
:
EquationFunctionArgumentSeparator
;
asEquationSymbol
()
:
EquationSymbol
;
asFooterSection
()
:
FooterSection
;
asFootnote
()
:
GoogleAppsScript
.
Document
.
Footnote
;
asFootnoteSection
()
:
FootnoteSection
;
asHeaderSection
()
:
HeaderSection
;
asHorizontalRule
()
:
GoogleAppsScript
.
Document
.
HorizontalRule
;
asInlineDrawing
()
:
InlineDrawing
;
asInlineImage
()
:
InlineImage
;
asListItem
()
:
GoogleAppsScript
.
Document
.
ListItem
;
asPageBreak
()
:
GoogleAppsScript
.
Document
.
PageBreak
;
asParagraph
()
:
GoogleAppsScript
.
Document
.
Paragraph
;
asPerson
()
:
GoogleAppsScript
.
Document
.
Person
;
asRichLink
()
:
RichLink
;
asTable
()
:
GoogleAppsScript
.
Document
.
Table
;
asTableCell
()
:
GoogleAppsScript
.
Document
.
TableCell
;
asTableOfContents
()
:
GoogleAppsScript
.
Document
.
TableOfContents
;
asTableRow
()
:
GoogleAppsScript
.
Document
.
TableRow
;
asText
()
:
GoogleAppsScript
.
Document
.
Text
;
copy
()
:
RichLink
;
getAttributes
()
:
any
;
getMimeType
()
:
string
;
getNextSibling
()
:
GoogleAppsScript
.
Document
.
Element
;
getParent
()
:
ContainerElement
;
getPreviousSibling
()
:
GoogleAppsScript
.
Document
.
Element
;
getTitle
()
:
string
;
getType
()
:
ElementType
;
getUrl
()
:
string
;
isAtDocumentEnd
()
:
boolean
;
merge
()
:
RichLink
;
removeFromParent
()
:
RichLink
;
setAttributes
(
attributes
:
any
)
:
RichLink
;
}
Hierarchy (
View Summary
)
GoogleAppsScript
.
Document
.
Element
RichLink
Index
Methods
as
Body
as
Date
as
Equation
as
Equation
Function
as
Equation
Function
Argument
Separator
as
Equation
Symbol
as
Footer
Section
as
Footnote
as
Footnote
Section
as
Header
Section
as
Horizontal
Rule
as
Inline
Drawing
as
Inline
Image
as
List
Item
as
Page
Break
as
Paragraph
as
Person
as
Rich
Link
as
Table
as
Table
Cell
as
Table
Of
Contents
as
Table
Row
as
Text
copy
get
Attributes
get
Mime
Type
get
Next
Sibling
get
Parent
get
Previous
Sibling
get
Title
get
Type
get
Url
is
At
Document
End
merge
remove
From
Parent
set
Attributes
Methods
as
Body
asBody
()
:
GoogleAppsScript
.
Document
.
Body
Returns
GoogleAppsScript
.
Document
.
Body
as
Date
asDate
()
:
GoogleAppsScript
.
Document
.
Date
Returns
GoogleAppsScript
.
Document
.
Date
as
Equation
asEquation
()
:
GoogleAppsScript
.
Document
.
Equation
Returns
GoogleAppsScript
.
Document
.
Equation
as
Equation
Function
asEquationFunction
()
:
EquationFunction
Returns
EquationFunction
as
Equation
Function
Argument
Separator
asEquationFunctionArgumentSeparator
()
:
EquationFunctionArgumentSeparator
Returns
EquationFunctionArgumentSeparator
as
Equation
Symbol
asEquationSymbol
()
:
EquationSymbol
Returns
EquationSymbol
as
Footer
Section
asFooterSection
()
:
FooterSection
Returns
FooterSection
as
Footnote
asFootnote
()
:
GoogleAppsScript
.
Document
.
Footnote
Returns
GoogleAppsScript
.
Document
.
Footnote
as
Footnote
Section
asFootnoteSection
()
:
FootnoteSection
Returns
FootnoteSection
as
Header
Section
asHeaderSection
()
:
HeaderSection
Returns
HeaderSection
as
Horizontal
Rule
asHorizontalRule
()
:
GoogleAppsScript
.
Document
.
HorizontalRule
Returns
GoogleAppsScript
.
Document
.
HorizontalRule
as
Inline
Drawing
asInlineDrawing
()
:
InlineDrawing
Returns
InlineDrawing
as
Inline
Image
asInlineImage
()
:
InlineImage
Returns
InlineImage
as
List
Item
asListItem
()
:
GoogleAppsScript
.
Document
.
ListItem
Returns
GoogleAppsScript
.
Document
.
ListItem
as
Page
Break
asPageBreak
()
:
GoogleAppsScript
.
Document
.
PageBreak
Returns
GoogleAppsScript
.
Document
.
PageBreak
as
Paragraph
asParagraph
()
:
GoogleAppsScript
.
Document
.
Paragraph
Returns
GoogleAppsScript
.
Document
.
Paragraph
as
Person
asPerson
()
:
GoogleAppsScript
.
Document
.
Person
Returns
GoogleAppsScript
.
Document
.
Person
as
Rich
Link
asRichLink
()
:
RichLink
Returns
RichLink
as
Table
asTable
()
:
GoogleAppsScript
.
Document
.
Table
Returns
GoogleAppsScript
.
Document
.
Table
as
Table
Cell
asTableCell
()
:
GoogleAppsScript
.
Document
.
TableCell
Returns
GoogleAppsScript
.
Document
.
TableCell
as
Table
Of
Contents
asTableOfContents
()
:
GoogleAppsScript
.
Document
.
TableOfContents
Returns
GoogleAppsScript
.
Document
.
TableOfContents
as
Table
Row
asTableRow
()
:
GoogleAppsScript
.
Document
.
TableRow
Returns
GoogleAppsScript
.
Document
.
TableRow
as
Text
asText
()
:
GoogleAppsScript
.
Document
.
Text
Returns
GoogleAppsScript
.
Document
.
Text
copy
copy
()
:
RichLink
Returns
RichLink
get
Attributes
getAttributes
()
:
any
Returns
any
get
Mime
Type
getMimeType
()
:
string
Returns
string
get
Next
Sibling
getNextSibling
()
:
GoogleAppsScript
.
Document
.
Element
Returns
GoogleAppsScript
.
Document
.
Element
get
Parent
getParent
()
:
ContainerElement
Returns
ContainerElement
get
Previous
Sibling
getPreviousSibling
()
:
GoogleAppsScript
.
Document
.
Element
Returns
GoogleAppsScript
.
Document
.
Element
get
Title
getTitle
()
:
string
Returns
string
get
Type
getType
()
:
ElementType
Returns
ElementType
get
Url
getUrl
()
:
string
Returns
string
is
At
Document
End
isAtDocumentEnd
()
:
boolean
Returns
boolean
merge
merge
()
:
RichLink
Returns
RichLink
remove
From
Parent
removeFromParent
()
:
RichLink
Returns
RichLink
set
Attributes
setAttributes
(
attributes
:
any
)
:
RichLink
Parameters
attributes
:
any
Returns
RichLink
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
as
Body
as
Date
as
Equation
as
Equation
Function
as
Equation
Function
Argument
Separator
as
Equation
Symbol
as
Footer
Section
as
Footnote
as
Footnote
Section
as
Header
Section
as
Horizontal
Rule
as
Inline
Drawing
as
Inline
Image
as
List
Item
as
Page
Break
as
Paragraph
as
Person
as
Rich
Link
as
Table
as
Table
Cell
as
Table
Of
Contents
as
Table
Row
as
Text
copy
get
Attributes
get
Mime
Type
get
Next
Sibling
get
Parent
get
Previous
Sibling
get
Title
get
Type
get
Url
is
At
Document
End
merge
remove
From
Parent
set
Attributes
Google Apps Script API
Loading...
An element representing a link to a Google resource, such as a Drive file or a YouTube video.