15
15
# limitations under the License.
16
16
#
17
17
18
- from typing import Any , AsyncIterable , Awaitable , Callable , Iterable , Sequence , Tuple
18
+ from typing import (
19
+ Any ,
20
+ AsyncIterable ,
21
+ Awaitable ,
22
+ Callable ,
23
+ Iterable ,
24
+ Sequence ,
25
+ Tuple ,
26
+ Optional ,
27
+ )
19
28
20
29
from google .cloud .devtools .cloudbuild_v1 .types import cloudbuild
21
30
@@ -24,7 +33,7 @@ class ListBuildsPager:
24
33
"""A pager for iterating through ``list_builds`` requests.
25
34
26
35
This class thinly wraps an initial
27
- :class:`~.cloudbuild .ListBuildsResponse` object, and
36
+ :class:`google.cloud.devtools.cloudbuild_v1.types .ListBuildsResponse` object, and
28
37
provides an ``__iter__`` method to iterate through its
29
38
``builds`` field.
30
39
@@ -33,7 +42,7 @@ class ListBuildsPager:
33
42
through the ``builds`` field on the
34
43
corresponding responses.
35
44
36
- All the usual :class:`~.cloudbuild .ListBuildsResponse`
45
+ All the usual :class:`google.cloud.devtools.cloudbuild_v1.types .ListBuildsResponse`
37
46
attributes are available on the pager. If multiple requests are made, only
38
47
the most recent response is retained, and thus used for attribute lookup.
39
48
"""
@@ -51,9 +60,9 @@ def __init__(
51
60
Args:
52
61
method (Callable): The method that was originally called, and
53
62
which instantiated this pager.
54
- request (:class:`~.cloudbuild. ListBuildsRequest` ):
63
+ request (google.cloud.devtools.cloudbuild_v1.types. ListBuildsRequest):
55
64
The initial request object.
56
- response (:class:`~.cloudbuild. ListBuildsResponse` ):
65
+ response (google.cloud.devtools.cloudbuild_v1.types. ListBuildsResponse):
57
66
The initial response object.
58
67
metadata (Sequence[Tuple[str, str]]): Strings which should be
59
68
sent along with the request as metadata.
@@ -86,7 +95,7 @@ class ListBuildsAsyncPager:
86
95
"""A pager for iterating through ``list_builds`` requests.
87
96
88
97
This class thinly wraps an initial
89
- :class:`~.cloudbuild .ListBuildsResponse` object, and
98
+ :class:`google.cloud.devtools.cloudbuild_v1.types .ListBuildsResponse` object, and
90
99
provides an ``__aiter__`` method to iterate through its
91
100
``builds`` field.
92
101
@@ -95,7 +104,7 @@ class ListBuildsAsyncPager:
95
104
through the ``builds`` field on the
96
105
corresponding responses.
97
106
98
- All the usual :class:`~.cloudbuild .ListBuildsResponse`
107
+ All the usual :class:`google.cloud.devtools.cloudbuild_v1.types .ListBuildsResponse`
99
108
attributes are available on the pager. If multiple requests are made, only
100
109
the most recent response is retained, and thus used for attribute lookup.
101
110
"""
@@ -113,9 +122,9 @@ def __init__(
113
122
Args:
114
123
method (Callable): The method that was originally called, and
115
124
which instantiated this pager.
116
- request (:class:`~.cloudbuild. ListBuildsRequest` ):
125
+ request (google.cloud.devtools.cloudbuild_v1.types. ListBuildsRequest):
117
126
The initial request object.
118
- response (:class:`~.cloudbuild. ListBuildsResponse` ):
127
+ response (google.cloud.devtools.cloudbuild_v1.types. ListBuildsResponse):
119
128
The initial response object.
120
129
metadata (Sequence[Tuple[str, str]]): Strings which should be
121
130
sent along with the request as metadata.
@@ -152,7 +161,7 @@ class ListBuildTriggersPager:
152
161
"""A pager for iterating through ``list_build_triggers`` requests.
153
162
154
163
This class thinly wraps an initial
155
- :class:`~.cloudbuild .ListBuildTriggersResponse` object, and
164
+ :class:`google.cloud.devtools.cloudbuild_v1.types .ListBuildTriggersResponse` object, and
156
165
provides an ``__iter__`` method to iterate through its
157
166
``triggers`` field.
158
167
@@ -161,7 +170,7 @@ class ListBuildTriggersPager:
161
170
through the ``triggers`` field on the
162
171
corresponding responses.
163
172
164
- All the usual :class:`~.cloudbuild .ListBuildTriggersResponse`
173
+ All the usual :class:`google.cloud.devtools.cloudbuild_v1.types .ListBuildTriggersResponse`
165
174
attributes are available on the pager. If multiple requests are made, only
166
175
the most recent response is retained, and thus used for attribute lookup.
167
176
"""
@@ -179,9 +188,9 @@ def __init__(
179
188
Args:
180
189
method (Callable): The method that was originally called, and
181
190
which instantiated this pager.
182
- request (:class:`~.cloudbuild. ListBuildTriggersRequest` ):
191
+ request (google.cloud.devtools.cloudbuild_v1.types. ListBuildTriggersRequest):
183
192
The initial request object.
184
- response (:class:`~.cloudbuild. ListBuildTriggersResponse` ):
193
+ response (google.cloud.devtools.cloudbuild_v1.types. ListBuildTriggersResponse):
185
194
The initial response object.
186
195
metadata (Sequence[Tuple[str, str]]): Strings which should be
187
196
sent along with the request as metadata.
@@ -214,7 +223,7 @@ class ListBuildTriggersAsyncPager:
214
223
"""A pager for iterating through ``list_build_triggers`` requests.
215
224
216
225
This class thinly wraps an initial
217
- :class:`~.cloudbuild .ListBuildTriggersResponse` object, and
226
+ :class:`google.cloud.devtools.cloudbuild_v1.types .ListBuildTriggersResponse` object, and
218
227
provides an ``__aiter__`` method to iterate through its
219
228
``triggers`` field.
220
229
@@ -223,7 +232,7 @@ class ListBuildTriggersAsyncPager:
223
232
through the ``triggers`` field on the
224
233
corresponding responses.
225
234
226
- All the usual :class:`~.cloudbuild .ListBuildTriggersResponse`
235
+ All the usual :class:`google.cloud.devtools.cloudbuild_v1.types .ListBuildTriggersResponse`
227
236
attributes are available on the pager. If multiple requests are made, only
228
237
the most recent response is retained, and thus used for attribute lookup.
229
238
"""
@@ -241,9 +250,9 @@ def __init__(
241
250
Args:
242
251
method (Callable): The method that was originally called, and
243
252
which instantiated this pager.
244
- request (:class:`~.cloudbuild. ListBuildTriggersRequest` ):
253
+ request (google.cloud.devtools.cloudbuild_v1.types. ListBuildTriggersRequest):
245
254
The initial request object.
246
- response (:class:`~.cloudbuild. ListBuildTriggersResponse` ):
255
+ response (google.cloud.devtools.cloudbuild_v1.types. ListBuildTriggersResponse):
247
256
The initial response object.
248
257
metadata (Sequence[Tuple[str, str]]): Strings which should be
249
258
sent along with the request as metadata.
0 commit comments