1
0
Fork 0
mirror of https://github.com/Luzifer/nginx-sso.git synced 2024-12-25 07:11:17 +00:00
nginx-sso/vendor/cloud.google.com/go/firestore/testdata/update-paths-st-with-empty-map.textproto

52 lines
1.3 KiB
Text
Raw Normal View History

# 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: "update-paths: ServerTimestamp beside an empty map"
update_paths: <
doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
field_paths: <
field: "a"
>
json_values: "{\"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: <
>
>
>
>
>
>
>
update_mask: <
field_paths: "a"
>
current_document: <
exists: true
>
>
writes: <
transform: <
document: "projects/projectID/databases/(default)/documents/C/d"
field_transforms: <
field_path: "a.c"
set_to_server_value: REQUEST_TIME
>
>
>
>
>