cloud functionsでタイムアウトを最大の540秒に設定していたがgcloud functions callで手動実行していたら次のようなエラーが出た
ERROR: (gcloud.functions.call) ('The read operation timed out',)
This may be due to network connectivity issues. Please check your network settings, and the status of the service you are trying to reach.gcloudのコマンド自体(APIコール)のタイムアウトは--http-timeoutを設定すればよさそう
デフォルトだと300秒だった(気がする)
gcloud functions call sample_function --http-timeout 540でよい
ドキュメントを見つけられなかったが…とりあえずこれでOKそう


