0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【GCP】Cloud Functions触ってみた

Last updated at Posted at 2020-09-11

#これをやってみた
https://blog.apar.jp/web/10611/
・HTTPとか選べるとこがある とりあえずHTTPで

生成されたURLにアクセスするとHelloWorldがでるという感じ。

エラー

・node.jsで作ったらできなかった
pythonでもエラーになるので公式でやる
https://cloud.google.com/functions/docs/quickstart-python?hl=ja
書いてある内容でテストまでコンソールでできるが、URLにアクセスするとエラーになる。

https://qiita.com/toshiaki_takase/items/ce65cd5582a80917b52f
http://wiki.nonip.net/index.php/Gcp/Firebase/CloudFunctions/%E5%9F%BA%E6%9C%AC
このへんにかいてあった。要は権限の問題でした。
Firebaseのやり方だけど、このやり方でCloudFunctionもいける

#参考URL
FnctionとGAE何がちがうの?っておもったらそんな記事があった
https://qiita.com/hnw/items/71f3079852aab73106af

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?