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.
 
 
 

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