Class List Stay organized with collections Save and categorize content based on your preferences.
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 theParagraphs 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 followingscopes:
https://www.googleapis.com/auth/presentations.currentonlyhttps://www.googleapis.com/auth/presentations
getListParagraphs()
Returns all theParagraphs in the list.
Return
Authorization
Scripts that use this method require authorization with one or more of the followingscopes:
https://www.googleapis.com/auth/presentations.currentonlyhttps://www.googleapis.com/auth/presentations
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.