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 — Use GAX generated libraries for Datastore and Bigtable · Issue #2128 · googleapis/google-cloud-python

Use GAX generated libraries for Datastore and Bigtable #2128

New issue
Copy link
New issue
Copy link
Closed
Closed
Use GAX generated libraries for Datastore and Bigtable#2128
Copy link
Assignees
lukesneeringer
Labels
api: bigtableIssues related to the Bigtable API.api: datastoreIssues related to the Datastore API.grpcpriority: p2Moderately-important priority. Fix may not be included in next release.

Description

@dhermes
dhermes
opened on Aug 18, 2016
Issue body actions

@bjwatson WDYT of this? We are currently generating via protoc with our own Makefiles (datastore and bigtable).

Activity

  1. dhermes
    added
    api: datastoreIssues related to the Datastore API.
    api: bigtableIssues related to the Bigtable API.
    grpc
    on Aug 18, 2016
  2. bjwatson commented on Aug 19, 2016

    @bjwatson
    bjwatson
    on Aug 19, 2016
    More actions

    @dhermes You sure can. Do you mind if I complete this after #2117 (comment)?

    BTW, we won't be able to do much more than wrap these calls in our Pythonic surface. My understanding is that we can't do much of our value-add stuff like page streaming with custom methods, and both of these services are full of custom methods (e.g. URLs ending in :<custom_something>).

  3. tseaver commented on Aug 19, 2016

    @tseaver
    tseaver
    on Aug 19, 2016
    Contributor
    More actions

    @bjwatson From our perspective, dropping the generated code is a pure win, even if we don't gain the other benefits. Even just having the grpc-google-datastore-v1 and grpc-google-bigtable-v2 releases available (no GAX wrappers at all) would be great.

  4. dhermes commented on Aug 19, 2016

    @dhermes
    dhermes
    on Aug 19, 2016
    ContributorAuthor
    More actions

    No rush at all, just wanted to create a formal issue so we don't forget. Good to know :<custom_something> means custom!

    Of the 28 methods in datastore/bigtable, 14 are custom, but the true number is 12/12 since the other 16 Bigtable admin methods will have many orders of magnitude fewer requests.


    BigtableTableAdmin (2/6 custom)

    1. CreateTable -> "v2/{parent=projects/*/instances/*}/tables"
    2. ListTables -> "v2/{parent=projects/*/instances/*}/tables"
    3. GetTable -> "v2/{name=projects/*/instances/*/tables/*}"
    4. DeleteTable -> "v2/{name=projects/*/instances/*/tables/*}"
    5. ModifyColumnFamilies -> "v2/{name=projects/*/instances/*/tables/*}:modifyColumnFamilies"
    6. DropRowRange -> "v2/{name=projects/*/instances/*/tables/*}:dropRowRange"

    Bigtable (6/6 custom)

    1. ReadRows -> "v2/{table_name=projects/*/instances/*/tables/*}:readRows"
    2. SampleRowKeys -> "v2/{table_name=projects/*/instances/*/tables/*}:sampleRowKeys"
    3. MutateRow -> "v2/{table_name=projects/*/instances/*/tables/*}:mutateRow"
    4. MutateRows -> "v2/{table_name=projects/*/instances/*/tables/*}:mutateRows"
    5. CheckAndMutateRow -> "v2/{table_name=projects/*/instances/*/tables/*}:checkAndMutateRow"
    6. ReadModifyWriteRow -> "v2/{table_name=projects/*/instances/*/tables/*}:readModifyWriteRow"

    BigtableInstanceAdmin (0/10 custom)

    1. CreateInstance -> "v2/{parent=projects/*}/instances"
    2. GetInstance -> "v2/{name=projects/*/instances/*}"
    3. ListInstances -> "v2/{parent=projects/*}/instances"
    4. UpdateInstance -> "v2/{name=projects/*/instances/*}"
    5. DeleteInstance -> "v2/{name=projects/*/instances/*}"
    6. CreateCluster -> "v2/{parent=projects/*/instances/*}/clusters"
    7. GetCluster -> "v2/{name=projects/*/instances/*/clusters/*}"
    8. ListClusters -> "v2/{parent=projects/*/instances/*}/clusters"
    9. UpdateCluster -> "v2/{name=projects/*/instances/*/clusters/*}"
    10. DeleteCluster -> "v2/{name=projects/*/instances/*/clusters/*}"

    Datastore (6/6 custom)

    1. Lookup -> "v1/projects/{project_id}:lookup"
    2. RunQuery -> "v1/projects/{project_id}:runQuery"
    3. BeginTransaction -> "v1/projects/{project_id}:beginTransaction"
    4. Commit -> "v1/projects/{project_id}:commit"
    5. Rollback -> "v1/projects/{project_id}:rollback"
    6. AllocateIds -> "v1/projects/{project_id}:allocateIds"
  5. bjwatson commented on Aug 19, 2016

    @bjwatson
    bjwatson
    on Aug 19, 2016
    More actions

    Good analysis! At least we can provide extra help with methods like ListTables and ListClusters, even if they are low QPS.

  6. dhermes commented on Aug 19, 2016

    @dhermes
    dhermes
    on Aug 19, 2016
    ContributorAuthor
    More actions

    dropping the generated code is a pure win

    Exactly this! That was the point of #1384

  7. dhermes
    added
    GAX
    on Sep 26, 2016
  8. bjwatson commented on Oct 25, 2016

    @bjwatson
    bjwatson
    on Oct 25, 2016
    More actions

    @dhermes I'm now in a position in which I can deliver GAPIC for these APIs, but I want to make sure that you can use them in the near future.

    I can now deliver Datastore without much effort, but Bigtable is prone to change in the coming weeks since we're still nailing down our LRO and streaming designs. Nevertheless, I can deliver both if you're planning to layer your code on ours soon after I deliver it (and then give you an update for Bigtable in a few weeks).

    Please let me know.

  9. dhermes commented on Oct 25, 2016

    @dhermes
    dhermes
    on Oct 25, 2016
    ContributorAuthor
    More actions

    How do you mean "can use them"? Like we block you somehow from generating them?

  10. bjwatson commented on Oct 25, 2016

    @bjwatson
    bjwatson
    on Oct 25, 2016
    More actions

    I mean will you use them sometime in the next week if I spend time on generating them now?

    I'm trying not to spend more time on generating APIs than necessary right now, and instead focus on doing things to finalize our surfaces and improve our efficiency at generating APIs. I will do this if you have the bandwidth to consume it.

  11. lukesneeringer
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Apr 19, 2017
  12. lukesneeringer commented on Aug 11, 2017

    @lukesneeringer
    lukesneeringer
    on Aug 11, 2017
    Contributor
    More actions

    This is still on the "would be nice" list, as I just saw the _generated directory in BigTable, but I do not think keeping this issue open is worthwhile tracking at this point.

    Reacted by Brian J. Watson
  13. lukesneeringer
    closed this as completedon Aug 11, 2017
  14. dhermes commented on Aug 11, 2017

    @dhermes
    dhermes
    on Aug 11, 2017
    ContributorAuthor
    More actions

    @lukesneeringer It's also a bit moot since you want the generated source in our source tree

  15. JustinBeckwith
    assigned
    lukesneeringer
    on Feb 1, 2021
  16. parthea
    added a commit that references this issue on Jul 6, 2023

    Update requirements.txt [(#2128)](GoogleCloudPlatform/python-docs-sam…

    08ddb20
  17. parthea
    added a commit that references this issue on Apr 1, 2026

    feat: add ai.generate() to bigframes.bigquery module (#2128)

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

Metadata

Metadata

Assignees

  • @lukesneeringer
    lukesneeringer

Labels

api: bigtableIssues related to the Bigtable API.api: datastoreIssues related to the Datastore API.grpcpriority: p2Moderately-important priority. Fix may not be included in next release.

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.