Google Cloud Storage

Google::Cloud::Storage::File#exists? はファイルが存在しない場合にエラーログを出力する

bucket = Google::Cloud::Storage.new(project_id: gcp_project).bucket(gcs_bucket) file = bucket.file(file_path, skip_lookup: true) do_something if file.exists? みたいなコード書いた場合、ファイルが存在しない場合は file.exists? がちゃんと fals…