发送反馈
Value
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示 {
// Union field value_type
can be only one of the following:
"nullValue" : null ,
"booleanValue" : boolean ,
"integerValue" : string ,
"doubleValue" : number ,
"timestampValue" : string ,
"stringValue" : string ,
"bytesValue" : string ,
"referenceValue" : string ,
"geoPointValue" : {
object (LatLng
)
} ,
"arrayValue" : {
object (ArrayValue
)
} ,
"mapValue" : {
object (MapValue
)
}
// End of list of possible types for union field value_type
.
}
领域 联合字段value_type
。必须有一个值集。 value_type
只能是以下之一: nullValue
null
空值。
booleanValue
boolean
一个布尔值。
integerValue
string ( int64 format)
一个整数值。
doubleValue
number
双值。
timestampValue
string ( Timestamp
format)
时间戳值。
仅精确到微秒。存储时,任何额外的精度都会向下舍入。
RFC3339 UTC“Zulu”格式的时间戳,具有纳秒分辨率和最多九个小数位。示例: "2014-10-02T15:01:23Z"
和"2014-10-02T15:01:23.045123456Z"
。
stringValue
string
一个字符串值。
以 UTF-8 表示的字符串不得超过 1 MiB - 89 字节。查询仅考虑 UTF-8 表示形式的前 1,500 个字节。
bytesValue
string ( bytes format)
一个字节值。
不得超过 1 MiB - 89 字节。查询仅考虑前 1,500 个字节。
Base64 编码的字符串。
referenceValue
string
对文档的引用。例如: projects/{project_id}/databases/{databaseId}/documents/{document_path}
。
geoPointValue
object ( LatLng
)
表示地球表面上的点的地理点值。
arrayValue
object ( ArrayValue
)
一个数组值。
不能直接包含另一个数组值,但可以包含包含另一个数组的映射。
mapValue
object ( MapValue
)
地图值。
地图值 JSON 表示 {
"fields" : {
string : {
object (Value
)
} ,
...
}
}
领域 fields
map (key: string, value: object ( Value
))
地图的字段。
映射键代表字段名称。与正则表达式__.*__
匹配的字段名称被保留。除非在某些记录的上下文中,否则禁止保留字段名称。映射键以 UTF-8 表示,不得超过 1,500 字节且不能为空。
包含"key": value
对。示例: { "name": "wrench", "mass": "1.3kg", "count": "3" }
。
发送反馈
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可 获得了许可,并且代码示例已根据 Apache 2.0 许可 获得了许可。有关详情,请参阅 Google 开发者网站政策 。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-01。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
需要向我们提供更多信息?