java-docs-samples

Github星跟踪图

Google Cloud Platform Java Samples

Kokoro Build Status
Coverage Status

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.

Set Up

  1. Set up your Java Development Environment

  2. Clone this repository:

     git clone https://github.com/GoogleCloudPlatform/java-docs-samples.git
    
  3. 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
    

    Or manually set the GOOGLE_APPLICATION_CREDENTIALS environment variable
    to point to a service account key JSON file path.

    Learn more at Setting Up Authentication for Server to Server Production Applications.

    Note: Application Default Credentials is able to implicitly find the credentials as long as the application is running on Compute Engine, Kubernetes Engine, App Engine, or Cloud Functions.

Contributing

Licensing

主要指标

概览
名称与所有者GoogleCloudPlatform/java-docs-samples
主编程语言Java
编程语言Java (语言数: 12)
平台
许可证Apache License 2.0
所有者活动
创建于2015-03-25 22:48:38
推送于2025-04-24 02:45:12
最后一次提交
发布数1
最新版本名称monitoring-apiary (发布于 )
第一版名称monitoring-apiary (发布于 )
用户参与
星数1.8k
关注者数291
派生数2.9k
提交数10.4k
已启用问题?
问题数2151
打开的问题数26
拉请求数7112
打开的拉请求数22
关闭的拉请求数737
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?