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.
 
 
 

46 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. # Just as when no merge option is specified, ServerTimestamp sentinel values are
  4. # removed from the data in the update operation and become transforms.
  5. description: "set-merge: ServerTimestamp with Merge of both fields"
  6. set: <
  7. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  8. option: <
  9. fields: <
  10. field: "a"
  11. >
  12. fields: <
  13. field: "b"
  14. >
  15. >
  16. json_data: "{\"a\": 1, \"b\": \"ServerTimestamp\"}"
  17. request: <
  18. database: "projects/projectID/databases/(default)"
  19. writes: <
  20. update: <
  21. name: "projects/projectID/databases/(default)/documents/C/d"
  22. fields: <
  23. key: "a"
  24. value: <
  25. integer_value: 1
  26. >
  27. >
  28. >
  29. update_mask: <
  30. field_paths: "a"
  31. >
  32. >
  33. writes: <
  34. transform: <
  35. document: "projects/projectID/databases/(default)/documents/C/d"
  36. field_transforms: <
  37. field_path: "b"
  38. set_to_server_value: REQUEST_TIME
  39. >
  40. >
  41. >
  42. >
  43. >