Properties Service
属性
此服务允许脚本将字符串存储为键值对,范围限定为一个脚本、一个脚本的一位用户或一个使用编辑器插件的文档。如需详细了解何时使用每种类型的属性,请参阅属性服务指南。
类
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-01。
[null,null,["最后更新时间 (UTC):2023-12-01。"],[[["The Properties Service allows scripts to store data as key-value pairs, with different scopes available: script, user, or document."],["This service offers classes for managing properties like Properties, PropertiesService, ScriptProperties, and UserProperties, each with its own specific purpose."],["Properties can be manipulated with methods such as deleting, retrieving by key or in bulk, and setting new values."],["Different property stores can be accessed, including document-specific, script-wide, or user-specific stores, through the PropertiesService class."]]],[]]