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.
 
 
 

29 lines
875 B

  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 the only values in the input are ServerTimestamps, then an update operation
  4. # with an empty map should be produced.
  5. description: "set: ServerTimestamp alone"
  6. set: <
  7. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  8. json_data: "{\"a\": \"ServerTimestamp\"}"
  9. request: <
  10. database: "projects/projectID/databases/(default)"
  11. writes: <
  12. update: <
  13. name: "projects/projectID/databases/(default)/documents/C/d"
  14. >
  15. >
  16. writes: <
  17. transform: <
  18. document: "projects/projectID/databases/(default)/documents/C/d"
  19. field_transforms: <
  20. field_path: "a"
  21. set_to_server_value: REQUEST_TIME
  22. >
  23. >
  24. >
  25. >
  26. >