Google Certified Professional Data Engineer

Sign Up Free or Log In to participate!

Resource folder is empty under path https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/pubsub/cloud-client

Bharat Malgave

same is for Java and Python https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/pubsub/cloud-client

2 Answers

Hi Bharat

Google seem to have re-organized all of their repos. You can now find the required snippets at:

https://github.com/googleapis/python-pubsub/tree/master/samples/snippets

Hope this helps!

Bharat Malgave

cloud_user_p_234c333b@cloudshell:~/gen_thumbnail (playground-s-11-422c8be1)$ gcloud functions deploy gen_thumbnail –runtime puthon37 –trigger-topic newImage ERROR: (gcloud.functions.deploy) ResponseError: status=[400], code=[Ok], message=[The request has errors Problems: runtime: Invalid runtime. ]

Bharat Malgave

getting above error

Try this

git clone https://github.com/googleapis/python-pubsub.git

pytnon /home/cloud_user_p_ce03ef8d/python-pubsub/samples/snippets/publisher.py playground-xxxx create LabTopic

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?