[google-appengine] Re: How export BiqQuery data to google Storage bucket either using with API or Java SDK automatically ?

2018-09-28 Thread 'Ali T (Cloud Platform Support)' via Google App Engine


It’s possible to do so. This would be like any other application that does 
some manipulation on data from BigQuery . Your application can be done 
using the client libraries[1] or through the rest API using extract 
property[2]. Once the application setup, you can use Cron jobs[3] to 
schedule your app to run every “n” time interval. 

Moreover, as outlined on the official exporting data from BigQuery 
documentation[4], this can also be done through Dataflow jobs which can 
also be scheduled to run automatically at a certain time interval. 

[1] 
https://cloud.google.com/bigquery/docs/exporting-data#exporting_table_data

[2] https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/insert

[3] https://cloud.google.com/appengine/docs/standard/python/config/cron

[4] https://cloud.google.com/bigquery/docs/exporting-data

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/fd888e79-8687-4a82-9757-604d535a6919%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Can't run sample applications on AppEngine Stanadard Python3.7

2018-09-28 Thread vvv vvv
OK all problems fixed! 

The origin of the problems was that I had installed Python App Engine 2.7 
before all of this, and trying to migrate  to App Engine 3.7.
The problem was that "/usr/lib/google-cloud-sdk/platform/google_appengine" 
was in my PYTHONPATH. Probably because this directory contains a "google" 
subdirectory, but no "type" subdirectory inside "google". I'm not sure if 
this was the problem... What I did that fixed this was i ran "sudo apt 
remove google-cloud-sdk" and then installed again the latest SDK with "sudo 
apt-get update && sudo apt-get install google-cloud-sdk", which didn't 
create this folder again. It created "/usr/lib/google-cloud-sdk/platform/" 
but with no "google_appengine" inside it. Also I should have a look at how 
to remove that dir from my PYTHONPATH as it doesn't exist any more.

After all this I just had to create an authentication and setting "export 
GOOGLE_APPLICATION_CREDENTIALS="pah to file.json", and then "python 
main.py" started the application using python 3.6 interpreter.
Thanks!

El viernes, 28 de septiembre de 2018, 1:28:34 (UTC+1), vvv vvv escribió:
>
>
> Hello, after installing everything, I am trying to run
> * 
> ~/python-docs-samples/appengine/standard_python37/building-an-app/building-an-app-2*
> *building-an-app/building-an-app-1* built and run successfully, my 
> problem is with the rest in the series which use the cloud datastore.
> When i start my virtual environment and run
> pip3 install -r requirements.txt
>
> python3 main.py
>
>
> I get Traceback (most recent call last):
>   File "main.py", line 20, in 
> from google.cloud import datastore
>   File 
> "/home/neptune/env/local/lib/python3.6/site-packages/google/cloud/datastore/__init__.py"
> , line 61, in 
> from google.cloud.datastore.batch import Batch
>   File 
> "/home/neptune/env/local/lib/python3.6/site-packages/google/cloud/datastore/batch.py"
> , line 24, in 
> from google.cloud.datastore import helpers
>   File 
> "/home/neptune/env/local/lib/python3.6/site-packages/google/cloud/datastore/helpers.py"
> , line 24, in 
> from google.type import latlng_pb2
> ModuleNotFoundError: No module named 'google.type'
>
>
> If on the other hand I run:
>
> pip install -r requirements.txt
>
> python main.py
>
>
> The output is:
>   File "main.py", line 22, in 
> datastore_client = datastore.Client()
> ...
> psep = app_id.find(_PARTITION_SEPARATOR)
> AttributeError: 'NoneType' object has no attribute 'find'
>
>
> I found here (
> https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/168) 
> in the end that I have to set APPLICATION_ID. How do I do this, and is this 
> documented somewhere?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/38e0b122-8f98-4edf-9c66-36a10e2136eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cloud Tasks Api for Appengine flex

2018-09-28 Thread Joshua Lyon
Thanks for the update! The blog post wasn't available when I originally posted. 
😀

One thing that I haven't seen clarification on is pricing for existing 
customers. Task Queues were included as part of App Engine whereas Cloud Tasks 
is a separate product with separate pricing. It almost reads as though we are 
now going to be charged for something that was originally included as part of 
our App Engine costs.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2e2e3272-10dc-4aad-9d07-08fab910c71a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Profiling python on GAE flex

2018-09-28 Thread diogoalmeida via Google App Engine
Stackdriver profiling for Python 
 is currently 
not supported. However, as a workaround, you can use profiling outside 
Google Cloud Platform using the Profiler interface.

I filed this feature request 
 and the Stackdriver 
engineering team will evaluate it. There is no ETA at the moment, so I 
suggest that you add your email to the thread to follow up on their 
progress. 


On Thursday, September 27, 2018 at 1:33:56 PM UTC-4, Neil Ghosh wrote:
>
> Has anyone tried profiling a service in python GAE flex? The cloud 
> profiler is not available yet for python.
>
> pyflame needs ptracing to be enabled inside docker and cProfile does not 
> seem to be profiling across process. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4e27eb76-6134-46d3-b5bf-88cf3d2cca51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cloud Tasks Api for Appengine flex

2018-09-28 Thread samiislam via Google App Engine


Hi Joshua,


This is the latest announcement posted in the Google Cloud blog 

 
about the news on Cloud Tasks APIs & Services. As David mentioned above, the 
product is expected to reach most of our Google Cloud Customers within a 
week. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1fa34f79-2fe7-4833-8b16-e56f448dea51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: OAuth consent screen now showing scope options

2018-09-28 Thread 'Amit (Google Cloud Support)' via Google App Engine


Hi 

When trying to access the page, did you see any error, such as permission 
or anything else? Are you trying to access both project from the same user 
account? It seems like a permission error to me. I would recommend to check 
all permissions and roles are the same for both projects. You can check 
this[1] link to review your project level access control using IAM. 

[1] 
https://cloud.google.com/resource-manager/docs/access-control-proj#permissions_and_roles

On Thursday, September 27, 2018 at 5:16:20 PM UTC-4, o. topalov wrote:
>
> I have two seemingly identical projects created in two different accounts. 
> Both projects use the same set of Google APIs - Google Picker and Google 
> Drive. In one of the projects (the one created earlier) I can see and set 
> up scope options inside the console.developers.google.com UI under 
> Credentials/OAuth consent screen. In the other project the same screen is 
> missing the scope options (and other settings). What am I missing?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f22d3276-83f2-444a-9dc7-f6470a16c1bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Java heap dump in Google App engine standard environment?

2018-09-28 Thread 'George (Cloud Platform Support)' via Google App Engine
Hi Kishu, 

Unfortunately, I don't have access to such information; it is Developers' 
domain. Decisions on Java 7 or 8 may change, but, of course, the ideal to 
have the heap dump feature implemented for both versions. If you open a 
related issue in the Public Tracker, one of the advantages would prove 
exactly the fact that it gets updated with progress and information of 
interest. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/7bec618f-a6ed-4f9b-b3b6-cc87be69b9a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Can't run sample applications on AppEngine Stanadard Python3.7

2018-09-28 Thread vvv vvv
OK here's an update of how I fixed this issue, with a question at the end. 
It's true that you have to run:
export APPLICATION_ID=myapplicationnamegoeshere
before you can run "python main.py" to run the example that connects to the 
(local) Cloud Datastore. Before you run this command you have to run these 
commands to bring up a local Datastore:
sudo apt-get install google-cloud-sdk-datastore-emulator
gcloud beta emulators datastore start
$(gcloud beta emulators datastore env-init)

Then if you follow the instructions you can find in the docs the 
application will run OK. I think the docs have to be updated to include 
these info. My question is the following:
How is it possible that when I run the python 3 version of all these 
commands (3.16 on my Ubuntu), and even using "virtualenv -p python3 
envname", I get the "ModuleNotFoundError: No module named 'google.type'" error, 
but with the Python 2.17 version of the commands the application runs OK. 
Is this supposed to be like this? I thought the environment the app runs on 
was supposed to be 3.17? 

El viernes, 28 de septiembre de 2018, 1:28:34 (UTC+1), vvv vvv escribió:
>
>
> Hello, after installing everything, I am trying to run
> * 
> ~/python-docs-samples/appengine/standard_python37/building-an-app/building-an-app-2*
> *building-an-app/building-an-app-1* built and run successfully, my 
> problem is with the rest in the series which use the cloud datastore.
> When i start my virtual environment and run
> pip3 install -r requirements.txt
>
> python3 main.py
>
>
> I get Traceback (most recent call last):
>   File "main.py", line 20, in 
> from google.cloud import datastore
>   File 
> "/home/neptune/env/local/lib/python3.6/site-packages/google/cloud/datastore/__init__.py"
> , line 61, in 
> from google.cloud.datastore.batch import Batch
>   File 
> "/home/neptune/env/local/lib/python3.6/site-packages/google/cloud/datastore/batch.py"
> , line 24, in 
> from google.cloud.datastore import helpers
>   File 
> "/home/neptune/env/local/lib/python3.6/site-packages/google/cloud/datastore/helpers.py"
> , line 24, in 
> from google.type import latlng_pb2
> ModuleNotFoundError: No module named 'google.type'
>
>
> If on the other hand I run:
>
> pip install -r requirements.txt
>
> python main.py
>
>
> The output is:
>   File "main.py", line 22, in 
> datastore_client = datastore.Client()
> ...
> psep = app_id.find(_PARTITION_SEPARATOR)
> AttributeError: 'NoneType' object has no attribute 'find'
>
>
> I found here (
> https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/168) 
> in the end that I have to set APPLICATION_ID. How do I do this, and is this 
> documented somewhere?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/49bcc39d-a656-4df8-afed-e999e6412df7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Can't run sample applications on AppEngine Stanadard Python3.7

2018-09-28 Thread 'Rahul Ravindran' via Google App Engine
Did you have a chance to look at
https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/datastore/cloud-client
?

On Fri, Sep 28, 2018 at 10:50 AM vvv vvv  wrote:

> Hi George, thanks for answering. dev_appserver.py is for the standard
> environment Python 2.7, I'm trying to run a Python 3.7 web app.
>
> El viernes, 28 de septiembre de 2018, 1:28:34 (UTC+1), vvv vvv escribió:
>>
>>
>> Hello, after installing everything, I am trying to run
>> * 
>> ~/python-docs-samples/appengine/standard_python37/building-an-app/building-an-app-2*
>> *building-an-app/building-an-app-1* built and run successfully, my
>> problem is with the rest in the series which use the cloud datastore.
>> When i start my virtual environment and run
>> pip3 install -r requirements.txt
>>
>> python3 main.py
>>
>>
>> I get Traceback (most recent call last):
>>   File "main.py", line 20, in 
>> from google.cloud import datastore
>>   File
>> "/home/neptune/env/local/lib/python3.6/site-packages/google/cloud/datastore/__init__.py"
>> , line 61, in 
>> from google.cloud.datastore.batch import Batch
>>   File
>> "/home/neptune/env/local/lib/python3.6/site-packages/google/cloud/datastore/batch.py"
>> , line 24, in 
>> from google.cloud.datastore import helpers
>>   File
>> "/home/neptune/env/local/lib/python3.6/site-packages/google/cloud/datastore/helpers.py"
>> , line 24, in 
>> from google.type import latlng_pb2
>> ModuleNotFoundError: No module named 'google.type'
>>
>>
>> If on the other hand I run:
>>
>> pip install -r requirements.txt
>>
>> python main.py
>>
>>
>> The output is:
>>   File "main.py", line 22, in 
>> datastore_client = datastore.Client()
>> ...
>> psep = app_id.find(_PARTITION_SEPARATOR)
>> AttributeError: 'NoneType' object has no attribute 'find'
>>
>>
>> I found here (
>> https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/168)
>> in the end that I have to set APPLICATION_ID. How do I do this, and is this
>> documented somewhere?
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/5d3c5a27-d2d1-4619-9b47-4df1378828a3%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CALZe7H2M-m1%3Dm7URpZKdmXh8k0HSccLr5S9vWCcm-rkTsFnD-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Can't run sample applications on AppEngine Stanadard Python3.7

2018-09-28 Thread vvv vvv
Hi George, thanks for answering. dev_appserver.py is for the standard 
environment Python 2.7, I'm trying to run a Python 3.7 web app.

El viernes, 28 de septiembre de 2018, 1:28:34 (UTC+1), vvv vvv escribió:
>
>
> Hello, after installing everything, I am trying to run
> * 
> ~/python-docs-samples/appengine/standard_python37/building-an-app/building-an-app-2*
> *building-an-app/building-an-app-1* built and run successfully, my 
> problem is with the rest in the series which use the cloud datastore.
> When i start my virtual environment and run
> pip3 install -r requirements.txt
>
> python3 main.py
>
>
> I get Traceback (most recent call last):
>   File "main.py", line 20, in 
> from google.cloud import datastore
>   File 
> "/home/neptune/env/local/lib/python3.6/site-packages/google/cloud/datastore/__init__.py"
> , line 61, in 
> from google.cloud.datastore.batch import Batch
>   File 
> "/home/neptune/env/local/lib/python3.6/site-packages/google/cloud/datastore/batch.py"
> , line 24, in 
> from google.cloud.datastore import helpers
>   File 
> "/home/neptune/env/local/lib/python3.6/site-packages/google/cloud/datastore/helpers.py"
> , line 24, in 
> from google.type import latlng_pb2
> ModuleNotFoundError: No module named 'google.type'
>
>
> If on the other hand I run:
>
> pip install -r requirements.txt
>
> python main.py
>
>
> The output is:
>   File "main.py", line 22, in 
> datastore_client = datastore.Client()
> ...
> psep = app_id.find(_PARTITION_SEPARATOR)
> AttributeError: 'NoneType' object has no attribute 'find'
>
>
> I found here (
> https://github.com/GoogleCloudPlatform/google-cloud-datastore/issues/168) 
> in the end that I have to set APPLICATION_ID. How do I do this, and is this 
> documented somewhere?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/5d3c5a27-d2d1-4619-9b47-4df1378828a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Create Django Superuser in GAE Flexible

2018-09-28 Thread dean
This worked for me. We need to do `docker ps` to see the container that has 
the django container

On Wednesday, August 9, 2017 at 9:33:48 AM UTC+8, Kenworth (Google Cloud 
Platform) wrote:
>
> 1- You can SSH on a GAE Flex instance for debugging purposes by going to 
> your Console > App Engine > Instances > Select SSH on the selected instance.
>
> 2- Since the last possible solution offered is not feasible for you, can 
> you detail why would you want to "createsuperuser" on the first place. If 
> your intention is to create a "power user", you can create a root level 
> user on your DB like this StackOverflow thread 
> .
>  
> If you want a "grant all" permission, this will not work because Cloud SQL 
> does not support "super" privileges as documented here 
> .
>
> 3- In addition to #2, provide the versions of your Django, Cloud SQL, and 
> Google Cloud SDK.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/00dea4a8-199c-45f0-9abd-eb3f8b75ef98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Java heap dump in Google App engine standard environment?

2018-09-28 Thread Kishu Agarwal
Thanks George for the quick response. That was very helpful.

I just had a quick question. I am assuming that taking heap dump can only 
be done in JAVA 8 runtime but not in JAVA 7 runtime because of the classes 
whitelisting in Java 7. Is this correct or there are ways to take heap dump 
in Java 7?

On Friday, September 28, 2018 at 4:19:38 AM UTC+5:30, George (Cloud 
Platform Support) wrote:
>
> Hello Kishu, 
>
> You are right about the local file system in App Engine Standard, and 
> indeed, saving the heap dump rather to Cloud Storage might prove the right 
> solution. There is no such feature yet, but development is under way. As 
> yet, we cannot offer a good estimate for a final implementation date. If 
> you think this may speed things up, you are encouraged to open an issue 
> with similar content in the Public Issue Tracker 
> . 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b506bc33-fc5e-43e7-8a51-c2b2bd10bb07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Can't run sample applications on AppEngine Stanadard Python3.7

2018-09-28 Thread 'Stewart Reichling' via Google App Engine
Quick correction to George's post:

   - for Python 2.7, dev_appserver is recommended
   - for Python 3.7, we recommend using Python's idiomatic development 
   practices, as listed on this page 
   


But back to the original question -- are you following the instructions on this 
section 
 of 
the doc?

On Thursday, September 27, 2018 at 6:20:12 PM UTC-7, George (Cloud Platform 
Support) wrote:
>
> The recommended way to run Standard Environment applications in the local 
> environment is by using the dev_appserver.py command as follows, from the 
> directory that contains your app's app.yaml configuration file, and 
> specifying the directory path to your app, for example:
>
> dev_appserver.py [PATH_TO_YOUR_APP]
>
> You may find related detail on the "Using the Local Development Server" 
> documentation page 
> 
> . 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d9bb664d-0fa7-411a-9b37-dedce663f468%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: This morning, I couldn't deploy AppEngine Flex - Failed to complete within deadline. Task was cancelled

2018-09-28 Thread 'Amit (Google Cloud Support)' via Google App Engine


Hi Suttiwat

In a nutshell, it seems like a temporary error on the Cloud Platform’s 
side. Are you still having this issue? If Yes, I would recommend to check 
your Google Cloud SDk version by using this[1] command. As of now, this 
should be [218.0.0], if it is not, please update using this command [2] and 
try to deploy your app again.  

If it still gives the same error, I would recommend to create a bug report 
using issue tracker as mentioned here[3]. Before doing this, please run 
this [4] command and provide the output with it. This will allow us to 
provide more information to check detail logs regarding this error. Also 
please provide a time frame from when this error started for you. And 
finally it would be great if you can provide any reproducible steps for 
this issue. 

[1] gcloud version

[2] gcloud components update

[3] https://cloud.google.com/support/docs/issue-trackers

[4]  gcloud info --anonymize


On Thursday, September 27, 2018 at 1:33:56 PM UTC-4, Suttiwat Youngklai 
wrote:
>
>
> Hi All:
>
> This morning (10.40am GMT+7 Timezone), when I perform AppEngine Flex 
> deploy new code of software,  I've got the error below , so I can't deploy 
> the new version.Are there anyone encounter this kind of problem?  
>  Please suggest the solution.  Thanks, 
>
> PS:  Yesterday, I can deploy it as usual. So don't know why this happen ?
>
>
> [INFO] GCLOUD: 
> ..failed.
>  
>
> [INFO] GCLOUD: ERROR: (gcloud.app.deploy) Error Response: [13] Could not 
> get clean deployment: "ZeusDeploymentError("Failed to delete deployment: 
> TemporaryError('TEMPORARY_ERROR: Failed to complete within deadline. Task 
> was cancelled.', 'TEMPORARY_ERROR')",)" [INFO] 
>  
>
> [INFO] BUILD FAILURE [INFO] 
>  
>
> [INFO] Total time: 02:49 min 
> [INFO] Finished at: 2018-09-27T10:43:19+07:00 
> [INFO] Final Memory: 31M/520M [INFO] 
> 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d8654c77-1af3-4986-8fde-6ff10955a2a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Any update on Cloud Tasks beta?

2018-09-28 Thread Malte Meister
For anyone who is interested, it looks like Cloud Tasks has officially gone 
into beta now.

On Friday, September 7, 2018 at 11:36:35 AM UTC+2, Malte Meister wrote:
>
> Thanks for the information - much appreciated!
>
> On Thursday, September 6, 2018 at 10:42:42 PM UTC+2, edgaral...@google.com 
> wrote:
>>
>> - Unfortunately we do not have an ETA currently available for the release 
>> of the Cloud Task Beta. The best way to track its release would be to 
>> review the release notes:
>>
>> https://cloud.google.com/appengine/docs/standard/nodejs/release-notes 
>>
>> - The page is producing a 404 as you would need to get opt-in the Alpha 
>> program for Cloud Task:
>>
>> https://cloud.google.com/appengine/docs/standard/java/taskqueue/rest/migrating-from-restapi-v1
>>
>> Following the link stating ‘Sign up for the Cloud Tasks Alpha’.
>>
>>
>> - Regarding the permission required to enable the Cloud Task API, this is 
>> currently locked as the beta is not released and is still in Alpha. 
>>
>> I have been able to reproduce this issue with a user account and a 
>> service account. I am able to use it with my internal email ending with @
>> google.com but not with other domains. This behavior is expected as you 
>> would need to be whitelisted as described here below. You can follow the 
>> link provided in the warning box to be whitelisted(it is the same form to 
>> opt-in the Cloud Tasks Alpha as mentioned above):
>>
>>
>> https://cloud.google.com/appengine/docs/standard/go/taskqueue/rest/migrating-from-restapi-v1
>>  
>>
>>
>>
>> On Tuesday, September 4, 2018 at 4:37:18 PM UTC-4, Malte Meister wrote:
>>>
>>> It seems like the Cloud Tasks beta release is imminent? Is there any ETA?
>>> I'm asking because I'm about to implement a feature for a Node.js app in 
>>> the Standard Environment, and I would love to use Task Queues rather than 
>>> having to design something more complicated. Some indication of when this 
>>> might become available would ease my decision making.
>>>
>>> Some documentation/resources [1 
>>> ][2 
>>> ]
>>>  
>>> are already available. Trying to create a queue fails as shown below. The 
>>> linked documentation produces a 404.
>>>
>>>
>>> > gcloud beta tasks queues create-app-engine-queue  
>>> --project=
>>> WARNING: You are managing queues with gcloud, do not use queue.yaml or 
>>> queue.xml in the future. More details at: 
>>> https://cloud.google.com/cloud-tasks/docs/queue-yaml.
>>> API [cloudtasks.googleapis.com] not enabled on project [].
>>>  Would you like to enable and retry (this will take a few minutes)?
>>> (y/N)?  y
>>>
>>> Enabling service cloudtasks.googleapis.com on project ...
>>> ERROR: (gcloud.beta.tasks.queues.create-app-engine-queue) User [] 
>>> does not have permission to access service 
>>> [cloudtasks.googleapis.com:enable] (or it may not exist): The caller does 
>>> not have permission
>>>
>>>
>>> See related discussions here:
>>>
>>> https://groups.google.com/forum/#!searchin/google-appengine/cloud$20tasks|sort:date/google-appengine/Y9JlSOffnXM/s-o9iX0lAQAJ
>>>
>>> https://groups.google.com/forum/#!searchin/google-appengine/cloud$20tasks|sort:date/google-appengine/IcIjLfgnNXs/wvN-YcScBgAJ
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/aaf755a8-fea0-4f19-8506-8f49bc998f55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.