{"blog_title":"\u80c3\u8178\u304c\u5f31\u3044","author_name":"ofool","url":"https://ofool.hateblo.jp/entry/2019/11/08/144802","categories":["GCP","GCS","Python"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fofool.hateblo.jp%2Fentry%2F2019%2F11%2F08%2F144802\" title=\"Python\u3067GCS\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u30d5\u30a9\u30eb\u30c0\u304b\u3069\u3046\u304b\u5224\u5b9a\u3059\u308b - \u80c3\u8178\u304c\u5f31\u3044\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","provider_url":"https://hatena.blog","published":"2019-11-08 14:48:02","blog_url":"https://ofool.hateblo.jp/","version":"1.0","author_url":"https://blog.hatena.ne.jp/ofool/","type":"rich","title":"Python\u3067GCS\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u30d5\u30a9\u30eb\u30c0\u304b\u3069\u3046\u304b\u5224\u5b9a\u3059\u308b","height":"190","provider_name":"Hatena Blog","image_url":null,"description":"\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30b9\u30c8\u30ec\u30fc\u30b8\u3063\u3066\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u308b\u6982\u5ff5\u306f\u3042\u308b\u3051\u3069\u3001\u5b9f\u969b\u306f\u30d5\u30a9\u30eb\u30c0\u306e\u6982\u5ff5\u306f\u7121\u3044\u304b\u3089API\u3082\u7528\u610f\u3055\u308c\u3066\u306a\u3044\u3093\u3067\u3059\u3088\u306d\u3002 \u3067\u3082isdir\u3063\u3066\u66f8\u304d\u305f\u3044\u6642\u3042\u308b\u3088\u306d? \u3067\u3001\u8abf\u3079\u305f\u3089\u51fa\u3066\u304d\u3066\u65e5\u672c\u8a9e\u306e\u60c5\u5831\u304c\u306a\u304b\u3063\u305f\u306e\u3067\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002 \u3068\u308a\u3042\u3048\u305a\u3053\u308c\u304c\u30b3\u30fc\u30c9 def list_gcs_directories(bucket, prefix): # from https://github.com/GoogleCloudPlatform/google-cloud-python/issues/920 iterator = bucket.list_blobs(prefix=prefix, delimiter='/\u2026"}