GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - gcristian/java-docs-samples

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

1,452 Commits
1,452 Commits

Folders and files

NameName
Last commit message
Last commit date
.circleci
.circleci
 
 
.github/templates
.github/templates
 
 
.kokoro
.kokoro
 
 
.mvn/wrapper
.mvn/wrapper
 
 
appengine-java8
appengine-java8
 
 
appengine
appengine
 
 
bigquery
bigquery
 
 
compute
compute
 
 
datastore
datastore
 
 
dlp
dlp
 
 
endpoints
endpoints
 
 
errorreporting
errorreporting
 
 
flexible
flexible
 
 
iap
iap
 
 
iot/api-client
iot/api-client
 
 
kms
kms
 
 
language
language
 
 
logging
logging
 
 
monitoring/cloud-client
monitoring/cloud-client
 
 
pubsub/cloud-client
pubsub/cloud-client
 
 
spanner/cloud-client
spanner/cloud-client
 
 
speech
speech
 
 
storage
storage
 
 
taskqueue
taskqueue
 
 
translate
translate
 
 
unittests
unittests
 
 
video/cloud-client
video/cloud-client
 
 
vision
vision
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.travis.yml
.travis.yml
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
ISSUE_TEMPLATE.md
ISSUE_TEMPLATE.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
checkstyle-checker.xml
checkstyle-checker.xml
 
 
circle.yml
circle.yml
 
 
codecov.yml
codecov.yml
 
 
gae-firebase-secrets.json.enc
gae-firebase-secrets.json.enc
 
 
jenkins.sh
jenkins.sh
 
 
mvnw
mvnw
 
 
mvnw.cmd
mvnw.cmd
 
 
pom.xml
pom.xml
 
 
secrets.env.EXAMPLE
secrets.env.EXAMPLE
 
 
secrets.env.enc
secrets.env.enc
 
 
service-account.json.enc
service-account.json.enc
 
 
travis.sh
travis.sh
 
 

Repository files navigation

java-docs-samples

Circle-CI Build Status ghit.me Coverage Status

This is a repository that contains java code snippets on Cloud Platform Documentation.

The repo is organized as follows:

  • App Engine Standard
    • TaskQueue
    • Unit Tests
  • App Engine Flexible
  • Compute Engine

Technology Samples:

  • Bigquery
  • Datastore
  • Endpoints
  • Identity-Aware Proxy
  • Key Management Service
  • Logging
  • Monitoring
  • Natural Language
  • PubSub
  • Cloud Spanner
  • Speech
  • Cloud Storage
  • Translate
  • Vision

Credentials Example

The documentation for Application Default Credentials.

BigQuery bigquery = BigQueryOptions.getDefaultInstance().getService();

The client library looks for credentials using the following rules:

  1. GOOGLE_APPLICATION_CREDENTIALS environment variable, pointing to a service account key JSON file path.
  2. Cloud SDK credentials gcloud auth application-default login
  3. App Engine standard environment credentials.
  4. Compute Engine credentials.

You can override this behavior using setCredentials in BigQueryOptions.newBuilder() by adding setCredentials(Credentials credentials) from ServiceOptions.builder and Credentials.

About

No description, website, or topics provided.

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.