google-cloud-cloudcontrolspartner 0.4.0__tar.gz → 0.6.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.
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/MANIFEST.in +1 -1
- {google_cloud_cloudcontrolspartner-0.4.0/google_cloud_cloudcontrolspartner.egg-info → google_cloud_cloudcontrolspartner-0.6.0}/PKG-INFO +20 -21
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/README.rst +14 -12
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner/__init__.py +1 -1
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner/gapic_version.py +2 -2
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/__init__.py +4 -20
- {google_cloud_cloudcontrolspartner-0.4.0/google/cloud/cloudcontrolspartner_v1beta → google_cloud_cloudcontrolspartner-0.6.0/google/cloud/cloudcontrolspartner_v1}/gapic_version.py +2 -2
- {google_cloud_cloudcontrolspartner-0.4.0/google/cloud/cloudcontrolspartner_v1beta → google_cloud_cloudcontrolspartner-0.6.0/google/cloud/cloudcontrolspartner_v1}/services/__init__.py +1 -1
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_core/__init__.py +1 -1
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_core/async_client.py +20 -10
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_core/client.py +21 -22
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_core/pagers.py +7 -7
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_core/transports/__init__.py +2 -4
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_core/transports/base.py +17 -8
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_core/transports/grpc.py +19 -15
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_core/transports/grpc_asyncio.py +18 -14
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_core/transports/rest.py +29 -44
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_core/transports/rest_base.py +2 -2
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_monitoring/__init__.py +1 -1
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_monitoring/async_client.py +20 -8
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_monitoring/client.py +23 -24
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_monitoring/pagers.py +3 -3
- {google_cloud_cloudcontrolspartner-0.4.0/google/cloud/cloudcontrolspartner_v1beta → google_cloud_cloudcontrolspartner-0.6.0/google/cloud/cloudcontrolspartner_v1}/services/cloud_controls_partner_monitoring/transports/__init__.py +2 -4
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_monitoring/transports/base.py +16 -7
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_monitoring/transports/grpc.py +12 -8
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_monitoring/transports/grpc_asyncio.py +11 -7
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_monitoring/transports/rest.py +11 -9
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/services/cloud_controls_partner_monitoring/transports/rest_base.py +1 -1
- {google_cloud_cloudcontrolspartner-0.4.0/google/cloud/cloudcontrolspartner_v1beta → google_cloud_cloudcontrolspartner-0.6.0/google/cloud/cloudcontrolspartner_v1}/types/__init__.py +22 -6
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/types/access_approval_requests.py +9 -8
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/types/completion_state.py +2 -1
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/types/core.py +2 -2
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/types/customer_workloads.py +4 -2
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/types/customers.py +4 -3
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/types/ekm_connections.py +2 -1
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/types/monitoring.py +1 -1
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/types/partner_permissions.py +2 -1
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/types/partners.py +3 -2
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/types/violations.py +5 -3
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/__init__.py +4 -20
- {google_cloud_cloudcontrolspartner-0.4.0/google/cloud/cloudcontrolspartner_v1 → google_cloud_cloudcontrolspartner-0.6.0/google/cloud/cloudcontrolspartner_v1beta}/gapic_version.py +2 -2
- {google_cloud_cloudcontrolspartner-0.4.0/tests → google_cloud_cloudcontrolspartner-0.6.0/google/cloud/cloudcontrolspartner_v1beta/services}/__init__.py +1 -1
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_core/__init__.py +1 -1
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_core/async_client.py +20 -10
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_core/client.py +21 -22
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_core/pagers.py +7 -7
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_core/transports/__init__.py +2 -4
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_core/transports/base.py +17 -8
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_core/transports/grpc.py +19 -15
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_core/transports/grpc_asyncio.py +18 -14
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_core/transports/rest.py +29 -44
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_core/transports/rest_base.py +2 -2
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_monitoring/__init__.py +1 -1
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_monitoring/async_client.py +20 -8
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_monitoring/client.py +23 -24
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_monitoring/pagers.py +3 -3
- {google_cloud_cloudcontrolspartner-0.4.0/google/cloud/cloudcontrolspartner_v1 → google_cloud_cloudcontrolspartner-0.6.0/google/cloud/cloudcontrolspartner_v1beta}/services/cloud_controls_partner_monitoring/transports/__init__.py +2 -4
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_monitoring/transports/base.py +16 -7
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_monitoring/transports/grpc.py +12 -8
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_monitoring/transports/grpc_asyncio.py +11 -7
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_monitoring/transports/rest.py +11 -9
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/services/cloud_controls_partner_monitoring/transports/rest_base.py +1 -1
- {google_cloud_cloudcontrolspartner-0.4.0/google/cloud/cloudcontrolspartner_v1 → google_cloud_cloudcontrolspartner-0.6.0/google/cloud/cloudcontrolspartner_v1beta}/types/__init__.py +22 -6
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/types/access_approval_requests.py +9 -8
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/types/completion_state.py +2 -1
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/types/core.py +2 -2
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/types/customer_workloads.py +4 -2
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/types/customers.py +4 -3
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/types/ekm_connections.py +2 -1
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/types/monitoring.py +1 -1
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/types/partner_permissions.py +2 -1
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/types/partners.py +3 -2
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/types/violations.py +5 -3
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0/google_cloud_cloudcontrolspartner.egg-info}/PKG-INFO +20 -21
- google_cloud_cloudcontrolspartner-0.6.0/google_cloud_cloudcontrolspartner.egg-info/requires.txt +11 -0
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/setup.py +6 -9
- {google_cloud_cloudcontrolspartner-0.4.0/tests/unit → google_cloud_cloudcontrolspartner-0.6.0/tests}/__init__.py +1 -1
- {google_cloud_cloudcontrolspartner-0.4.0/google/cloud/cloudcontrolspartner_v1/services → google_cloud_cloudcontrolspartner-0.6.0/tests/unit}/__init__.py +1 -1
- google_cloud_cloudcontrolspartner-0.6.0/tests/unit/gapic/__init__.py +15 -0
- google_cloud_cloudcontrolspartner-0.6.0/tests/unit/gapic/cloudcontrolspartner_v1/__init__.py +15 -0
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/tests/unit/gapic/cloudcontrolspartner_v1/test_cloud_controls_partner_core.py +434 -409
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/tests/unit/gapic/cloudcontrolspartner_v1/test_cloud_controls_partner_monitoring.py +143 -117
- google_cloud_cloudcontrolspartner-0.6.0/tests/unit/gapic/cloudcontrolspartner_v1beta/__init__.py +15 -0
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/tests/unit/gapic/cloudcontrolspartner_v1beta/test_cloud_controls_partner_core.py +434 -409
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/tests/unit/gapic/cloudcontrolspartner_v1beta/test_cloud_controls_partner_monitoring.py +143 -117
- google_cloud_cloudcontrolspartner-0.4.0/google_cloud_cloudcontrolspartner.egg-info/requires.txt +0 -11
- google_cloud_cloudcontrolspartner-0.4.0/tests/unit/gapic/__init__.py +0 -15
- google_cloud_cloudcontrolspartner-0.4.0/tests/unit/gapic/cloudcontrolspartner_v1/__init__.py +0 -15
- google_cloud_cloudcontrolspartner-0.4.0/tests/unit/gapic/cloudcontrolspartner_v1beta/__init__.py +0 -15
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/LICENSE +0 -0
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner/py.typed +0 -0
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/gapic_metadata.json +0 -0
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1/py.typed +0 -0
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/gapic_metadata.json +0 -0
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google/cloud/cloudcontrolspartner_v1beta/py.typed +0 -0
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google_cloud_cloudcontrolspartner.egg-info/SOURCES.txt +0 -0
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google_cloud_cloudcontrolspartner.egg-info/dependency_links.txt +0 -0
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google_cloud_cloudcontrolspartner.egg-info/not-zip-safe +0 -0
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/google_cloud_cloudcontrolspartner.egg-info/top_level.txt +0 -0
- {google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/setup.cfg +0 -0
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: google-cloud-cloudcontrolspartner
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.6.0
|
|
4
4
|
Summary: Google Cloud Cloudcontrolspartner API client library
|
|
5
5
|
Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-cloudcontrolspartner
|
|
6
6
|
Author: Google LLC
|
|
7
7
|
Author-email: googleapis-packages@google.com
|
|
8
|
-
License: Apache
|
|
8
|
+
License: Apache-2.0
|
|
9
9
|
Platform: Posix; MacOS X; Windows
|
|
10
10
|
Classifier: Development Status :: 4 - Beta
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
12
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
13
|
Classifier: Programming Language :: Python
|
|
14
14
|
Classifier: Programming Language :: Python :: 3
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
18
15
|
Classifier: Programming Language :: Python :: 3.10
|
|
19
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -22,15 +19,15 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
22
19
|
Classifier: Programming Language :: Python :: 3.14
|
|
23
20
|
Classifier: Operating System :: OS Independent
|
|
24
21
|
Classifier: Topic :: Internet
|
|
25
|
-
Requires-Python: >=3.
|
|
22
|
+
Requires-Python: >=3.10
|
|
26
23
|
License-File: LICENSE
|
|
27
|
-
Requires-Dist: google-api-core[grpc]
|
|
24
|
+
Requires-Dist: google-api-core[grpc]<3.0.0,>=2.17.1
|
|
28
25
|
Requires-Dist: google-auth!=2.24.0,!=2.25.0,<3.0.0,>=2.14.1
|
|
29
|
-
Requires-Dist: grpcio<2.0.0,>=1.
|
|
26
|
+
Requires-Dist: grpcio<2.0.0,>=1.59.0
|
|
30
27
|
Requires-Dist: grpcio<2.0.0,>=1.75.1; python_version >= "3.14"
|
|
31
28
|
Requires-Dist: proto-plus<2.0.0,>=1.22.3
|
|
32
29
|
Requires-Dist: proto-plus<2.0.0,>=1.25.0; python_version >= "3.13"
|
|
33
|
-
Requires-Dist: protobuf
|
|
30
|
+
Requires-Dist: protobuf<8.0.0,>=4.25.8
|
|
34
31
|
Dynamic: author
|
|
35
32
|
Dynamic: author-email
|
|
36
33
|
Dynamic: classifier
|
|
@@ -43,12 +40,13 @@ Dynamic: requires-dist
|
|
|
43
40
|
Dynamic: requires-python
|
|
44
41
|
Dynamic: summary
|
|
45
42
|
|
|
46
|
-
Python Client for Cloud Controls Partner
|
|
47
|
-
|
|
43
|
+
Python Client for Cloud Controls Partner
|
|
44
|
+
========================================
|
|
48
45
|
|
|
49
46
|
|preview| |pypi| |versions|
|
|
50
47
|
|
|
51
|
-
`Cloud Controls Partner
|
|
48
|
+
`Cloud Controls Partner`_: Provides insights about your customers and their Assured Workloads based on
|
|
49
|
+
your Sovereign Controls by Partners offering.
|
|
52
50
|
|
|
53
51
|
- `Client Library Documentation`_
|
|
54
52
|
- `Product Documentation`_
|
|
@@ -59,9 +57,9 @@ Python Client for Cloud Controls Partner API
|
|
|
59
57
|
:target: https://pypi.org/project/google-cloud-cloudcontrolspartner/
|
|
60
58
|
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-cloudcontrolspartner.svg
|
|
61
59
|
:target: https://pypi.org/project/google-cloud-cloudcontrolspartner/
|
|
62
|
-
.. _Cloud Controls Partner
|
|
60
|
+
.. _Cloud Controls Partner: https://cloud.google.com/sovereign-controls-by-partners/
|
|
63
61
|
.. _Client Library Documentation: https://cloud.google.com/python/docs/reference/google-cloud-cloudcontrolspartner/latest/summary_overview
|
|
64
|
-
.. _Product Documentation: https://cloud.google.com/sovereign-controls-by-partners/
|
|
62
|
+
.. _Product Documentation: https://cloud.google.com/sovereign-controls-by-partners/
|
|
65
63
|
|
|
66
64
|
Quick Start
|
|
67
65
|
-----------
|
|
@@ -70,12 +68,12 @@ In order to use this library, you first need to go through the following steps:
|
|
|
70
68
|
|
|
71
69
|
1. `Select or create a Cloud Platform project.`_
|
|
72
70
|
2. `Enable billing for your project.`_
|
|
73
|
-
3. `Enable the Cloud Controls Partner
|
|
71
|
+
3. `Enable the Cloud Controls Partner.`_
|
|
74
72
|
4. `Set up Authentication.`_
|
|
75
73
|
|
|
76
74
|
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
|
|
77
75
|
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
|
|
78
|
-
.. _Enable the Cloud Controls Partner
|
|
76
|
+
.. _Enable the Cloud Controls Partner.: https://cloud.google.com/sovereign-controls-by-partners/
|
|
79
77
|
.. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
|
|
80
78
|
|
|
81
79
|
Installation
|
|
@@ -106,14 +104,15 @@ Supported Python Versions
|
|
|
106
104
|
Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
|
|
107
105
|
Python.
|
|
108
106
|
|
|
109
|
-
Python >= 3.
|
|
107
|
+
Python >= 3.10, including 3.14
|
|
110
108
|
|
|
111
109
|
.. _active: https://devguide.python.org/devcycle/#in-development-main-branch
|
|
112
110
|
.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
|
|
113
111
|
|
|
114
112
|
Unsupported Python Versions
|
|
115
113
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
116
|
-
Python <= 3.
|
|
114
|
+
Python <= 3.9
|
|
115
|
+
|
|
117
116
|
|
|
118
117
|
If you are using an `end-of-life`_
|
|
119
118
|
version of Python, we recommend that you update as soon as possible to an actively supported version.
|
|
@@ -142,14 +141,14 @@ Windows
|
|
|
142
141
|
Next Steps
|
|
143
142
|
~~~~~~~~~~
|
|
144
143
|
|
|
145
|
-
- Read the `Client Library Documentation`_ for Cloud Controls Partner
|
|
144
|
+
- Read the `Client Library Documentation`_ for Cloud Controls Partner
|
|
146
145
|
to see other available methods on the client.
|
|
147
|
-
- Read the `Cloud Controls Partner
|
|
146
|
+
- Read the `Cloud Controls Partner Product documentation`_ to learn
|
|
148
147
|
more about the product and see How-to Guides.
|
|
149
148
|
- View this `README`_ to see the full list of Cloud
|
|
150
149
|
APIs that we cover.
|
|
151
150
|
|
|
152
|
-
.. _Cloud Controls Partner
|
|
151
|
+
.. _Cloud Controls Partner Product documentation: https://cloud.google.com/sovereign-controls-by-partners/
|
|
153
152
|
.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
|
|
154
153
|
|
|
155
154
|
Logging
|
{google_cloud_cloudcontrolspartner-0.4.0 → google_cloud_cloudcontrolspartner-0.6.0}/README.rst
RENAMED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
Python Client for Cloud Controls Partner
|
|
2
|
-
|
|
1
|
+
Python Client for Cloud Controls Partner
|
|
2
|
+
========================================
|
|
3
3
|
|
|
4
4
|
|preview| |pypi| |versions|
|
|
5
5
|
|
|
6
|
-
`Cloud Controls Partner
|
|
6
|
+
`Cloud Controls Partner`_: Provides insights about your customers and their Assured Workloads based on
|
|
7
|
+
your Sovereign Controls by Partners offering.
|
|
7
8
|
|
|
8
9
|
- `Client Library Documentation`_
|
|
9
10
|
- `Product Documentation`_
|
|
@@ -14,9 +15,9 @@ Python Client for Cloud Controls Partner API
|
|
|
14
15
|
:target: https://pypi.org/project/google-cloud-cloudcontrolspartner/
|
|
15
16
|
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-cloudcontrolspartner.svg
|
|
16
17
|
:target: https://pypi.org/project/google-cloud-cloudcontrolspartner/
|
|
17
|
-
.. _Cloud Controls Partner
|
|
18
|
+
.. _Cloud Controls Partner: https://cloud.google.com/sovereign-controls-by-partners/
|
|
18
19
|
.. _Client Library Documentation: https://cloud.google.com/python/docs/reference/google-cloud-cloudcontrolspartner/latest/summary_overview
|
|
19
|
-
.. _Product Documentation: https://cloud.google.com/sovereign-controls-by-partners/
|
|
20
|
+
.. _Product Documentation: https://cloud.google.com/sovereign-controls-by-partners/
|
|
20
21
|
|
|
21
22
|
Quick Start
|
|
22
23
|
-----------
|
|
@@ -25,12 +26,12 @@ In order to use this library, you first need to go through the following steps:
|
|
|
25
26
|
|
|
26
27
|
1. `Select or create a Cloud Platform project.`_
|
|
27
28
|
2. `Enable billing for your project.`_
|
|
28
|
-
3. `Enable the Cloud Controls Partner
|
|
29
|
+
3. `Enable the Cloud Controls Partner.`_
|
|
29
30
|
4. `Set up Authentication.`_
|
|
30
31
|
|
|
31
32
|
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
|
|
32
33
|
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
|
|
33
|
-
.. _Enable the Cloud Controls Partner
|
|
34
|
+
.. _Enable the Cloud Controls Partner.: https://cloud.google.com/sovereign-controls-by-partners/
|
|
34
35
|
.. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
|
|
35
36
|
|
|
36
37
|
Installation
|
|
@@ -61,14 +62,15 @@ Supported Python Versions
|
|
|
61
62
|
Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
|
|
62
63
|
Python.
|
|
63
64
|
|
|
64
|
-
Python >= 3.
|
|
65
|
+
Python >= 3.10, including 3.14
|
|
65
66
|
|
|
66
67
|
.. _active: https://devguide.python.org/devcycle/#in-development-main-branch
|
|
67
68
|
.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
|
|
68
69
|
|
|
69
70
|
Unsupported Python Versions
|
|
70
71
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
71
|
-
Python <= 3.
|
|
72
|
+
Python <= 3.9
|
|
73
|
+
|
|
72
74
|
|
|
73
75
|
If you are using an `end-of-life`_
|
|
74
76
|
version of Python, we recommend that you update as soon as possible to an actively supported version.
|
|
@@ -97,14 +99,14 @@ Windows
|
|
|
97
99
|
Next Steps
|
|
98
100
|
~~~~~~~~~~
|
|
99
101
|
|
|
100
|
-
- Read the `Client Library Documentation`_ for Cloud Controls Partner
|
|
102
|
+
- Read the `Client Library Documentation`_ for Cloud Controls Partner
|
|
101
103
|
to see other available methods on the client.
|
|
102
|
-
- Read the `Cloud Controls Partner
|
|
104
|
+
- Read the `Cloud Controls Partner Product documentation`_ to learn
|
|
103
105
|
more about the product and see How-to Guides.
|
|
104
106
|
- View this `README`_ to see the full list of Cloud
|
|
105
107
|
APIs that we cover.
|
|
106
108
|
|
|
107
|
-
.. _Cloud Controls Partner
|
|
109
|
+
.. _Cloud Controls Partner Product documentation: https://cloud.google.com/sovereign-controls-by-partners/
|
|
108
110
|
.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
|
|
109
111
|
|
|
110
112
|
Logging
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
# Copyright
|
|
2
|
+
# Copyright 2026 Google LLC
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -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.
|
|
16
|
+
__version__ = "0.6.0" # {x-release-please-version}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
# Copyright
|
|
2
|
+
# Copyright 2026 Google LLC
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -21,12 +21,7 @@ from google.cloud.cloudcontrolspartner_v1 import gapic_version as package_versio
|
|
|
21
21
|
|
|
22
22
|
__version__ = package_version.__version__
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
from importlib import metadata
|
|
26
|
-
else: # pragma: NO COVER
|
|
27
|
-
# TODO(https://github.com/googleapis/python-api-core/issues/835): Remove
|
|
28
|
-
# this code path once we drop support for Python 3.7
|
|
29
|
-
import importlib_metadata as metadata
|
|
24
|
+
from importlib import metadata
|
|
30
25
|
|
|
31
26
|
from .services.cloud_controls_partner_core import (
|
|
32
27
|
CloudControlsPartnerCoreAsyncClient,
|
|
@@ -86,28 +81,17 @@ else: # pragma: NO COVER
|
|
|
86
81
|
# An older version of api_core is installed which does not define the
|
|
87
82
|
# functions above. We do equivalent checks manually.
|
|
88
83
|
try:
|
|
89
|
-
import sys
|
|
90
84
|
import warnings
|
|
91
85
|
|
|
92
86
|
_py_version_str = sys.version.split()[0]
|
|
93
87
|
_package_label = "google.cloud.cloudcontrolspartner_v1"
|
|
94
|
-
if sys.version_info < (3,
|
|
88
|
+
if sys.version_info < (3, 10):
|
|
95
89
|
warnings.warn(
|
|
96
90
|
"You are using a non-supported Python version "
|
|
97
91
|
+ f"({_py_version_str}). Google will not post any further "
|
|
98
92
|
+ f"updates to {_package_label} supporting this Python version. "
|
|
99
93
|
+ "Please upgrade to the latest Python version, or at "
|
|
100
|
-
+ f"least to Python 3.
|
|
101
|
-
FutureWarning,
|
|
102
|
-
)
|
|
103
|
-
if sys.version_info[:2] == (3, 9):
|
|
104
|
-
warnings.warn(
|
|
105
|
-
f"You are using a Python version ({_py_version_str}) "
|
|
106
|
-
+ f"which Google will stop supporting in {_package_label} in "
|
|
107
|
-
+ "January 2026. Please "
|
|
108
|
-
+ "upgrade to the latest Python version, or at "
|
|
109
|
-
+ "least to Python 3.10, before then, and "
|
|
110
|
-
+ f"then update {_package_label}.",
|
|
94
|
+
+ f"least to Python 3.10, and then update {_package_label}.",
|
|
111
95
|
FutureWarning,
|
|
112
96
|
)
|
|
113
97
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
# Copyright
|
|
2
|
+
# Copyright 2026 Google LLC
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -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.
|
|
16
|
+
__version__ = "0.6.0" # {x-release-please-version}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
# Copyright
|
|
2
|
+
# Copyright 2026 Google LLC
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -13,9 +13,10 @@
|
|
|
13
13
|
# See the License for the specific language governing permissions and
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
#
|
|
16
|
-
from collections import OrderedDict
|
|
17
16
|
import logging as std_logging
|
|
18
17
|
import re
|
|
18
|
+
import warnings
|
|
19
|
+
from collections import OrderedDict
|
|
19
20
|
from typing import (
|
|
20
21
|
Callable,
|
|
21
22
|
Dict,
|
|
@@ -28,15 +29,14 @@ from typing import (
|
|
|
28
29
|
Type,
|
|
29
30
|
Union,
|
|
30
31
|
)
|
|
31
|
-
import warnings
|
|
32
32
|
|
|
33
|
+
import google.protobuf
|
|
33
34
|
from google.api_core import exceptions as core_exceptions
|
|
34
35
|
from google.api_core import gapic_v1
|
|
35
36
|
from google.api_core import retry_async as retries
|
|
36
37
|
from google.api_core.client_options import ClientOptions
|
|
37
38
|
from google.auth import credentials as ga_credentials # type: ignore
|
|
38
39
|
from google.oauth2 import service_account # type: ignore
|
|
39
|
-
import google.protobuf
|
|
40
40
|
|
|
41
41
|
from google.cloud.cloudcontrolspartner_v1 import gapic_version as package_version
|
|
42
42
|
|
|
@@ -45,8 +45,8 @@ try:
|
|
|
45
45
|
except AttributeError: # pragma: NO COVER
|
|
46
46
|
OptionalRetry = Union[retries.AsyncRetry, object, None] # type: ignore
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
import google.protobuf.field_mask_pb2 as field_mask_pb2 # type: ignore
|
|
49
|
+
import google.protobuf.timestamp_pb2 as timestamp_pb2 # type: ignore
|
|
50
50
|
|
|
51
51
|
from google.cloud.cloudcontrolspartner_v1.services.cloud_controls_partner_core import (
|
|
52
52
|
pagers,
|
|
@@ -158,7 +158,10 @@ class CloudControlsPartnerCoreAsyncClient:
|
|
|
158
158
|
Returns:
|
|
159
159
|
CloudControlsPartnerCoreAsyncClient: The constructed client.
|
|
160
160
|
"""
|
|
161
|
-
|
|
161
|
+
sa_info_func = (
|
|
162
|
+
CloudControlsPartnerCoreClient.from_service_account_info.__func__ # type: ignore
|
|
163
|
+
)
|
|
164
|
+
return sa_info_func(CloudControlsPartnerCoreAsyncClient, info, *args, **kwargs)
|
|
162
165
|
|
|
163
166
|
@classmethod
|
|
164
167
|
def from_service_account_file(cls, filename: str, *args, **kwargs):
|
|
@@ -174,7 +177,12 @@ class CloudControlsPartnerCoreAsyncClient:
|
|
|
174
177
|
Returns:
|
|
175
178
|
CloudControlsPartnerCoreAsyncClient: The constructed client.
|
|
176
179
|
"""
|
|
177
|
-
|
|
180
|
+
sa_file_func = (
|
|
181
|
+
CloudControlsPartnerCoreClient.from_service_account_file.__func__ # type: ignore
|
|
182
|
+
)
|
|
183
|
+
return sa_file_func(
|
|
184
|
+
CloudControlsPartnerCoreAsyncClient, filename, *args, **kwargs
|
|
185
|
+
)
|
|
178
186
|
|
|
179
187
|
from_service_account_json = from_service_account_file
|
|
180
188
|
|
|
@@ -212,7 +220,9 @@ class CloudControlsPartnerCoreAsyncClient:
|
|
|
212
220
|
Raises:
|
|
213
221
|
google.auth.exceptions.MutualTLSChannelError: If any errors happen.
|
|
214
222
|
"""
|
|
215
|
-
return CloudControlsPartnerCoreClient.get_mtls_endpoint_and_cert_source(
|
|
223
|
+
return CloudControlsPartnerCoreClient.get_mtls_endpoint_and_cert_source(
|
|
224
|
+
client_options
|
|
225
|
+
) # type: ignore
|
|
216
226
|
|
|
217
227
|
@property
|
|
218
228
|
def transport(self) -> CloudControlsPartnerCoreTransport:
|
|
@@ -224,7 +234,7 @@ class CloudControlsPartnerCoreAsyncClient:
|
|
|
224
234
|
return self._client.transport
|
|
225
235
|
|
|
226
236
|
@property
|
|
227
|
-
def api_endpoint(self):
|
|
237
|
+
def api_endpoint(self) -> str:
|
|
228
238
|
"""Return the API endpoint used by the client instance.
|
|
229
239
|
|
|
230
240
|
Returns:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
# Copyright
|
|
2
|
+
# Copyright 2026 Google LLC
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
# See the License for the specific language governing permissions and
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
#
|
|
16
|
-
from collections import OrderedDict
|
|
17
|
-
from http import HTTPStatus
|
|
18
16
|
import json
|
|
19
17
|
import logging as std_logging
|
|
20
18
|
import os
|
|
21
19
|
import re
|
|
20
|
+
import warnings
|
|
21
|
+
from collections import OrderedDict
|
|
22
|
+
from http import HTTPStatus
|
|
22
23
|
from typing import (
|
|
23
24
|
Callable,
|
|
24
25
|
Dict,
|
|
@@ -32,8 +33,8 @@ from typing import (
|
|
|
32
33
|
Union,
|
|
33
34
|
cast,
|
|
34
35
|
)
|
|
35
|
-
import warnings
|
|
36
36
|
|
|
37
|
+
import google.protobuf
|
|
37
38
|
from google.api_core import client_options as client_options_lib
|
|
38
39
|
from google.api_core import exceptions as core_exceptions
|
|
39
40
|
from google.api_core import gapic_v1
|
|
@@ -43,7 +44,6 @@ from google.auth.exceptions import MutualTLSChannelError # type: ignore
|
|
|
43
44
|
from google.auth.transport import mtls # type: ignore
|
|
44
45
|
from google.auth.transport.grpc import SslCredentials # type: ignore
|
|
45
46
|
from google.oauth2 import service_account # type: ignore
|
|
46
|
-
import google.protobuf
|
|
47
47
|
|
|
48
48
|
from google.cloud.cloudcontrolspartner_v1 import gapic_version as package_version
|
|
49
49
|
|
|
@@ -61,8 +61,8 @@ except ImportError: # pragma: NO COVER
|
|
|
61
61
|
|
|
62
62
|
_LOGGER = std_logging.getLogger(__name__)
|
|
63
63
|
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
import google.protobuf.field_mask_pb2 as field_mask_pb2 # type: ignore
|
|
65
|
+
import google.protobuf.timestamp_pb2 as timestamp_pb2 # type: ignore
|
|
66
66
|
|
|
67
67
|
from google.cloud.cloudcontrolspartner_v1.services.cloud_controls_partner_core import (
|
|
68
68
|
pagers,
|
|
@@ -90,9 +90,7 @@ class CloudControlsPartnerCoreClientMeta(type):
|
|
|
90
90
|
objects.
|
|
91
91
|
"""
|
|
92
92
|
|
|
93
|
-
_transport_registry = (
|
|
94
|
-
OrderedDict()
|
|
95
|
-
) # type: Dict[str, Type[CloudControlsPartnerCoreTransport]]
|
|
93
|
+
_transport_registry = OrderedDict() # type: Dict[str, Type[CloudControlsPartnerCoreTransport]]
|
|
96
94
|
_transport_registry["grpc"] = CloudControlsPartnerCoreGrpcTransport
|
|
97
95
|
_transport_registry["grpc_asyncio"] = CloudControlsPartnerCoreGrpcAsyncIOTransport
|
|
98
96
|
_transport_registry["rest"] = CloudControlsPartnerCoreRestTransport
|
|
@@ -123,7 +121,7 @@ class CloudControlsPartnerCoreClient(metaclass=CloudControlsPartnerCoreClientMet
|
|
|
123
121
|
"""Service describing handlers for resources"""
|
|
124
122
|
|
|
125
123
|
@staticmethod
|
|
126
|
-
def _get_default_mtls_endpoint(api_endpoint):
|
|
124
|
+
def _get_default_mtls_endpoint(api_endpoint) -> Optional[str]:
|
|
127
125
|
"""Converts api endpoint to mTLS endpoint.
|
|
128
126
|
|
|
129
127
|
Convert "*.sandbox.googleapis.com" and "*.googleapis.com" to
|
|
@@ -131,7 +129,7 @@ class CloudControlsPartnerCoreClient(metaclass=CloudControlsPartnerCoreClientMet
|
|
|
131
129
|
Args:
|
|
132
130
|
api_endpoint (Optional[str]): the api endpoint to convert.
|
|
133
131
|
Returns:
|
|
134
|
-
str: converted mTLS api endpoint.
|
|
132
|
+
Optional[str]: converted mTLS api endpoint.
|
|
135
133
|
"""
|
|
136
134
|
if not api_endpoint:
|
|
137
135
|
return api_endpoint
|
|
@@ -141,6 +139,10 @@ class CloudControlsPartnerCoreClient(metaclass=CloudControlsPartnerCoreClientMet
|
|
|
141
139
|
)
|
|
142
140
|
|
|
143
141
|
m = mtls_endpoint_re.match(api_endpoint)
|
|
142
|
+
if m is None:
|
|
143
|
+
# Could not parse api_endpoint; return as-is.
|
|
144
|
+
return api_endpoint
|
|
145
|
+
|
|
144
146
|
name, mtls, sandbox, googledomain = m.groups()
|
|
145
147
|
if mtls or not googledomain:
|
|
146
148
|
return api_endpoint
|
|
@@ -566,7 +568,7 @@ class CloudControlsPartnerCoreClient(metaclass=CloudControlsPartnerCoreClientMet
|
|
|
566
568
|
@staticmethod
|
|
567
569
|
def _get_api_endpoint(
|
|
568
570
|
api_override, client_cert_source, universe_domain, use_mtls_endpoint
|
|
569
|
-
):
|
|
571
|
+
) -> str:
|
|
570
572
|
"""Return the API endpoint used by the client.
|
|
571
573
|
|
|
572
574
|
Args:
|
|
@@ -665,7 +667,7 @@ class CloudControlsPartnerCoreClient(metaclass=CloudControlsPartnerCoreClientMet
|
|
|
665
667
|
error._details.append(json.dumps(cred_info))
|
|
666
668
|
|
|
667
669
|
@property
|
|
668
|
-
def api_endpoint(self):
|
|
670
|
+
def api_endpoint(self) -> str:
|
|
669
671
|
"""Return the API endpoint used by the client instance.
|
|
670
672
|
|
|
671
673
|
Returns:
|
|
@@ -756,11 +758,9 @@ class CloudControlsPartnerCoreClient(metaclass=CloudControlsPartnerCoreClientMet
|
|
|
756
758
|
|
|
757
759
|
universe_domain_opt = getattr(self._client_options, "universe_domain", None)
|
|
758
760
|
|
|
759
|
-
(
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
self._universe_domain_env,
|
|
763
|
-
) = CloudControlsPartnerCoreClient._read_environment_variables()
|
|
761
|
+
self._use_client_cert, self._use_mtls_endpoint, self._universe_domain_env = (
|
|
762
|
+
CloudControlsPartnerCoreClient._read_environment_variables()
|
|
763
|
+
)
|
|
764
764
|
self._client_cert_source = (
|
|
765
765
|
CloudControlsPartnerCoreClient._get_client_cert_source(
|
|
766
766
|
self._client_options.client_cert_source, self._use_client_cert
|
|
@@ -769,7 +769,7 @@ class CloudControlsPartnerCoreClient(metaclass=CloudControlsPartnerCoreClientMet
|
|
|
769
769
|
self._universe_domain = CloudControlsPartnerCoreClient._get_universe_domain(
|
|
770
770
|
universe_domain_opt, self._universe_domain_env
|
|
771
771
|
)
|
|
772
|
-
self._api_endpoint =
|
|
772
|
+
self._api_endpoint: str = "" # updated below, depending on `transport`
|
|
773
773
|
|
|
774
774
|
# Initialize the universe domain validation.
|
|
775
775
|
self._is_universe_domain_valid = False
|
|
@@ -797,8 +797,7 @@ class CloudControlsPartnerCoreClient(metaclass=CloudControlsPartnerCoreClientMet
|
|
|
797
797
|
)
|
|
798
798
|
if self._client_options.scopes:
|
|
799
799
|
raise ValueError(
|
|
800
|
-
"When providing a transport instance, provide its scopes "
|
|
801
|
-
"directly."
|
|
800
|
+
"When providing a transport instance, provide its scopes directly."
|
|
802
801
|
)
|
|
803
802
|
self._transport = cast(CloudControlsPartnerCoreTransport, transport)
|
|
804
803
|
self._api_endpoint = self._transport.host
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
# Copyright
|
|
2
|
+
# Copyright 2026 Google LLC
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -71,7 +71,7 @@ class ListWorkloadsPager:
|
|
|
71
71
|
*,
|
|
72
72
|
retry: OptionalRetry = gapic_v1.method.DEFAULT,
|
|
73
73
|
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
|
|
74
|
-
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
|
|
74
|
+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
|
|
75
75
|
):
|
|
76
76
|
"""Instantiate the pager.
|
|
77
77
|
|
|
@@ -147,7 +147,7 @@ class ListWorkloadsAsyncPager:
|
|
|
147
147
|
*,
|
|
148
148
|
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
|
|
149
149
|
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
|
|
150
|
-
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
|
|
150
|
+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
|
|
151
151
|
):
|
|
152
152
|
"""Instantiates the pager.
|
|
153
153
|
|
|
@@ -227,7 +227,7 @@ class ListCustomersPager:
|
|
|
227
227
|
*,
|
|
228
228
|
retry: OptionalRetry = gapic_v1.method.DEFAULT,
|
|
229
229
|
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
|
|
230
|
-
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
|
|
230
|
+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
|
|
231
231
|
):
|
|
232
232
|
"""Instantiate the pager.
|
|
233
233
|
|
|
@@ -303,7 +303,7 @@ class ListCustomersAsyncPager:
|
|
|
303
303
|
*,
|
|
304
304
|
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
|
|
305
305
|
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
|
|
306
|
-
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
|
|
306
|
+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
|
|
307
307
|
):
|
|
308
308
|
"""Instantiates the pager.
|
|
309
309
|
|
|
@@ -385,7 +385,7 @@ class ListAccessApprovalRequestsPager:
|
|
|
385
385
|
*,
|
|
386
386
|
retry: OptionalRetry = gapic_v1.method.DEFAULT,
|
|
387
387
|
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
|
|
388
|
-
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
|
|
388
|
+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
|
|
389
389
|
):
|
|
390
390
|
"""Instantiate the pager.
|
|
391
391
|
|
|
@@ -467,7 +467,7 @@ class ListAccessApprovalRequestsAsyncPager:
|
|
|
467
467
|
*,
|
|
468
468
|
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
|
|
469
469
|
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
|
|
470
|
-
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
|
|
470
|
+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
|
|
471
471
|
):
|
|
472
472
|
"""Instantiates the pager.
|
|
473
473
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
# Copyright
|
|
2
|
+
# Copyright 2026 Google LLC
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -25,9 +25,7 @@ from .rest import (
|
|
|
25
25
|
)
|
|
26
26
|
|
|
27
27
|
# Compile a registry of transports.
|
|
28
|
-
_transport_registry = (
|
|
29
|
-
OrderedDict()
|
|
30
|
-
) # type: Dict[str, Type[CloudControlsPartnerCoreTransport]]
|
|
28
|
+
_transport_registry = OrderedDict() # type: Dict[str, Type[CloudControlsPartnerCoreTransport]]
|
|
31
29
|
_transport_registry["grpc"] = CloudControlsPartnerCoreGrpcTransport
|
|
32
30
|
_transport_registry["grpc_asyncio"] = CloudControlsPartnerCoreGrpcAsyncIOTransport
|
|
33
31
|
_transport_registry["rest"] = CloudControlsPartnerCoreRestTransport
|