-
Notifications
You must be signed in to change notification settings - Fork 0
Maksym Stoyanov edited this page Aug 23, 2024
·
5 revisions
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.
Name | Brief description |
---|---|
SettingsService | |
Settings |
Method | Return type | Brief description |
---|---|---|
newSettings(...args) |
Settings | |
getDocumentSettings() |
Settings | |
getScriptSettings() |
Settings | |
getUserSettings() |
Settings | |
isSettings(input) |
boolean |
Method | Return type | Brief description |
---|---|---|
setService(input = 'script') |
||
setProperty(key, value) |
||
setProperties(properties, deleteAllOthers = false) |
||
getProperty(key) |
||
getKeys() |
string[] | |
getProperties() |
Object | |
deleteProperty(key) |
||
deleteAllProperties() |