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 — Create snippets for Cloud Datastore page · Issue #541 · googleapis/google-cloud-java

Create snippets for Cloud Datastore page #541

New issue
Copy link
New issue
Copy link
Closed
Closed
Create snippets for Cloud Datastore page#541
Copy link
Assignees
ajkannan
Labels
api: datastoreIssues related to the Datastore API.

Description

@pcostell
pcostell
opened on Jan 11, 2016
Issue body actions

The Datastore docs page has a whole new set of snippets for the "getting started" guide and for the concepts snippets.

Can we implement all the necessary snippets (~50) in the docs github?

Whoever plans on owning this can ping me via email and I can give you all the necessary instructions / access to the staging docs.

Activity

Next
  1. ajkannan commented on Jan 11, 2016

    @ajkannan
    ajkannan
    on Jan 11, 2016
    More actions

    If I'm understanding correctly, it seems like the Datastore Getting Started guide snippets won't use the gcloud-java API, but rather the Datastore API. For that reason should this be an issue in the docs github you linked instead of this repo?

    Perhaps related, perhaps unrelated: gcloud-java has a couple snippets in its readme.

  2. pcostell commented on Jan 11, 2016

    @pcostell
    pcostell
    on Jan 11, 2016
    ContributorAuthor
    More actions

    I think it may make sense to have both libraries listed on Datastore's docs page.

  3. ajkannan commented on Jan 11, 2016

    @ajkannan
    ajkannan
    on Jan 11, 2016
    More actions

    A few follow up questions:

    1. Are these snippets already written, and you just need them compiled into a program(s) that can easily be downloaded and run by users? Are the generated api client snippets the main priority, or is it an equal priority to also get some executable code that uses gcloud-java-datastore?

    2. If we're also writing these snippets using gcloud-java, we probably want to make sure the java-docs-samples repo is the right place for the gcloud-java snippets. Currently, that repo seems to mostly use generated api client libraries.

  4. pcostell commented on Jan 11, 2016

    @pcostell
    pcostell
    on Jan 11, 2016
    ContributorAuthor
    More actions

    1). The snippets are already written for some of the libraries. Importantly, they each have specific requirements so that the docs can talk about them in a library-agnostic way.

    2). I believe this is the right place. We've put gcloud-node snippets in the node-docs-samples repo.

  5. aozarov
    added
    api: datastoreIssues related to the Datastore API.
    docs
    on Jan 14, 2016
  6. ajkannan commented on Jan 15, 2016

    @ajkannan
    ajkannan
    on Jan 15, 2016
    More actions

    @lesv Should these snippets go in java-docs-samples under a new folders? There'll be one set of snippets that uses the api client directly (proposed location: java-docs-samples/datastore/api-client) and one set of snippets that uses gcloud-java (proposed location: java-docs-samples/datastore/gcloud-java).

    Should that be the directory hierarcy for samples for other services as well? For example, I see that Bigquery and Storage have folders in java-docs-samples already. If/when gcloud-java code snippets are added, should they go under bigquery/gcloud-java and storage/gcloud-java?

  7. lesv commented on Jan 15, 2016

    @lesv
    lesv
    on Jan 15, 2016
    Contributor
    More actions

    We have Java Veneer samples in getting-started-java, gcloud-java/examples, and java-docs-samples.

    Typically snippets go in java-docs-samples -- creating a Datastore folder at the top level is probably the best way to go.

  8. ajkannan
    self-assigned this
    on Jan 27, 2016
  9. ajkannan commented on Feb 16, 2016

    @ajkannan
    ajkannan
    on Feb 16, 2016
    More actions

    Closing this issue since this PR in java-docs-samples has been merged.

  10. ajkannan
    closed this as completedon Feb 16, 2016
  11. theacodes
    unassigned
    ajkannan
    on Sep 28, 2018
  12. JustinBeckwith
    assigned
    ajkannan
    on Feb 1, 2021
  13. github-actions
    added a commit that references this issue on Jun 29, 2022

    chore: regenerate README (googleapis#541)

    087a362
  14. github-actions
    added a commit that references this issue on Jul 14, 2022

    chore: mark native image checks as required (#541)

    4dd2cec
  15. 1 remaining item

  16. github-actions
    added 2 commits that reference this issue on Sep 15, 2022

    chore(main): release 0.14.4 (#541)

    1887a0c

    chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…

    fd94e38
  17. github-actions
    added 3 commits that reference this issue on Oct 4, 2022

    chore(main): release 2.4.6 (#557)

    4d77e88

    chore(main): release 2.5.5 (#550)

    6dee630

    chore(main): release 2.5.1 (#547)

    ca73d06
  18. suztomo
    added a commit that references this issue on Feb 1, 2023

    chore(main): release 1.6.17-SNAPSHOT (#541)

    19ccc30
  19. meltsufin
    added a commit that references this issue on Dec 22, 2025

    chore(deps): update dependency com.google.cloud:libraries-bom to v20.…

    3044f76
  20. chingor13
    added a commit that references this issue on Jan 6, 2026

    samples(deps): fix snapshot version in samples pom (#541)

    bad0529
  21. suztomo
    added a commit that references this issue on Mar 11, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v20.…

    d7363e2
  22. suztomo
    added a commit that references this issue on Mar 23, 2026

    build(deps): update dependency com.google.cloud:google-cloud-shared-c…

    a575480
  23. suztomo
    added a commit that references this issue on Mar 30, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v20.…

    98cba3d
  24. lqiu96
    added a commit that references this issue on Apr 1, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v20.…

    ef8bbdc
  25. meltsufin
    added 2 commits that reference this issue on Apr 29, 2026

    feat: expose default client configs (#541)

    01e6daf

    feat: expose default client configs (#541)

    c42b32f
  26. benjaminp
    added a commit that references this issue on Jul 13, 2026

    chore(java): retry staging portion of the release with backoff (googl…

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

Metadata

Metadata

Assignees

  • @ajkannan
    ajkannan

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.