ウェブアプリと API 実行可能ファイルのマニフェスト リソース
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ウェブアプリと API 実行可能ファイルを定義するために使用されるリソース構成。
ウェブアプリ
スクリプト プロジェクトのウェブアプリ構成。プロジェクトが
ウェブアプリとしてデプロイされます
JSON 表現 |
{
"access": string,
"executeAs": string
} |
フィールド |
access |
string
ウェブアプリを実行するための権限のレベル。有効な設定
次のとおりです。
MYSELF は、アプリをデプロイしたユーザーのみを示します。
実行できます。
DOMAIN は同じドメイン内のユーザーのみを示します。
実行できるようになります。
ANYONE は、ログインしているすべてのユーザーを示します。
ANYONE_ANONYMOUS は、たとえそうでないものも含め、任意のユーザーを示します。
確認できます。
|
executeAs |
string
ウェブアプリが実行される ID。有効な
設定は次のとおりです。
USER_ACCESSING はウェブアプリが
できます。
USER_DEPLOYING はウェブアプリが
デプロイしたユーザーです
|
ExecutionApi
スクリプト プロジェクトの API 実行ファイルの構成。これは、
API 実行のためにデプロイされます。
JSON 表現 |
{
"access": string
} |
フィールド |
access |
string
API からスクリプトを実行する権限を持つユーザーを指定します。「
有効な設定は次のとおりです。
MYSELF は、
実行できます。
DOMAIN は同じドメイン内のユーザーのみを示します。
実行できるようになります。
ANYONE は、ログインしているすべてのユーザーを示します。
ANYONE_ANONYMOUS は、たとえそうでないものも含め、任意のユーザーを示します。
確認できます。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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. |"]]