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.
 
 
 

40 lines
1.2 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: "create: ServerTimestamp with data"
  8. create: <
  9. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  10. json_data: "{\"a\": 1, \"b\": \"ServerTimestamp\"}"
  11. request: <
  12. database: "projects/projectID/databases/(default)"
  13. writes: <
  14. update: <
  15. name: "projects/projectID/databases/(default)/documents/C/d"
  16. fields: <
  17. key: "a"
  18. value: <
  19. integer_value: 1
  20. >
  21. >
  22. >
  23. current_document: <
  24. exists: false
  25. >
  26. >
  27. writes: <
  28. transform: <
  29. document: "projects/projectID/databases/(default)/documents/C/d"
  30. field_transforms: <
  31. field_path: "b"
  32. set_to_server_value: REQUEST_TIME
  33. >
  34. >
  35. >
  36. >
  37. >