MCPcopy Index your code
hub / github.com/GoogleCloudPlatform/cloud-code-samples

github.com/GoogleCloudPlatform/cloud-code-samples @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
325 symbols 697 edges 125 files 83 documented · 26%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Code Templates for Google Cloud Code

What is Google Cloud Code

Building highly scalable applications with Kubernetes can be hard. Google Cloud Code extends your IDE so that you can continuously deploy to a cluster, edit and debug just like you were working with local code. Spend less time learning about configuration and management of your app - and spend more time to focus on writing and evolving your code.

What's in this repo

Code templates for easy Getting-Started experience with Google Cloud Code in Python, Java, Nodejs, Go and .NET Core. We support two IDEs: Visual Studio Code and IntelliJ (and other JetBrains IDEs).

VS Code: Create New Application VS Code

IntelliJ: Create New Application IntelliJ

Useful Links

Extension points exported contracts — how you extend this code

PrintDuration (Interface)
Controls printing the time that has passed between a given timestamp and now
java/java-guestbook/frontend/src/main/java/cloudcode/guestbook/frontend/PrintDuration.java
ReadPubsubOptions (Interface)
(no doc)
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/options/ReadPubsubOptions.java
IEnvironmentInfo (Interface)
(no doc)
dotnet/dotnet-cloud-run-hello-world/EnvironmentInfo.cs
IEnvironmentConfiguration (Interface)
(no doc)
dotnet/dotnet-guestbook/src/frontend/EnvironmentConfiguration.cs
MessageRepository (Interface)
represents a custom Mongo repository that stores GuestBookEntry objects
java/java-guestbook/backend/src/main/java/cloudcode/guestbook/backend/MessageRepository.java
ReadPubsubWriteBigQueryOptions (Interface)
(no doc)
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/options/ReadPubsubWriteBigQueryOptions.java
IMessageRepository (Interface)
(no doc)
dotnet/dotnet-guestbook/src/backend/IMessageRepository.cs
WriteBigQueryOptions (Interface)
(no doc)
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/options/WriteBigQueryOptions.java

Core symbols most depended-on inside this repo

error
called by 17
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/logging/Log.java
of
called by 14
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/JsonToRow.java
setValidationValues
called by 12
dotnet/dotnet-guestbook/src/frontend/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js
getValue
called by 6
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/options/SubscriptionPathOptionValue.java
of
called by 5
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/UserTypeJsonPayloadSerializer.java
getSchema
called by 5
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/UserTypeJsonPayloadSerializer.java
getTimestamp
called by 4
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/ExampleModel.java
getMessage
called by 4
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/ConversionError.java

Shape

Method 180
Class 64
Function 58
Interface 9
Struct 7
Route 6
Enum 1

Languages

Java55%
C#17%
Python11%
TypeScript9%
Go9%

Modules by API surface

java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/ExampleModel.java23 symbols
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/logging/Log.java20 symbols
java/java-dataflow-samples/read-pubsub-write-bigquery/src/test/java/com/cloudcode/dataflow/example/testdata/FlatSchemaJavaBean.java15 symbols
dotnet/dotnet-guestbook/src/frontend/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js11 symbols
dotnet/dotnet-guestbook/src/frontend/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js10 symbols
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/io/WriteResult.java8 symbols
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/io/ReadResult.java8 symbols
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/ConversionError.java8 symbols
java/java-guestbook/frontend/src/main/java/cloudcode/guestbook/frontend/GuestBookEntry.java7 symbols
java/java-guestbook/backend/src/main/java/cloudcode/guestbook/backend/GuestBookEntry.java7 symbols
java/java-dataflow-samples/read-pubsub-write-bigquery/src/main/java/com/cloudcode/dataflow/example/conversions/UserTypeJsonPayloadSerializer.java7 symbols
golang/go-guestbook/src/frontend/main.go7 symbols

Datastores touched

MessageCollection · 1 repos
entriesCollection · 1 repos
(mongodb)Database · 1 repos
guestbookDatabase · 1 repos

For agents

$ claude mcp add cloud-code-samples \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact