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.
 
 
 

39 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. # A document can have more than one ServerTimestamp field. Since all the
  4. # ServerTimestamp fields are removed, the only field in the update is "a".
  5. description: "set: multiple ServerTimestamp fields"
  6. set: <
  7. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  8. json_data: "{\"a\": 1, \"b\": \"ServerTimestamp\", \"c\": {\"d\": \"ServerTimestamp\"}}"
  9. request: <
  10. database: "projects/projectID/databases/(default)"
  11. writes: <
  12. update: <
  13. name: "projects/projectID/databases/(default)/documents/C/d"
  14. fields: <
  15. key: "a"
  16. value: <
  17. integer_value: 1
  18. >
  19. >
  20. >
  21. >
  22. writes: <
  23. transform: <
  24. document: "projects/projectID/databases/(default)/documents/C/d"
  25. field_transforms: <
  26. field_path: "b"
  27. set_to_server_value: REQUEST_TIME
  28. >
  29. field_transforms: <
  30. field_path: "c.d"
  31. set_to_server_value: REQUEST_TIME
  32. >
  33. >
  34. >
  35. >
  36. >