- Resource: Deployment
- DeploymentConfig
- EntryPoint
- EntryPointType
- WebAppEntryPoint
- WebAppConfig
- Access
- ExecuteAs
- ExecutionApiEntryPoint
- ExecutionApiConfig
- AddOnEntryPoint
- AddOnType
- Methods
Resource: Deployment
Representation of a single script deployment.
JSON representation |
---|
{ "deploymentId": string, "deploymentConfig": { object ( |
Fields | |
---|---|
deploymentId |
The deployment ID for this deployment. |
deploymentConfig |
The deployment configuration. |
updateTime |
Last modified date time stamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
entryPoints[] |
The deployment's entry points. |
DeploymentConfig
Metadata the defines how a deployment is configured.
JSON representation |
---|
{ "scriptId": string, "versionNumber": integer, "manifestFileName": string, "description": string } |
Fields | |
---|---|
scriptId |
The script project's Drive ID. |
versionNumber |
The version number on which this deployment is based. |
manifestFileName |
The manifest file name for this deployment. |
description |
The description for this deployment. |
EntryPoint
A configuration that defines how a deployment is accessed externally.
JSON representation |
---|
{ "entryPointType": enum ( |
Fields | |
---|---|
entryPointType |
The type of the entry point. |
Union field properties . Entry point properties per entry point type. properties can be only one of the following: |
|
webApp |
An entry point specification for web apps. |
executionApi |
An entry point specification for Apps Script API execution calls. |
addOn |
Add-on properties. |
EntryPointType
Types of entry points.
Enums | |
---|---|
ENTRY_POINT_TYPE_UNSPECIFIED |
An unspecified entry point. |
WEB_APP |
A web application entry point. |
EXECUTION_API |
An API executable entry point. |
ADD_ON |
An Add-On entry point. |
WebAppEntryPoint
A web application entry point.
JSON representation |
---|
{
"url": string,
"entryPointConfig": {
object ( |
Fields | |
---|---|
url |
The URL for the web application. |
entryPointConfig |
The entry point's configuration. |
WebAppConfig
Web app entry point configuration.
JSON representation |
---|
{ "access": enum ( |
Fields | |
---|---|
access |
Who has permission to run the web app. |
executeAs |
Who to execute the web app as. |
Access
Access configuration.
Enums | |
---|---|
UNKNOWN_ACCESS |
Default value, should not be used. |
MYSELF |
Only the user who deployed the web app or executable can access it. Note that this is not necessarily the owner of the script project. |
DOMAIN |
Only users in the same domain as the user who deployed the web app or executable can access it. |
ANYONE |
Any logged in user can access the web app or executable. |
ANYONE_ANONYMOUS |
Any user, logged in or not, can access the web app or executable. |
ExecuteAs
A configuration that specifies the user under whose authority the web app should run as.
Enums | |
---|---|
UNKNOWN_EXECUTE_AS |
Default value, should not be used. |
USER_ACCESSING |
The script runs as the user accessing the web app. |
USER_DEPLOYING |
The script runs as the user who deployed the web app. Note that this is not necessarily the owner of the script project. |
ExecutionApiEntryPoint
An API executable entry point.
JSON representation |
---|
{
"entryPointConfig": {
object ( |
Fields | |
---|---|
entryPointConfig |
The entry point's configuration. |
ExecutionApiConfig
API executable entry point configuration.
JSON representation |
---|
{
"access": enum ( |
Fields | |
---|---|
access |
Who has permission to run the API executable. |
AddOnEntryPoint
An add-on entry point.
JSON representation |
---|
{
"addOnType": enum ( |
Fields | |
---|---|
addOnType |
The add-on's required list of supported container types. |
title |
The add-on's required title. |
description |
The add-on's optional description. |
helpUrl |
The add-on's optional help URL. |
reportIssueUrl |
The add-on's optional report issue URL. |
postInstallTipUrl |
The add-on's required post install tip URL. |
AddOnType
AddType defines which category of add-ons a host application handles. Each add-on type has a section of the script manifest that is used when deploying or executing an add-on of the given type.
Enums | |
---|---|
UNKNOWN_ADDON_TYPE |
Default value, unknown add-on type. |
GMAIL |
Add-on type for Gmail. |
DATA_STUDIO |
Add-on type for Data Studio. |
Methods |
|
---|---|
|
Creates a deployment of an Apps Script project. |
|
Deletes a deployment of an Apps Script project. |
|
Gets a deployment of an Apps Script project. |
|
Lists the deployments of an Apps Script project. |
|
Updates a deployment of an Apps Script project. |