Skip to content
Permalink
Browse files
fix!: update package names to avoid conflict with google-cloud-bigque…
…ry (#47)

BREAKING CHANGE: update package names to avoid conflict with google-cloud-bigquery

The google-cloud-bigquery package uses the `google.cloud.bigquery` path as a
plain Python module, not a namespace package. When this package and
google-cloud-bigquery are installed in the same environment, conflicts can
result.

This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/efdacdcf-4630-4d74-9bea-5ef6df381d38/targets

- [ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 339531446
Source-Link: googleapis/googleapis@ab0498d
PiperOrigin-RevId: 339048690
Source-Link: googleapis/googleapis@3c8c2d8
PiperOrigin-RevId: 338646463
Source-Link: googleapis/googleapis@20b11df
PiperOrigin-RevId: 327026955
Source-Link: googleapis/googleapis@0dc0a6c
  • Loading branch information
yoshi-automation committed Oct 29, 2020
1 parent dcea1f2 commit dc2172fa8c540efca01c81fdd7f40880e087f66d
Showing with 4,319 additions and 96 deletions.
  1. +1 −1 docs/{reservation_v1 → bigquery_reservation_v1}/services.rst
  2. +1 −1 docs/{reservation_v1 → bigquery_reservation_v1}/types.rst
  3. +2 −2 docs/index.rst
  4. +1 −0 google/cloud/bigquery/reservation_v1/services/reservation_service/async_client.py
  5. +1 −0 google/cloud/bigquery/reservation_v1/services/reservation_service/client.py
  6. +30 −30 google/cloud/{bigquery/reservation → bigquery_reservation}/__init__.py
  7. 0 google/cloud/{bigquery/reservation → bigquery_reservation}/py.typed
  8. 0 google/cloud/{bigquery/reservation_v1 → bigquery_reservation_v1}/__init__.py
  9. 0 google/cloud/{bigquery/reservation_v1 → bigquery_reservation_v1}/py.typed
  10. 0 google/cloud/{bigquery/reservation_v1 → bigquery_reservation_v1}/services/__init__.py
  11. 0 ...loud/{bigquery/reservation_v1 → bigquery_reservation_v1}/services/reservation_service/__init__.py
  12. +1,971 −0 google/cloud/bigquery_reservation_v1/services/reservation_service/async_client.py
  13. +2,155 −0 google/cloud/bigquery_reservation_v1/services/reservation_service/client.py
  14. +1 −1 .../cloud/{bigquery/reservation_v1 → bigquery_reservation_v1}/services/reservation_service/pagers.py
  15. 0 ...ery/reservation_v1 → bigquery_reservation_v1}/services/reservation_service/transports/__init__.py
  16. +115 −21 ...igquery/reservation_v1 → bigquery_reservation_v1}/services/reservation_service/transports/base.py
  17. +2 −2 ...igquery/reservation_v1 → bigquery_reservation_v1}/services/reservation_service/transports/grpc.py
  18. +2 −2 ...reservation_v1 → bigquery_reservation_v1}/services/reservation_service/transports/grpc_asyncio.py
  19. 0 google/cloud/{bigquery/reservation_v1 → bigquery_reservation_v1}/types/__init__.py
  20. 0 google/cloud/{bigquery/reservation_v1 → bigquery_reservation_v1}/types/reservation.py
  21. +3 −3 scripts/{fixup_reservation_v1_keywords.py → fixup_bigquery_reservation_v1_keywords.py}
  22. +24 −23 synth.metadata
  23. 0 tests/unit/gapic/{reservation_v1 → bigquery_reservation_v1}/__init__.py
  24. +10 −10 tests/unit/gapic/{reservation_v1 → bigquery_reservation_v1}/test_reservation_service.py
@@ -1,6 +1,6 @@
Services for Google Cloud Bigquery Reservation v1 API
=====================================================

.. automodule:: google.cloud.bigquery.reservation_v1.services.reservation_service
.. automodule:: google.cloud.bigquery_reservation_v1.services.reservation_service
:members:
:inherited-members:
@@ -1,6 +1,6 @@
Types for Google Cloud Bigquery Reservation v1 API
==================================================

.. automodule:: google.cloud.bigquery.reservation_v1.types
.. automodule:: google.cloud.bigquery_reservation_v1.types
:members:
:show-inheritance:
@@ -6,8 +6,8 @@ API Reference
.. toctree::
:maxdepth: 2

reservation_v1/services
reservation_v1/types
bigquery_reservation_v1/services
bigquery_reservation_v1/types

Changelog
---------
@@ -1562,6 +1562,7 @@ async def search_assignments(
- ``assignee=folders/123``
- ``assignee=organizations/456``
This corresponds to the ``query`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
@@ -1822,6 +1822,7 @@ def search_assignments(
- ``assignee=folders/123``
- ``assignee=organizations/456``
This corresponds to the ``query`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
@@ -15,82 +15,82 @@
# limitations under the License.
#

from google.cloud.bigquery.reservation_v1.services.reservation_service.async_client import (
from google.cloud.bigquery_reservation_v1.services.reservation_service.async_client import (
ReservationServiceAsyncClient,
)
from google.cloud.bigquery.reservation_v1.services.reservation_service.client import (
from google.cloud.bigquery_reservation_v1.services.reservation_service.client import (
ReservationServiceClient,
)
from google.cloud.bigquery.reservation_v1.types.reservation import Assignment
from google.cloud.bigquery.reservation_v1.types.reservation import BiReservation
from google.cloud.bigquery.reservation_v1.types.reservation import CapacityCommitment
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import Assignment
from google.cloud.bigquery_reservation_v1.types.reservation import BiReservation
from google.cloud.bigquery_reservation_v1.types.reservation import CapacityCommitment
from google.cloud.bigquery_reservation_v1.types.reservation import (
CreateAssignmentRequest,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
CreateCapacityCommitmentRequest,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
CreateReservationRequest,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
DeleteAssignmentRequest,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
DeleteCapacityCommitmentRequest,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
DeleteReservationRequest,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
GetBiReservationRequest,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
GetCapacityCommitmentRequest,
)
from google.cloud.bigquery.reservation_v1.types.reservation import GetReservationRequest
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import GetReservationRequest
from google.cloud.bigquery_reservation_v1.types.reservation import (
ListAssignmentsRequest,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
ListAssignmentsResponse,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
ListCapacityCommitmentsRequest,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
ListCapacityCommitmentsResponse,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
ListReservationsRequest,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
ListReservationsResponse,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
MergeCapacityCommitmentsRequest,
)
from google.cloud.bigquery.reservation_v1.types.reservation import MoveAssignmentRequest
from google.cloud.bigquery.reservation_v1.types.reservation import Reservation
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import MoveAssignmentRequest
from google.cloud.bigquery_reservation_v1.types.reservation import Reservation
from google.cloud.bigquery_reservation_v1.types.reservation import (
SearchAssignmentsRequest,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
SearchAssignmentsResponse,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
SplitCapacityCommitmentRequest,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
SplitCapacityCommitmentResponse,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
UpdateBiReservationRequest,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
UpdateCapacityCommitmentRequest,
)
from google.cloud.bigquery.reservation_v1.types.reservation import (
from google.cloud.bigquery_reservation_v1.types.reservation import (
UpdateReservationRequest,
)

File renamed without changes.

0 comments on commit dc2172f

Please sign in to comment.