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.
 
 
 

57 lines
1.4 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. # A document can have more than one ServerTimestamp field. Since all the
  4. # ServerTimestamp fields are removed, the only field in the update is "a".
  5. description: "update-paths: multiple ServerTimestamp fields"
  6. update_paths: <
  7. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  8. field_paths: <
  9. field: "a"
  10. >
  11. field_paths: <
  12. field: "b"
  13. >
  14. field_paths: <
  15. field: "c"
  16. >
  17. json_values: "1"
  18. json_values: "\"ServerTimestamp\""
  19. json_values: "{\"d\": \"ServerTimestamp\"}"
  20. request: <
  21. database: "projects/projectID/databases/(default)"
  22. writes: <
  23. update: <
  24. name: "projects/projectID/databases/(default)/documents/C/d"
  25. fields: <
  26. key: "a"
  27. value: <
  28. integer_value: 1
  29. >
  30. >
  31. >
  32. update_mask: <
  33. field_paths: "a"
  34. field_paths: "c"
  35. >
  36. current_document: <
  37. exists: true
  38. >
  39. >
  40. writes: <
  41. transform: <
  42. document: "projects/projectID/databases/(default)/documents/C/d"
  43. field_transforms: <
  44. field_path: "b"
  45. set_to_server_value: REQUEST_TIME
  46. >
  47. field_transforms: <
  48. field_path: "c.d"
  49. set_to_server_value: REQUEST_TIME
  50. >
  51. >
  52. >
  53. >
  54. >