Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

43 řádky
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. # A key with the special ServerTimestamp sentinel is removed from the data in the
  4. # update operation. Instead it appears in a separate Transform operation. Note
  5. # that in these tests, the string "ServerTimestamp" should be replaced with the
  6. # special ServerTimestamp value.
  7. description: "update: ServerTimestamp with data"
  8. update: <
  9. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  10. json_data: "{\"a\": 1, \"b\": \"ServerTimestamp\"}"
  11. request: <
  12. database: "projects/projectID/databases/(default)"
  13. writes: <
  14. update: <
  15. name: "projects/projectID/databases/(default)/documents/C/d"
  16. fields: <
  17. key: "a"
  18. value: <
  19. integer_value: 1
  20. >
  21. >
  22. >
  23. update_mask: <
  24. field_paths: "a"
  25. >
  26. current_document: <
  27. exists: true
  28. >
  29. >
  30. writes: <
  31. transform: <
  32. document: "projects/projectID/databases/(default)/documents/C/d"
  33. field_transforms: <
  34. field_path: "b"
  35. set_to_server_value: REQUEST_TIME
  36. >
  37. >
  38. >
  39. >
  40. >