AI-generated Key Takeaways
-
The
Listobject represents a list in the text and has methods to retrieve its ID and paragraphs. -
The
getListId()method returns the unique identifier for the list as a string. -
The
getListParagraphs()method returns an array ofParagraphobjects contained within the list. -
Both methods require specific authorization scopes related to accessing presentations.
A list in the text.
Methods
| Method | Return type | Brief description |
|---|---|---|
get | String | Returns the ID of the list. |
get | Paragraph[] | Returns all the Paragraphs in the list. |
Detailed documentation
getListId()
Returns the ID of the list.
Return
String
Authorization
Scripts that use this method require authorization with one or more of the following scopes:
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
getListParagraphs()
Returns all the Paragraphs in the list.
Return
Authorization
Scripts that use this method require authorization with one or more of the following scopes:
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations