Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

49 linhas
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: ServerTimestamp beside an empty map"
  6. update: <
  7. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  8. json_data: "{\"a\": {\"b\": {}, \"c\": \"ServerTimestamp\"}}"
  9. request: <
  10. database: "projects/projectID/databases/(default)"
  11. writes: <
  12. update: <
  13. name: "projects/projectID/databases/(default)/documents/C/d"
  14. fields: <
  15. key: "a"
  16. value: <
  17. map_value: <
  18. fields: <
  19. key: "b"
  20. value: <
  21. map_value: <
  22. >
  23. >
  24. >
  25. >
  26. >
  27. >
  28. >
  29. update_mask: <
  30. field_paths: "a"
  31. >
  32. current_document: <
  33. exists: true
  34. >
  35. >
  36. writes: <
  37. transform: <
  38. document: "projects/projectID/databases/(default)/documents/C/d"
  39. field_transforms: <
  40. field_path: "a.c"
  41. set_to_server_value: REQUEST_TIME
  42. >
  43. >
  44. >
  45. >
  46. >