Skip to content

Commit

Permalink
feat: [container] added EnterpriseConfig (#10021)
Browse files Browse the repository at this point in the history
* feat: added EnterpriseConfig
feat: add a new cluster field for the cluster tier of GKE clusters

PiperOrigin-RevId: 578552276

Source-Link: googleapis/googleapis@c8ecf34

Source-Link: googleapis/googleapis-gen@dd3274c
Copy-Tag: eyJwIjoiamF2YS1jb250YWluZXIvLk93bEJvdC55YW1sIiwiaCI6ImRkMzI3NGM0ZWIxNGQ5NjMwZmI5Y2ZjMzkzZjkzM2Q5ZTQwODkzOTcifQ==

* 🦉 Updates from OwlBot post-processor

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

* 🦉 Updates from OwlBot post-processor

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

* feat: added EnterpriseConfig
feat: add a new cluster field for the cluster tier of GKE clusters

PiperOrigin-RevId: 578552799

Source-Link: googleapis/googleapis@23321ee

Source-Link: googleapis/googleapis-gen@88fa3a3
Copy-Tag: eyJwIjoiamF2YS1jb250YWluZXIvLk93bEJvdC55YW1sIiwiaCI6Ijg4ZmEzYTM5MWE0OGJjZTdiYzgxNzYyYWFkMGFjNmRlNGE4ZmI4YmUifQ==

* 🦉 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 Nov 1, 2023
1 parent 8452ac3 commit 9c2647b
Show file tree
Hide file tree
Showing 156 changed files with 6,094 additions and 3,685 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1151,6 +1151,33 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.container.v1.EnterpriseConfig",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.container.v1.EnterpriseConfig$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.container.v1.EnterpriseConfig$ClusterTier",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.container.v1.EphemeralStorageLocalSsdConfig",
"queryAllDeclaredConstructors": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,33 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.container.v1beta1.EnterpriseConfig",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.container.v1beta1.EnterpriseConfig$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.container.v1beta1.EnterpriseConfig$ClusterTier",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.container.v1beta1.EphemeralStorageConfig",
"queryAllDeclaredConstructors": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
import com.google.container.v1.DatabaseEncryption;
import com.google.container.v1.DeleteClusterRequest;
import com.google.container.v1.DeleteNodePoolRequest;
import com.google.container.v1.EnterpriseConfig;
import com.google.container.v1.FastSocket;
import com.google.container.v1.Fleet;
import com.google.container.v1.GcfsConfig;
Expand Down Expand Up @@ -332,6 +333,7 @@ public void getClusterTest() throws Exception {
.setFleet(Fleet.newBuilder().build())
.setSecurityPostureConfig(SecurityPostureConfig.newBuilder().build())
.setEnableK8SBetaApis(K8sBetaAPIConfig.newBuilder().build())
.setEnterpriseConfig(EnterpriseConfig.newBuilder().build())
.build();
mockClusterManager.addResponse(expectedResponse);

Expand Down Expand Up @@ -434,6 +436,7 @@ public void getClusterTest2() throws Exception {
.setFleet(Fleet.newBuilder().build())
.setSecurityPostureConfig(SecurityPostureConfig.newBuilder().build())
.setEnableK8SBetaApis(K8sBetaAPIConfig.newBuilder().build())
.setEnterpriseConfig(EnterpriseConfig.newBuilder().build())
.build();
mockClusterManager.addResponse(expectedResponse);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
import com.google.container.v1beta1.DatabaseEncryption;
import com.google.container.v1beta1.DeleteClusterRequest;
import com.google.container.v1beta1.DeleteNodePoolRequest;
import com.google.container.v1beta1.EnterpriseConfig;
import com.google.container.v1beta1.FastSocket;
import com.google.container.v1beta1.Fleet;
import com.google.container.v1beta1.GcfsConfig;
Expand Down Expand Up @@ -314,6 +315,7 @@ public void getClusterTest() throws Exception {
.setEtag("etag3123477")
.setFleet(Fleet.newBuilder().build())
.setSecurityPostureConfig(SecurityPostureConfig.newBuilder().build())
.setEnterpriseConfig(EnterpriseConfig.newBuilder().build())
.build();
mockClusterManager.addResponse(expectedResponse);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,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=3904
* deprecated. See google/container/v1/cluster_service.proto;l=3907
* @return The minCpuPlatform.
*/
@java.lang.Override
Expand Down Expand Up @@ -345,7 +345,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=3904
* deprecated. See google/container/v1/cluster_service.proto;l=3907
* @return The bytes for minCpuPlatform.
*/
@java.lang.Override
Expand Down Expand Up @@ -1944,7 +1944,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=3904
* deprecated. See google/container/v1/cluster_service.proto;l=3907
* @return The minCpuPlatform.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -1979,7 +1979,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=3904
* deprecated. See google/container/v1/cluster_service.proto;l=3907
* @return The bytes for minCpuPlatform.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -2014,7 +2014,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=3904
* deprecated. See google/container/v1/cluster_service.proto;l=3907
* @param value The minCpuPlatform to set.
* @return This builder for chaining.
*/
Expand Down Expand Up @@ -2048,7 +2048,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=3904
* deprecated. See google/container/v1/cluster_service.proto;l=3907
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -2078,7 +2078,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=3904
* deprecated. See google/container/v1/cluster_service.proto;l=3907
* @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 @@ -189,7 +189,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=3904
* deprecated. See google/container/v1/cluster_service.proto;l=3907
* @return The minCpuPlatform.
*/
@java.lang.Deprecated
Expand All @@ -214,7 +214,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=3904
* deprecated. See google/container/v1/cluster_service.proto;l=3907
* @return The bytes for minCpuPlatform.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,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=3084
* google/container/v1/cluster_service.proto;l=3087
* @return The projectId.
*/
@java.lang.Override
Expand Down Expand Up @@ -109,7 +109,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=3084
* google/container/v1/cluster_service.proto;l=3087
* @return The bytes for projectId.
*/
@java.lang.Override
Expand Down Expand Up @@ -143,7 +143,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=3090
* google/container/v1/cluster_service.proto;l=3093
* @return The zone.
*/
@java.lang.Override
Expand Down Expand Up @@ -172,7 +172,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=3090
* google/container/v1/cluster_service.proto;l=3093
* @return The bytes for zone.
*/
@java.lang.Override
Expand Down Expand Up @@ -204,7 +204,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=3094
* google/container/v1/cluster_service.proto;l=3097
* @return The operationId.
*/
@java.lang.Override
Expand All @@ -231,7 +231,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=3094
* google/container/v1/cluster_service.proto;l=3097
* @return The bytes for operationId.
*/
@java.lang.Override
Expand Down Expand Up @@ -727,7 +727,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=3084
* google/container/v1/cluster_service.proto;l=3087
* @return The projectId.
*/
@java.lang.Deprecated
Expand All @@ -754,7 +754,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=3084
* google/container/v1/cluster_service.proto;l=3087
* @return The bytes for projectId.
*/
@java.lang.Deprecated
Expand All @@ -781,7 +781,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=3084
* google/container/v1/cluster_service.proto;l=3087
* @param value The projectId to set.
* @return This builder for chaining.
*/
Expand All @@ -807,7 +807,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=3084
* google/container/v1/cluster_service.proto;l=3087
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand All @@ -829,7 +829,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=3084
* google/container/v1/cluster_service.proto;l=3087
* @param value The bytes for projectId to set.
* @return This builder for chaining.
*/
Expand Down Expand Up @@ -859,7 +859,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=3090
* google/container/v1/cluster_service.proto;l=3093
* @return The zone.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -887,7 +887,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=3090
* google/container/v1/cluster_service.proto;l=3093
* @return The bytes for zone.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -915,7 +915,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=3090
* google/container/v1/cluster_service.proto;l=3093
* @param value The zone to set.
* @return This builder for chaining.
*/
Expand All @@ -942,7 +942,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=3090
* google/container/v1/cluster_service.proto;l=3093
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand All @@ -965,7 +965,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=3090
* google/container/v1/cluster_service.proto;l=3093
* @param value The bytes for zone to set.
* @return This builder for chaining.
*/
Expand Down Expand Up @@ -993,7 +993,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=3094
* google/container/v1/cluster_service.proto;l=3097
* @return The operationId.
*/
@java.lang.Deprecated
Expand All @@ -1019,7 +1019,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=3094
* google/container/v1/cluster_service.proto;l=3097
* @return The bytes for operationId.
*/
@java.lang.Deprecated
Expand All @@ -1045,7 +1045,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=3094
* google/container/v1/cluster_service.proto;l=3097
* @param value The operationId to set.
* @return This builder for chaining.
*/
Expand All @@ -1070,7 +1070,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=3094
* google/container/v1/cluster_service.proto;l=3097
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand All @@ -1091,7 +1091,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=3094
* google/container/v1/cluster_service.proto;l=3097
* @param value The bytes for operationId to set.
* @return This builder for chaining.
*/
Expand Down
Loading

0 comments on commit 9c2647b

Please sign in to comment.