Properties Service  |  Apps Script  |  Google for Developers (original) (raw)

Properties Service

Stay organized with collections Save and categorize content based on your preferences.

Properties

This service allows scripts to store strings as key-value pairs scoped to one script, one user of a script, or one document in which aneditor add-on is used. For more information about when to use each type of property, see theguide to the Properties service.

Classes

Name Brief description
Properties The properties object acts as the interface to access user, document, or script properties.
PropertiesService Allows scripts to store simple data in key-value pairs scoped to one script, one user of a script, or one document in which an add-on is used.
ScriptProperties Script Properties are key-value pairs stored by a script in a persistent store.
UserProperties User Properties are key-value pairs unique to a user.

[PropertiesService](/apps-script/reference/properties/properties-service)

~~[ScriptProperties](/apps-script/reference/properties/script-properties)~~

~~[UserProperties](/apps-script/reference/properties/user-properties)~~

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 2024-12-02 UTC.