Skip to content
Permalink
Browse files
feat: update synth to generate v1beta2, v1 endpoints for bigquerystor…
…age (#10)

* feat: update synth to generate v1beta2, v1 endpoints for bigquerystorage

There's also some work to try to accomodate v1alpha2 in this PR, but
there exists further oddities that must be tackled before we can
fully add generation of the alpha client here.

Also, note that this PR does not include manual client modifications
such as streaming offset resumption that are present in the v1beta1
client.  Intent is to address further changes like that in subsequent
PRs.
  • Loading branch information
shollyman committed Feb 21, 2020
1 parent 0edb144 commit 2ea5ac46035f38bdacf2976541a0af2dc0880660
Showing with 6,889 additions and 23 deletions.
  1. +6 −0 docs/gapic/v1/api.rst
  2. +5 −0 docs/gapic/v1/types.rst
  3. +6 −0 docs/gapic/v1beta2/api.rst
  4. +5 −0 docs/gapic/v1beta2/types.rst
  5. +6 −0 docs/index.rst
  6. +4 −4 google/cloud/bigquery_storage.py
  7. 0 google/cloud/bigquery_storage_v1/__init__.py
  8. 0 google/cloud/bigquery_storage_v1/gapic/__init__.py
  9. +459 −0 google/cloud/bigquery_storage_v1/gapic/big_query_read_client.py
  10. +57 −0 google/cloud/bigquery_storage_v1/gapic/big_query_read_client_config.py
  11. +36 −0 google/cloud/bigquery_storage_v1/gapic/enums.py
  12. 0 google/cloud/bigquery_storage_v1/gapic/transports/__init__.py
  13. +189 −0 google/cloud/bigquery_storage_v1/gapic/transports/big_query_read_grpc_transport.py
  14. 0 google/cloud/bigquery_storage_v1/proto/__init__.py
  15. +45 −0 google/cloud/bigquery_storage_v1/proto/arrow.proto
  16. +174 −0 google/cloud/bigquery_storage_v1/proto/arrow_pb2.py
  17. +2 −0 google/cloud/bigquery_storage_v1/proto/arrow_pb2_grpc.py
  18. +41 −0 google/cloud/bigquery_storage_v1/proto/avro.proto
  19. +171 −0 google/cloud/bigquery_storage_v1/proto/avro_pb2.py
  20. +2 −0 google/cloud/bigquery_storage_v1/proto/avro_pb2_grpc.py
  21. +236 −0 google/cloud/bigquery_storage_v1/proto/storage.proto
  22. +867 −0 google/cloud/bigquery_storage_v1/proto/storage_pb2.py
  23. +125 −0 google/cloud/bigquery_storage_v1/proto/storage_pb2_grpc.py
  24. +138 −0 google/cloud/bigquery_storage_v1/proto/stream.proto
  25. +587 −0 google/cloud/bigquery_storage_v1/proto/stream_pb2.py
  26. +2 −0 google/cloud/bigquery_storage_v1/proto/stream_pb2_grpc.py
  27. +47 −0 google/cloud/bigquery_storage_v1/types.py
  28. 0 google/cloud/bigquery_storage_v1beta2/__init__.py
  29. 0 google/cloud/bigquery_storage_v1beta2/gapic/__init__.py
  30. +459 −0 google/cloud/bigquery_storage_v1beta2/gapic/big_query_read_client.py
  31. +57 −0 google/cloud/bigquery_storage_v1beta2/gapic/big_query_read_client_config.py
  32. +52 −0 google/cloud/bigquery_storage_v1beta2/gapic/enums.py
  33. 0 google/cloud/bigquery_storage_v1beta2/gapic/transports/__init__.py
  34. +189 −0 google/cloud/bigquery_storage_v1beta2/gapic/transports/big_query_read_grpc_transport.py
  35. 0 google/cloud/bigquery_storage_v1beta2/proto/__init__.py
  36. +58 −0 google/cloud/bigquery_storage_v1beta2/proto/arrow.proto
  37. +246 −0 google/cloud/bigquery_storage_v1beta2/proto/arrow_pb2.py
  38. +2 −0 google/cloud/bigquery_storage_v1beta2/proto/arrow_pb2_grpc.py
  39. +36 −0 google/cloud/bigquery_storage_v1beta2/proto/avro.proto
  40. +151 −0 google/cloud/bigquery_storage_v1beta2/proto/avro_pb2.py
  41. +2 −0 google/cloud/bigquery_storage_v1beta2/proto/avro_pb2_grpc.py
  42. +230 −0 google/cloud/bigquery_storage_v1beta2/proto/storage.proto
  43. +867 −0 google/cloud/bigquery_storage_v1beta2/proto/storage_pb2.py
  44. +125 −0 google/cloud/bigquery_storage_v1beta2/proto/storage_pb2_grpc.py
  45. +143 −0 google/cloud/bigquery_storage_v1beta2/proto/stream.proto
  46. +615 −0 google/cloud/bigquery_storage_v1beta2/proto/stream_pb2.py
  47. +2 −0 google/cloud/bigquery_storage_v1beta2/proto/stream_pb2_grpc.py
  48. +47 −0 google/cloud/bigquery_storage_v1beta2/types.py
  49. +24 −3 synth.metadata
  50. +48 −16 synth.py
  51. +163 −0 tests/unit/gapic/v1/test_big_query_read_client_v1.py
  52. +163 −0 tests/unit/gapic/v1beta2/test_big_query_read_client_v1beta2.py
@@ -0,0 +1,6 @@
Client for BigQuery Storage API
===============================

.. automodule:: google.cloud.bigquery_storage_v1
:members:
:inherited-members:
@@ -0,0 +1,5 @@
Types for BigQuery Storage API Client
=====================================

.. automodule:: google.cloud.bigquery_storage_v1.types
:members:
@@ -0,0 +1,6 @@
Client for BigQuery Storage API
===============================

.. automodule:: google.cloud.bigquery_storage_v1beta2
:members:
:inherited-members:
@@ -0,0 +1,5 @@
Types for BigQuery Storage API Client
=====================================

.. automodule:: google.cloud.bigquery_storage_v1beta2.types
:members:
@@ -9,6 +9,12 @@ API Reference
gapic/v1beta1/reader
gapic/v1beta1/types

gapic/v1beta2/api
gapic/v1beta2/types

gapic/v1/api
gapic/v1/types

Example Usage
-------------

@@ -17,9 +17,9 @@

from __future__ import absolute_import

from google.cloud.bigquery_storage_v1beta1 import BigQueryStorageClient
from google.cloud.bigquery_storage_v1beta1 import enums
from google.cloud.bigquery_storage_v1beta1 import types
from google.cloud.bigquery_storage_v1 import BigQueryReadClient
from google.cloud.bigquery_storage_v1 import enums
from google.cloud.bigquery_storage_v1 import types


__all__ = ("enums", "types", "BigQueryStorageClient")
__all__ = ("enums", "types", "BigQueryReadClient")
Empty file.
Empty file.

0 comments on commit 2ea5ac4

Please sign in to comment.