Skip to content
Maksym Stoyanov edited this page Aug 23, 2024 · 5 revisions
Български Deutsch English Русский Українська

SettingsService

Release License clasp

SettingsService works similarly to PropertiesService but with enhanced capabilities.

The current modification reduces the load on system limits when reading and writing properties. This is achieved through parallel data storage in CacheService.

Note! Using this service may increase script execution time.

Classes

Name Brief description
SettingsService
Settings

Class SettingsService

Static methods

Method Return type Brief description
newSettings(...args) Settings
getDocumentSettings() Settings
getScriptSettings() Settings
getUserSettings() Settings
isSettings(input) boolean

Class Settings

Methods

Method Return type Brief description
setService(input = 'script')
setProperty(key, value)
setProperties(properties, deleteAllOthers = false)
getProperty(key)
getKeys() string[]
getProperties() Object
deleteProperty(key)
deleteAllProperties()
Clone this wiki locally