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 |
|---|---|---|
String
|
Returns the ID of the list. | |
Paragraph[]
|
Returns all the Paragraphs
in the list. |
Detailed documentation
get
List
Id()
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
get
List
Paragraphs()
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

