3737 OptionalRetry = Union [retries .Retry , object , None ] # type: ignore
3838 OptionalAsyncRetry = Union [retries_async .AsyncRetry , object , None ] # type: ignore
3939
40- from google .cloud .storage_v2 .types import storage
40+ from google .cloud ._storage_v2 .types import storage
4141
4242
4343class ListBucketsPager :
4444 """A pager for iterating through ``list_buckets`` requests.
4545
4646 This class thinly wraps an initial
47- :class:`google.cloud.storage_v2 .types.ListBucketsResponse` object, and
47+ :class:`google.cloud._storage_v2 .types.ListBucketsResponse` object, and
4848 provides an ``__iter__`` method to iterate through its
4949 ``buckets`` field.
5050
@@ -53,7 +53,7 @@ class ListBucketsPager:
5353 through the ``buckets`` field on the
5454 corresponding responses.
5555
56- All the usual :class:`google.cloud.storage_v2 .types.ListBucketsResponse`
56+ All the usual :class:`google.cloud._storage_v2 .types.ListBucketsResponse`
5757 attributes are available on the pager. If multiple requests are made, only
5858 the most recent response is retained, and thus used for attribute lookup.
5959 """
@@ -73,9 +73,9 @@ def __init__(
7373 Args:
7474 method (Callable): The method that was originally called, and
7575 which instantiated this pager.
76- request (google.cloud.storage_v2 .types.ListBucketsRequest):
76+ request (google.cloud._storage_v2 .types.ListBucketsRequest):
7777 The initial request object.
78- response (google.cloud.storage_v2 .types.ListBucketsResponse):
78+ response (google.cloud._storage_v2 .types.ListBucketsResponse):
7979 The initial response object.
8080 retry (google.api_core.retry.Retry): Designation of what errors,
8181 if any, should be retried.
@@ -120,7 +120,7 @@ class ListBucketsAsyncPager:
120120 """A pager for iterating through ``list_buckets`` requests.
121121
122122 This class thinly wraps an initial
123- :class:`google.cloud.storage_v2 .types.ListBucketsResponse` object, and
123+ :class:`google.cloud._storage_v2 .types.ListBucketsResponse` object, and
124124 provides an ``__aiter__`` method to iterate through its
125125 ``buckets`` field.
126126
@@ -129,7 +129,7 @@ class ListBucketsAsyncPager:
129129 through the ``buckets`` field on the
130130 corresponding responses.
131131
132- All the usual :class:`google.cloud.storage_v2 .types.ListBucketsResponse`
132+ All the usual :class:`google.cloud._storage_v2 .types.ListBucketsResponse`
133133 attributes are available on the pager. If multiple requests are made, only
134134 the most recent response is retained, and thus used for attribute lookup.
135135 """
@@ -149,9 +149,9 @@ def __init__(
149149 Args:
150150 method (Callable): The method that was originally called, and
151151 which instantiated this pager.
152- request (google.cloud.storage_v2 .types.ListBucketsRequest):
152+ request (google.cloud._storage_v2 .types.ListBucketsRequest):
153153 The initial request object.
154- response (google.cloud.storage_v2 .types.ListBucketsResponse):
154+ response (google.cloud._storage_v2 .types.ListBucketsResponse):
155155 The initial response object.
156156 retry (google.api_core.retry.AsyncRetry): Designation of what errors,
157157 if any, should be retried.
@@ -200,7 +200,7 @@ class ListObjectsPager:
200200 """A pager for iterating through ``list_objects`` requests.
201201
202202 This class thinly wraps an initial
203- :class:`google.cloud.storage_v2 .types.ListObjectsResponse` object, and
203+ :class:`google.cloud._storage_v2 .types.ListObjectsResponse` object, and
204204 provides an ``__iter__`` method to iterate through its
205205 ``objects`` field.
206206
@@ -209,7 +209,7 @@ class ListObjectsPager:
209209 through the ``objects`` field on the
210210 corresponding responses.
211211
212- All the usual :class:`google.cloud.storage_v2 .types.ListObjectsResponse`
212+ All the usual :class:`google.cloud._storage_v2 .types.ListObjectsResponse`
213213 attributes are available on the pager. If multiple requests are made, only
214214 the most recent response is retained, and thus used for attribute lookup.
215215 """
@@ -229,9 +229,9 @@ def __init__(
229229 Args:
230230 method (Callable): The method that was originally called, and
231231 which instantiated this pager.
232- request (google.cloud.storage_v2 .types.ListObjectsRequest):
232+ request (google.cloud._storage_v2 .types.ListObjectsRequest):
233233 The initial request object.
234- response (google.cloud.storage_v2 .types.ListObjectsResponse):
234+ response (google.cloud._storage_v2 .types.ListObjectsResponse):
235235 The initial response object.
236236 retry (google.api_core.retry.Retry): Designation of what errors,
237237 if any, should be retried.
@@ -276,7 +276,7 @@ class ListObjectsAsyncPager:
276276 """A pager for iterating through ``list_objects`` requests.
277277
278278 This class thinly wraps an initial
279- :class:`google.cloud.storage_v2 .types.ListObjectsResponse` object, and
279+ :class:`google.cloud._storage_v2 .types.ListObjectsResponse` object, and
280280 provides an ``__aiter__`` method to iterate through its
281281 ``objects`` field.
282282
@@ -285,7 +285,7 @@ class ListObjectsAsyncPager:
285285 through the ``objects`` field on the
286286 corresponding responses.
287287
288- All the usual :class:`google.cloud.storage_v2 .types.ListObjectsResponse`
288+ All the usual :class:`google.cloud._storage_v2 .types.ListObjectsResponse`
289289 attributes are available on the pager. If multiple requests are made, only
290290 the most recent response is retained, and thus used for attribute lookup.
291291 """
@@ -305,9 +305,9 @@ def __init__(
305305 Args:
306306 method (Callable): The method that was originally called, and
307307 which instantiated this pager.
308- request (google.cloud.storage_v2 .types.ListObjectsRequest):
308+ request (google.cloud._storage_v2 .types.ListObjectsRequest):
309309 The initial request object.
310- response (google.cloud.storage_v2 .types.ListObjectsResponse):
310+ response (google.cloud._storage_v2 .types.ListObjectsResponse):
311311 The initial response object.
312312 retry (google.api_core.retry.AsyncRetry): Designation of what errors,
313313 if any, should be retried.
0 commit comments