google-cloud-container 2.47.0__tar.gz → 2.48.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 (55) hide show
  1. {google-cloud-container-2.47.0/google_cloud_container.egg-info → google-cloud-container-2.48.0}/PKG-INFO +3 -3
  2. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/README.rst +1 -1
  3. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container/gapic_version.py +1 -1
  4. {google-cloud-container-2.47.0/google/cloud/container_v1beta1 → google-cloud-container-2.48.0/google/cloud/container_v1}/gapic_version.py +1 -1
  5. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1/services/cluster_manager/transports/base.py +3 -1
  6. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1/services/cluster_manager/transports/grpc.py +2 -1
  7. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1/services/cluster_manager/transports/grpc_asyncio.py +2 -1
  8. {google-cloud-container-2.47.0/google/cloud/container_v1 → google-cloud-container-2.48.0/google/cloud/container_v1beta1}/gapic_version.py +1 -1
  9. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/base.py +3 -1
  10. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/grpc.py +2 -1
  11. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/grpc_asyncio.py +2 -1
  12. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1beta1/types/cluster_service.py +5 -2
  13. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0/google_cloud_container.egg-info}/PKG-INFO +3 -3
  14. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google_cloud_container.egg-info/requires.txt +1 -1
  15. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/setup.py +1 -1
  16. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/tests/unit/gapic/container_v1/test_cluster_manager.py +34 -204
  17. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/tests/unit/gapic/container_v1beta1/test_cluster_manager.py +35 -210
  18. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/LICENSE +0 -0
  19. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/MANIFEST.in +0 -0
  20. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container/__init__.py +0 -0
  21. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container/py.typed +0 -0
  22. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1/__init__.py +0 -0
  23. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1/gapic_metadata.json +0 -0
  24. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1/py.typed +0 -0
  25. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1/services/__init__.py +0 -0
  26. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1/services/cluster_manager/__init__.py +0 -0
  27. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1/services/cluster_manager/async_client.py +0 -0
  28. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1/services/cluster_manager/client.py +0 -0
  29. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1/services/cluster_manager/pagers.py +0 -0
  30. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1/services/cluster_manager/transports/__init__.py +0 -0
  31. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1/services/cluster_manager/transports/rest.py +0 -0
  32. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1/types/__init__.py +0 -0
  33. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1/types/cluster_service.py +0 -0
  34. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1beta1/__init__.py +0 -0
  35. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1beta1/gapic_metadata.json +0 -0
  36. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1beta1/py.typed +0 -0
  37. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1beta1/services/__init__.py +0 -0
  38. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1beta1/services/cluster_manager/__init__.py +0 -0
  39. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1beta1/services/cluster_manager/async_client.py +0 -0
  40. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1beta1/services/cluster_manager/client.py +0 -0
  41. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1beta1/services/cluster_manager/pagers.py +0 -0
  42. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/__init__.py +0 -0
  43. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google/cloud/container_v1beta1/types/__init__.py +0 -0
  44. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google_cloud_container.egg-info/SOURCES.txt +0 -0
  45. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google_cloud_container.egg-info/dependency_links.txt +0 -0
  46. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google_cloud_container.egg-info/not-zip-safe +0 -0
  47. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/google_cloud_container.egg-info/top_level.txt +0 -0
  48. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/setup.cfg +0 -0
  49. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/tests/__init__.py +0 -0
  50. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/tests/system/__init__.py +0 -0
  51. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/tests/system/smoke_test.py +0 -0
  52. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/tests/unit/__init__.py +0 -0
  53. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/tests/unit/gapic/__init__.py +0 -0
  54. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/tests/unit/gapic/container_v1/__init__.py +0 -0
  55. {google-cloud-container-2.47.0 → google-cloud-container-2.48.0}/tests/unit/gapic/container_v1beta1/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-cloud-container
3
- Version: 2.47.0
3
+ Version: 2.48.0
4
4
  Summary: Google Cloud Container API client library
5
5
  Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-container
6
6
  Author: Google LLC
@@ -25,7 +25,7 @@ License-File: LICENSE
25
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.1
26
26
  Requires-Dist: google-auth!=2.24.0,!=2.25.0,<3.0.0dev,>=2.14.1
27
27
  Requires-Dist: proto-plus<2.0.0dev,>=1.22.3
28
- 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: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<6.0.0dev,>=3.20.2
29
29
 
30
30
  Python Client for Kubernetes Engine
31
31
  ===================================
@@ -44,7 +44,7 @@ Python Client for Kubernetes Engine
44
44
  .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-container.svg
45
45
  :target: https://pypi.org/project/google-cloud-container/
46
46
  .. _Kubernetes Engine: https://cloud.google.com/kubernetes-engine/
47
- .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/container/latest
47
+ .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/container/latest/summary_overview
48
48
  .. _Product Documentation: https://cloud.google.com/kubernetes-engine/
49
49
 
50
50
  Quick Start
@@ -15,7 +15,7 @@ Python Client for Kubernetes Engine
15
15
  .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-container.svg
16
16
  :target: https://pypi.org/project/google-cloud-container/
17
17
  .. _Kubernetes Engine: https://cloud.google.com/kubernetes-engine/
18
- .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/container/latest
18
+ .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/container/latest/summary_overview
19
19
  .. _Product Documentation: https://cloud.google.com/kubernetes-engine/
20
20
 
21
21
  Quick Start
@@ -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__ = "2.47.0" # {x-release-please-version}
16
+ __version__ = "2.48.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__ = "2.47.0" # {x-release-please-version}
16
+ __version__ = "2.48.0" # {x-release-please-version}
@@ -82,6 +82,8 @@ class ClusterManagerTransport(abc.ABC):
82
82
 
83
83
  # Save the scopes.
84
84
  self._scopes = scopes
85
+ if not hasattr(self, "_ignore_credentials"):
86
+ self._ignore_credentials: bool = False
85
87
 
86
88
  # If no credentials are provided, then determine the appropriate
87
89
  # defaults.
@@ -94,7 +96,7 @@ class ClusterManagerTransport(abc.ABC):
94
96
  credentials, _ = google.auth.load_credentials_from_file(
95
97
  credentials_file, **scopes_kwargs, quota_project_id=quota_project_id
96
98
  )
97
- elif credentials is None:
99
+ elif credentials is None and not self._ignore_credentials:
98
100
  credentials, _ = google.auth.default(
99
101
  **scopes_kwargs, quota_project_id=quota_project_id
100
102
  )
@@ -122,7 +122,8 @@ class ClusterManagerGrpcTransport(ClusterManagerTransport):
122
122
 
123
123
  if isinstance(channel, grpc.Channel):
124
124
  # Ignore credentials if a channel was passed.
125
- credentials = False
125
+ credentials = None
126
+ self._ignore_credentials = True
126
127
  # If a channel was explicitly provided, set it.
127
128
  self._grpc_channel = channel
128
129
  self._ssl_channel_credentials = None
@@ -169,7 +169,8 @@ class ClusterManagerGrpcAsyncIOTransport(ClusterManagerTransport):
169
169
 
170
170
  if isinstance(channel, aio.Channel):
171
171
  # Ignore credentials if a channel was passed.
172
- credentials = False
172
+ credentials = None
173
+ self._ignore_credentials = True
173
174
  # If a channel was explicitly provided, set it.
174
175
  self._grpc_channel = channel
175
176
  self._ssl_channel_credentials = None
@@ -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__ = "2.47.0" # {x-release-please-version}
16
+ __version__ = "2.48.0" # {x-release-please-version}
@@ -82,6 +82,8 @@ class ClusterManagerTransport(abc.ABC):
82
82
 
83
83
  # Save the scopes.
84
84
  self._scopes = scopes
85
+ if not hasattr(self, "_ignore_credentials"):
86
+ self._ignore_credentials: bool = False
85
87
 
86
88
  # If no credentials are provided, then determine the appropriate
87
89
  # defaults.
@@ -94,7 +96,7 @@ class ClusterManagerTransport(abc.ABC):
94
96
  credentials, _ = google.auth.load_credentials_from_file(
95
97
  credentials_file, **scopes_kwargs, quota_project_id=quota_project_id
96
98
  )
97
- elif credentials is None:
99
+ elif credentials is None and not self._ignore_credentials:
98
100
  credentials, _ = google.auth.default(
99
101
  **scopes_kwargs, quota_project_id=quota_project_id
100
102
  )
@@ -122,7 +122,8 @@ class ClusterManagerGrpcTransport(ClusterManagerTransport):
122
122
 
123
123
  if isinstance(channel, grpc.Channel):
124
124
  # Ignore credentials if a channel was passed.
125
- credentials = False
125
+ credentials = None
126
+ self._ignore_credentials = True
126
127
  # If a channel was explicitly provided, set it.
127
128
  self._grpc_channel = channel
128
129
  self._ssl_channel_credentials = None
@@ -169,7 +169,8 @@ class ClusterManagerGrpcAsyncIOTransport(ClusterManagerTransport):
169
169
 
170
170
  if isinstance(channel, aio.Channel):
171
171
  # Ignore credentials if a channel was passed.
172
- credentials = False
172
+ credentials = None
173
+ self._ignore_credentials = True
173
174
  # If a channel was explicitly provided, set it.
174
175
  self._grpc_channel = channel
175
176
  self._ssl_channel_credentials = None
@@ -9075,8 +9075,8 @@ class GatewayAPIConfig(proto.Message):
9075
9075
  CHANNEL_DISABLED (1):
9076
9076
  Gateway API support is disabled
9077
9077
  CHANNEL_EXPERIMENTAL (3):
9078
- Gateway API support is enabled, experimental
9079
- CRDs are installed
9078
+ Deprecated: use CHANNEL_STANDARD instead. Gateway API
9079
+ support is enabled, experimental CRDs are installed
9080
9080
  CHANNEL_STANDARD (4):
9081
9081
  Gateway API support is enabled, standard CRDs
9082
9082
  are installed
@@ -10779,6 +10779,8 @@ class MonitoringComponentConfig(proto.Message):
10779
10779
  CADVISOR
10780
10780
  KUBELET (14):
10781
10781
  KUBELET
10782
+ DCGM (15):
10783
+ NVIDIA Data Center GPU Manager (DCGM)
10782
10784
  """
10783
10785
  COMPONENT_UNSPECIFIED = 0
10784
10786
  SYSTEM_COMPONENTS = 1
@@ -10794,6 +10796,7 @@ class MonitoringComponentConfig(proto.Message):
10794
10796
  STATEFULSET = 12
10795
10797
  CADVISOR = 13
10796
10798
  KUBELET = 14
10799
+ DCGM = 15
10797
10800
 
10798
10801
  enable_components: MutableSequence[Component] = proto.RepeatedField(
10799
10802
  proto.ENUM,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-cloud-container
3
- Version: 2.47.0
3
+ Version: 2.48.0
4
4
  Summary: Google Cloud Container API client library
5
5
  Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-container
6
6
  Author: Google LLC
@@ -25,7 +25,7 @@ License-File: LICENSE
25
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.1
26
26
  Requires-Dist: google-auth!=2.24.0,!=2.25.0,<3.0.0dev,>=2.14.1
27
27
  Requires-Dist: proto-plus<2.0.0dev,>=1.22.3
28
- 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: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<6.0.0dev,>=3.20.2
29
29
 
30
30
  Python Client for Kubernetes Engine
31
31
  ===================================
@@ -44,7 +44,7 @@ Python Client for Kubernetes Engine
44
44
  .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-container.svg
45
45
  :target: https://pypi.org/project/google-cloud-container/
46
46
  .. _Kubernetes Engine: https://cloud.google.com/kubernetes-engine/
47
- .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/container/latest
47
+ .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/container/latest/summary_overview
48
48
  .. _Product Documentation: https://cloud.google.com/kubernetes-engine/
49
49
 
50
50
  Quick Start
@@ -1,4 +1,4 @@
1
1
  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.1
2
2
  google-auth!=2.24.0,!=2.25.0,<3.0.0dev,>=2.14.1
3
3
  proto-plus<2.0.0dev,>=1.22.3
4
- 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
4
+ protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<6.0.0dev,>=3.20.2
@@ -44,7 +44,7 @@ dependencies = [
44
44
  # See https://github.com/googleapis/google-cloud-python/issues/12364
45
45
  "google-auth >= 2.14.1, <3.0.0dev,!=2.24.0,!=2.25.0",
46
46
  "proto-plus >= 1.22.3, <2.0.0dev",
47
- "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
+ "protobuf>=3.20.2,<6.0.0dev,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
48
48
  ]
49
49
  url = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-container"
50
50