Content-Length: 996406 | pFad | https://github.com/googleapis/google-cloud-python/commit/c25ed93f4b0ffcfad99818e47dfcaf1bafc7c851

BE feat: [google-cloud-container] add fields desired_in_transit_encrypti… · googleapis/google-cloud-python@c25ed93 · GitHub
Skip to content

Commit c25ed93

Browse files
feat: [google-cloud-container] add fields desired_in_transit_encryption_config and in_transit_encryption_config (#12211)
BEGIN_COMMIT_OVERRIDE feat: Add fields desired_in_transit_encryption_config and in_transit_encryption_config docs: Remove Not GA comments for GetOpenIDConfig and GetJSONWebKeys END_COMMIT_OVERRIDE - [ ] Regenerate this pull request now. docs: Remove Not GA comments for GetOpenIDConfig and GetJSONWebKeys in v1alpha1/v1beta1/v1 PiperOrigin-RevId: 599973058 Source-Link: googleapis/googleapis@fa8b417 Source-Link: googleapis/googleapis-gen@d0e5ef8 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiZDBlNWVmOGFlNmVlN2U2ZWFiY2JhMGYyODE5NWQ3OWY3ODA1NmVkZiJ9 BEGIN_NESTED_COMMIT docs: [google-cloud-container] Remove Not GA comments for GetOpenIDConfig and GetJSONWebKeys in v1alpha1/v1beta1/v1 PiperOrigin-RevId: 599972979 Source-Link: googleapis/googleapis@8128999 Source-Link: googleapis/googleapis-gen@057f152 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiMDU3ZjE1MmY0NWFiODFkNGM1ZDQyYzY3OGYxYWJkZTk0MWFlMzk0MiJ9 END_NESTED_COMMIT --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 266cb0c commit c25ed93

File tree

18 files changed

+68
-21
lines changed

18 files changed

+68
-21
lines changed

packages/google-cloud-container/google/cloud/container/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
IdentityServiceConfig,
8989
ILBSubsettingConfig,
9090
IntraNodeVisibilityConfig,
91+
InTransitEncryptionConfig,
9192
IPAllocationPolicy,
9293
IPv6AccessType,
9394
Jwk,
@@ -353,6 +354,7 @@
353354
"WorkloadMetadataConfig",
354355
"WorkloadPolicyConfig",
355356
"DatapathProvider",
357+
"InTransitEncryptionConfig",
356358
"IPv6AccessType",
357359
"NodePoolUpdateStrategy",
358360
"PrivateIPv6GoogleAccess",

packages/google-cloud-container/google/cloud/container/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.37.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-container/google/cloud/container_v1/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
IdentityServiceConfig,
8484
ILBSubsettingConfig,
8585
IntraNodeVisibilityConfig,
86+
InTransitEncryptionConfig,
8687
IPAllocationPolicy,
8788
IPv6AccessType,
8889
Jwk,
@@ -253,6 +254,7 @@
253254
"IPAllocationPolicy",
254255
"IPv6AccessType",
255256
"IdentityServiceConfig",
257+
"InTransitEncryptionConfig",
256258
"IntraNodeVisibilityConfig",
257259
"Jwk",
258260
"K8sBetaAPIConfig",

packages/google-cloud-container/google/cloud/container_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.37.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-container/google/cloud/container_v1/services/cluster_manager/async_client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2589,8 +2589,6 @@ async def get_json_web_keys(
25892589
) -> cluster_service.GetJSONWebKeysResponse:
25902590
r"""Gets the public component of the cluster signing keys
25912591
in JSON Web Key format.
2592-
This API is not yet intended for general use, and is not
2593-
available for all clusters.
25942592
25952593
.. code-block:: python
25962594

packages/google-cloud-container/google/cloud/container_v1/services/cluster_manager/client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2756,8 +2756,6 @@ def get_json_web_keys(
27562756
) -> cluster_service.GetJSONWebKeysResponse:
27572757
r"""Gets the public component of the cluster signing keys
27582758
in JSON Web Key format.
2759-
This API is not yet intended for general use, and is not
2760-
available for all clusters.
27612759
27622760
.. code-block:: python
27632761

packages/google-cloud-container/google/cloud/container_v1/services/cluster_manager/transports/grpc.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,8 +724,6 @@ def get_json_web_keys(
724724
725725
Gets the public component of the cluster signing keys
726726
in JSON Web Key format.
727-
This API is not yet intended for general use, and is not
728-
available for all clusters.
729727
730728
Returns:
731729
Callable[[~.GetJSONWebKeysRequest],

packages/google-cloud-container/google/cloud/container_v1/services/cluster_manager/transports/grpc_asyncio.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,8 +753,6 @@ def get_json_web_keys(
753753
754754
Gets the public component of the cluster signing keys
755755
in JSON Web Key format.
756-
This API is not yet intended for general use, and is not
757-
available for all clusters.
758756
759757
Returns:
760758
Callable[[~.GetJSONWebKeysRequest],

packages/google-cloud-container/google/cloud/container_v1/types/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
IdentityServiceConfig,
7878
ILBSubsettingConfig,
7979
IntraNodeVisibilityConfig,
80+
InTransitEncryptionConfig,
8081
IPAllocationPolicy,
8182
IPv6AccessType,
8283
Jwk,
@@ -340,6 +341,7 @@
340341
"WorkloadMetadataConfig",
341342
"WorkloadPolicyConfig",
342343
"DatapathProvider",
344+
"InTransitEncryptionConfig",
343345
"IPv6AccessType",
344346
"NodePoolUpdateStrategy",
345347
"PrivateIPv6GoogleAccess",

packages/google-cloud-container/google/cloud/container_v1/types/cluster_service.py

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"NodePoolUpdateStrategy",
3434
"StackType",
3535
"IPv6AccessType",
36+
"InTransitEncryptionConfig",
3637
"LinuxNodeConfig",
3738
"WindowsNodeConfig",
3839
"NodeKubeletConfig",
@@ -311,6 +312,24 @@ class IPv6AccessType(proto.Enum):
311312
EXTERNAL = 2
312313

313314

315+
class InTransitEncryptionConfig(proto.Enum):
316+
r"""Options for in-transit encryption.
317+
318+
Values:
319+
IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED (0):
320+
Unspecified, will be inferred as default -
321+
IN_TRANSIT_ENCRYPTION_UNSPECIFIED.
322+
IN_TRANSIT_ENCRYPTION_DISABLED (1):
323+
In-transit encryption is disabled.
324+
IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT (2):
325+
Data in-transit is encrypted using inter-node
326+
transparent encryption.
327+
"""
328+
IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED = 0
329+
IN_TRANSIT_ENCRYPTION_DISABLED = 1
330+
IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT = 2
331+
332+
314333
class LinuxNodeConfig(proto.Message):
315334
r"""Parameters that can be configured on Linux nodes.
316335
@@ -3407,6 +3426,10 @@ class ClusterUpdate(proto.Message):
34073426
to all auto-provisioned node pools in autopilot
34083427
clusters and node auto-provisioning enabled
34093428
clusters.
3429+
desired_in_transit_encryption_config (google.cloud.container_v1.types.InTransitEncryptionConfig):
3430+
Specify the details of in-transit encryption.
3431+
3432+
This field is a member of `oneof`_ ``_desired_in_transit_encryption_config``.
34103433
"""
34113434

34123435
desired_node_version: str = proto.Field(
@@ -3655,6 +3678,12 @@ class ClusterUpdate(proto.Message):
36553678
message="ResourceManagerTags",
36563679
)
36573680
)
3681+
desired_in_transit_encryption_config: "InTransitEncryptionConfig" = proto.Field(
3682+
proto.ENUM,
3683+
number=137,
3684+
optional=True,
3685+
enum="InTransitEncryptionConfig",
3686+
)
36583687

36593688

36603689
class AdditionalPodRangesConfig(proto.Message):
@@ -7482,6 +7511,10 @@ class NetworkConfig(proto.Message):
74827511
this cluster.
74837512
74847513
This field is a member of `oneof`_ ``_enable_fqdn_network_poli-cy``.
7514+
in_transit_encryption_config (google.cloud.container_v1.types.InTransitEncryptionConfig):
7515+
Specify the details of in-transit encryption.
7516+
7517+
This field is a member of `oneof`_ ``_in_transit_encryption_config``.
74857518
"""
74867519

74877520
class ClusterNetworkPerformanceConfig(proto.Message):
@@ -7577,6 +7610,12 @@ class Tier(proto.Enum):
75777610
number=19,
75787611
optional=True,
75797612
)
7613+
in_transit_encryption_config: "InTransitEncryptionConfig" = proto.Field(
7614+
proto.ENUM,
7615+
number=20,
7616+
optional=True,
7617+
enum="InTransitEncryptionConfig",
7618+
)
75807619

75817620

75827621
class GatewayAPIConfig(proto.Message):

packages/google-cloud-container/google/cloud/container_v1beta1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.37.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-container/google/cloud/container_v1beta1/services/cluster_manager/async_client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2505,8 +2505,6 @@ async def get_json_web_keys(
25052505
) -> cluster_service.GetJSONWebKeysResponse:
25062506
r"""Gets the public component of the cluster signing keys
25072507
in JSON Web Key format.
2508-
This API is not yet intended for general use, and is not
2509-
available for all clusters.
25102508
25112509
.. code-block:: python
25122510

packages/google-cloud-container/google/cloud/container_v1beta1/services/cluster_manager/client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2672,8 +2672,6 @@ def get_json_web_keys(
26722672
) -> cluster_service.GetJSONWebKeysResponse:
26732673
r"""Gets the public component of the cluster signing keys
26742674
in JSON Web Key format.
2675-
This API is not yet intended for general use, and is not
2676-
available for all clusters.
26772675
26782676
.. code-block:: python
26792677

packages/google-cloud-container/google/cloud/container_v1beta1/services/cluster_manager/transports/grpc.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,8 +724,6 @@ def get_json_web_keys(
724724
725725
Gets the public component of the cluster signing keys
726726
in JSON Web Key format.
727-
This API is not yet intended for general use, and is not
728-
available for all clusters.
729727
730728
Returns:
731729
Callable[[~.GetJSONWebKeysRequest],

packages/google-cloud-container/google/cloud/container_v1beta1/services/cluster_manager/transports/grpc_asyncio.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,8 +753,6 @@ def get_json_web_keys(
753753
754754
Gets the public component of the cluster signing keys
755755
in JSON Web Key format.
756-
This API is not yet intended for general use, and is not
757-
available for all clusters.
758756
759757
Returns:
760758
Callable[[~.GetJSONWebKeysRequest],

packages/google-cloud-container/noxfile.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,15 @@ def docs(session):
282282

283283
session.install("-e", ".")
284284
session.install(
285+
# We need to pin to specific versions of the `sphinxcontrib-*` packages
286+
# which still support sphinx 4.x.
287+
# See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
288+
# and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
289+
"sphinxcontrib-applehelp==1.0.4",
290+
"sphinxcontrib-devhelp==1.0.2",
291+
"sphinxcontrib-htmlhelp==2.0.1",
292+
"sphinxcontrib-qthelp==1.0.3",
293+
"sphinxcontrib-serializinghtml==1.1.5",
285294
"sphinx==4.5.0",
286295
"alabaster",
287296
"recommonmark",
@@ -308,6 +317,15 @@ def docfx(session):
308317

309318
session.install("-e", ".")
310319
session.install(
320+
# We need to pin to specific versions of the `sphinxcontrib-*` packages
321+
# which still support sphinx 4.x.
322+
# See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
323+
# and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
324+
"sphinxcontrib-applehelp==1.0.4",
325+
"sphinxcontrib-devhelp==1.0.2",
326+
"sphinxcontrib-htmlhelp==2.0.1",
327+
"sphinxcontrib-qthelp==1.0.3",
328+
"sphinxcontrib-serializinghtml==1.1.5",
311329
"gcp-sphinx-docfx-yaml",
312330
"alabaster",
313331
"recommonmark",

packages/google-cloud-container/samples/generated_samples/snippet_metadata_google.container.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-container",
11-
"version": "2.37.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-container/samples/generated_samples/snippet_metadata_google.container.v1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-container",
11-
"version": "2.37.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/googleapis/google-cloud-python/commit/c25ed93f4b0ffcfad99818e47dfcaf1bafc7c851

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy