grr-cli 2.3.0

Google tools from the terminal, at maximum performance: 401 methods across 14 Google APIs in one generated command tree, zero-config, over HTTP/3
Documentation
1
{"name":"script","version":"v1","revision":"20261011","title":"Apps Script API","rootUrl":"https://script.googleapis.com/","servicePath":"","basePath":"","batchPath":"batch","methods":[{"id":"processes.list","httpMethod":"GET","path":"v1/processes","flatPath":"v1/processes","description":"List information about processes made by or on behalf of a user, such as process type and current status.","scopes":["https://www.googleapis.com/auth/script.processes"],"required":[],"parameters":[{"name":"pageSize","type":"integer","required":false,"repeated":false,"location":"query","description":"The maximum number of returned processes per page of results. Defaults to 50.","enum":null,"enumDescriptions":null,"format":"int32","default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"pageToken","type":"string","required":false,"repeated":false,"location":"query","description":"The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from a previous response.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"userProcessFilter.deploymentId","type":"string","required":false,"repeated":false,"location":"query","description":"Optional field used to limit returned processes to those originating from projects with a specific deployment ID.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"userProcessFilter.endTime","type":"string","required":false,"repeated":false,"location":"query","description":"Optional field used to limit returned processes to those that completed on or before the given timestamp.","enum":null,"enumDescriptions":null,"format":"google-datetime","default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"userProcessFilter.functionName","type":"string","required":false,"repeated":false,"location":"query","description":"Optional field used to limit returned processes to those originating from a script function with the given function name.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"userProcessFilter.projectName","type":"string","required":false,"repeated":false,"location":"query","description":"Optional field used to limit returned processes to those originating from projects with project names containing a specific string.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"userProcessFilter.scriptId","type":"string","required":false,"repeated":false,"location":"query","description":"Optional field used to limit returned processes to those originating from projects with a specific script ID.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"userProcessFilter.startTime","type":"string","required":false,"repeated":false,"location":"query","description":"Optional field used to limit returned processes to those that were started on or after the given timestamp.","enum":null,"enumDescriptions":null,"format":"google-datetime","default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"userProcessFilter.statuses","type":"string","required":false,"repeated":true,"location":"query","description":"Optional field used to limit returned processes to those having one of the specified process statuses.","enum":["PROCESS_STATUS_UNSPECIFIED","RUNNING","PAUSED","COMPLETED","CANCELED","FAILED","TIMED_OUT","UNKNOWN","DELAYED","EXECUTION_DISABLED"],"enumDescriptions":["Unspecified status.","The process is currently running.","The process has paused.","The process has completed.","The process was cancelled.","The process failed.","The process timed out.","Process status unknown.","The process is delayed, waiting for quota.","AppsScript executions are disabled by Admin."],"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"userProcessFilter.types","type":"string","required":false,"repeated":true,"location":"query","description":"Optional field used to limit returned processes to those having one of the specified process types.","enum":["PROCESS_TYPE_UNSPECIFIED","ADD_ON","EXECUTION_API","TIME_DRIVEN","TRIGGER","WEBAPP","EDITOR","SIMPLE_TRIGGER","MENU","BATCH_TASK"],"enumDescriptions":["Unspecified type.","The process was started from an add-on entry point.","The process was started using the Apps Script API.","The process was started from a time-based trigger.","The process was started from an event-based trigger.","The process was started from a web app entry point.","The process was started using the Apps Script IDE.","The process was started from a G Suite simple trigger.","The process was started from a G Suite menu item.","The process was started as a task in a batch job."],"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"userProcessFilter.userAccessLevels","type":"string","required":false,"repeated":true,"location":"query","description":"Optional field used to limit returned processes to those having one of the specified user access levels.","enum":["USER_ACCESS_LEVEL_UNSPECIFIED","NONE","READ","WRITE","OWNER"],"enumDescriptions":["User access level unspecified","The user has no access.","The user has read-only access.","The user has write access.","The user is an owner."],"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null}],"responseRef":"ListUserProcessesResponse"},{"id":"processes.listScriptProcesses","httpMethod":"GET","path":"v1/processes:listScriptProcesses","flatPath":"v1/processes:listScriptProcesses","description":"List information about a script's executed processes, such as process type and current status.","scopes":["https://www.googleapis.com/auth/script.processes"],"required":[],"parameters":[{"name":"pageSize","type":"integer","required":false,"repeated":false,"location":"query","description":"The maximum number of returned processes per page of results. Defaults to 50.","enum":null,"enumDescriptions":null,"format":"int32","default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"pageToken","type":"string","required":false,"repeated":false,"location":"query","description":"The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from a previous response.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"scriptId","type":"string","required":false,"repeated":false,"location":"query","description":"The script ID of the project whose processes are listed.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"scriptProcessFilter.deploymentId","type":"string","required":false,"repeated":false,"location":"query","description":"Optional field used to limit returned processes to those originating from projects with a specific deployment ID.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"scriptProcessFilter.endTime","type":"string","required":false,"repeated":false,"location":"query","description":"Optional field used to limit returned processes to those that completed on or before the given timestamp.","enum":null,"enumDescriptions":null,"format":"google-datetime","default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"scriptProcessFilter.functionName","type":"string","required":false,"repeated":false,"location":"query","description":"Optional field used to limit returned processes to those originating from a script function with the given function name.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"scriptProcessFilter.startTime","type":"string","required":false,"repeated":false,"location":"query","description":"Optional field used to limit returned processes to those that were started on or after the given timestamp.","enum":null,"enumDescriptions":null,"format":"google-datetime","default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"scriptProcessFilter.statuses","type":"string","required":false,"repeated":true,"location":"query","description":"Optional field used to limit returned processes to those having one of the specified process statuses.","enum":["PROCESS_STATUS_UNSPECIFIED","RUNNING","PAUSED","COMPLETED","CANCELED","FAILED","TIMED_OUT","UNKNOWN","DELAYED","EXECUTION_DISABLED"],"enumDescriptions":["Unspecified status.","The process is currently running.","The process has paused.","The process has completed.","The process was cancelled.","The process failed.","The process timed out.","Process status unknown.","The process is delayed, waiting for quota.","AppsScript executions are disabled by Admin."],"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"scriptProcessFilter.types","type":"string","required":false,"repeated":true,"location":"query","description":"Optional field used to limit returned processes to those having one of the specified process types.","enum":["PROCESS_TYPE_UNSPECIFIED","ADD_ON","EXECUTION_API","TIME_DRIVEN","TRIGGER","WEBAPP","EDITOR","SIMPLE_TRIGGER","MENU","BATCH_TASK"],"enumDescriptions":["Unspecified type.","The process was started from an add-on entry point.","The process was started using the Apps Script API.","The process was started from a time-based trigger.","The process was started from an event-based trigger.","The process was started from a web app entry point.","The process was started using the Apps Script IDE.","The process was started from a G Suite simple trigger.","The process was started from a G Suite menu item.","The process was started as a task in a batch job."],"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"scriptProcessFilter.userAccessLevels","type":"string","required":false,"repeated":true,"location":"query","description":"Optional field used to limit returned processes to those having one of the specified user access levels.","enum":["USER_ACCESS_LEVEL_UNSPECIFIED","NONE","READ","WRITE","OWNER"],"enumDescriptions":["User access level unspecified","The user has no access.","The user has read-only access.","The user has write access.","The user is an owner."],"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null}],"responseRef":"ListScriptProcessesResponse"},{"id":"projects.create","httpMethod":"POST","path":"v1/projects","flatPath":"v1/projects","description":"Creates a new, empty script project with no script files and a base manifest file.","scopes":["https://www.googleapis.com/auth/script.projects"],"required":[],"parameters":[],"responseRef":"Project"},{"id":"projects.deployments.create","httpMethod":"POST","path":"v1/projects/{scriptId}/deployments","flatPath":"v1/projects/{scriptId}/deployments","description":"Creates a deployment of an Apps Script project.","scopes":["https://www.googleapis.com/auth/script.deployments"],"required":["scriptId"],"parameters":[{"name":"scriptId","type":"string","required":true,"repeated":false,"location":"path","description":"The script project's Drive ID.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null}],"responseRef":"Deployment"},{"id":"projects.deployments.delete","httpMethod":"DELETE","path":"v1/projects/{scriptId}/deployments/{deploymentId}","flatPath":"v1/projects/{scriptId}/deployments/{deploymentId}","description":"Deletes a deployment of an Apps Script project.","scopes":["https://www.googleapis.com/auth/script.deployments"],"required":["scriptId","deploymentId"],"parameters":[{"name":"deploymentId","type":"string","required":true,"repeated":false,"location":"path","description":"The deployment ID to be undeployed.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"scriptId","type":"string","required":true,"repeated":false,"location":"path","description":"The script project's Drive ID.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null}],"responseRef":"Empty"},{"id":"projects.deployments.get","httpMethod":"GET","path":"v1/projects/{scriptId}/deployments/{deploymentId}","flatPath":"v1/projects/{scriptId}/deployments/{deploymentId}","description":"Gets a deployment of an Apps Script project.","scopes":["https://www.googleapis.com/auth/script.deployments","https://www.googleapis.com/auth/script.deployments.readonly"],"required":["scriptId","deploymentId"],"parameters":[{"name":"deploymentId","type":"string","required":true,"repeated":false,"location":"path","description":"The deployment ID.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"scriptId","type":"string","required":true,"repeated":false,"location":"path","description":"The script project's Drive ID.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null}],"responseRef":"Deployment"},{"id":"projects.deployments.list","httpMethod":"GET","path":"v1/projects/{scriptId}/deployments","flatPath":"v1/projects/{scriptId}/deployments","description":"Lists the deployments of an Apps Script project.","scopes":["https://www.googleapis.com/auth/script.deployments","https://www.googleapis.com/auth/script.deployments.readonly"],"required":["scriptId"],"parameters":[{"name":"pageSize","type":"integer","required":false,"repeated":false,"location":"query","description":"The maximum number of deployments on each returned page. Defaults to 50.","enum":null,"enumDescriptions":null,"format":"int32","default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"pageToken","type":"string","required":false,"repeated":false,"location":"query","description":"The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from a previous response.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"scriptId","type":"string","required":true,"repeated":false,"location":"path","description":"The script project's Drive ID.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null}],"responseRef":"ListDeploymentsResponse"},{"id":"projects.deployments.update","httpMethod":"PUT","path":"v1/projects/{scriptId}/deployments/{deploymentId}","flatPath":"v1/projects/{scriptId}/deployments/{deploymentId}","description":"Updates a deployment of an Apps Script project.","scopes":["https://www.googleapis.com/auth/script.deployments"],"required":["scriptId","deploymentId"],"parameters":[{"name":"deploymentId","type":"string","required":true,"repeated":false,"location":"path","description":"The deployment ID for this deployment.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"scriptId","type":"string","required":true,"repeated":false,"location":"path","description":"The script project's Drive ID.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null}],"responseRef":"Deployment"},{"id":"projects.get","httpMethod":"GET","path":"v1/projects/{scriptId}","flatPath":"v1/projects/{scriptId}","description":"Gets a script project's metadata.","scopes":["https://www.googleapis.com/auth/script.projects","https://www.googleapis.com/auth/script.projects.readonly"],"required":["scriptId"],"parameters":[{"name":"scriptId","type":"string","required":true,"repeated":false,"location":"path","description":"The script project's Drive ID.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null}],"responseRef":"Project"},{"id":"projects.getContent","httpMethod":"GET","path":"v1/projects/{scriptId}/content","flatPath":"v1/projects/{scriptId}/content","description":"Gets the content of the script project, including the code source and metadata for each script file.","scopes":["https://www.googleapis.com/auth/script.projects","https://www.googleapis.com/auth/script.projects.readonly"],"required":["scriptId"],"parameters":[{"name":"scriptId","type":"string","required":true,"repeated":false,"location":"path","description":"The script project's Drive ID.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"versionNumber","type":"integer","required":false,"repeated":false,"location":"query","description":"The version number of the project to retrieve. If not provided, the project's HEAD version is returned.","enum":null,"enumDescriptions":null,"format":"int32","default":null,"minimum":null,"maximum":null,"pattern":null}],"responseRef":"Content"},{"id":"projects.getMetrics","httpMethod":"GET","path":"v1/projects/{scriptId}/metrics","flatPath":"v1/projects/{scriptId}/metrics","description":"Get metrics data for scripts, such as number of executions and active users.","scopes":["https://www.googleapis.com/auth/script.metrics"],"required":["scriptId"],"parameters":[{"name":"metricsFilter.deploymentId","type":"string","required":false,"repeated":false,"location":"query","description":"Optional field indicating a specific deployment to retrieve metrics from.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"metricsGranularity","type":"string","required":false,"repeated":false,"location":"query","description":"Required field indicating what granularity of metrics are returned.","enum":["UNSPECIFIED_GRANULARITY","WEEKLY","DAILY"],"enumDescriptions":["Default metric granularity used to query no metrics.","Represents weekly metrics.","Represents daily metrics over a period of 7 days."],"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"scriptId","type":"string","required":true,"repeated":false,"location":"path","description":"Required field indicating the script to get metrics for.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null}],"responseRef":"Metrics"},{"id":"projects.updateContent","httpMethod":"PUT","path":"v1/projects/{scriptId}/content","flatPath":"v1/projects/{scriptId}/content","description":"Updates the content of the specified script project. This content is stored as the HEAD version, and is used when the script is executed as a trigger, in the script editor, in add-on preview mode, or as a web app or Apps Script API in development mode. This clears all the existing files in the proje","scopes":["https://www.googleapis.com/auth/script.projects"],"required":["scriptId"],"parameters":[{"name":"scriptId","type":"string","required":true,"repeated":false,"location":"path","description":"The script project's Drive ID.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null}],"responseRef":"Content"},{"id":"projects.versions.create","httpMethod":"POST","path":"v1/projects/{scriptId}/versions","flatPath":"v1/projects/{scriptId}/versions","description":"Creates a new immutable version using the current code, with a unique version number.","scopes":["https://www.googleapis.com/auth/script.projects"],"required":["scriptId"],"parameters":[{"name":"scriptId","type":"string","required":true,"repeated":false,"location":"path","description":"The script project's Drive ID.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null}],"responseRef":"Version"},{"id":"projects.versions.get","httpMethod":"GET","path":"v1/projects/{scriptId}/versions/{versionNumber}","flatPath":"v1/projects/{scriptId}/versions/{versionNumber}","description":"Gets a version of a script project.","scopes":["https://www.googleapis.com/auth/script.projects","https://www.googleapis.com/auth/script.projects.readonly"],"required":["scriptId","versionNumber"],"parameters":[{"name":"scriptId","type":"string","required":true,"repeated":false,"location":"path","description":"The script project's Drive ID.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"versionNumber","type":"integer","required":true,"repeated":false,"location":"path","description":"The version number.","enum":null,"enumDescriptions":null,"format":"int32","default":null,"minimum":null,"maximum":null,"pattern":null}],"responseRef":"Version"},{"id":"projects.versions.list","httpMethod":"GET","path":"v1/projects/{scriptId}/versions","flatPath":"v1/projects/{scriptId}/versions","description":"List the versions of a script project.","scopes":["https://www.googleapis.com/auth/script.projects","https://www.googleapis.com/auth/script.projects.readonly"],"required":["scriptId"],"parameters":[{"name":"pageSize","type":"integer","required":false,"repeated":false,"location":"query","description":"The maximum number of versions on each returned page. Defaults to 50.","enum":null,"enumDescriptions":null,"format":"int32","default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"pageToken","type":"string","required":false,"repeated":false,"location":"query","description":"The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from a previous response.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null},{"name":"scriptId","type":"string","required":true,"repeated":false,"location":"path","description":"The script project's Drive ID.","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null}],"responseRef":"ListVersionsResponse"},{"id":"scripts.run","httpMethod":"POST","path":"v1/scripts/{scriptId}:run","flatPath":"v1/scripts/{scriptId}:run","description":"","scopes":["https://mail.google.com/","https://www.google.com/calendar/feeds","https://www.google.com/m8/feeds","https://www.googleapis.com/auth/admin.directory.group","https://www.googleapis.com/auth/admin.directory.user","https://www.googleapis.com/auth/documents","https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/forms","https://www.googleapis.com/auth/forms.currentonly","https://www.googleapis.com/auth/groups","https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/userinfo.email"],"required":["scriptId"],"parameters":[{"name":"scriptId","type":"string","required":true,"repeated":false,"location":"path","description":"The script ID of the script to be executed. Find the script ID on the **Project settings** page under \"IDs.\" As multiple executable APIs can be deployed in new ","enum":null,"enumDescriptions":null,"format":null,"default":null,"minimum":null,"maximum":null,"pattern":null}],"responseRef":"Operation"}],"schemas":{"ListDeploymentsResponse":{"type":"object","properties":{"nextPageToken":{"type":"string"},"deployments":{"type":"array","items":{"type":"object","properties":{"deploymentConfig":{"type":"object","properties":{"description":{"type":"string"},"scriptId":{"type":"string"},"manifestFileName":{"type":"string"},"versionNumber":{"type":"integer"}}},"entryPoints":{"type":"array","items":{"type":"object","properties":{"addOn":{"type":"object","properties":{"addOnType":{"type":"string","enum":["UNKNOWN_ADDON_TYPE","GMAIL","DATA_STUDIO"]},"title":{"type":"string"},"helpUrl":{"type":"string"},"description":{"type":"string"},"reportIssueUrl":{"type":"string"},"postInstallTipUrl":{"type":"string"}}},"webApp":{"type":"object","properties":{"entryPointConfig":{"type":"object"},"url":{"type":"string"}}},"executionApi":{"type":"object","properties":{"entryPointConfig":{"type":"object"}}},"entryPointType":{"type":"string","enum":["ENTRY_POINT_TYPE_UNSPECIFIED","WEB_APP","EXECUTION_API","ADD_ON"]}}}},"deploymentId":{"type":"string"},"updateTime":{"type":"string"}}}}}},"MetricsValue":{"type":"object","properties":{"value":{"type":"string"},"endTime":{"type":"string"},"startTime":{"type":"string"}}},"UpdateDeploymentRequest":{"type":"object","properties":{"deploymentConfig":{"type":"object","properties":{"description":{"type":"string"},"scriptId":{"type":"string"},"manifestFileName":{"type":"string"},"versionNumber":{"type":"integer"}}}}},"Empty":{"type":"object"},"ScriptStackTraceElement":{"type":"object","properties":{"lineNumber":{"type":"integer"},"function":{"type":"string"}}},"GoogleAppsScriptTypeWebAppConfig":{"type":"object","properties":{"access":{"type":"string","enum":["UNKNOWN_ACCESS","MYSELF","DOMAIN","ANYONE","ANYONE_ANONYMOUS"]},"executeAs":{"type":"string","enum":["UNKNOWN_EXECUTE_AS","USER_ACCESSING","USER_DEPLOYING"]}}},"GoogleAppsScriptTypeExecutionApiEntryPoint":{"type":"object","properties":{"entryPointConfig":{"type":"object","properties":{"access":{"type":"string","enum":["UNKNOWN_ACCESS","MYSELF","DOMAIN","ANYONE","ANYONE_ANONYMOUS"]}}}}},"GoogleAppsScriptTypeExecutionApiConfig":{"type":"object","properties":{"access":{"type":"string","enum":["UNKNOWN_ACCESS","MYSELF","DOMAIN","ANYONE","ANYONE_ANONYMOUS"]}}},"GoogleAppsScriptTypeUser":{"type":"object","properties":{"domain":{"type":"string"},"photoUrl":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"}}},"GoogleAppsScriptTypeAddOnEntryPoint":{"type":"object","properties":{"addOnType":{"type":"string","enum":["UNKNOWN_ADDON_TYPE","GMAIL","DATA_STUDIO"]},"title":{"type":"string"},"helpUrl":{"type":"string"},"description":{"type":"string"},"reportIssueUrl":{"type":"string"},"postInstallTipUrl":{"type":"string"}}},"Operation":{"type":"object","properties":{"response":{"type":"object"},"done":{"type":"boolean"},"error":{"type":"object","properties":{"details":{"type":"array","items":{"type":"object"}},"code":{"type":"integer"},"message":{"type":"string"}}}}},"ListScriptProcessesResponse":{"type":"object","properties":{"nextPageToken":{"type":"string"},"processes":{"type":"array","items":{"type":"object","properties":{"projectName":{"type":"string"},"processType":{"type":"string","enum":["PROCESS_TYPE_UNSPECIFIED","ADD_ON","EXECUTION_API","TIME_DRIVEN","TRIGGER","WEBAPP","EDITOR","SIMPLE_TRIGGER","MENU","BATCH_TASK"]},"runtimeVersion":{"type":"string","enum":["RUNTIME_VERSION_UNSPECIFIED","DEPRECATED_ES5","V8"]},"userAccessLevel":{"type":"string","enum":["USER_ACCESS_LEVEL_UNSPECIFIED","NONE","READ","WRITE","OWNER"]},"processStatus":{"type":"string","enum":["PROCESS_STATUS_UNSPECIFIED","RUNNING","PAUSED","COMPLETED","CANCELED","FAILED","TIMED_OUT","UNKNOWN","DELAYED","EXECUTION_DISABLED"]},"startTime":{"type":"string"},"duration":{"type":"string"},"functionName":{"type":"string"}}}}}},"CreateProjectRequest":{"type":"object","properties":{"parentId":{"type":"string"},"title":{"type":"string"}}},"Content":{"type":"object","properties":{"scriptId":{"type":"string"},"files":{"type":"array","items":{"type":"object","properties":{"updateTime":{"type":"string"},"lastModifyUser":{"type":"object","properties":{"domain":{"type":"string"},"photoUrl":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"}}},"type":{"type":"string","enum":["ENUM_TYPE_UNSPECIFIED","SERVER_JS","HTML","JSON"]},"createTime":{"type":"string"},"functionSet":{"type":"object","properties":{"values":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"parameters":{"type":"array","items":{"type":"string"}}}}}}},"source":{"type":"string"},"name":{"type":"string"}}}}}},"ListUserProcessesResponse":{"type":"object","properties":{"nextPageToken":{"type":"string"},"processes":{"type":"array","items":{"type":"object","properties":{"projectName":{"type":"string"},"processType":{"type":"string","enum":["PROCESS_TYPE_UNSPECIFIED","ADD_ON","EXECUTION_API","TIME_DRIVEN","TRIGGER","WEBAPP","EDITOR","SIMPLE_TRIGGER","MENU","BATCH_TASK"]},"runtimeVersion":{"type":"string","enum":["RUNTIME_VERSION_UNSPECIFIED","DEPRECATED_ES5","V8"]},"userAccessLevel":{"type":"string","enum":["USER_ACCESS_LEVEL_UNSPECIFIED","NONE","READ","WRITE","OWNER"]},"processStatus":{"type":"string","enum":["PROCESS_STATUS_UNSPECIFIED","RUNNING","PAUSED","COMPLETED","CANCELED","FAILED","TIMED_OUT","UNKNOWN","DELAYED","EXECUTION_DISABLED"]},"startTime":{"type":"string"},"duration":{"type":"string"},"functionName":{"type":"string"}}}}}},"GoogleAppsScriptTypeFunction":{"type":"object","properties":{"name":{"type":"string"},"parameters":{"type":"array","items":{"type":"string"}}}},"ListVersionsResponse":{"type":"object","properties":{"versions":{"type":"array","items":{"type":"object","properties":{"versionNumber":{"type":"integer"},"scriptId":{"type":"string"},"description":{"type":"string"},"createTime":{"type":"string"}}}},"nextPageToken":{"type":"string"}}},"File":{"type":"object","properties":{"updateTime":{"type":"string"},"lastModifyUser":{"type":"object","properties":{"domain":{"type":"string"},"photoUrl":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"}}},"type":{"type":"string","enum":["ENUM_TYPE_UNSPECIFIED","SERVER_JS","HTML","JSON"]},"createTime":{"type":"string"},"functionSet":{"type":"object","properties":{"values":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"parameters":{"type":"array","items":{"type":"string"}}}}}}},"source":{"type":"string"},"name":{"type":"string"}}},"Project":{"type":"object","properties":{"scriptId":{"type":"string"},"parentId":{"type":"string"},"title":{"type":"string"},"creator":{"type":"object","properties":{"domain":{"type":"string"},"photoUrl":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"}}},"updateTime":{"type":"string"},"lastModifyUser":{"type":"object","properties":{"domain":{"type":"string"},"photoUrl":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"}}},"createTime":{"type":"string"}}},"GoogleAppsScriptTypeFunctionSet":{"type":"object","properties":{"values":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"parameters":{"type":"array","items":{"type":"string"}}}}}}},"ExecutionResponse":{"type":"object","properties":{"result":{"type":"any"}}},"ExecutionError":{"type":"object","properties":{"scriptStackTraceElements":{"type":"array","items":{"type":"object","properties":{"lineNumber":{"type":"integer"},"function":{"type":"string"}}}},"errorType":{"type":"string"},"errorMessage":{"type":"string"}}},"Metrics":{"type":"object","properties":{"totalExecutions":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"endTime":{"type":"string"},"startTime":{"type":"string"}}}},"activeUsers":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"endTime":{"type":"string"},"startTime":{"type":"string"}}}},"failedExecutions":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"endTime":{"type":"string"},"startTime":{"type":"string"}}}}}},"Deployment":{"type":"object","properties":{"deploymentConfig":{"type":"object","properties":{"description":{"type":"string"},"scriptId":{"type":"string"},"manifestFileName":{"type":"string"},"versionNumber":{"type":"integer"}}},"entryPoints":{"type":"array","items":{"type":"object","properties":{"addOn":{"type":"object","properties":{"addOnType":{"type":"string","enum":["UNKNOWN_ADDON_TYPE","GMAIL","DATA_STUDIO"]},"title":{"type":"string"},"helpUrl":{"type":"string"},"description":{"type":"string"},"reportIssueUrl":{"type":"string"},"postInstallTipUrl":{"type":"string"}}},"webApp":{"type":"object","properties":{"entryPointConfig":{"type":"object","properties":{"access":{"type":"string","enum":["UNKNOWN_ACCESS","MYSELF","DOMAIN","ANYONE","ANYONE_ANONYMOUS"]},"executeAs":{"type":"string","enum":["UNKNOWN_EXECUTE_AS","USER_ACCESSING","USER_DEPLOYING"]}}},"url":{"type":"string"}}},"executionApi":{"type":"object","properties":{"entryPointConfig":{"type":"object","properties":{"access":{"type":"string","enum":["UNKNOWN_ACCESS","MYSELF","DOMAIN","ANYONE","ANYONE_ANONYMOUS"]}}}}},"entryPointType":{"type":"string","enum":["ENTRY_POINT_TYPE_UNSPECIFIED","WEB_APP","EXECUTION_API","ADD_ON"]}}}},"deploymentId":{"type":"string"},"updateTime":{"type":"string"}}},"Version":{"type":"object","properties":{"versionNumber":{"type":"integer"},"scriptId":{"type":"string"},"description":{"type":"string"},"createTime":{"type":"string"}}},"GoogleAppsScriptTypeProcess":{"type":"object","properties":{"projectName":{"type":"string"},"processType":{"type":"string","enum":["PROCESS_TYPE_UNSPECIFIED","ADD_ON","EXECUTION_API","TIME_DRIVEN","TRIGGER","WEBAPP","EDITOR","SIMPLE_TRIGGER","MENU","BATCH_TASK"]},"runtimeVersion":{"type":"string","enum":["RUNTIME_VERSION_UNSPECIFIED","DEPRECATED_ES5","V8"]},"userAccessLevel":{"type":"string","enum":["USER_ACCESS_LEVEL_UNSPECIFIED","NONE","READ","WRITE","OWNER"]},"processStatus":{"type":"string","enum":["PROCESS_STATUS_UNSPECIFIED","RUNNING","PAUSED","COMPLETED","CANCELED","FAILED","TIMED_OUT","UNKNOWN","DELAYED","EXECUTION_DISABLED"]},"startTime":{"type":"string"},"duration":{"type":"string"},"functionName":{"type":"string"}}},"DeploymentConfig":{"type":"object","properties":{"description":{"type":"string"},"scriptId":{"type":"string"},"manifestFileName":{"type":"string"},"versionNumber":{"type":"integer"}}},"ExecutionRequest":{"type":"object","properties":{"sessionState":{"type":"string"},"function":{"type":"string"},"devMode":{"type":"boolean"},"parameters":{"type":"array","items":{"type":"any"}}}},"Status":{"type":"object","properties":{"details":{"type":"array","items":{"type":"object"}},"code":{"type":"integer"},"message":{"type":"string"}}},"GoogleAppsScriptTypeWebAppEntryPoint":{"type":"object","properties":{"entryPointConfig":{"type":"object","properties":{"access":{"type":"string","enum":["UNKNOWN_ACCESS","MYSELF","DOMAIN","ANYONE","ANYONE_ANONYMOUS"]},"executeAs":{"type":"string","enum":["UNKNOWN_EXECUTE_AS","USER_ACCESSING","USER_DEPLOYING"]}}},"url":{"type":"string"}}},"EntryPoint":{"type":"object","properties":{"addOn":{"type":"object","properties":{"addOnType":{"type":"string","enum":["UNKNOWN_ADDON_TYPE","GMAIL","DATA_STUDIO"]},"title":{"type":"string"},"helpUrl":{"type":"string"},"description":{"type":"string"},"reportIssueUrl":{"type":"string"},"postInstallTipUrl":{"type":"string"}}},"webApp":{"type":"object","properties":{"entryPointConfig":{"type":"object","properties":{"access":{"type":"string","enum":["UNKNOWN_ACCESS","MYSELF","DOMAIN","ANYONE","ANYONE_ANONYMOUS"]},"executeAs":{"type":"string","enum":["UNKNOWN_EXECUTE_AS","USER_ACCESSING","USER_DEPLOYING"]}}},"url":{"type":"string"}}},"executionApi":{"type":"object","properties":{"entryPointConfig":{"type":"object","properties":{"access":{"type":"string","enum":["UNKNOWN_ACCESS","MYSELF","DOMAIN","ANYONE","ANYONE_ANONYMOUS"]}}}}},"entryPointType":{"type":"string","enum":["ENTRY_POINT_TYPE_UNSPECIFIED","WEB_APP","EXECUTION_API","ADD_ON"]}}}}}