1
0
Fork 0
mirror of https://github.com/Luzifer/nginx-sso.git synced 2024-12-30 09:41:19 +00:00
nginx-sso/vendor/cloud.google.com/go/firestore/testdata/create-st-with-empty-map.textproto
Knut Ahlers 9b3c895c04
Update dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-04-22 06:44:07 +02:00

45 lines
1.2 KiB
Text

# DO NOT MODIFY. This file was generated by
# github.com/GoogleCloudPlatform/google-cloud-common/testing/firestore/cmd/generate-firestore-tests/generate-firestore-tests.go.
# When a ServerTimestamp and a map both reside inside a map, the ServerTimestamp
# should be stripped out but the empty map should remain.
description: "create: ServerTimestamp beside an empty map"
create: <
doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
json_data: "{\"a\": {\"b\": {}, \"c\": \"ServerTimestamp\"}}"
request: <
database: "projects/projectID/databases/(default)"
writes: <
update: <
name: "projects/projectID/databases/(default)/documents/C/d"
fields: <
key: "a"
value: <
map_value: <
fields: <
key: "b"
value: <
map_value: <
>
>
>
>
>
>
>
current_document: <
exists: false
>
>
writes: <
transform: <
document: "projects/projectID/databases/(default)/documents/C/d"
field_transforms: <
field_path: "a.c"
set_to_server_value: REQUEST_TIME
>
>
>
>
>