Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Repository for various custom samples for Cloud Code

License

NotificationsYou must be signed in to change notification settings

meteatamel/cloud-code-custom-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What are these templates?

This repository contains some starter Cloud Functions and Cloud Run templatesfor Cloud Code for VS Code for different languages. Each template includesminimal starter code for HTTP or CloudEvent triggered Cloud Functions or CloudRun services that use the recommended libraries (CloudEventsSDK andGoogle CloudEventslibraries) for each language.They also includes lightweightgcloud based scripts to quickly test serviceslocally, deploy to the cloud, and test in the cloud.

Why these templates?

Cloud Code comes with some default Cloud Run and Cloud Functions templates(hosted incloud-code-samplesrepo) but they're limited:

  • Only four languages are supported (Node.js, Python, Go, and Java) in CloudFunctions templates and deployment. I’ve especially missed the NET support.
  • Templates for Cloud Run and Cloud Functions are only for HTTP triggeredservices. No templates for event triggered services.
  • Testing only works against deployed HTTP triggered services. No testingsupport for locally running services or event triggered services.

How do I use these templates?

You can use these templates in standalone Cloud Code for VS Code or the CloudCode in the editor of Cloud Shell in the browser.

To use these templates as starter projects:

  1. Click onCloud Code in VS Code.
  2. SelectNew Application ->Custom Application ->Import Sample from Repo
  3. Point to this repository.
  4. Choose a template as a starter project and follow the instructions in theREADME.mdof the template.

Install templates

Templates

Cloud Functions

.NET:

Java:

Node.js:

Python:

Cloud Run

.NET:

Java:

Node.js:

Python:


This is not an official Google product.

About

Repository for various custom samples for Cloud Code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp