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
856 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 all the fields in the merge option have ServerTimestamp values, then no
  4. # update operation is produced, only a transform.
  5. description: "set-merge: If no ordinary values in Merge, no write"
  6. set: <
  7. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  8. option: <
  9. fields: <
  10. field: "b"
  11. >
  12. >
  13. json_data: "{\"a\": 1, \"b\": \"ServerTimestamp\"}"
  14. request: <
  15. database: "projects/projectID/databases/(default)"
  16. writes: <
  17. transform: <
  18. document: "projects/projectID/databases/(default)/documents/C/d"
  19. field_transforms: <
  20. field_path: "b"
  21. set_to_server_value: REQUEST_TIME
  22. >
  23. >
  24. >
  25. >
  26. >