AI-generated Key Takeaways
- 
          The Project resource represents a script project and includes fields like scriptId,title,parentId,createTime,updateTime,creator, andlastModifyUser.
- 
          The User resource provides basic user profile information such as domain,email,name, andphotoUrl.
- 
          Available methods for managing script projects include create,get,getContent,getMetrics, andupdateContent.
Resource: Project
The script project resource.
| JSON representation | 
|---|
| { "scriptId": string, "title": string, "parentId": string, "createTime": string, "updateTime": string, "creator": { object ( | 
| Fields | |
|---|---|
| scriptId | 
 The script project's Drive ID. | 
| title | 
 The title for the project. | 
| parentId | 
 The parent's Drive ID that the script will be attached to. This is usually the ID of a Google Document or Google Sheet. This filed is optional, and if not set, a stand-alone script will be created. | 
| createTime | 
 When the script was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:  | 
| updateTime | 
 When the script was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:  | 
| creator | 
 User who originally created the script. | 
| lastModifyUser | 
 User who last modified the script. | 
User
A simple user profile resource.
| JSON representation | 
|---|
| { "domain": string, "email": string, "name": string, "photoUrl": string } | 
| Fields | |
|---|---|
| domain | 
 The user's domain. | 
| email | 
 The user's identifying email address. | 
| name | 
 The user's display name. | 
| photoUrl | 
 The user's photo. | 
| Methods | |
|---|---|
| 
 | Creates a new, empty script project with no script files and a base manifest file. | 
| 
 | Gets a script project's metadata. | 
| 
 | Gets the content of the script project, including the code source and metadata for each script file. | 
| 
 | Get metrics data for scripts, such as number of executions and active users. | 
| 
 | Updates the content of the specified script project. |