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 — java-docs-samples/README.md at master · hitraw/java-docs-samples

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
43 lines (31 loc) · 2.4 KB
/

README.md

Copy path

File metadata and controls

43 lines (31 loc) · 2.4 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

java-docs-samples

Kokoro Build Status Coverage Status

Open in Cloud Shell

While this library is still supported, we suggest trying the newer Cloud Client Library for Google Cloud Vision, especially for new projects. For more information, please see the notice on the API Client Library Page.

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

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.

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.