Skip to content

Commit

Permalink
feat: [container] Add support for specifying stack type for clusters.…
Browse files Browse the repository at this point in the history
… This will allow clusters to be created as dual stack or toggled between IPV4 and dual stack (#8917)

- [ ] Regenerate this pull request now.

Clients can now configure dual stack clusters by specifying a stack type of IPV4_IPV6 during cluster creation, or with an update command. When used with a cluster creation command that creates a new subnet, the ipv6_access_type field can be used to specify whether the subnet has internal or external IPv6 access. When used with a cluster update command, the subnet must already be dual stack.

PiperOrigin-RevId: 495981345

Source-Link: https://togithub.com/googleapis/googleapis/commit/9d1290ea4d6d14434b9321277edfde4a9616695c

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/31ed74bbd1990351a87bda1a4570ba08374281b7
Copy-Tag: eyJwIjoiamF2YS1jb250YWluZXIvLk93bEJvdC55YW1sIiwiaCI6IjMxZWQ3NGJiZDE5OTAzNTFhODdiZGExYTQ1NzBiYTA4Mzc0MjgxYjcifQ==

BEGIN_NESTED_COMMIT
feat: [container] Add support for specifying stack type for clusters. This will allow clusters to be created as dual stack or toggled between IPV4 and dual stack
Clients can now configure dual stack clusters by specifying a stack type of IPV4_IPV6 during cluster creation, or with an update command. When used with a cluster creation command that creates a new subnet, the ipv6_access_type field can be used to specify whether the subnet has internal or external IPv6 access. When used with a cluster update command, the subnet must already be dual stack.

PiperOrigin-RevId: 495438580

Source-Link: https://togithub.com/googleapis/googleapis/commit/483c1eec5c4acf25bb9f7095d092d53770fb6ccb

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/20bdefcf6cff3cea34a69f7f8f57112aaa602c57
Copy-Tag: eyJwIjoiamF2YS1jb250YWluZXIvLk93bEJvdC55YW1sIiwiaCI6IjIwYmRlZmNmNmNmZjNjZWEzNGE2OWY3ZjhmNTcxMTJhYWE2MDJjNTcifQ==
END_NESTED_COMMIT
  • Loading branch information
gcf-owl-bot[bot] authored Dec 20, 2022
1 parent 0d027d0 commit 033567f
Show file tree
Hide file tree
Showing 148 changed files with 3,818 additions and 3,227 deletions.
6 changes: 3 additions & 3 deletions java-container/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-container</artifactId>
<version>2.9.0</version>
<version>2.10.0</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-container:2.9.0'
implementation 'com.google.cloud:google-cloud-container:2.10.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-container" % "2.9.0"
libraryDependencies += "com.google.cloud" % "google-cloud-container" % "2.10.0"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder()
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3423
* deprecated. See google/container/v1/cluster_service.proto;l=3428
* @return The minCpuPlatform.
*/
@java.lang.Override
Expand Down Expand Up @@ -340,7 +340,7 @@ public java.lang.String getMinCpuPlatform() {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3423
* deprecated. See google/container/v1/cluster_service.proto;l=3428
* @return The bytes for minCpuPlatform.
*/
@java.lang.Override
Expand Down Expand Up @@ -1842,7 +1842,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder()
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3423
* deprecated. See google/container/v1/cluster_service.proto;l=3428
* @return The minCpuPlatform.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -1878,7 +1878,7 @@ public java.lang.String getMinCpuPlatform() {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3423
* deprecated. See google/container/v1/cluster_service.proto;l=3428
* @return The bytes for minCpuPlatform.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -1914,7 +1914,7 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3423
* deprecated. See google/container/v1/cluster_service.proto;l=3428
* @param value The minCpuPlatform to set.
* @return This builder for chaining.
*/
Expand Down Expand Up @@ -1949,7 +1949,7 @@ public Builder setMinCpuPlatform(java.lang.String value) {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3423
* deprecated. See google/container/v1/cluster_service.proto;l=3428
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -1980,7 +1980,7 @@ public Builder clearMinCpuPlatform() {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3423
* deprecated. See google/container/v1/cluster_service.proto;l=3428
* @param value The bytes for minCpuPlatform to set.
* @return This builder for chaining.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3423
* deprecated. See google/container/v1/cluster_service.proto;l=3428
* @return The minCpuPlatform.
*/
@java.lang.Deprecated
Expand All @@ -216,7 +216,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3423
* deprecated. See google/container/v1/cluster_service.proto;l=3428
* @return The bytes for minCpuPlatform.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* <code>string project_id = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See
* google/container/v1/cluster_service.proto;l=2634
* google/container/v1/cluster_service.proto;l=2639
* @return The projectId.
*/
@java.lang.Override
Expand Down Expand Up @@ -112,7 +112,7 @@ public java.lang.String getProjectId() {
* <code>string project_id = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See
* google/container/v1/cluster_service.proto;l=2634
* google/container/v1/cluster_service.proto;l=2639
* @return The bytes for projectId.
*/
@java.lang.Override
Expand Down Expand Up @@ -144,7 +144,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
* <code>string zone = 2 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See
* google/container/v1/cluster_service.proto;l=2640
* google/container/v1/cluster_service.proto;l=2645
* @return The zone.
*/
@java.lang.Override
Expand Down Expand Up @@ -173,7 +173,7 @@ public java.lang.String getZone() {
* <code>string zone = 2 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See
* google/container/v1/cluster_service.proto;l=2640
* google/container/v1/cluster_service.proto;l=2645
* @return The bytes for zone.
*/
@java.lang.Override
Expand Down Expand Up @@ -203,7 +203,7 @@ public com.google.protobuf.ByteString getZoneBytes() {
* <code>string operation_id = 3 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See
* google/container/v1/cluster_service.proto;l=2644
* google/container/v1/cluster_service.proto;l=2649
* @return The operationId.
*/
@java.lang.Override
Expand All @@ -230,7 +230,7 @@ public java.lang.String getOperationId() {
* <code>string operation_id = 3 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See
* google/container/v1/cluster_service.proto;l=2644
* google/container/v1/cluster_service.proto;l=2649
* @return The bytes for operationId.
*/
@java.lang.Override
Expand Down Expand Up @@ -706,7 +706,7 @@ public Builder mergeFrom(
* <code>string project_id = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See
* google/container/v1/cluster_service.proto;l=2634
* google/container/v1/cluster_service.proto;l=2639
* @return The projectId.
*/
@java.lang.Deprecated
Expand All @@ -733,7 +733,7 @@ public java.lang.String getProjectId() {
* <code>string project_id = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See
* google/container/v1/cluster_service.proto;l=2634
* google/container/v1/cluster_service.proto;l=2639
* @return The bytes for projectId.
*/
@java.lang.Deprecated
Expand All @@ -760,7 +760,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
* <code>string project_id = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See
* google/container/v1/cluster_service.proto;l=2634
* google/container/v1/cluster_service.proto;l=2639
* @param value The projectId to set.
* @return This builder for chaining.
*/
Expand All @@ -786,7 +786,7 @@ public Builder setProjectId(java.lang.String value) {
* <code>string project_id = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See
* google/container/v1/cluster_service.proto;l=2634
* google/container/v1/cluster_service.proto;l=2639
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand All @@ -808,7 +808,7 @@ public Builder clearProjectId() {
* <code>string project_id = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See
* google/container/v1/cluster_service.proto;l=2634
* google/container/v1/cluster_service.proto;l=2639
* @param value The bytes for projectId to set.
* @return This builder for chaining.
*/
Expand Down Expand Up @@ -838,7 +838,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
* <code>string zone = 2 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See
* google/container/v1/cluster_service.proto;l=2640
* google/container/v1/cluster_service.proto;l=2645
* @return The zone.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -866,7 +866,7 @@ public java.lang.String getZone() {
* <code>string zone = 2 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See
* google/container/v1/cluster_service.proto;l=2640
* google/container/v1/cluster_service.proto;l=2645
* @return The bytes for zone.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -894,7 +894,7 @@ public com.google.protobuf.ByteString getZoneBytes() {
* <code>string zone = 2 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See
* google/container/v1/cluster_service.proto;l=2640
* google/container/v1/cluster_service.proto;l=2645
* @param value The zone to set.
* @return This builder for chaining.
*/
Expand All @@ -921,7 +921,7 @@ public Builder setZone(java.lang.String value) {
* <code>string zone = 2 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See
* google/container/v1/cluster_service.proto;l=2640
* google/container/v1/cluster_service.proto;l=2645
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand All @@ -944,7 +944,7 @@ public Builder clearZone() {
* <code>string zone = 2 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See
* google/container/v1/cluster_service.proto;l=2640
* google/container/v1/cluster_service.proto;l=2645
* @param value The bytes for zone to set.
* @return This builder for chaining.
*/
Expand Down Expand Up @@ -972,7 +972,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) {
* <code>string operation_id = 3 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See
* google/container/v1/cluster_service.proto;l=2644
* google/container/v1/cluster_service.proto;l=2649
* @return The operationId.
*/
@java.lang.Deprecated
Expand All @@ -998,7 +998,7 @@ public java.lang.String getOperationId() {
* <code>string operation_id = 3 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See
* google/container/v1/cluster_service.proto;l=2644
* google/container/v1/cluster_service.proto;l=2649
* @return The bytes for operationId.
*/
@java.lang.Deprecated
Expand All @@ -1024,7 +1024,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() {
* <code>string operation_id = 3 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See
* google/container/v1/cluster_service.proto;l=2644
* google/container/v1/cluster_service.proto;l=2649
* @param value The operationId to set.
* @return This builder for chaining.
*/
Expand All @@ -1049,7 +1049,7 @@ public Builder setOperationId(java.lang.String value) {
* <code>string operation_id = 3 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See
* google/container/v1/cluster_service.proto;l=2644
* google/container/v1/cluster_service.proto;l=2649
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand All @@ -1070,7 +1070,7 @@ public Builder clearOperationId() {
* <code>string operation_id = 3 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See
* google/container/v1/cluster_service.proto;l=2644
* google/container/v1/cluster_service.proto;l=2649
* @param value The bytes for operationId to set.
* @return This builder for chaining.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public interface CancelOperationRequestOrBuilder
* <code>string project_id = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See
* google/container/v1/cluster_service.proto;l=2634
* google/container/v1/cluster_service.proto;l=2639
* @return The projectId.
*/
@java.lang.Deprecated
Expand All @@ -52,7 +52,7 @@ public interface CancelOperationRequestOrBuilder
* <code>string project_id = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See
* google/container/v1/cluster_service.proto;l=2634
* google/container/v1/cluster_service.proto;l=2639
* @return The bytes for projectId.
*/
@java.lang.Deprecated
Expand All @@ -71,7 +71,7 @@ public interface CancelOperationRequestOrBuilder
* <code>string zone = 2 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See
* google/container/v1/cluster_service.proto;l=2640
* google/container/v1/cluster_service.proto;l=2645
* @return The zone.
*/
@java.lang.Deprecated
Expand All @@ -89,7 +89,7 @@ public interface CancelOperationRequestOrBuilder
* <code>string zone = 2 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See
* google/container/v1/cluster_service.proto;l=2640
* google/container/v1/cluster_service.proto;l=2645
* @return The bytes for zone.
*/
@java.lang.Deprecated
Expand All @@ -106,7 +106,7 @@ public interface CancelOperationRequestOrBuilder
* <code>string operation_id = 3 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See
* google/container/v1/cluster_service.proto;l=2644
* google/container/v1/cluster_service.proto;l=2649
* @return The operationId.
*/
@java.lang.Deprecated
Expand All @@ -122,7 +122,7 @@ public interface CancelOperationRequestOrBuilder
* <code>string operation_id = 3 [deprecated = true];</code>
*
* @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See
* google/container/v1/cluster_service.proto;l=2644
* google/container/v1/cluster_service.proto;l=2649
* @return The bytes for operationId.
*/
@java.lang.Deprecated
Expand Down
Loading

0 comments on commit 033567f

Please sign in to comment.