AI-generated Key Takeaways
-
This documentation outlines the properties and methods associated with the 'List' object in Google Slides, allowing developers to interact with lists programmatically.
-
Two primary methods,
getListId()
andgetListParagraphs()
, enable retrieval of the list's ID and its constituent paragraphs, respectively. -
Both methods necessitate authorization with specific scopes related to Google Presentations for security and access control.
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