{"description":"Firestore\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30eb\u30fc\u30eb\u3067\u306f\u3001\u6587\u5b57\u5217\u3092\u6b63\u898f\u8868\u73fe\u3067\u5236\u9650\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u60aa\u610f\u306e\u3042\u308b\u30e6\u30fc\u30b6\u306b\u304a\u304b\u3057\u306a\u5024\u3092\u767b\u9332\u3055\u308c\u306a\u3044\u3088\u3046\u30a2\u30d7\u30ea\u3068\u540c\u3058\u5236\u9650\u3092\u304b\u3051\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002 String.matches(regex) String.matches\u3092\u4f7f\u3046\u3068\u3001\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u767b\u9332\u3055\u308c\u308b\u5024\u304c \u6307\u5b9a\u3055\u308c\u305f\u6b63\u898f\u8868\u73fe\u3092\u6e80\u305f\u3059\u5834\u5408\u306b\u306e\u307f\u3001DB\u306b\u767b\u9332\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u8a18\u8ff0\u306f\u3053\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 // \u96fb\u8a71\u756a\u53f7\uff08\u30cf\u30a4\u30d5\u30f3\u306a\u3057\uff09 allow create, update: if request.resource.data.tel.matches(\"^0[0-9]{9,10}$\") // \u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3063\u307d\u3044\u6587\u5b57\u5217 \u2026","provider_name":"Hatena Blog","categories":["Firebase"],"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/y/yucatio/20211026/20211026132400.png","author_name":"yucatio","url":"https://yucatio.hatenablog.com/entry/2021/10/26/180115","version":"1.0","height":"190","width":"100%","author_url":"https://blog.hatena.ne.jp/yucatio/","blog_title":"yucatio@\u30b7\u30b9\u30c6\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyucatio.hatenablog.com%2Fentry%2F2021%2F10%2F26%2F180115\" title=\"Firestore\u3067\u6587\u5b57\u5217\u3092\u6b63\u898f\u8868\u73fe\u3067\u5236\u9650\u3059\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30eb\u30fc\u30eb - yucatio@\u30b7\u30b9\u30c6\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Firestore\u3067\u6587\u5b57\u5217\u3092\u6b63\u898f\u8868\u73fe\u3067\u5236\u9650\u3059\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30eb\u30fc\u30eb","type":"rich","blog_url":"https://yucatio.hatenablog.com/","published":"2021-10-26 18:01:15"}