Google Cloud Platform Java Samples
This repository holds sample code written in Java that demonstrates the
Google Cloud Platform.
Some samples have accompanying guides on <cloud.google.com>. See respective
README files for details.
Google Cloud Samples
To browse ready to use code samples check Google Cloud Samples.
Set Up
-
Set up your Java Development Environment
-
Clone this repository:
git clone https://github.com/GoogleCloudPlatform/java-docs-samples.git
-
Obtain authentication credentials.
Create local credentials by running the following command and following the
oauth2 flow (read more about the command here):
gcloud auth application-default login