라이브러리 및 고급 서비스 종속 항목 매니페스트 리소스
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
스크립트에서 사용 설정한 라이브러리 및 고급 서비스의 구성 집합입니다.
종속 항목
종속 항목 매니페스트 구성의 최상위입니다.
EnabledAdvancedService
스크립트에서 사용 설정한 고급 서비스의 구성입니다.
JSON 표현 |
{
"serviceId": string,
"userSymbol": string,
"version": string
} |
필드 |
serviceId |
string
API 검색 문서에 표시되는 서비스의 식별자입니다 (예: 'drive').
|
userSymbol |
string
Apps Script 프로젝트의 코드에서 이 서비스를 참조하는 데 사용되는 식별자입니다.
|
version |
string
사용 설정된 서비스 버전입니다 (예: 'v1').
|
라이브러리
스크립트가 가져온 라이브러리의 구성입니다.
JSON 표현 |
{
"developmentMode": boolean,
"libraryId": string,
"userSymbol": string,
"version": string
} |
필드 |
developmentMode |
boolean
true 인 경우 version 이 무시되고 스크립트에서 새 버전으로 저장되지 않은 경우에도 저장된 현재 라이브러리 프로젝트 코드를 사용합니다.
|
libraryId |
string
라이브러리의 스크립트 프로젝트의 스크립트 ID입니다. 라이브러리 스크립트의 URL 또는 스크립트 편집기에서 파일 > 프로젝트 속성을 선택하여 스크립트 ID를 확인할 수 있습니다.
|
userSymbol |
string
스크립트 프로젝트 코드에서 이 라이브러리를 참조하는 데 사용되는 라벨입니다.
|
version |
string
스크립트에서 사용되는 라이브러리의 버전입니다. 버전 번호 또는 stable (마지막으로 생성된 버전)입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-31(UTC)
[null,null,["최종 업데이트: 2025-08-31(UTC)"],[[["\u003cp\u003eDefines configurations for libraries and advanced services used by a script.\u003c/p\u003e\n"],["\u003cp\u003eOutlines the structure for declaring dependencies, including enabled advanced services and libraries.\u003c/p\u003e\n"],["\u003cp\u003eSpecifies how to configure individual advanced services with their ID, user symbol, and version.\u003c/p\u003e\n"],["\u003cp\u003eDetails the configuration of imported libraries, including development mode, library ID, user symbol, and version.\u003c/p\u003e\n"]]],[],null,["# Libraries and advanced services dependencies manifest resource\n\nThe set of configurations for the [libraries](/apps-script/guides/libraries) and\n[advanced services](/apps-script/guides/services/advanced) the script has\nenabled.\n\nDependencies\n------------\n\nThe top-level of the dependency manifest configuration.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------|\n| ```text { \"enabledAdvancedServices\": [ { object (EnabledAdvancedService) } ], \"libraries\": [ { object (Library) } ] } ``` |\n\n| Fields ||\n|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `enabledAdvancedServices[]` | `object (`[EnabledAdvancedService](#enabledadvancedservice)`)` The list of [advanced services](/apps-script/guides/services/advanced) enabled for use by the script project. |\n| `libraries[]` | `object (`[Library](#library)`)` The list of [libraries](/apps-script/guides/libraries) used by the script project. |\n\n### EnabledAdvancedService\n\nThe configuration of an [advanced service](/apps-script/guides/services/advanced)\nthe script has enabled.\n\n| JSON representation |\n|------------------------------------------------------------------------------|\n| ```text { \"serviceId\": string, \"userSymbol\": string, \"version\": string } ``` |\n\n| Fields ||\n|--------------|------------------------------------------------------------------------------------------------------------|\n| `serviceId` | `string` The identifier of the service that is shown in the API discovery document (for example, \"drive\"). |\n| `userSymbol` | `string` The identifier used to refer to this service in the code of the Apps Script project. |\n| `version` | `string` The enabled version of the service (for example, \"v1\"). |\n\n### Library\n\nThe configuration of a [library](/apps-script/guides/libraries)\nthe script has imported.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------|\n| ```carbon { \"developmentMode\": boolean, \"libraryId\": string, \"userSymbol\": string, \"version\": string } ``` |\n\n| Fields ||\n|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `developmentMode` | `boolean` If `true`, `version` is ignored and the script uses the current library project saved code, even if that code hasn't been saved to a new version. |\n| `libraryId` | `string` The script ID of the library's script project. You can find a script ID in the library script's URL or in the script editor by selecting **File \\\u003e Project properties**. |\n| `userSymbol` | `string` The label that is used in the script project code to refer to this library. |\n| `version` | `string` The version of the library that is used by the script. This is either a version number or `stable`, meaning the last version created. |"]]