google-app-engine

How to notify when DataFlow Job is complete

喜夏-厌秋 提交于 2020-02-05 14:07:37
问题 I want to know on GAE when dataflow job is completed. I tries to make the following both pipeline 1. | 'write to bigquery' >> beam.io.WriteToBigQuery(...) | WriteStringsToPubSub('projects/fakeprj/topics/a_topic') 2. | 'write to bigquery' >> beam.io.WriteToBigQuery(...) | 'DoPubSub' >> beam.ParDo(DoPubSub()) # do Publish using google.cloud.pubsub But the both above code produces the following error: AttributeError: 'PDone' object has no attribute 'windowing' How to do procedure after

How to notify when DataFlow Job is complete

对着背影说爱祢 提交于 2020-02-05 14:07:13
问题 I want to know on GAE when dataflow job is completed. I tries to make the following both pipeline 1. | 'write to bigquery' >> beam.io.WriteToBigQuery(...) | WriteStringsToPubSub('projects/fakeprj/topics/a_topic') 2. | 'write to bigquery' >> beam.io.WriteToBigQuery(...) | 'DoPubSub' >> beam.ParDo(DoPubSub()) # do Publish using google.cloud.pubsub But the both above code produces the following error: AttributeError: 'PDone' object has no attribute 'windowing' How to do procedure after

How to notify when DataFlow Job is complete

强颜欢笑 提交于 2020-02-05 14:06:32
问题 I want to know on GAE when dataflow job is completed. I tries to make the following both pipeline 1. | 'write to bigquery' >> beam.io.WriteToBigQuery(...) | WriteStringsToPubSub('projects/fakeprj/topics/a_topic') 2. | 'write to bigquery' >> beam.io.WriteToBigQuery(...) | 'DoPubSub' >> beam.ParDo(DoPubSub()) # do Publish using google.cloud.pubsub But the both above code produces the following error: AttributeError: 'PDone' object has no attribute 'windowing' How to do procedure after

Custom domain on Google App Engine

六月ゝ 毕业季﹏ 提交于 2020-02-05 09:00:10
问题 I'm trying to map my (naked) domain to an app. I found this. I'd like to map my app to http://myurl.com (also known as a naked domain). Due to recent changes, Google App Engine no longer supports mapping your app to a naked domain. If your domain registrar supports URL redirects, you can redirect from http://yourdomain.com to your app, which can be served from domains like http://www.yourdomain.com or http://appid.yourdomain.com. For instructions on how to configure a redirect for your Google

Custom domain on Google App Engine

限于喜欢 提交于 2020-02-05 08:59:07
问题 I'm trying to map my (naked) domain to an app. I found this. I'd like to map my app to http://myurl.com (also known as a naked domain). Due to recent changes, Google App Engine no longer supports mapping your app to a naked domain. If your domain registrar supports URL redirects, you can redirect from http://yourdomain.com to your app, which can be served from domains like http://www.yourdomain.com or http://appid.yourdomain.com. For instructions on how to configure a redirect for your Google

NodeJs Google Compute Engine Invalid ELF Header when using 'gcloud' module

青春壹個敷衍的年華 提交于 2020-02-05 07:53:05
问题 I am working on a project that requires me to use the gcloud nodejs module. I am testing this project locally using node app and locally on gcloud using gcloud preview app run app.yaml . When I have the following code in my file the project runs with node app but doesn't run with gcloud using gcloud preview app run app.yaml - I get the an invalid ELF Header error . var gcloud = require('gcloud'); I believe the project doesn't run with the gcloud command because it has something to do with me

Google Cloud Storage ACL not working for bucket

与世无争的帅哥 提交于 2020-02-05 06:38:20
问题 I granted access to certain users by their emails on my bucket, hosted on Google Cloud Storage. (like... jane@gmail.com). however, whenever that person is logged in to their gmail account on chrome, they can't access the file. it just says permission denied. what's going on? the link i'm using is something like: http://storage.googleapis.com/my-bucket/my-object and on my dashboard, i've DEFINITELY configured their gmail accounts to be able to access my bucket (and also even specific files). i

Google Cloud Storage ACL not working for bucket

ⅰ亾dé卋堺 提交于 2020-02-05 06:37:05
问题 I granted access to certain users by their emails on my bucket, hosted on Google Cloud Storage. (like... jane@gmail.com). however, whenever that person is logged in to their gmail account on chrome, they can't access the file. it just says permission denied. what's going on? the link i'm using is something like: http://storage.googleapis.com/my-bucket/my-object and on my dashboard, i've DEFINITELY configured their gmail accounts to be able to access my bucket (and also even specific files). i

Setting up a project for Google App Engine with modules

北城以北 提交于 2020-02-05 06:27:46
问题 I want to create a google app engine application with java and therefore i want to use modules for a separation of code. I am using IntelliJ 14.0.3 and Maven 3.2.5 I would like to setup a EAR file structure for my project but creating a project by New Project -> Java Enterprise -> Google App engine results in a different structure than is suggested by this sample project from google: https://github.com/GoogleCloudPlatform/appengine-modules-sample-java Adding modules with the "New Module ->

“dependent drop down list” does't work [Flask on Google App Engine]

做~自己de王妃 提交于 2020-02-05 06:13:18
问题 I'm a beginner in coding. I would like to make a simple web application using Google Cloud Text to Speech API. a web site with a text box you input a sentence in the text box and click a button "submit" you can download a mp3 file which is made by Google Cloud Text to Speech API I'm an English teacher in Japan, so I would like my students to use this website to improve their English pronunciation. Firstly, I'd like to tell you my problem. I have almost completed my web app. However, one