Value
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
// Union field value can be only one of the following:
"booleanValue": boolean,
"stringValue": string,
"stringSetValue": {
object (StringSet )
}
// End of list of possible types for union field value .
} |
字段 |
联合字段 value 。选择数据类型和关联的值。value 只能是下列其中一项: |
booleanValue |
boolean
将此值定义为布尔值。
|
stringValue |
string
将此值定义为字符串值。
|
stringSetValue |
object (StringSet )
将此值定义为 StringSet。
|
StringSet
一种字符串集值,可包含一组字符串。每个字符串的长度上限为 60 个字符,字符串集中最多可以包含 50 个字符串。
JSON 表示法 |
{
"values": [
string
]
} |
字段 |
values[] |
string
集合中的字符串
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-26。"],[],["The document outlines data types within a setting value, which can be a boolean, a string, or a StringSet. A StringSet is a collection of strings, each up to 60 characters long, with a maximum of 50 strings per set. The JSON representation for the setting value uses a union field `value` to specify one of these types. The StringSet's JSON uses an array `values` to list the strings.\n"]]