google-cloud-datastream 1.7.0__tar.gz → 1.8.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/MANIFEST.in +1 -1
  2. {google-cloud-datastream-1.7.0/google_cloud_datastream.egg-info → google-cloud-datastream-1.8.0}/PKG-INFO +21 -15
  3. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/README.rst +14 -13
  4. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream/gapic_version.py +1 -1
  5. {google-cloud-datastream-1.7.0/google/cloud/datastream_v1alpha1 → google-cloud-datastream-1.8.0/google/cloud/datastream_v1}/gapic_version.py +1 -1
  6. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1/services/datastream/async_client.py +43 -41
  7. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1/services/datastream/client.py +3 -1
  8. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1/services/datastream/transports/rest.py +0 -7
  9. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1/types/datastream.py +20 -0
  10. {google-cloud-datastream-1.7.0/google/cloud/datastream_v1 → google-cloud-datastream-1.8.0/google/cloud/datastream_v1alpha1}/gapic_version.py +1 -1
  11. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1alpha1/services/datastream/async_client.py +25 -24
  12. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1alpha1/services/datastream/client.py +1 -0
  13. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1alpha1/types/datastream.py +20 -0
  14. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0/google_cloud_datastream.egg-info}/PKG-INFO +21 -15
  15. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google_cloud_datastream.egg-info/SOURCES.txt +0 -1
  16. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google_cloud_datastream.egg-info/requires.txt +1 -4
  17. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/setup.py +10 -10
  18. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/tests/unit/gapic/datastream_v1/test_datastream.py +543 -493
  19. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/tests/unit/gapic/datastream_v1alpha1/test_datastream.py +496 -350
  20. google-cloud-datastream-1.7.0/google_cloud_datastream.egg-info/namespace_packages.txt +0 -2
  21. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/LICENSE +0 -0
  22. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream/__init__.py +0 -0
  23. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream/py.typed +0 -0
  24. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1/__init__.py +0 -0
  25. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1/gapic_metadata.json +0 -0
  26. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1/py.typed +0 -0
  27. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1/services/__init__.py +0 -0
  28. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1/services/datastream/__init__.py +0 -0
  29. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1/services/datastream/pagers.py +0 -0
  30. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1/services/datastream/transports/__init__.py +0 -0
  31. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1/services/datastream/transports/base.py +0 -0
  32. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1/services/datastream/transports/grpc.py +0 -0
  33. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1/services/datastream/transports/grpc_asyncio.py +0 -0
  34. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1/types/__init__.py +0 -0
  35. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1/types/datastream_resources.py +1 -1
  36. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1alpha1/__init__.py +0 -0
  37. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1alpha1/gapic_metadata.json +0 -0
  38. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1alpha1/py.typed +0 -0
  39. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1alpha1/services/__init__.py +0 -0
  40. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1alpha1/services/datastream/__init__.py +0 -0
  41. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1alpha1/services/datastream/pagers.py +0 -0
  42. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1alpha1/services/datastream/transports/__init__.py +0 -0
  43. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1alpha1/services/datastream/transports/base.py +0 -0
  44. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1alpha1/services/datastream/transports/grpc.py +0 -0
  45. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1alpha1/services/datastream/transports/grpc_asyncio.py +0 -0
  46. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1alpha1/services/datastream/transports/rest.py +0 -0
  47. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1alpha1/types/__init__.py +0 -0
  48. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google/cloud/datastream_v1alpha1/types/datastream_resources.py +1 -1
  49. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google_cloud_datastream.egg-info/dependency_links.txt +0 -0
  50. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google_cloud_datastream.egg-info/not-zip-safe +0 -0
  51. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/google_cloud_datastream.egg-info/top_level.txt +0 -0
  52. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/setup.cfg +0 -0
  53. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/tests/__init__.py +0 -0
  54. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/tests/unit/__init__.py +0 -0
  55. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/tests/unit/gapic/__init__.py +0 -0
  56. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/tests/unit/gapic/datastream_v1/__init__.py +0 -0
  57. {google-cloud-datastream-1.7.0 → google-cloud-datastream-1.8.0}/tests/unit/gapic/datastream_v1alpha1/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  #
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2023 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-cloud-datastream
3
- Version: 1.7.0
3
+ Version: 1.8.0
4
4
  Summary: Google Cloud Datastream API client library
5
- Home-page: https://github.com/googleapis/google-cloud-python
5
+ Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-datastream
6
6
  Author: Google LLC
7
7
  Author-email: googleapis-packages@google.com
8
8
  License: Apache 2.0
@@ -17,10 +17,15 @@ Classifier: Programming Language :: Python :: 3.8
17
17
  Classifier: Programming Language :: Python :: 3.9
18
18
  Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
20
21
  Classifier: Operating System :: OS Independent
21
22
  Classifier: Topic :: Internet
22
23
  Requires-Python: >=3.7
23
24
  License-File: LICENSE
25
+ Requires-Dist: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0
26
+ Requires-Dist: proto-plus<2.0.0dev,>=1.22.3
27
+ Requires-Dist: protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5
28
+ Requires-Dist: grpc-google-iam-v1<1.0.0dev,>=0.12.4
24
29
 
25
30
  Python Client for Datastream
26
31
  ============================
@@ -60,21 +65,24 @@ In order to use this library, you first need to go through the following steps:
60
65
  Installation
61
66
  ~~~~~~~~~~~~
62
67
 
63
- Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to
64
- create isolated Python environments. The basic problem it addresses is one of
65
- dependencies and versions, and indirectly permissions.
68
+ Install this library in a virtual environment using `venv`_. `venv`_ is a tool that
69
+ creates isolated Python environments. These isolated environments can have separate
70
+ versions of Python packages, which allows you to isolate one project's dependencies
71
+ from the dependencies of other projects.
66
72
 
67
- With `virtualenv`_, it's possible to install this library without needing system
73
+ With `venv`_, it's possible to install this library without needing system
68
74
  install permissions, and without clashing with the installed system
69
75
  dependencies.
70
76
 
71
- .. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
77
+ .. _`venv`: https://docs.python.org/3/library/venv.html
72
78
 
73
79
 
74
80
  Code samples and snippets
75
81
  ~~~~~~~~~~~~~~~~~~~~~~~~~
76
82
 
77
- Code samples and snippets live in the `samples/` folder.
83
+ Code samples and snippets live in the `samples/`_ folder.
84
+
85
+ .. _samples/: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-datastream/samples
78
86
 
79
87
 
80
88
  Supported Python Versions
@@ -101,10 +109,9 @@ Mac/Linux
101
109
 
102
110
  .. code-block:: console
103
111
 
104
- pip install virtualenv
105
- virtualenv <your-env>
112
+ python3 -m venv <your-env>
106
113
  source <your-env>/bin/activate
107
- <your-env>/bin/pip install google-cloud-datastream
114
+ pip install google-cloud-datastream
108
115
 
109
116
 
110
117
  Windows
@@ -112,10 +119,9 @@ Windows
112
119
 
113
120
  .. code-block:: console
114
121
 
115
- pip install virtualenv
116
- virtualenv <your-env>
117
- <your-env>\Scripts\activate
118
- <your-env>\Scripts\pip.exe install google-cloud-datastream
122
+ py -m venv <your-env>
123
+ .\<your-env>\Scripts\activate
124
+ pip install google-cloud-datastream
119
125
 
120
126
  Next Steps
121
127
  ~~~~~~~~~~
@@ -36,21 +36,24 @@ In order to use this library, you first need to go through the following steps:
36
36
  Installation
37
37
  ~~~~~~~~~~~~
38
38
 
39
- Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to
40
- create isolated Python environments. The basic problem it addresses is one of
41
- dependencies and versions, and indirectly permissions.
39
+ Install this library in a virtual environment using `venv`_. `venv`_ is a tool that
40
+ creates isolated Python environments. These isolated environments can have separate
41
+ versions of Python packages, which allows you to isolate one project's dependencies
42
+ from the dependencies of other projects.
42
43
 
43
- With `virtualenv`_, it's possible to install this library without needing system
44
+ With `venv`_, it's possible to install this library without needing system
44
45
  install permissions, and without clashing with the installed system
45
46
  dependencies.
46
47
 
47
- .. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
48
+ .. _`venv`: https://docs.python.org/3/library/venv.html
48
49
 
49
50
 
50
51
  Code samples and snippets
51
52
  ~~~~~~~~~~~~~~~~~~~~~~~~~
52
53
 
53
- Code samples and snippets live in the `samples/` folder.
54
+ Code samples and snippets live in the `samples/`_ folder.
55
+
56
+ .. _samples/: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-datastream/samples
54
57
 
55
58
 
56
59
  Supported Python Versions
@@ -77,10 +80,9 @@ Mac/Linux
77
80
 
78
81
  .. code-block:: console
79
82
 
80
- pip install virtualenv
81
- virtualenv <your-env>
83
+ python3 -m venv <your-env>
82
84
  source <your-env>/bin/activate
83
- <your-env>/bin/pip install google-cloud-datastream
85
+ pip install google-cloud-datastream
84
86
 
85
87
 
86
88
  Windows
@@ -88,10 +90,9 @@ Windows
88
90
 
89
91
  .. code-block:: console
90
92
 
91
- pip install virtualenv
92
- virtualenv <your-env>
93
- <your-env>\Scripts\activate
94
- <your-env>\Scripts\pip.exe install google-cloud-datastream
93
+ py -m venv <your-env>
94
+ .\<your-env>\Scripts\activate
95
+ pip install google-cloud-datastream
95
96
 
96
97
  Next Steps
97
98
  ~~~~~~~~~~
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "1.7.0" # {x-release-please-version}
16
+ __version__ = "1.8.0" # {x-release-please-version}
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "1.7.0" # {x-release-please-version}
16
+ __version__ = "1.8.0" # {x-release-please-version}
@@ -30,7 +30,7 @@ from typing import (
30
30
 
31
31
  from google.api_core import exceptions as core_exceptions
32
32
  from google.api_core import gapic_v1
33
- from google.api_core import retry as retries
33
+ from google.api_core import retry_async as retries
34
34
  from google.api_core.client_options import ClientOptions
35
35
  from google.auth import credentials as ga_credentials # type: ignore
36
36
  from google.oauth2 import service_account # type: ignore
@@ -38,16 +38,16 @@ from google.oauth2 import service_account # type: ignore
38
38
  from google.cloud.datastream_v1 import gapic_version as package_version
39
39
 
40
40
  try:
41
- OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault]
41
+ OptionalRetry = Union[retries.AsyncRetry, gapic_v1.method._MethodDefault]
42
42
  except AttributeError: # pragma: NO COVER
43
- OptionalRetry = Union[retries.Retry, object] # type: ignore
43
+ OptionalRetry = Union[retries.AsyncRetry, object] # type: ignore
44
44
 
45
45
  from google.api_core import operation # type: ignore
46
46
  from google.api_core import operation_async # type: ignore
47
47
  from google.cloud.location import locations_pb2 # type: ignore
48
48
  from google.iam.v1 import iam_policy_pb2 # type: ignore
49
49
  from google.iam.v1 import policy_pb2 # type: ignore
50
- from google.longrunning import operations_pb2
50
+ from google.longrunning import operations_pb2 # type: ignore
51
51
  from google.protobuf import empty_pb2 # type: ignore
52
52
  from google.protobuf import field_mask_pb2 # type: ignore
53
53
  from google.protobuf import timestamp_pb2 # type: ignore
@@ -282,7 +282,7 @@ class DatastreamAsyncClient:
282
282
  This corresponds to the ``parent`` field
283
283
  on the ``request`` instance; if ``request`` is provided, this
284
284
  should not be set.
285
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
285
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
286
286
  should be retried.
287
287
  timeout (float): The timeout for this request.
288
288
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -397,7 +397,7 @@ class DatastreamAsyncClient:
397
397
  This corresponds to the ``name`` field
398
398
  on the ``request`` instance; if ``request`` is provided, this
399
399
  should not be set.
400
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
400
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
401
401
  should be retried.
402
402
  timeout (float): The timeout for this request.
403
403
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -532,7 +532,7 @@ class DatastreamAsyncClient:
532
532
  This corresponds to the ``connection_profile_id`` field
533
533
  on the ``request`` instance; if ``request`` is provided, this
534
534
  should not be set.
535
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
535
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
536
536
  should be retried.
537
537
  timeout (float): The timeout for this request.
538
538
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -674,7 +674,7 @@ class DatastreamAsyncClient:
674
674
  This corresponds to the ``update_mask`` field
675
675
  on the ``request`` instance; if ``request`` is provided, this
676
676
  should not be set.
677
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
677
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
678
678
  should be retried.
679
679
  timeout (float): The timeout for this request.
680
680
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -796,7 +796,7 @@ class DatastreamAsyncClient:
796
796
  This corresponds to the ``name`` field
797
797
  on the ``request`` instance; if ``request`` is provided, this
798
798
  should not be set.
799
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
799
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
800
800
  should be retried.
801
801
  timeout (float): The timeout for this request.
802
802
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -923,7 +923,7 @@ class DatastreamAsyncClient:
923
923
  request (Optional[Union[google.cloud.datastream_v1.types.DiscoverConnectionProfileRequest, dict]]):
924
924
  The request object. Request message for 'discover'
925
925
  ConnectionProfile request.
926
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
926
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
927
927
  should be retried.
928
928
  timeout (float): The timeout for this request.
929
929
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1010,7 +1010,7 @@ class DatastreamAsyncClient:
1010
1010
  This corresponds to the ``parent`` field
1011
1011
  on the ``request`` instance; if ``request`` is provided, this
1012
1012
  should not be set.
1013
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1013
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1014
1014
  should be retried.
1015
1015
  timeout (float): The timeout for this request.
1016
1016
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1019,6 +1019,7 @@ class DatastreamAsyncClient:
1019
1019
  Returns:
1020
1020
  google.cloud.datastream_v1.services.datastream.pagers.ListStreamsAsyncPager:
1021
1021
  Response message for listing streams.
1022
+
1022
1023
  Iterating over this object will yield
1023
1024
  results and resolve additional pages
1024
1025
  automatically.
@@ -1122,7 +1123,7 @@ class DatastreamAsyncClient:
1122
1123
  This corresponds to the ``name`` field
1123
1124
  on the ``request`` instance; if ``request`` is provided, this
1124
1125
  should not be set.
1125
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1126
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1126
1127
  should be retried.
1127
1128
  timeout (float): The timeout for this request.
1128
1129
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1249,7 +1250,7 @@ class DatastreamAsyncClient:
1249
1250
  This corresponds to the ``stream_id`` field
1250
1251
  on the ``request`` instance; if ``request`` is provided, this
1251
1252
  should not be set.
1252
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1253
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1253
1254
  should be retried.
1254
1255
  timeout (float): The timeout for this request.
1255
1256
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1389,7 +1390,7 @@ class DatastreamAsyncClient:
1389
1390
  This corresponds to the ``update_mask`` field
1390
1391
  on the ``request`` instance; if ``request`` is provided, this
1391
1392
  should not be set.
1392
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1393
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1393
1394
  should be retried.
1394
1395
  timeout (float): The timeout for this request.
1395
1396
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1511,7 +1512,7 @@ class DatastreamAsyncClient:
1511
1512
  This corresponds to the ``name`` field
1512
1513
  on the ``request`` instance; if ``request`` is provided, this
1513
1514
  should not be set.
1514
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1515
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1515
1516
  should be retried.
1516
1517
  timeout (float): The timeout for this request.
1517
1518
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1631,7 +1632,7 @@ class DatastreamAsyncClient:
1631
1632
  This corresponds to the ``name`` field
1632
1633
  on the ``request`` instance; if ``request`` is provided, this
1633
1634
  should not be set.
1634
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1635
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1635
1636
  should be retried.
1636
1637
  timeout (float): The timeout for this request.
1637
1638
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1732,7 +1733,7 @@ class DatastreamAsyncClient:
1732
1733
  The request object. Request for looking up a specific
1733
1734
  stream object by its source object
1734
1735
  identifier.
1735
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1736
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1736
1737
  should be retried.
1737
1738
  timeout (float): The timeout for this request.
1738
1739
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1822,7 +1823,7 @@ class DatastreamAsyncClient:
1822
1823
  This corresponds to the ``parent`` field
1823
1824
  on the ``request`` instance; if ``request`` is provided, this
1824
1825
  should not be set.
1825
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1826
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1826
1827
  should be retried.
1827
1828
  timeout (float): The timeout for this request.
1828
1829
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -1939,7 +1940,7 @@ class DatastreamAsyncClient:
1939
1940
  This corresponds to the ``object_`` field
1940
1941
  on the ``request`` instance; if ``request`` is provided, this
1941
1942
  should not be set.
1942
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
1943
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
1943
1944
  should be retried.
1944
1945
  timeout (float): The timeout for this request.
1945
1946
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2045,7 +2046,7 @@ class DatastreamAsyncClient:
2045
2046
  This corresponds to the ``object_`` field
2046
2047
  on the ``request`` instance; if ``request`` is provided, this
2047
2048
  should not be set.
2048
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2049
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2049
2050
  should be retried.
2050
2051
  timeout (float): The timeout for this request.
2051
2052
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2150,7 +2151,7 @@ class DatastreamAsyncClient:
2150
2151
  This corresponds to the ``name`` field
2151
2152
  on the ``request`` instance; if ``request`` is provided, this
2152
2153
  should not be set.
2153
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2154
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2154
2155
  should be retried.
2155
2156
  timeout (float): The timeout for this request.
2156
2157
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2292,7 +2293,7 @@ class DatastreamAsyncClient:
2292
2293
  This corresponds to the ``private_connection_id`` field
2293
2294
  on the ``request`` instance; if ``request`` is provided, this
2294
2295
  should not be set.
2295
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2296
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2296
2297
  should be retried.
2297
2298
  timeout (float): The timeout for this request.
2298
2299
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2409,7 +2410,7 @@ class DatastreamAsyncClient:
2409
2410
  This corresponds to the ``name`` field
2410
2411
  on the ``request`` instance; if ``request`` is provided, this
2411
2412
  should not be set.
2412
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2413
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2413
2414
  should be retried.
2414
2415
  timeout (float): The timeout for this request.
2415
2416
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2516,7 +2517,7 @@ class DatastreamAsyncClient:
2516
2517
  This corresponds to the ``parent`` field
2517
2518
  on the ``request`` instance; if ``request`` is provided, this
2518
2519
  should not be set.
2519
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2520
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2520
2521
  should be retried.
2521
2522
  timeout (float): The timeout for this request.
2522
2523
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2637,7 +2638,7 @@ class DatastreamAsyncClient:
2637
2638
  This corresponds to the ``name`` field
2638
2639
  on the ``request`` instance; if ``request`` is provided, this
2639
2640
  should not be set.
2640
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2641
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2641
2642
  should be retried.
2642
2643
  timeout (float): The timeout for this request.
2643
2644
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2781,7 +2782,7 @@ class DatastreamAsyncClient:
2781
2782
  This corresponds to the ``route_id`` field
2782
2783
  on the ``request`` instance; if ``request`` is provided, this
2783
2784
  should not be set.
2784
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2785
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2785
2786
  should be retried.
2786
2787
  timeout (float): The timeout for this request.
2787
2788
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -2896,7 +2897,7 @@ class DatastreamAsyncClient:
2896
2897
  This corresponds to the ``name`` field
2897
2898
  on the ``request`` instance; if ``request`` is provided, this
2898
2899
  should not be set.
2899
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
2900
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
2900
2901
  should be retried.
2901
2902
  timeout (float): The timeout for this request.
2902
2903
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3001,7 +3002,7 @@ class DatastreamAsyncClient:
3001
3002
  This corresponds to the ``parent`` field
3002
3003
  on the ``request`` instance; if ``request`` is provided, this
3003
3004
  should not be set.
3004
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
3005
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
3005
3006
  should be retried.
3006
3007
  timeout (float): The timeout for this request.
3007
3008
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3010,6 +3011,7 @@ class DatastreamAsyncClient:
3010
3011
  Returns:
3011
3012
  google.cloud.datastream_v1.services.datastream.pagers.ListRoutesAsyncPager:
3012
3013
  Route list response.
3014
+
3013
3015
  Iterating over this object will yield
3014
3016
  results and resolve additional pages
3015
3017
  automatically.
@@ -3117,7 +3119,7 @@ class DatastreamAsyncClient:
3117
3119
  This corresponds to the ``name`` field
3118
3120
  on the ``request`` instance; if ``request`` is provided, this
3119
3121
  should not be set.
3120
- retry (google.api_core.retry.Retry): Designation of what errors, if any,
3122
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
3121
3123
  should be retried.
3122
3124
  timeout (float): The timeout for this request.
3123
3125
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3203,7 +3205,7 @@ class DatastreamAsyncClient:
3203
3205
  request (:class:`~.operations_pb2.ListOperationsRequest`):
3204
3206
  The request object. Request message for
3205
3207
  `ListOperations` method.
3206
- retry (google.api_core.retry.Retry): Designation of what errors,
3208
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors,
3207
3209
  if any, should be retried.
3208
3210
  timeout (float): The timeout for this request.
3209
3211
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3220,7 +3222,7 @@ class DatastreamAsyncClient:
3220
3222
 
3221
3223
  # Wrap the RPC method; this adds retry and timeout information,
3222
3224
  # and friendly error handling.
3223
- rpc = gapic_v1.method.wrap_method(
3225
+ rpc = gapic_v1.method_async.wrap_method(
3224
3226
  self._client._transport.list_operations,
3225
3227
  default_timeout=None,
3226
3228
  client_info=DEFAULT_CLIENT_INFO,
@@ -3257,7 +3259,7 @@ class DatastreamAsyncClient:
3257
3259
  request (:class:`~.operations_pb2.GetOperationRequest`):
3258
3260
  The request object. Request message for
3259
3261
  `GetOperation` method.
3260
- retry (google.api_core.retry.Retry): Designation of what errors,
3262
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors,
3261
3263
  if any, should be retried.
3262
3264
  timeout (float): The timeout for this request.
3263
3265
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3274,7 +3276,7 @@ class DatastreamAsyncClient:
3274
3276
 
3275
3277
  # Wrap the RPC method; this adds retry and timeout information,
3276
3278
  # and friendly error handling.
3277
- rpc = gapic_v1.method.wrap_method(
3279
+ rpc = gapic_v1.method_async.wrap_method(
3278
3280
  self._client._transport.get_operation,
3279
3281
  default_timeout=None,
3280
3282
  client_info=DEFAULT_CLIENT_INFO,
@@ -3316,7 +3318,7 @@ class DatastreamAsyncClient:
3316
3318
  request (:class:`~.operations_pb2.DeleteOperationRequest`):
3317
3319
  The request object. Request message for
3318
3320
  `DeleteOperation` method.
3319
- retry (google.api_core.retry.Retry): Designation of what errors,
3321
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors,
3320
3322
  if any, should be retried.
3321
3323
  timeout (float): The timeout for this request.
3322
3324
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3332,7 +3334,7 @@ class DatastreamAsyncClient:
3332
3334
 
3333
3335
  # Wrap the RPC method; this adds retry and timeout information,
3334
3336
  # and friendly error handling.
3335
- rpc = gapic_v1.method.wrap_method(
3337
+ rpc = gapic_v1.method_async.wrap_method(
3336
3338
  self._client._transport.delete_operation,
3337
3339
  default_timeout=None,
3338
3340
  client_info=DEFAULT_CLIENT_INFO,
@@ -3370,7 +3372,7 @@ class DatastreamAsyncClient:
3370
3372
  request (:class:`~.operations_pb2.CancelOperationRequest`):
3371
3373
  The request object. Request message for
3372
3374
  `CancelOperation` method.
3373
- retry (google.api_core.retry.Retry): Designation of what errors,
3375
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors,
3374
3376
  if any, should be retried.
3375
3377
  timeout (float): The timeout for this request.
3376
3378
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3386,7 +3388,7 @@ class DatastreamAsyncClient:
3386
3388
 
3387
3389
  # Wrap the RPC method; this adds retry and timeout information,
3388
3390
  # and friendly error handling.
3389
- rpc = gapic_v1.method.wrap_method(
3391
+ rpc = gapic_v1.method_async.wrap_method(
3390
3392
  self._client._transport.cancel_operation,
3391
3393
  default_timeout=None,
3392
3394
  client_info=DEFAULT_CLIENT_INFO,
@@ -3420,7 +3422,7 @@ class DatastreamAsyncClient:
3420
3422
  request (:class:`~.location_pb2.GetLocationRequest`):
3421
3423
  The request object. Request message for
3422
3424
  `GetLocation` method.
3423
- retry (google.api_core.retry.Retry): Designation of what errors,
3425
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors,
3424
3426
  if any, should be retried.
3425
3427
  timeout (float): The timeout for this request.
3426
3428
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3437,7 +3439,7 @@ class DatastreamAsyncClient:
3437
3439
 
3438
3440
  # Wrap the RPC method; this adds retry and timeout information,
3439
3441
  # and friendly error handling.
3440
- rpc = gapic_v1.method.wrap_method(
3442
+ rpc = gapic_v1.method_async.wrap_method(
3441
3443
  self._client._transport.get_location,
3442
3444
  default_timeout=None,
3443
3445
  client_info=DEFAULT_CLIENT_INFO,
@@ -3474,7 +3476,7 @@ class DatastreamAsyncClient:
3474
3476
  request (:class:`~.location_pb2.ListLocationsRequest`):
3475
3477
  The request object. Request message for
3476
3478
  `ListLocations` method.
3477
- retry (google.api_core.retry.Retry): Designation of what errors,
3479
+ retry (google.api_core.retry_async.AsyncRetry): Designation of what errors,
3478
3480
  if any, should be retried.
3479
3481
  timeout (float): The timeout for this request.
3480
3482
  metadata (Sequence[Tuple[str, str]]): Strings which should be
@@ -3491,7 +3493,7 @@ class DatastreamAsyncClient:
3491
3493
 
3492
3494
  # Wrap the RPC method; this adds retry and timeout information,
3493
3495
  # and friendly error handling.
3494
- rpc = gapic_v1.method.wrap_method(
3496
+ rpc = gapic_v1.method_async.wrap_method(
3495
3497
  self._client._transport.list_locations,
3496
3498
  default_timeout=None,
3497
3499
  client_info=DEFAULT_CLIENT_INFO,
@@ -51,7 +51,7 @@ from google.api_core import operation_async # type: ignore
51
51
  from google.cloud.location import locations_pb2 # type: ignore
52
52
  from google.iam.v1 import iam_policy_pb2 # type: ignore
53
53
  from google.iam.v1 import policy_pb2 # type: ignore
54
- from google.longrunning import operations_pb2
54
+ from google.longrunning import operations_pb2 # type: ignore
55
55
  from google.protobuf import empty_pb2 # type: ignore
56
56
  from google.protobuf import field_mask_pb2 # type: ignore
57
57
  from google.protobuf import timestamp_pb2 # type: ignore
@@ -1358,6 +1358,7 @@ class DatastreamClient(metaclass=DatastreamClientMeta):
1358
1358
  Returns:
1359
1359
  google.cloud.datastream_v1.services.datastream.pagers.ListStreamsPager:
1360
1360
  Response message for listing streams.
1361
+
1361
1362
  Iterating over this object will yield
1362
1363
  results and resolve additional pages
1363
1364
  automatically.
@@ -3354,6 +3355,7 @@ class DatastreamClient(metaclass=DatastreamClientMeta):
3354
3355
  Returns:
3355
3356
  google.cloud.datastream_v1.services.datastream.pagers.ListRoutesPager:
3356
3357
  Route list response.
3358
+
3357
3359
  Iterating over this object will yield
3358
3360
  results and resolve additional pages
3359
3361
  automatically.
@@ -35,7 +35,6 @@ from google.auth.transport.requests import AuthorizedSession # type: ignore
35
35
  from google.cloud.location import locations_pb2 # type: ignore
36
36
  from google.iam.v1 import iam_policy_pb2 # type: ignore
37
37
  from google.iam.v1 import policy_pb2 # type: ignore
38
- from google.longrunning import operations_pb2
39
38
  from google.protobuf import json_format
40
39
  import grpc # type: ignore
41
40
  from requests import __version__ as requests_version
@@ -3725,7 +3724,6 @@ class DatastreamRestTransport(DatastreamTransport):
3725
3724
  timeout: Optional[float] = None,
3726
3725
  metadata: Sequence[Tuple[str, str]] = (),
3727
3726
  ) -> locations_pb2.Location:
3728
-
3729
3727
  r"""Call the get location method over HTTP.
3730
3728
 
3731
3729
  Args:
@@ -3792,7 +3790,6 @@ class DatastreamRestTransport(DatastreamTransport):
3792
3790
  timeout: Optional[float] = None,
3793
3791
  metadata: Sequence[Tuple[str, str]] = (),
3794
3792
  ) -> locations_pb2.ListLocationsResponse:
3795
-
3796
3793
  r"""Call the list locations method over HTTP.
3797
3794
 
3798
3795
  Args:
@@ -3859,7 +3856,6 @@ class DatastreamRestTransport(DatastreamTransport):
3859
3856
  timeout: Optional[float] = None,
3860
3857
  metadata: Sequence[Tuple[str, str]] = (),
3861
3858
  ) -> None:
3862
-
3863
3859
  r"""Call the cancel operation method over HTTP.
3864
3860
 
3865
3861
  Args:
@@ -3925,7 +3921,6 @@ class DatastreamRestTransport(DatastreamTransport):
3925
3921
  timeout: Optional[float] = None,
3926
3922
  metadata: Sequence[Tuple[str, str]] = (),
3927
3923
  ) -> None:
3928
-
3929
3924
  r"""Call the delete operation method over HTTP.
3930
3925
 
3931
3926
  Args:
@@ -3988,7 +3983,6 @@ class DatastreamRestTransport(DatastreamTransport):
3988
3983
  timeout: Optional[float] = None,
3989
3984
  metadata: Sequence[Tuple[str, str]] = (),
3990
3985
  ) -> operations_pb2.Operation:
3991
-
3992
3986
  r"""Call the get operation method over HTTP.
3993
3987
 
3994
3988
  Args:
@@ -4055,7 +4049,6 @@ class DatastreamRestTransport(DatastreamTransport):
4055
4049
  timeout: Optional[float] = None,
4056
4050
  metadata: Sequence[Tuple[str, str]] = (),
4057
4051
  ) -> operations_pb2.ListOperationsResponse:
4058
-
4059
4052
  r"""Call the list operations method over HTTP.
4060
4053
 
4061
4054
  Args: