משאב מניפסט לאפליקציות אינטרנט ולקובצי הפעלה של API
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הגדרות המשאבים המשמשות להגדרת אפליקציות אינטרנט וקובצי הפעלה של API.
אפליקציית אינטרנט
ההגדרה של אפליקציית האינטרנט של פרויקט הסקריפט, שמשמשת רק אם הפרויקט
פרוסה כאפליקציית אינטרנט.
ייצוג JSON |
{
"access": string,
"executeAs": string
} |
שדות |
access |
string
רמות ההרשאה להפעלת אפליקציית האינטרנט. ההגדרות החוקיות
הם:
MYSELF מציין רק את המשתמש שפרס את האפליקציה
יכול להריץ אותו.
DOMAIN מציין רק משתמשים באותו דומיין כמו
המשתמש בפריסה יכולה להריץ אותו.
ANYONE מציין כל משתמש שמחובר לחשבון.
ANYONE_ANONYMOUS מציין כל משתמש, גם אם לא
מחובר.
|
executeAs |
string
הזהות שלפיה אפליקציית האינטרנט מופעלת. הערך החוקי
הגדרות אלה הן:
USER_ACCESSING מציין שאפליקציית האינטרנט פועלת
שהמשתמש ניגש אליו.
USER_DEPLOYING מציין שאפליקציית האינטרנט פועלת
המשתמש שהפרס אותו.
|
ExecutionApi
הגדרות קובץ ההפעלה של ה-API בפרויקט הסקריפט. משתמשים בה רק אם
הפרויקט נפרס להפעלת API.
ייצוג JSON |
{
"access": string
} |
שדות |
access |
string
קובע למי יש הרשאה להריץ את הסקריפט מה-API.
ההגדרות החוקיות הן:
MYSELF מציין רק את המשתמש שהפרס את
שהסקריפט יכול להריץ אותו.
DOMAIN מציין רק משתמשים באותו דומיין כמו
המשתמש בפריסה יכולה להריץ אותו.
ANYONE מציין כל משתמש שמחובר לחשבון.
ANYONE_ANONYMOUS מציין כל משתמש, גם אם לא
מחובר.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eResource configurations define how web apps and APIs execute within a project.\u003c/p\u003e\n"],["\u003cp\u003eWeb app configurations control access levels (MYSELF, DOMAIN, ANYONE, ANYONE_ANONYMOUS) and execution identity (USER_ACCESSING, USER_DEPLOYING).\u003c/p\u003e\n"],["\u003cp\u003eAPI executable configurations manage access permissions for running scripts via the API, using similar access levels as web apps.\u003c/p\u003e\n"]]],[],null,["# Web apps and API executables manifest resource\n\nThe resource configurations used to define web apps and API executables.\n\nWebapp\n------\n\nThe script project's web app configuration, which is only used if the project\nis deployed as a web app.\n\n| JSON representation |\n|-------------------------------------------------------|\n| ```text { \"access\": string, \"executeAs\": string } ``` |\n\n| Fields ||\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `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. |\n| `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. |\n\nExecutionApi\n------------\n\nThe script project's API executable configuration. This is only used if the\nproject is deployed for API execution.\n\n| JSON representation |\n|----------------------------------|\n| ```text { \"access\": string } ``` |\n\n| Fields ||\n|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `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. |"]]