Skip to content

Commit

Permalink
feat: [google-cloud-container] add fields desired_in_transit_encrypti…
Browse files Browse the repository at this point in the history
…on_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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jan 22, 2024
1 parent 266cb0c commit c25ed93
Show file tree
Hide file tree
Showing 18 changed files with 68 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
IdentityServiceConfig,
ILBSubsettingConfig,
IntraNodeVisibilityConfig,
InTransitEncryptionConfig,
IPAllocationPolicy,
IPv6AccessType,
Jwk,
Expand Down Expand Up @@ -353,6 +354,7 @@
"WorkloadMetadataConfig",
"WorkloadPolicyConfig",
"DatapathProvider",
"InTransitEncryptionConfig",
"IPv6AccessType",
"NodePoolUpdateStrategy",
"PrivateIPv6GoogleAccess",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.37.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
IdentityServiceConfig,
ILBSubsettingConfig,
IntraNodeVisibilityConfig,
InTransitEncryptionConfig,
IPAllocationPolicy,
IPv6AccessType,
Jwk,
Expand Down Expand Up @@ -253,6 +254,7 @@
"IPAllocationPolicy",
"IPv6AccessType",
"IdentityServiceConfig",
"InTransitEncryptionConfig",
"IntraNodeVisibilityConfig",
"Jwk",
"K8sBetaAPIConfig",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.37.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -2589,8 +2589,6 @@ async def get_json_web_keys(
) -> cluster_service.GetJSONWebKeysResponse:
r"""Gets the public component of the cluster signing keys
in JSON Web Key format.
This API is not yet intended for general use, and is not
available for all clusters.
.. code-block:: python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2756,8 +2756,6 @@ def get_json_web_keys(
) -> cluster_service.GetJSONWebKeysResponse:
r"""Gets the public component of the cluster signing keys
in JSON Web Key format.
This API is not yet intended for general use, and is not
available for all clusters.
.. code-block:: python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -724,8 +724,6 @@ def get_json_web_keys(
Gets the public component of the cluster signing keys
in JSON Web Key format.
This API is not yet intended for general use, and is not
available for all clusters.
Returns:
Callable[[~.GetJSONWebKeysRequest],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -753,8 +753,6 @@ def get_json_web_keys(
Gets the public component of the cluster signing keys
in JSON Web Key format.
This API is not yet intended for general use, and is not
available for all clusters.
Returns:
Callable[[~.GetJSONWebKeysRequest],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
IdentityServiceConfig,
ILBSubsettingConfig,
IntraNodeVisibilityConfig,
InTransitEncryptionConfig,
IPAllocationPolicy,
IPv6AccessType,
Jwk,
Expand Down Expand Up @@ -340,6 +341,7 @@
"WorkloadMetadataConfig",
"WorkloadPolicyConfig",
"DatapathProvider",
"InTransitEncryptionConfig",
"IPv6AccessType",
"NodePoolUpdateStrategy",
"PrivateIPv6GoogleAccess",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"NodePoolUpdateStrategy",
"StackType",
"IPv6AccessType",
"InTransitEncryptionConfig",
"LinuxNodeConfig",
"WindowsNodeConfig",
"NodeKubeletConfig",
Expand Down Expand Up @@ -311,6 +312,24 @@ class IPv6AccessType(proto.Enum):
EXTERNAL = 2


class InTransitEncryptionConfig(proto.Enum):
r"""Options for in-transit encryption.
Values:
IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED (0):
Unspecified, will be inferred as default -
IN_TRANSIT_ENCRYPTION_UNSPECIFIED.
IN_TRANSIT_ENCRYPTION_DISABLED (1):
In-transit encryption is disabled.
IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT (2):
Data in-transit is encrypted using inter-node
transparent encryption.
"""
IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED = 0
IN_TRANSIT_ENCRYPTION_DISABLED = 1
IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT = 2


class LinuxNodeConfig(proto.Message):
r"""Parameters that can be configured on Linux nodes.
Expand Down Expand Up @@ -3407,6 +3426,10 @@ class ClusterUpdate(proto.Message):
to all auto-provisioned node pools in autopilot
clusters and node auto-provisioning enabled
clusters.
desired_in_transit_encryption_config (google.cloud.container_v1.types.InTransitEncryptionConfig):
Specify the details of in-transit encryption.
This field is a member of `oneof`_ ``_desired_in_transit_encryption_config``.
"""

desired_node_version: str = proto.Field(
Expand Down Expand Up @@ -3655,6 +3678,12 @@ class ClusterUpdate(proto.Message):
message="ResourceManagerTags",
)
)
desired_in_transit_encryption_config: "InTransitEncryptionConfig" = proto.Field(
proto.ENUM,
number=137,
optional=True,
enum="InTransitEncryptionConfig",
)


class AdditionalPodRangesConfig(proto.Message):
Expand Down Expand Up @@ -7482,6 +7511,10 @@ class NetworkConfig(proto.Message):
this cluster.
This field is a member of `oneof`_ ``_enable_fqdn_network_policy``.
in_transit_encryption_config (google.cloud.container_v1.types.InTransitEncryptionConfig):
Specify the details of in-transit encryption.
This field is a member of `oneof`_ ``_in_transit_encryption_config``.
"""

class ClusterNetworkPerformanceConfig(proto.Message):
Expand Down Expand Up @@ -7577,6 +7610,12 @@ class Tier(proto.Enum):
number=19,
optional=True,
)
in_transit_encryption_config: "InTransitEncryptionConfig" = proto.Field(
proto.ENUM,
number=20,
optional=True,
enum="InTransitEncryptionConfig",
)


class GatewayAPIConfig(proto.Message):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "2.37.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -2505,8 +2505,6 @@ async def get_json_web_keys(
) -> cluster_service.GetJSONWebKeysResponse:
r"""Gets the public component of the cluster signing keys
in JSON Web Key format.
This API is not yet intended for general use, and is not
available for all clusters.
.. code-block:: python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2672,8 +2672,6 @@ def get_json_web_keys(
) -> cluster_service.GetJSONWebKeysResponse:
r"""Gets the public component of the cluster signing keys
in JSON Web Key format.
This API is not yet intended for general use, and is not
available for all clusters.
.. code-block:: python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -724,8 +724,6 @@ def get_json_web_keys(
Gets the public component of the cluster signing keys
in JSON Web Key format.
This API is not yet intended for general use, and is not
available for all clusters.
Returns:
Callable[[~.GetJSONWebKeysRequest],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -753,8 +753,6 @@ def get_json_web_keys(
Gets the public component of the cluster signing keys
in JSON Web Key format.
This API is not yet intended for general use, and is not
available for all clusters.
Returns:
Callable[[~.GetJSONWebKeysRequest],
Expand Down
18 changes: 18 additions & 0 deletions packages/google-cloud-container/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,15 @@ def docs(session):

session.install("-e", ".")
session.install(
# We need to pin to specific versions of the `sphinxcontrib-*` packages
# which still support sphinx 4.x.
# See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
# and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
"sphinxcontrib-applehelp==1.0.4",
"sphinxcontrib-devhelp==1.0.2",
"sphinxcontrib-htmlhelp==2.0.1",
"sphinxcontrib-qthelp==1.0.3",
"sphinxcontrib-serializinghtml==1.1.5",
"sphinx==4.5.0",
"alabaster",
"recommonmark",
Expand All @@ -308,6 +317,15 @@ def docfx(session):

session.install("-e", ".")
session.install(
# We need to pin to specific versions of the `sphinxcontrib-*` packages
# which still support sphinx 4.x.
# See https://github.com/googleapis/sphinx-docfx-yaml/issues/344
# and https://github.com/googleapis/sphinx-docfx-yaml/issues/345.
"sphinxcontrib-applehelp==1.0.4",
"sphinxcontrib-devhelp==1.0.2",
"sphinxcontrib-htmlhelp==2.0.1",
"sphinxcontrib-qthelp==1.0.3",
"sphinxcontrib-serializinghtml==1.1.5",
"gcp-sphinx-docfx-yaml",
"alabaster",
"recommonmark",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-container",
"version": "2.37.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-container",
"version": "2.37.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down

0 comments on commit c25ed93

Please sign in to comment.