You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

52 lines
1.3 KiB

  1. # DO NOT MODIFY. This file was generated by
  2. # github.com/GoogleCloudPlatform/google-cloud-common/testing/firestore/cmd/generate-firestore-tests/generate-firestore-tests.go.
  3. # When a ServerTimestamp and a map both reside inside a map, the ServerTimestamp
  4. # should be stripped out but the empty map should remain.
  5. description: "update-paths: ServerTimestamp beside an empty map"
  6. update_paths: <
  7. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  8. field_paths: <
  9. field: "a"
  10. >
  11. json_values: "{\"b\": {}, \"c\": \"ServerTimestamp\"}"
  12. request: <
  13. database: "projects/projectID/databases/(default)"
  14. writes: <
  15. update: <
  16. name: "projects/projectID/databases/(default)/documents/C/d"
  17. fields: <
  18. key: "a"
  19. value: <
  20. map_value: <
  21. fields: <
  22. key: "b"
  23. value: <
  24. map_value: <
  25. >
  26. >
  27. >
  28. >
  29. >
  30. >
  31. >
  32. update_mask: <
  33. field_paths: "a"
  34. >
  35. current_document: <
  36. exists: true
  37. >
  38. >
  39. writes: <
  40. transform: <
  41. document: "projects/projectID/databases/(default)/documents/C/d"
  42. field_transforms: <
  43. field_path: "a.c"
  44. set_to_server_value: REQUEST_TIME
  45. >
  46. >
  47. >
  48. >
  49. >