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.
 
 
 

43 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 ServerTimestamp value can occur at any depth. In this case, the transform
  4. # applies to the field path "b.c". Since "c" is removed from the update, "b"
  5. # becomes empty, so it is also removed from the update.
  6. description: "update: nested ServerTimestamp field"
  7. update: <
  8. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  9. json_data: "{\"a\": 1, \"b\": {\"c\": \"ServerTimestamp\"}}"
  10. request: <
  11. database: "projects/projectID/databases/(default)"
  12. writes: <
  13. update: <
  14. name: "projects/projectID/databases/(default)/documents/C/d"
  15. fields: <
  16. key: "a"
  17. value: <
  18. integer_value: 1
  19. >
  20. >
  21. >
  22. update_mask: <
  23. field_paths: "a"
  24. field_paths: "b"
  25. >
  26. current_document: <
  27. exists: true
  28. >
  29. >
  30. writes: <
  31. transform: <
  32. document: "projects/projectID/databases/(default)/documents/C/d"
  33. field_transforms: <
  34. field_path: "b.c"
  35. set_to_server_value: REQUEST_TIME
  36. >
  37. >
  38. >
  39. >
  40. >