Skip to content

Commit

Permalink
chore: regenerate container client (#23767)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Nov 1, 2024
1 parent 5f1438c commit 5651ee6
Show file tree
Hide file tree
Showing 8 changed files with 236 additions and 6 deletions.
4 changes: 2 additions & 2 deletions clients/google-api-services-container/v1beta1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-container</artifactId>
<version>v1beta1-rev20241008-2.0.0</version>
<version>v1beta1-rev20241017-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-container:v1beta1-rev20241008-2.0.0'
implementation 'com.google.apis:google-api-services-container:v1beta1-rev20241017-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private ParentProductConfig parentProductConfig;

/**
* The config for pod autoscaling.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private PodAutoscaling podAutoscaling;

/**
* Configuration for the PodSecurityPolicy feature.
* The value may be {@code null}.
Expand Down Expand Up @@ -1845,6 +1852,23 @@ public Cluster setParentProductConfig(ParentProductConfig parentProductConfig) {
return this;
}

/**
* The config for pod autoscaling.
* @return value or {@code null} for none
*/
public PodAutoscaling getPodAutoscaling() {
return podAutoscaling;
}

/**
* The config for pod autoscaling.
* @param podAutoscaling podAutoscaling or {@code null} for none
*/
public Cluster setPodAutoscaling(PodAutoscaling podAutoscaling) {
this.podAutoscaling = podAutoscaling;
return this;
}

/**
* Configuration for the PodSecurityPolicy feature.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,13 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private java.lang.Boolean desiredEnablePrivateEndpoint;

/**
* The desired enterprise configuration for the cluster.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private DesiredEnterpriseConfig desiredEnterpriseConfig;

/**
* The desired fleet configuration for the cluster.
* The value may be {@code null}.
Expand Down Expand Up @@ -419,6 +426,13 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private ParentProductConfig desiredParentProductConfig;

/**
* The desired config for pod autoscaling.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private PodAutoscaling desiredPodAutoscaling;

/**
* The desired configuration options for the PodSecurityPolicy feature.
* The value may be {@code null}.
Expand Down Expand Up @@ -933,6 +947,23 @@ public ClusterUpdate setDesiredEnablePrivateEndpoint(java.lang.Boolean desiredEn
return this;
}

/**
* The desired enterprise configuration for the cluster.
* @return value or {@code null} for none
*/
public DesiredEnterpriseConfig getDesiredEnterpriseConfig() {
return desiredEnterpriseConfig;
}

/**
* The desired enterprise configuration for the cluster.
* @param desiredEnterpriseConfig desiredEnterpriseConfig or {@code null} for none
*/
public ClusterUpdate setDesiredEnterpriseConfig(DesiredEnterpriseConfig desiredEnterpriseConfig) {
this.desiredEnterpriseConfig = desiredEnterpriseConfig;
return this;
}

/**
* The desired fleet configuration for the cluster.
* @return value or {@code null} for none
Expand Down Expand Up @@ -1509,6 +1540,23 @@ public ClusterUpdate setDesiredParentProductConfig(ParentProductConfig desiredPa
return this;
}

/**
* The desired config for pod autoscaling.
* @return value or {@code null} for none
*/
public PodAutoscaling getDesiredPodAutoscaling() {
return desiredPodAutoscaling;
}

/**
* The desired config for pod autoscaling.
* @param desiredPodAutoscaling desiredPodAutoscaling or {@code null} for none
*/
public ClusterUpdate setDesiredPodAutoscaling(PodAutoscaling desiredPodAutoscaling) {
this.desiredPodAutoscaling = desiredPodAutoscaling;
return this;
}

/**
* The desired configuration options for the PodSecurityPolicy feature.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.container.v1beta1.model;

/**
* DesiredEnterpriseConfig is a wrapper used for updating enterprise_config.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation
* see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class DesiredEnterpriseConfig extends com.google.api.client.json.GenericJson {

/**
* desired_tier specifies the desired tier of the cluster.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String desiredTier;

/**
* desired_tier specifies the desired tier of the cluster.
* @return value or {@code null} for none
*/
public java.lang.String getDesiredTier() {
return desiredTier;
}

/**
* desired_tier specifies the desired tier of the cluster.
* @param desiredTier desiredTier or {@code null} for none
*/
public DesiredEnterpriseConfig setDesiredTier(java.lang.String desiredTier) {
this.desiredTier = desiredTier;
return this;
}

@Override
public DesiredEnterpriseConfig set(String fieldName, Object value) {
return (DesiredEnterpriseConfig) super.set(fieldName, value);
}

@Override
public DesiredEnterpriseConfig clone() {
return (DesiredEnterpriseConfig) super.clone();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ public final class EnterpriseConfig extends com.google.api.client.json.GenericJs
@com.google.api.client.util.Key
private java.lang.String clusterTier;

/**
* desired_tier specifies the desired tier of the cluster.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String desiredTier;

/**
* Output only. cluster_tier indicates the effective tier of the cluster.
* @return value or {@code null} for none
Expand All @@ -54,6 +61,23 @@ public EnterpriseConfig setClusterTier(java.lang.String clusterTier) {
return this;
}

/**
* desired_tier specifies the desired tier of the cluster.
* @return value or {@code null} for none
*/
public java.lang.String getDesiredTier() {
return desiredTier;
}

/**
* desired_tier specifies the desired tier of the cluster.
* @param desiredTier desiredTier or {@code null} for none
*/
public EnterpriseConfig setDesiredTier(java.lang.String desiredTier) {
this.desiredTier = desiredTier;
return this;
}

@Override
public EnterpriseConfig set(String fieldName, Object value) {
return (EnterpriseConfig) super.set(fieldName, value);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.container.v1beta1.model;

/**
* PodAutoscaling is used for configuration of parameters for workload autoscaling.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation
* see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class PodAutoscaling extends com.google.api.client.json.GenericJson {

/**
* Selected Horizontal Pod Autoscaling profile.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String hpaProfile;

/**
* Selected Horizontal Pod Autoscaling profile.
* @return value or {@code null} for none
*/
public java.lang.String getHpaProfile() {
return hpaProfile;
}

/**
* Selected Horizontal Pod Autoscaling profile.
* @param hpaProfile hpaProfile or {@code null} for none
*/
public PodAutoscaling setHpaProfile(java.lang.String hpaProfile) {
this.hpaProfile = hpaProfile;
return this;
}

@Override
public PodAutoscaling set(String fieldName, Object value) {
return (PodAutoscaling) super.set(fieldName, value);
}

@Override
public PodAutoscaling clone() {
return (PodAutoscaling) super.clone();
}

}
4 changes: 2 additions & 2 deletions clients/google-api-services-container/v1beta1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-container</artifactId>
<version>v1beta1-rev20241008-2.0.0</version>
<name>Kubernetes Engine API v1beta1-rev20241008-2.0.0</name>
<version>v1beta1-rev20241017-2.0.0</version>
<name>Kubernetes Engine API v1beta1-rev20241017-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-container/v1beta1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-container</artifactId>
<version>v1beta1-rev20241008-2.0.0</version>
<version>v1beta1-rev20241017-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-container:v1beta1-rev20241008-2.0.0'
implementation 'com.google.apis:google-api-services-container:v1beta1-rev20241017-2.0.0'
}
```

Expand Down

0 comments on commit 5651ee6

Please sign in to comment.