Google Apps Script API
Preparing search index...
google-apps-script-events
GoogleAppsScript
Gmail
GmailLabel
Interface GmailLabel
A user-created label in a user's Gmail account.
interface
GmailLabel
{
addToThread
(
thread
:
GmailThread
)
:
GmailLabel
;
addToThreads
(
threads
:
GmailThread
[]
)
:
GmailLabel
;
deleteLabel
()
:
void
;
getName
()
:
string
;
getThreads
()
:
GmailThread
[]
;
getThreads
(
start
:
number
,
max
:
number
)
:
GmailThread
[]
;
getUnreadCount
()
:
number
;
removeFromThread
(
thread
:
GmailThread
)
:
GmailLabel
;
removeFromThreads
(
threads
:
GmailThread
[]
)
:
GmailLabel
;
}
Index
Methods
add
To
Thread
add
To
Threads
delete
Label
get
Name
get
Threads
get
Unread
Count
remove
From
Thread
remove
From
Threads
Methods
add
To
Thread
addToThread
(
thread
:
GmailThread
)
:
GmailLabel
Parameters
thread
:
GmailThread
Returns
GmailLabel
add
To
Threads
addToThreads
(
threads
:
GmailThread
[]
)
:
GmailLabel
Parameters
threads
:
GmailThread
[]
Returns
GmailLabel
delete
Label
deleteLabel
()
:
void
Returns
void
get
Name
getName
()
:
string
Returns
string
get
Threads
getThreads
()
:
GmailThread
[]
Returns
GmailThread
[]
getThreads
(
start
:
number
,
max
:
number
)
:
GmailThread
[]
Parameters
start
:
number
max
:
number
Returns
GmailThread
[]
get
Unread
Count
getUnreadCount
()
:
number
Returns
number
remove
From
Thread
removeFromThread
(
thread
:
GmailThread
)
:
GmailLabel
Parameters
thread
:
GmailThread
Returns
GmailLabel
remove
From
Threads
removeFromThreads
(
threads
:
GmailThread
[]
)
:
GmailLabel
Parameters
threads
:
GmailThread
[]
Returns
GmailLabel
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
add
To
Thread
add
To
Threads
delete
Label
get
Name
get
Threads
get
Unread
Count
remove
From
Thread
remove
From
Threads
Google Apps Script API
Loading...
A user-created label in a user's Gmail account.