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 — Front page has outdated API · Issue #1854 · googleapis/google-cloud-java

Front page has outdated API #1854

New issue
Copy link
New issue
Copy link
Closed
Closed
Front page has outdated API#1854
Copy link
Assignees
neozwu
Labels
api: datastoreIssues related to the Datastore API.

Description

@danawillow
danawillow
opened on Apr 4, 2017
Issue body actions

http://googlecloudplatform.github.io/google-cloud-java/0.11.0/index.html has a code snippet:

DatastoreOptions options = DatastoreOptions.newBuilder()
  .setProjectId(PROJECT_ID)
  .setAuthCredentials(AuthCredentials.createForJson(
    new FileInputStream(PATH_TO_JSON_KEY))).build();

However, setAuthCredentials isn't a method on DatastoreOptions.Builder- it's setCredentials: http://googlecloudplatform.github.io/google-cloud-java/0.11.0/apidocs/com/google/cloud/datastore/DatastoreOptions.Builder.html. It also has it taking an AuthCredentials object- GoogleCredentials is probably the correct substitute here.

Activity

  1. garrettjonesgoogle
    added
    api: datastoreIssues related to the Datastore API.
    docs
    Status: Release Blocking
    on Apr 12, 2017
  2. garrettjonesgoogle
    assigned
    lesv
    and unassigned
    lesv
    on Apr 12, 2017
  3. neozwu
    self-assigned this
    on Apr 21, 2017
  4. neozwu commented on Apr 24, 2017

    @neozwu
    neozwu
    on Apr 24, 2017
    Contributor
    More actions

    The example code is now updated.

  5. neozwu
    closed this as completedon Apr 24, 2017
  6. theacodes
    unassigned
    neozwu
    on Sep 28, 2018
  7. JustinBeckwith
    assigned
    neozwu
    on Feb 1, 2021
  8. meltsufin
    added a commit that references this issue on Dec 22, 2025

    chore(main): release 3.23.4 (#1854)

    0324821
  9. chingor13
    added a commit that references this issue on Jan 22, 2026

    chore(main): release 2.28.2 (#1854)

    055effd
  10. suztomo
    added a commit that references this issue on Mar 11, 2026

    chore(main): release 3.23.4 (googleapis#1854)

    27496c3
  11. lqiu96
    added a commit that references this issue on Mar 20, 2026

    chore(main): release 2.28.2 (#1854)

    034ceae
  12. meltsufin
    added 5 commits that reference this issue on Apr 29, 2026

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    b36825b

    chore(main): release 1.133.0 (#2206)

    a3b6539

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    a380ece

    chore(main): release 1.133.0 (#2206)

    1180af9

    chore: Update generation configuration at Sat Sep 28 02:24:50 UTC 2024 (

    dc48a76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @neozwu
    neozwu

Labels

api: datastoreIssues related to the Datastore API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    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.