Skip to content

Commit 4d0a583

Browse files
feat: Add support for viewing the subnet IPv6 CIDR and services IPv6 CIDR assigned to dual stack clusters (googleapis#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: https://github.com/googleapis/googleapis-gen/commit/f6f86f6338e59389249df5d41a9ee36fb941d1ae 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>
1 parent f350c6f commit 4d0a583

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

google/cloud/container_v1/types/cluster_service.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,6 +1808,12 @@ class IPAllocationPolicy(proto.Message):
18081808
ipv6_access_type (google.cloud.container_v1.types.IPv6AccessType):
18091809
The ipv6 access type (internal or external) when
18101810
create_subnetwork is true
1811+
subnet_ipv6_cidr_block (str):
1812+
Output only. [Output only] The subnet's IPv6 CIDR block used
1813+
by nodes and pods.
1814+
services_ipv6_cidr_block (str):
1815+
Output only. [Output only] The services IPv6 CIDR block for
1816+
the cluster.
18111817
"""
18121818

18131819
use_ip_aliases: bool = proto.Field(
@@ -1872,6 +1878,14 @@ class IPAllocationPolicy(proto.Message):
18721878
number=17,
18731879
enum="IPv6AccessType",
18741880
)
1881+
subnet_ipv6_cidr_block: str = proto.Field(
1882+
proto.STRING,
1883+
number=22,
1884+
)
1885+
services_ipv6_cidr_block: str = proto.Field(
1886+
proto.STRING,
1887+
number=23,
1888+
)
18751889

18761890

18771891
class Cluster(proto.Message):

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.16.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

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.16.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)