Skip to content

Commit

Permalink
fix!: update package names to avoid conflict with google-cloud-bigque…
Browse files Browse the repository at this point in the history
…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 authored Oct 29, 2020
1 parent bec4a9a commit 7586b05
Show file tree
Hide file tree
Showing 24 changed files with 4,319 additions and 96 deletions.
Original file line number Diff line number Diff line change
@@ -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:
Original file line number Diff line number Diff line change
@@ -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:
4 changes: 2 additions & 2 deletions packages/google-cloud-bigquery-reservation/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ API Reference
.. toctree::
:maxdepth: 2

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

Changelog
---------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down
Loading

0 comments on commit 7586b05

Please sign in to comment.