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.
 
 
 

50 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. # A key with the special ServerTimestamp sentinel is removed from the data in the
  4. # update operation. Instead it appears in a separate Transform operation. Note
  5. # that in these tests, the string "ServerTimestamp" should be replaced with the
  6. # special ServerTimestamp value.
  7. description: "update-paths: ServerTimestamp with data"
  8. update_paths: <
  9. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  10. field_paths: <
  11. field: "a"
  12. >
  13. field_paths: <
  14. field: "b"
  15. >
  16. json_values: "1"
  17. json_values: "\"ServerTimestamp\""
  18. request: <
  19. database: "projects/projectID/databases/(default)"
  20. writes: <
  21. update: <
  22. name: "projects/projectID/databases/(default)/documents/C/d"
  23. fields: <
  24. key: "a"
  25. value: <
  26. integer_value: 1
  27. >
  28. >
  29. >
  30. update_mask: <
  31. field_paths: "a"
  32. >
  33. current_document: <
  34. exists: true
  35. >
  36. >
  37. writes: <
  38. transform: <
  39. document: "projects/projectID/databases/(default)/documents/C/d"
  40. field_transforms: <
  41. field_path: "b"
  42. set_to_server_value: REQUEST_TIME
  43. >
  44. >
  45. >
  46. >
  47. >