Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 0a5a416

Browse files
committed
moved admin client to new directory
1 parent 300d1ba commit 0a5a416

35 files changed

Lines changed: 711 additions & 1065 deletions

google/cloud/bigtable/admin/__init__.py

Lines changed: 176 additions & 336 deletions
Large diffs are not rendered by default.
File renamed without changes.
File renamed without changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Marker file for PEP 561.
2+
# The google-cloud-bigtable-admin package uses inline types.
File renamed without changes.

google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/__init__.py renamed to google/cloud/bigtable/admin/services/bigtable_instance_admin/__init__.py

File renamed without changes.

google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/async_client.py renamed to google/cloud/bigtable/admin/services/bigtable_instance_admin/async_client.py

Lines changed: 68 additions & 68 deletions
Large diffs are not rendered by default.

google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/client.py renamed to google/cloud/bigtable/admin/services/bigtable_instance_admin/client.py

Lines changed: 68 additions & 68 deletions
Large diffs are not rendered by default.

google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/pagers.py renamed to google/cloud/bigtable/admin/services/bigtable_instance_admin/pagers.py

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@
3737
OptionalRetry = Union[retries.Retry, object, None] # type: ignore
3838
OptionalAsyncRetry = Union[retries_async.AsyncRetry, object, None] # type: ignore
3939

40-
from google.cloud.bigtable_admin_v2.types import bigtable_instance_admin
41-
from google.cloud.bigtable_admin_v2.types import instance
40+
from google.cloud.bigtable.admin.types import bigtable_instance_admin
41+
from google.cloud.bigtable.admin.types import instance
4242

4343

4444
class ListAppProfilesPager:
4545
"""A pager for iterating through ``list_app_profiles`` requests.
4646
4747
This class thinly wraps an initial
48-
:class:`google.cloud.bigtable_admin_v2.types.ListAppProfilesResponse` object, and
48+
:class:`google.cloud.bigtable.admin.types.ListAppProfilesResponse` object, and
4949
provides an ``__iter__`` method to iterate through its
5050
``app_profiles`` field.
5151
@@ -54,7 +54,7 @@ class ListAppProfilesPager:
5454
through the ``app_profiles`` field on the
5555
corresponding responses.
5656
57-
All the usual :class:`google.cloud.bigtable_admin_v2.types.ListAppProfilesResponse`
57+
All the usual :class:`google.cloud.bigtable.admin.types.ListAppProfilesResponse`
5858
attributes are available on the pager. If multiple requests are made, only
5959
the most recent response is retained, and thus used for attribute lookup.
6060
"""
@@ -74,9 +74,9 @@ def __init__(
7474
Args:
7575
method (Callable): The method that was originally called, and
7676
which instantiated this pager.
77-
request (google.cloud.bigtable_admin_v2.types.ListAppProfilesRequest):
77+
request (google.cloud.bigtable.admin.types.ListAppProfilesRequest):
7878
The initial request object.
79-
response (google.cloud.bigtable_admin_v2.types.ListAppProfilesResponse):
79+
response (google.cloud.bigtable.admin.types.ListAppProfilesResponse):
8080
The initial response object.
8181
retry (google.api_core.retry.Retry): Designation of what errors,
8282
if any, should be retried.
@@ -121,7 +121,7 @@ class ListAppProfilesAsyncPager:
121121
"""A pager for iterating through ``list_app_profiles`` requests.
122122
123123
This class thinly wraps an initial
124-
:class:`google.cloud.bigtable_admin_v2.types.ListAppProfilesResponse` object, and
124+
:class:`google.cloud.bigtable.admin.types.ListAppProfilesResponse` object, and
125125
provides an ``__aiter__`` method to iterate through its
126126
``app_profiles`` field.
127127
@@ -130,7 +130,7 @@ class ListAppProfilesAsyncPager:
130130
through the ``app_profiles`` field on the
131131
corresponding responses.
132132
133-
All the usual :class:`google.cloud.bigtable_admin_v2.types.ListAppProfilesResponse`
133+
All the usual :class:`google.cloud.bigtable.admin.types.ListAppProfilesResponse`
134134
attributes are available on the pager. If multiple requests are made, only
135135
the most recent response is retained, and thus used for attribute lookup.
136136
"""
@@ -152,9 +152,9 @@ def __init__(
152152
Args:
153153
method (Callable): The method that was originally called, and
154154
which instantiated this pager.
155-
request (google.cloud.bigtable_admin_v2.types.ListAppProfilesRequest):
155+
request (google.cloud.bigtable.admin.types.ListAppProfilesRequest):
156156
The initial request object.
157-
response (google.cloud.bigtable_admin_v2.types.ListAppProfilesResponse):
157+
response (google.cloud.bigtable.admin.types.ListAppProfilesResponse):
158158
The initial response object.
159159
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
160160
if any, should be retried.
@@ -205,7 +205,7 @@ class ListHotTabletsPager:
205205
"""A pager for iterating through ``list_hot_tablets`` requests.
206206
207207
This class thinly wraps an initial
208-
:class:`google.cloud.bigtable_admin_v2.types.ListHotTabletsResponse` object, and
208+
:class:`google.cloud.bigtable.admin.types.ListHotTabletsResponse` object, and
209209
provides an ``__iter__`` method to iterate through its
210210
``hot_tablets`` field.
211211
@@ -214,7 +214,7 @@ class ListHotTabletsPager:
214214
through the ``hot_tablets`` field on the
215215
corresponding responses.
216216
217-
All the usual :class:`google.cloud.bigtable_admin_v2.types.ListHotTabletsResponse`
217+
All the usual :class:`google.cloud.bigtable.admin.types.ListHotTabletsResponse`
218218
attributes are available on the pager. If multiple requests are made, only
219219
the most recent response is retained, and thus used for attribute lookup.
220220
"""
@@ -234,9 +234,9 @@ def __init__(
234234
Args:
235235
method (Callable): The method that was originally called, and
236236
which instantiated this pager.
237-
request (google.cloud.bigtable_admin_v2.types.ListHotTabletsRequest):
237+
request (google.cloud.bigtable.admin.types.ListHotTabletsRequest):
238238
The initial request object.
239-
response (google.cloud.bigtable_admin_v2.types.ListHotTabletsResponse):
239+
response (google.cloud.bigtable.admin.types.ListHotTabletsResponse):
240240
The initial response object.
241241
retry (google.api_core.retry.Retry): Designation of what errors,
242242
if any, should be retried.
@@ -281,7 +281,7 @@ class ListHotTabletsAsyncPager:
281281
"""A pager for iterating through ``list_hot_tablets`` requests.
282282
283283
This class thinly wraps an initial
284-
:class:`google.cloud.bigtable_admin_v2.types.ListHotTabletsResponse` object, and
284+
:class:`google.cloud.bigtable.admin.types.ListHotTabletsResponse` object, and
285285
provides an ``__aiter__`` method to iterate through its
286286
``hot_tablets`` field.
287287
@@ -290,7 +290,7 @@ class ListHotTabletsAsyncPager:
290290
through the ``hot_tablets`` field on the
291291
corresponding responses.
292292
293-
All the usual :class:`google.cloud.bigtable_admin_v2.types.ListHotTabletsResponse`
293+
All the usual :class:`google.cloud.bigtable.admin.types.ListHotTabletsResponse`
294294
attributes are available on the pager. If multiple requests are made, only
295295
the most recent response is retained, and thus used for attribute lookup.
296296
"""
@@ -312,9 +312,9 @@ def __init__(
312312
Args:
313313
method (Callable): The method that was originally called, and
314314
which instantiated this pager.
315-
request (google.cloud.bigtable_admin_v2.types.ListHotTabletsRequest):
315+
request (google.cloud.bigtable.admin.types.ListHotTabletsRequest):
316316
The initial request object.
317-
response (google.cloud.bigtable_admin_v2.types.ListHotTabletsResponse):
317+
response (google.cloud.bigtable.admin.types.ListHotTabletsResponse):
318318
The initial response object.
319319
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
320320
if any, should be retried.
@@ -365,7 +365,7 @@ class ListLogicalViewsPager:
365365
"""A pager for iterating through ``list_logical_views`` requests.
366366
367367
This class thinly wraps an initial
368-
:class:`google.cloud.bigtable_admin_v2.types.ListLogicalViewsResponse` object, and
368+
:class:`google.cloud.bigtable.admin.types.ListLogicalViewsResponse` object, and
369369
provides an ``__iter__`` method to iterate through its
370370
``logical_views`` field.
371371
@@ -374,7 +374,7 @@ class ListLogicalViewsPager:
374374
through the ``logical_views`` field on the
375375
corresponding responses.
376376
377-
All the usual :class:`google.cloud.bigtable_admin_v2.types.ListLogicalViewsResponse`
377+
All the usual :class:`google.cloud.bigtable.admin.types.ListLogicalViewsResponse`
378378
attributes are available on the pager. If multiple requests are made, only
379379
the most recent response is retained, and thus used for attribute lookup.
380380
"""
@@ -394,9 +394,9 @@ def __init__(
394394
Args:
395395
method (Callable): The method that was originally called, and
396396
which instantiated this pager.
397-
request (google.cloud.bigtable_admin_v2.types.ListLogicalViewsRequest):
397+
request (google.cloud.bigtable.admin.types.ListLogicalViewsRequest):
398398
The initial request object.
399-
response (google.cloud.bigtable_admin_v2.types.ListLogicalViewsResponse):
399+
response (google.cloud.bigtable.admin.types.ListLogicalViewsResponse):
400400
The initial response object.
401401
retry (google.api_core.retry.Retry): Designation of what errors,
402402
if any, should be retried.
@@ -441,7 +441,7 @@ class ListLogicalViewsAsyncPager:
441441
"""A pager for iterating through ``list_logical_views`` requests.
442442
443443
This class thinly wraps an initial
444-
:class:`google.cloud.bigtable_admin_v2.types.ListLogicalViewsResponse` object, and
444+
:class:`google.cloud.bigtable.admin.types.ListLogicalViewsResponse` object, and
445445
provides an ``__aiter__`` method to iterate through its
446446
``logical_views`` field.
447447
@@ -450,7 +450,7 @@ class ListLogicalViewsAsyncPager:
450450
through the ``logical_views`` field on the
451451
corresponding responses.
452452
453-
All the usual :class:`google.cloud.bigtable_admin_v2.types.ListLogicalViewsResponse`
453+
All the usual :class:`google.cloud.bigtable.admin.types.ListLogicalViewsResponse`
454454
attributes are available on the pager. If multiple requests are made, only
455455
the most recent response is retained, and thus used for attribute lookup.
456456
"""
@@ -472,9 +472,9 @@ def __init__(
472472
Args:
473473
method (Callable): The method that was originally called, and
474474
which instantiated this pager.
475-
request (google.cloud.bigtable_admin_v2.types.ListLogicalViewsRequest):
475+
request (google.cloud.bigtable.admin.types.ListLogicalViewsRequest):
476476
The initial request object.
477-
response (google.cloud.bigtable_admin_v2.types.ListLogicalViewsResponse):
477+
response (google.cloud.bigtable.admin.types.ListLogicalViewsResponse):
478478
The initial response object.
479479
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
480480
if any, should be retried.
@@ -525,7 +525,7 @@ class ListMaterializedViewsPager:
525525
"""A pager for iterating through ``list_materialized_views`` requests.
526526
527527
This class thinly wraps an initial
528-
:class:`google.cloud.bigtable_admin_v2.types.ListMaterializedViewsResponse` object, and
528+
:class:`google.cloud.bigtable.admin.types.ListMaterializedViewsResponse` object, and
529529
provides an ``__iter__`` method to iterate through its
530530
``materialized_views`` field.
531531
@@ -534,7 +534,7 @@ class ListMaterializedViewsPager:
534534
through the ``materialized_views`` field on the
535535
corresponding responses.
536536
537-
All the usual :class:`google.cloud.bigtable_admin_v2.types.ListMaterializedViewsResponse`
537+
All the usual :class:`google.cloud.bigtable.admin.types.ListMaterializedViewsResponse`
538538
attributes are available on the pager. If multiple requests are made, only
539539
the most recent response is retained, and thus used for attribute lookup.
540540
"""
@@ -554,9 +554,9 @@ def __init__(
554554
Args:
555555
method (Callable): The method that was originally called, and
556556
which instantiated this pager.
557-
request (google.cloud.bigtable_admin_v2.types.ListMaterializedViewsRequest):
557+
request (google.cloud.bigtable.admin.types.ListMaterializedViewsRequest):
558558
The initial request object.
559-
response (google.cloud.bigtable_admin_v2.types.ListMaterializedViewsResponse):
559+
response (google.cloud.bigtable.admin.types.ListMaterializedViewsResponse):
560560
The initial response object.
561561
retry (google.api_core.retry.Retry): Designation of what errors,
562562
if any, should be retried.
@@ -601,7 +601,7 @@ class ListMaterializedViewsAsyncPager:
601601
"""A pager for iterating through ``list_materialized_views`` requests.
602602
603603
This class thinly wraps an initial
604-
:class:`google.cloud.bigtable_admin_v2.types.ListMaterializedViewsResponse` object, and
604+
:class:`google.cloud.bigtable.admin.types.ListMaterializedViewsResponse` object, and
605605
provides an ``__aiter__`` method to iterate through its
606606
``materialized_views`` field.
607607
@@ -610,7 +610,7 @@ class ListMaterializedViewsAsyncPager:
610610
through the ``materialized_views`` field on the
611611
corresponding responses.
612612
613-
All the usual :class:`google.cloud.bigtable_admin_v2.types.ListMaterializedViewsResponse`
613+
All the usual :class:`google.cloud.bigtable.admin.types.ListMaterializedViewsResponse`
614614
attributes are available on the pager. If multiple requests are made, only
615615
the most recent response is retained, and thus used for attribute lookup.
616616
"""
@@ -632,9 +632,9 @@ def __init__(
632632
Args:
633633
method (Callable): The method that was originally called, and
634634
which instantiated this pager.
635-
request (google.cloud.bigtable_admin_v2.types.ListMaterializedViewsRequest):
635+
request (google.cloud.bigtable.admin.types.ListMaterializedViewsRequest):
636636
The initial request object.
637-
response (google.cloud.bigtable_admin_v2.types.ListMaterializedViewsResponse):
637+
response (google.cloud.bigtable.admin.types.ListMaterializedViewsResponse):
638638
The initial response object.
639639
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
640640
if any, should be retried.

google/cloud/bigtable_admin_v2/services/bigtable_instance_admin/transports/README.rst renamed to google/cloud/bigtable/admin/services/bigtable_instance_admin/transports/README.rst

File renamed without changes.

0 commit comments

Comments
 (0)