|
9 | 9 | *, |
10 | 10 | retry: OptionalRetry = gapic_v1.method.DEFAULT, |
11 | 11 | timeout: Union[float, object] = gapic_v1.method.DEFAULT, |
12 | | - metadata: Sequence[Tuple[str, str]] = (), |
| 12 | + {{ shared_macros.client_method_metadata_argument()|indent(8) }} = {{ shared_macros.client_method_metadata_default_value() }}, |
13 | 13 | ) -> operations_pb2.ListOperationsResponse: |
14 | 14 | r"""Lists operations that match the specified filter in the request. |
15 | 15 |
|
|
20 | 20 | retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, |
21 | 21 | if any, should be retried. |
22 | 22 | timeout (float): The timeout for this request. |
23 | | - metadata (Sequence[Tuple[str, str]]): Strings which should be |
24 | | - sent along with the request as metadata. |
| 23 | + {{ shared_macros.client_method_metadata_argument_doc()|indent(4) }} |
25 | 24 | Returns: |
26 | 25 | ~.operations_pb2.ListOperationsResponse: |
27 | 26 | Response message for ``ListOperations`` method. |
|
62 | 61 | *, |
63 | 62 | retry: OptionalRetry = gapic_v1.method.DEFAULT, |
64 | 63 | timeout: Union[float, object] = gapic_v1.method.DEFAULT, |
65 | | - metadata: Sequence[Tuple[str, str]] = (), |
| 64 | + {{ shared_macros.client_method_metadata_argument()|indent(8) }} = {{ shared_macros.client_method_metadata_default_value() }}, |
66 | 65 | ) -> operations_pb2.Operation: |
67 | 66 | r"""Gets the latest state of a long-running operation. |
68 | 67 |
|
|
73 | 72 | retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, |
74 | 73 | if any, should be retried. |
75 | 74 | timeout (float): The timeout for this request. |
76 | | - metadata (Sequence[Tuple[str, str]]): Strings which should be |
77 | | - sent along with the request as metadata. |
| 75 | + {{ shared_macros.client_method_metadata_argument_doc()|indent(4) }} |
78 | 76 | Returns: |
79 | 77 | ~.operations_pb2.Operation: |
80 | 78 | An ``Operation`` object. |
|
114 | 112 | *, |
115 | 113 | retry: OptionalRetry = gapic_v1.method.DEFAULT, |
116 | 114 | timeout: Union[float, object] = gapic_v1.method.DEFAULT, |
117 | | - metadata: Sequence[Tuple[str, str]] = (), |
| 115 | + {{ shared_macros.client_method_metadata_argument()|indent(8) }} = {{ shared_macros.client_method_metadata_default_value() }}, |
118 | 116 | ) -> None: |
119 | 117 | r"""Deletes a long-running operation. |
120 | 118 |
|
|
130 | 128 | retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, |
131 | 129 | if any, should be retried. |
132 | 130 | timeout (float): The timeout for this request. |
133 | | - metadata (Sequence[Tuple[str, str]]): Strings which should be |
134 | | - sent along with the request as metadata. |
| 131 | + {{ shared_macros.client_method_metadata_argument_doc()|indent(4) }} |
135 | 132 | Returns: |
136 | 133 | None |
137 | 134 | """ |
|
166 | 163 | *, |
167 | 164 | retry: OptionalRetry = gapic_v1.method.DEFAULT, |
168 | 165 | timeout: Union[float, object] = gapic_v1.method.DEFAULT, |
169 | | - metadata: Sequence[Tuple[str, str]] = (), |
| 166 | + {{ shared_macros.client_method_metadata_argument()|indent(8) }} = {{ shared_macros.client_method_metadata_default_value() }}, |
170 | 167 | ) -> None: |
171 | 168 | r"""Starts asynchronous cancellation on a long-running operation. |
172 | 169 |
|
|
181 | 178 | retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, |
182 | 179 | if any, should be retried. |
183 | 180 | timeout (float): The timeout for this request. |
184 | | - metadata (Sequence[Tuple[str, str]]): Strings which should be |
185 | | - sent along with the request as metadata. |
| 181 | + {{ shared_macros.client_method_metadata_argument_doc()|indent(4) }} |
186 | 182 | Returns: |
187 | 183 | None |
188 | 184 | """ |
|
217 | 213 | *, |
218 | 214 | retry: OptionalRetry = gapic_v1.method.DEFAULT, |
219 | 215 | timeout: Union[float, object] = gapic_v1.method.DEFAULT, |
220 | | - metadata: Sequence[Tuple[str, str]] = (), |
| 216 | + {{ shared_macros.client_method_metadata_argument()|indent(8) }} = {{ shared_macros.client_method_metadata_default_value() }}, |
221 | 217 | ) -> operations_pb2.Operation: |
222 | 218 | r"""Waits until the specified long-running operation is done or reaches at most |
223 | 219 | a specified timeout, returning the latest state. |
|
234 | 230 | retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, |
235 | 231 | if any, should be retried. |
236 | 232 | timeout (float): The timeout for this request. |
237 | | - metadata (Sequence[Tuple[str, str]]): Strings which should be |
238 | | - sent along with the request as metadata. |
| 233 | + {{ shared_macros.client_method_metadata_argument_doc()|indent(4) }} |
239 | 234 | Returns: |
240 | 235 | ~.operations_pb2.Operation: |
241 | 236 | An ``Operation`` object. |
|
280 | 275 | *, |
281 | 276 | retry: OptionalRetry = gapic_v1.method.DEFAULT, |
282 | 277 | timeout: Union[float, object] = gapic_v1.method.DEFAULT, |
283 | | - metadata: Sequence[Tuple[str, str]] = (), |
| 278 | + {{ shared_macros.client_method_metadata_argument()|indent(8) }} = {{ shared_macros.client_method_metadata_default_value() }}, |
284 | 279 | ) -> policy_pb2.Policy: |
285 | 280 | r"""Sets the IAM access control policy on the specified function. |
286 | 281 |
|
|
293 | 288 | retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any, |
294 | 289 | should be retried. |
295 | 290 | timeout (float): The timeout for this request. |
296 | | - metadata (Sequence[Tuple[str, str]]): Strings which should be |
297 | | - sent along with the request as metadata. |
| 291 | + {{ shared_macros.client_method_metadata_argument_doc()|indent(4) }} |
298 | 292 | Returns: |
299 | 293 | ~.policy_pb2.Policy: |
300 | 294 | Defines an Identity and Access Management (IAM) policy. |
|
398 | 392 | *, |
399 | 393 | retry: OptionalRetry = gapic_v1.method.DEFAULT, |
400 | 394 | timeout: Union[float, object] = gapic_v1.method.DEFAULT, |
401 | | - metadata: Sequence[Tuple[str, str]] = (), |
| 395 | + {{ shared_macros.client_method_metadata_argument()|indent(8) }} = {{ shared_macros.client_method_metadata_default_value() }}, |
402 | 396 | ) -> policy_pb2.Policy: |
403 | 397 | r"""Gets the IAM access control policy for a function. |
404 | 398 |
|
|
412 | 406 | retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if |
413 | 407 | any, should be retried. |
414 | 408 | timeout (float): The timeout for this request. |
415 | | - metadata (Sequence[Tuple[str, str]]): Strings which should be |
416 | | - sent along with the request as metadata. |
| 409 | + {{ shared_macros.client_method_metadata_argument_doc()|indent(4) }} |
417 | 410 | Returns: |
418 | 411 | ~.policy_pb2.Policy: |
419 | 412 | Defines an Identity and Access Management (IAM) policy. |
|
517 | 510 | *, |
518 | 511 | retry: OptionalRetry = gapic_v1.method.DEFAULT, |
519 | 512 | timeout: Union[float, object] = gapic_v1.method.DEFAULT, |
520 | | - metadata: Sequence[Tuple[str, str]] = (), |
| 513 | + {{ shared_macros.client_method_metadata_argument()|indent(8) }} = {{ shared_macros.client_method_metadata_default_value() }}, |
521 | 514 | ) -> iam_policy_pb2.TestIamPermissionsResponse: |
522 | 515 | r"""Tests the specified IAM permissions against the IAM access control |
523 | 516 | policy for a function. |
|
532 | 525 | retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, |
533 | 526 | if any, should be retried. |
534 | 527 | timeout (float): The timeout for this request. |
535 | | - metadata (Sequence[Tuple[str, str]]): Strings which should be |
536 | | - sent along with the request as metadata. |
| 528 | + {{ shared_macros.client_method_metadata_argument_doc()|indent(4) }} |
537 | 529 | Returns: |
538 | 530 | ~.iam_policy_pb2.TestIamPermissionsResponse: |
539 | 531 | Response message for ``TestIamPermissions`` method. |
|
578 | 570 | *, |
579 | 571 | retry: OptionalRetry = gapic_v1.method.DEFAULT, |
580 | 572 | timeout: Union[float, object] = gapic_v1.method.DEFAULT, |
581 | | - metadata: Sequence[Tuple[str, str]] = (), |
| 573 | + {{ shared_macros.client_method_metadata_argument()|indent(8) }} = {{ shared_macros.client_method_metadata_default_value() }}, |
582 | 574 | ) -> locations_pb2.Location: |
583 | 575 | r"""Gets information about a location. |
584 | 576 |
|
|
589 | 581 | retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, |
590 | 582 | if any, should be retried. |
591 | 583 | timeout (float): The timeout for this request. |
592 | | - metadata (Sequence[Tuple[str, str]]): Strings which should be |
593 | | - sent along with the request as metadata. |
| 584 | + {{ shared_macros.client_method_metadata_argument_doc()|indent(4) }} |
594 | 585 | Returns: |
595 | 586 | ~.location_pb2.Location: |
596 | 587 | Location object. |
|
630 | 621 | *, |
631 | 622 | retry: OptionalRetry = gapic_v1.method.DEFAULT, |
632 | 623 | timeout: Union[float, object] = gapic_v1.method.DEFAULT, |
633 | | - metadata: Sequence[Tuple[str, str]] = (), |
| 624 | + {{ shared_macros.client_method_metadata_argument()|indent(8) }} = {{ shared_macros.client_method_metadata_default_value() }}, |
634 | 625 | ) -> locations_pb2.ListLocationsResponse: |
635 | 626 | r"""Lists information about the supported locations for this service. |
636 | 627 |
|
|
641 | 632 | retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, |
642 | 633 | if any, should be retried. |
643 | 634 | timeout (float): The timeout for this request. |
644 | | - metadata (Sequence[Tuple[str, str]]): Strings which should be |
645 | | - sent along with the request as metadata. |
| 635 | + {{ shared_macros.client_method_metadata_argument_doc()|indent(4) }} |
646 | 636 | Returns: |
647 | 637 | ~.location_pb2.ListLocationsResponse: |
648 | 638 | Response message for ``ListLocations`` method. |
|
0 commit comments