Send feedback Web apps and API executables manifest resource Stay organized with collections Save and categorize content based on your preferences.
outlined_flag This document describes the resource configurations for web apps and API executables.
The web app configuration, used when a project is deployed as a web app, defines access permissions and the execution identity.
The API executable configuration, used when a project is deployed for API execution, defines access permissions.
Both web app and API executable configurations use a string field named access to specify permission levels for running the script.
The web app configuration includes an additional string field executeAs to determine the identity under which the web app runs.
The resource configurations used to define web apps and API executables.
Webapp The script project's web app configuration, which is only used if the project is deployed as a web app.
JSON representation
{ "access": string, "executeAs": string }
Fields access string
The levels of permission for running the web app. The valid settings are the following:
MYSELF indicates only the user who deployed the app can run it. DOMAIN indicates only users in the same domain as the deploying user can run it. ANYONE indicates any user who is logged in. ANYONE_ANONYMOUS indicates any user, even if not logged in. executeAs string
The identity under which the web app executes. The valid settings are the following:
USER_ACCESSING indicates the web app runs as the user accessing it. USER_DEPLOYING indicates the web app runs as the user who deployed it.
ExecutionApi The script project's API executable configuration. This is only used if the project is deployed for API execution.
JSON representation
{ "access": string }
Fields access string
Determines who has permission to run the script from the API. The valid settings are the following:
MYSELF indicates only the user who deployed the script can run it. DOMAIN indicates only users in the same domain as the deploying user can run it. ANYONE indicates any user who is logged in. ANYONE_ANONYMOUS indicates any user, even if not logged in.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-03 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-03 UTC."],[],[]]