AI-generated Key Takeaways
-
This documentation details the structure and types of data that can be stored in a setting value.
-
A setting value can hold a boolean, a string, or a set of strings (StringSet).
-
StringSets have limitations: a maximum of 50 strings, with each string having a maximum length of 60 characters.
-
The JSON representation for each data type (boolean, string, StringSet) is provided for clarity.
The data in a setting value.
JSON representation | |
---|---|
{ // Union field |
Fields | ||
---|---|---|
Union field value . Selects the data type and associated value. value can be only one of the following: |
||
booleanValue |
Defines this value as being a boolean value. |
|
stringValue |
Defines this value as being a string value. |
|
stringSetValue |
Defines this value as being a StringSet. |
StringSet
A string set value that can hold a set of strings. The maximum length of each string is 60 characters and there can be a maximum of 50 strings in the string set.
JSON representation | |
---|---|
{ "values": [ string ] } |
Fields | |
---|---|
values[] |
The strings in the set |