Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
feat: Add support for viewing the subnet IPv6 CIDR and services IPv6 …
Browse files Browse the repository at this point in the history
…CIDR assigned to dual stack clusters (#333)

* feat: Add support for viewing the subnet IPv6 CIDR and services IPv6 CIDR assigned to dual stack clusters

PiperOrigin-RevId: 502669678

Source-Link: googleapis/googleapis@1f62a66

Source-Link: googleapis/googleapis-gen@f6f86f6
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjZmODZmNjMzOGU1OTM4OTI0OWRmNWQ0MWE5ZWUzNmZiOTQxZDFhZSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

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] committed Jan 17, 2023
1 parent f350c6f commit 4d0a583
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions google/cloud/container_v1/types/cluster_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -1808,6 +1808,12 @@ class IPAllocationPolicy(proto.Message):
ipv6_access_type (google.cloud.container_v1.types.IPv6AccessType):
The ipv6 access type (internal or external) when
create_subnetwork is true
subnet_ipv6_cidr_block (str):
Output only. [Output only] The subnet's IPv6 CIDR block used
by nodes and pods.
services_ipv6_cidr_block (str):
Output only. [Output only] The services IPv6 CIDR block for
the cluster.
"""

use_ip_aliases: bool = proto.Field(
Expand Down Expand Up @@ -1872,6 +1878,14 @@ class IPAllocationPolicy(proto.Message):
number=17,
enum="IPv6AccessType",
)
subnet_ipv6_cidr_block: str = proto.Field(
proto.STRING,
number=22,
)
services_ipv6_cidr_block: str = proto.Field(
proto.STRING,
number=23,
)


class Cluster(proto.Message):
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.16.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.16.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down

0 comments on commit 4d0a583

Please sign in to comment.