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_policy``.
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):

0 commit comments

Comments
 (0)