This service provides access to classic Google Sites.
Classes
Name | Brief description |
---|---|
| A Sites Attachment such as a file attached to a page. |
| A typesafe enum for sites attachment type. |
| A Sites Column - a column from a Sites List page. |
| A Comment attached to any Sites page. |
| A Sites ListItem - a list element from a Sites List page. |
| A Page on a Google Site. |
| A typesafe enum for sites page type. |
| An object representing a Google Site. |
| Create and access Google Sites. |
Attachment
Methods
Method | Return type | Brief description |
---|---|---|
getAs(contentType) | Blob | Return the data inside this object as a blob converted to the specified content type. |
getBlob() | Blob | Return the data inside this object as a blob. |
AttachmentType
Column
Comment
ListItem
Page
PageType
Site
Methods
Method | Return type | Brief description |
---|---|---|
addEditor(emailAddress) |
| Adds the given user to the list of editors for the . |
addEditor(user) |
| Adds the given user to the list of editors for the . |
addEditors(emailAddresses) |
| Adds the given array of users to the list of editors for the . |
addViewer(emailAddress) |
| Adds the given user to the list of viewers for the . |
addViewer(user) |
| Adds the given user to the list of viewers for the . |
addViewers(emailAddresses) |
| Adds the given array of users to the list of viewers for the . |
getEditors() | User[] | Gets the list of editors for this . |
getViewers() | User[] | Gets the list of viewers and commenters for this . |
removeEditor(emailAddress) |
| Removes the given user from the list of editors for the . |
removeEditor(user) |
| Removes the given user from the list of editors for the . |
removeViewer(emailAddress) |
| Removes the given user from the list of viewers and commenters for the . |
removeViewer(user) |
| Removes the given user from the list of viewers and commenters for the . |