google-cloud-beyondcorp-clientgateways 0.4.1__tar.gz → 0.4.2__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 (37) hide show
  1. {google-cloud-beyondcorp-clientgateways-0.4.1/google_cloud_beyondcorp_clientgateways.egg-info → google-cloud-beyondcorp-clientgateways-0.4.2}/PKG-INFO +11 -11
  2. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/README.rst +9 -9
  3. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways/gapic_version.py +1 -1
  4. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways_v1/gapic_version.py +1 -1
  5. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways_v1/services/client_gateways_service/async_client.py +1 -1
  6. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways_v1/services/client_gateways_service/transports/rest.py +3 -3
  7. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2/google_cloud_beyondcorp_clientgateways.egg-info}/PKG-INFO +11 -11
  8. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/setup.py +1 -1
  9. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/tests/unit/gapic/beyondcorp_clientgateways_v1/test_client_gateways_service.py +4 -2
  10. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/LICENSE +0 -0
  11. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/MANIFEST.in +0 -0
  12. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways/__init__.py +0 -0
  13. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways/py.typed +0 -0
  14. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways_v1/__init__.py +0 -0
  15. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways_v1/gapic_metadata.json +0 -0
  16. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways_v1/py.typed +0 -0
  17. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways_v1/services/__init__.py +0 -0
  18. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways_v1/services/client_gateways_service/__init__.py +0 -0
  19. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways_v1/services/client_gateways_service/client.py +0 -0
  20. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways_v1/services/client_gateways_service/pagers.py +0 -0
  21. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways_v1/services/client_gateways_service/transports/__init__.py +0 -0
  22. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways_v1/services/client_gateways_service/transports/base.py +0 -0
  23. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways_v1/services/client_gateways_service/transports/grpc.py +0 -0
  24. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways_v1/services/client_gateways_service/transports/grpc_asyncio.py +0 -0
  25. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways_v1/types/__init__.py +0 -0
  26. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google/cloud/beyondcorp_clientgateways_v1/types/client_gateways_service.py +0 -0
  27. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google_cloud_beyondcorp_clientgateways.egg-info/SOURCES.txt +0 -0
  28. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google_cloud_beyondcorp_clientgateways.egg-info/dependency_links.txt +0 -0
  29. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google_cloud_beyondcorp_clientgateways.egg-info/namespace_packages.txt +0 -0
  30. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google_cloud_beyondcorp_clientgateways.egg-info/not-zip-safe +0 -0
  31. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google_cloud_beyondcorp_clientgateways.egg-info/requires.txt +0 -0
  32. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/google_cloud_beyondcorp_clientgateways.egg-info/top_level.txt +0 -0
  33. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/setup.cfg +0 -0
  34. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/tests/__init__.py +0 -0
  35. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/tests/unit/__init__.py +0 -0
  36. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/tests/unit/gapic/__init__.py +0 -0
  37. {google-cloud-beyondcorp-clientgateways-0.4.1 → google-cloud-beyondcorp-clientgateways-0.4.2}/tests/unit/gapic/beyondcorp_clientgateways_v1/__init__.py +0 -0
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-cloud-beyondcorp-clientgateways
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Google Cloud Beyondcorp Clientgateways API client library
5
- Home-page: https://github.com/googleapis/python-beyondcorp-clientgateways
5
+ Home-page: https://github.com/googleapis/google-cloud-python
6
6
  Author: Google LLC
7
7
  Author-email: googleapis-packages@google.com
8
8
  License: Apache 2.0
@@ -22,12 +22,12 @@ Classifier: Topic :: Internet
22
22
  Requires-Python: >=3.7
23
23
  License-File: LICENSE
24
24
 
25
- Python Client for BeyondCorp ClientGateways API
26
- ===============================================
25
+ Python Client for BeyondCorp ClientGateways
26
+ ===========================================
27
27
 
28
28
  |preview| |pypi| |versions|
29
29
 
30
- `BeyondCorp ClientGateways API`_: Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.
30
+ `BeyondCorp ClientGateways`_: Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.
31
31
 
32
32
  - `Client Library Documentation`_
33
33
  - `Product Documentation`_
@@ -38,7 +38,7 @@ Python Client for BeyondCorp ClientGateways API
38
38
  :target: https://pypi.org/project/google-cloud-beyondcorp-clientgateways/
39
39
  .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-beyondcorp-clientgateways.svg
40
40
  :target: https://pypi.org/project/google-cloud-beyondcorp-clientgateways/
41
- .. _BeyondCorp ClientGateways API: https://cloud.google.com/beyondcorp/
41
+ .. _BeyondCorp ClientGateways: https://cloud.google.com/beyondcorp/
42
42
  .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/beyondcorpclientgateways/latest
43
43
  .. _Product Documentation: https://cloud.google.com/beyondcorp/
44
44
 
@@ -49,12 +49,12 @@ In order to use this library, you first need to go through the following steps:
49
49
 
50
50
  1. `Select or create a Cloud Platform project.`_
51
51
  2. `Enable billing for your project.`_
52
- 3. `Enable the BeyondCorp ClientGateways API.`_
52
+ 3. `Enable the BeyondCorp ClientGateways.`_
53
53
  4. `Setup Authentication.`_
54
54
 
55
55
  .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
56
56
  .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
57
- .. _Enable the BeyondCorp ClientGateways API.: https://cloud.google.com/beyondcorp/
57
+ .. _Enable the BeyondCorp ClientGateways.: https://cloud.google.com/beyondcorp/
58
58
  .. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
59
59
 
60
60
  Installation
@@ -120,12 +120,12 @@ Windows
120
120
  Next Steps
121
121
  ~~~~~~~~~~
122
122
 
123
- - Read the `Client Library Documentation`_ for BeyondCorp ClientGateways API
123
+ - Read the `Client Library Documentation`_ for BeyondCorp ClientGateways
124
124
  to see other available methods on the client.
125
- - Read the `BeyondCorp ClientGateways API Product documentation`_ to learn
125
+ - Read the `BeyondCorp ClientGateways Product documentation`_ to learn
126
126
  more about the product and see How-to Guides.
127
127
  - View this `README`_ to see the full list of Cloud
128
128
  APIs that we cover.
129
129
 
130
- .. _BeyondCorp ClientGateways API Product documentation: https://cloud.google.com/beyondcorp/
130
+ .. _BeyondCorp ClientGateways Product documentation: https://cloud.google.com/beyondcorp/
131
131
  .. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
@@ -1,9 +1,9 @@
1
- Python Client for BeyondCorp ClientGateways API
2
- ===============================================
1
+ Python Client for BeyondCorp ClientGateways
2
+ ===========================================
3
3
 
4
4
  |preview| |pypi| |versions|
5
5
 
6
- `BeyondCorp ClientGateways API`_: Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.
6
+ `BeyondCorp ClientGateways`_: Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.
7
7
 
8
8
  - `Client Library Documentation`_
9
9
  - `Product Documentation`_
@@ -14,7 +14,7 @@ Python Client for BeyondCorp ClientGateways API
14
14
  :target: https://pypi.org/project/google-cloud-beyondcorp-clientgateways/
15
15
  .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-beyondcorp-clientgateways.svg
16
16
  :target: https://pypi.org/project/google-cloud-beyondcorp-clientgateways/
17
- .. _BeyondCorp ClientGateways API: https://cloud.google.com/beyondcorp/
17
+ .. _BeyondCorp ClientGateways: https://cloud.google.com/beyondcorp/
18
18
  .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/beyondcorpclientgateways/latest
19
19
  .. _Product Documentation: https://cloud.google.com/beyondcorp/
20
20
 
@@ -25,12 +25,12 @@ In order to use this library, you first need to go through the following steps:
25
25
 
26
26
  1. `Select or create a Cloud Platform project.`_
27
27
  2. `Enable billing for your project.`_
28
- 3. `Enable the BeyondCorp ClientGateways API.`_
28
+ 3. `Enable the BeyondCorp ClientGateways.`_
29
29
  4. `Setup Authentication.`_
30
30
 
31
31
  .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
32
32
  .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
33
- .. _Enable the BeyondCorp ClientGateways API.: https://cloud.google.com/beyondcorp/
33
+ .. _Enable the BeyondCorp ClientGateways.: https://cloud.google.com/beyondcorp/
34
34
  .. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
35
35
 
36
36
  Installation
@@ -96,12 +96,12 @@ Windows
96
96
  Next Steps
97
97
  ~~~~~~~~~~
98
98
 
99
- - Read the `Client Library Documentation`_ for BeyondCorp ClientGateways API
99
+ - Read the `Client Library Documentation`_ for BeyondCorp ClientGateways
100
100
  to see other available methods on the client.
101
- - Read the `BeyondCorp ClientGateways API Product documentation`_ to learn
101
+ - Read the `BeyondCorp ClientGateways Product documentation`_ to learn
102
102
  more about the product and see How-to Guides.
103
103
  - View this `README`_ to see the full list of Cloud
104
104
  APIs that we cover.
105
105
 
106
- .. _BeyondCorp ClientGateways API Product documentation: https://cloud.google.com/beyondcorp/
106
+ .. _BeyondCorp ClientGateways Product documentation: https://cloud.google.com/beyondcorp/
107
107
  .. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
@@ -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__ = "0.4.1" # {x-release-please-version}
16
+ __version__ = "0.4.2" # {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__ = "0.4.1" # {x-release-please-version}
16
+ __version__ = "0.4.2" # {x-release-please-version}
@@ -1350,7 +1350,7 @@ class ClientGatewaysServiceAsyncClient:
1350
1350
  # Done; return the response.
1351
1351
  return response
1352
1352
 
1353
- async def __aenter__(self):
1353
+ async def __aenter__(self) -> "ClientGatewaysServiceAsyncClient":
1354
1354
  return self
1355
1355
 
1356
1356
  async def __aexit__(self, exc_type, exc, tb):
@@ -1261,7 +1261,7 @@ class ClientGatewaysServiceRestTransport(ClientGatewaysServiceTransport):
1261
1261
  request_kwargs = json_format.MessageToDict(request)
1262
1262
  transcoded_request = path_template.transcode(http_options, **request_kwargs)
1263
1263
 
1264
- body = json.loads(json.dumps(transcoded_request["body"]))
1264
+ body = json.dumps(transcoded_request["body"])
1265
1265
  uri = transcoded_request["uri"]
1266
1266
  method = transcoded_request["method"]
1267
1267
 
@@ -1353,7 +1353,7 @@ class ClientGatewaysServiceRestTransport(ClientGatewaysServiceTransport):
1353
1353
  request_kwargs = json_format.MessageToDict(request)
1354
1354
  transcoded_request = path_template.transcode(http_options, **request_kwargs)
1355
1355
 
1356
- body = json.loads(json.dumps(transcoded_request["body"]))
1356
+ body = json.dumps(transcoded_request["body"])
1357
1357
  uri = transcoded_request["uri"]
1358
1358
  method = transcoded_request["method"]
1359
1359
 
@@ -1422,7 +1422,7 @@ class ClientGatewaysServiceRestTransport(ClientGatewaysServiceTransport):
1422
1422
  request_kwargs = json_format.MessageToDict(request)
1423
1423
  transcoded_request = path_template.transcode(http_options, **request_kwargs)
1424
1424
 
1425
- body = json.loads(json.dumps(transcoded_request["body"]))
1425
+ body = json.dumps(transcoded_request["body"])
1426
1426
  uri = transcoded_request["uri"]
1427
1427
  method = transcoded_request["method"]
1428
1428
 
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-cloud-beyondcorp-clientgateways
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Google Cloud Beyondcorp Clientgateways API client library
5
- Home-page: https://github.com/googleapis/python-beyondcorp-clientgateways
5
+ Home-page: https://github.com/googleapis/google-cloud-python
6
6
  Author: Google LLC
7
7
  Author-email: googleapis-packages@google.com
8
8
  License: Apache 2.0
@@ -22,12 +22,12 @@ Classifier: Topic :: Internet
22
22
  Requires-Python: >=3.7
23
23
  License-File: LICENSE
24
24
 
25
- Python Client for BeyondCorp ClientGateways API
26
- ===============================================
25
+ Python Client for BeyondCorp ClientGateways
26
+ ===========================================
27
27
 
28
28
  |preview| |pypi| |versions|
29
29
 
30
- `BeyondCorp ClientGateways API`_: Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.
30
+ `BeyondCorp ClientGateways`_: Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.
31
31
 
32
32
  - `Client Library Documentation`_
33
33
  - `Product Documentation`_
@@ -38,7 +38,7 @@ Python Client for BeyondCorp ClientGateways API
38
38
  :target: https://pypi.org/project/google-cloud-beyondcorp-clientgateways/
39
39
  .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-beyondcorp-clientgateways.svg
40
40
  :target: https://pypi.org/project/google-cloud-beyondcorp-clientgateways/
41
- .. _BeyondCorp ClientGateways API: https://cloud.google.com/beyondcorp/
41
+ .. _BeyondCorp ClientGateways: https://cloud.google.com/beyondcorp/
42
42
  .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/beyondcorpclientgateways/latest
43
43
  .. _Product Documentation: https://cloud.google.com/beyondcorp/
44
44
 
@@ -49,12 +49,12 @@ In order to use this library, you first need to go through the following steps:
49
49
 
50
50
  1. `Select or create a Cloud Platform project.`_
51
51
  2. `Enable billing for your project.`_
52
- 3. `Enable the BeyondCorp ClientGateways API.`_
52
+ 3. `Enable the BeyondCorp ClientGateways.`_
53
53
  4. `Setup Authentication.`_
54
54
 
55
55
  .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
56
56
  .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
57
- .. _Enable the BeyondCorp ClientGateways API.: https://cloud.google.com/beyondcorp/
57
+ .. _Enable the BeyondCorp ClientGateways.: https://cloud.google.com/beyondcorp/
58
58
  .. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
59
59
 
60
60
  Installation
@@ -120,12 +120,12 @@ Windows
120
120
  Next Steps
121
121
  ~~~~~~~~~~
122
122
 
123
- - Read the `Client Library Documentation`_ for BeyondCorp ClientGateways API
123
+ - Read the `Client Library Documentation`_ for BeyondCorp ClientGateways
124
124
  to see other available methods on the client.
125
- - Read the `BeyondCorp ClientGateways API Product documentation`_ to learn
125
+ - Read the `BeyondCorp ClientGateways Product documentation`_ to learn
126
126
  more about the product and see How-to Guides.
127
127
  - View this `README`_ to see the full list of Cloud
128
128
  APIs that we cover.
129
129
 
130
- .. _BeyondCorp ClientGateways API Product documentation: https://cloud.google.com/beyondcorp/
130
+ .. _BeyondCorp ClientGateways Product documentation: https://cloud.google.com/beyondcorp/
131
131
  .. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
@@ -46,7 +46,7 @@ dependencies = [
46
46
  "protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
47
47
  "grpc-google-iam-v1 >= 0.12.4, <1.0.0dev",
48
48
  ]
49
- url = "https://github.com/googleapis/python-beyondcorp-clientgateways"
49
+ url = "https://github.com/googleapis/google-cloud-python"
50
50
 
51
51
  package_root = os.path.abspath(os.path.dirname(__file__))
52
52
 
@@ -1207,9 +1207,11 @@ async def test_list_client_gateways_async_pages():
1207
1207
  RuntimeError,
1208
1208
  )
1209
1209
  pages = []
1210
- async for page_ in (
1210
+ # Workaround issue in python 3.9 related to code coverage by adding `# pragma: no branch`
1211
+ # See https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
1212
+ async for page_ in ( # pragma: no branch
1211
1213
  await client.list_client_gateways(request={})
1212
- ).pages: # pragma: no branch
1214
+ ).pages:
1213
1215
  pages.append(page_)
1214
1216
  for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
1215
1217
  assert page_.raw_page.next_page_token == token