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.
 
 
 

38 lines
1.1 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. # If a field path is in a merge option, the value at that path replaces the stored
  4. # value. If the value has only ServerTimestamps, they become transforms and we
  5. # clear the value by including the field path in the update mask.
  6. description: "set-merge: non-leaf merge field with ServerTimestamp alone"
  7. set: <
  8. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  9. option: <
  10. fields: <
  11. field: "h"
  12. >
  13. >
  14. json_data: "{\"h\": {\"g\": \"ServerTimestamp\"}, \"e\": 7}"
  15. request: <
  16. database: "projects/projectID/databases/(default)"
  17. writes: <
  18. update: <
  19. name: "projects/projectID/databases/(default)/documents/C/d"
  20. >
  21. update_mask: <
  22. field_paths: "h"
  23. >
  24. >
  25. writes: <
  26. transform: <
  27. document: "projects/projectID/databases/(default)/documents/C/d"
  28. field_transforms: <
  29. field_path: "h.g"
  30. set_to_server_value: REQUEST_TIME
  31. >
  32. >
  33. >
  34. >
  35. >