diff --git a/clients/google-api-services-composer/v1/2.0.0/README.md b/clients/google-api-services-composer/v1/2.0.0/README.md index b7e77cfed53..a2870b1b8e9 100644 --- a/clients/google-api-services-composer/v1/2.0.0/README.md +++ b/clients/google-api-services-composer/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-composer - v1-rev20260825-2.0.0 + v1-rev20261011-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-composer:v1-rev20260825-2.0.0' + implementation 'com.google.apis:google-api-services-composer:v1-rev20261011-2.0.0' } ``` diff --git a/clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/model/ImageVersionRollbackTarget.java b/clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/model/ImageVersionRollbackTarget.java new file mode 100644 index 00000000000..74afdbed7ac --- /dev/null +++ b/clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/model/ImageVersionRollbackTarget.java @@ -0,0 +1,90 @@ +/* + * 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.composer.v1.model; + +/** + * The image version an environment can be rolled back to. + * + *

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 Cloud Composer API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ImageVersionRollbackTarget extends com.google.api.client.json.GenericJson { + + /** + * Output only. The image version the environment can be rolled back to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String imageVersion; + + /** + * Output only. The last time when the environment was running this image version. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String lastActiveTime; + + /** + * Output only. The image version the environment can be rolled back to. + * @return value or {@code null} for none + */ + public java.lang.String getImageVersion() { + return imageVersion; + } + + /** + * Output only. The image version the environment can be rolled back to. + * @param imageVersion imageVersion or {@code null} for none + */ + public ImageVersionRollbackTarget setImageVersion(java.lang.String imageVersion) { + this.imageVersion = imageVersion; + return this; + } + + /** + * Output only. The last time when the environment was running this image version. + * @return value or {@code null} for none + */ + public String getLastActiveTime() { + return lastActiveTime; + } + + /** + * Output only. The last time when the environment was running this image version. + * @param lastActiveTime lastActiveTime or {@code null} for none + */ + public ImageVersionRollbackTarget setLastActiveTime(String lastActiveTime) { + this.lastActiveTime = lastActiveTime; + return this; + } + + @Override + public ImageVersionRollbackTarget set(String fieldName, Object value) { + return (ImageVersionRollbackTarget) super.set(fieldName, value); + } + + @Override + public ImageVersionRollbackTarget clone() { + return (ImageVersionRollbackTarget) super.clone(); + } + +} diff --git a/clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/model/SoftwareConfig.java b/clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/model/SoftwareConfig.java index 9b3eb64d8c7..97c440f19d7 100644 --- a/clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/model/SoftwareConfig.java +++ b/clients/google-api-services-composer/v1/2.0.0/com/google/api/services/composer/v1/model/SoftwareConfig.java @@ -94,6 +94,21 @@ public final class SoftwareConfig extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.String imageVersion; + /** + * Output only. The list of image versions the environment can be rolled back to, sorted by + * last_active_time in descending order (most recent first). This field is supported for Cloud + * Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List imageVersionRollbackTargets; + + static { + // hack to force ProGuard to consider ImageVersionRollbackTarget used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(ImageVersionRollbackTarget.class); + } + /** * Optional. Custom Python Package Index (PyPI) packages to be installed in the environment. Keys * refer to the lowercase package name such as "numpy" and values are the lowercase extras and @@ -276,6 +291,27 @@ public SoftwareConfig setImageVersion(java.lang.String imageVersion) { return this; } + /** + * Output only. The list of image versions the environment can be rolled back to, sorted by + * last_active_time in descending order (most recent first). This field is supported for Cloud + * Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. + * @return value or {@code null} for none + */ + public java.util.List getImageVersionRollbackTargets() { + return imageVersionRollbackTargets; + } + + /** + * Output only. The list of image versions the environment can be rolled back to, sorted by + * last_active_time in descending order (most recent first). This field is supported for Cloud + * Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. + * @param imageVersionRollbackTargets imageVersionRollbackTargets or {@code null} for none + */ + public SoftwareConfig setImageVersionRollbackTargets(java.util.List imageVersionRollbackTargets) { + this.imageVersionRollbackTargets = imageVersionRollbackTargets; + return this; + } + /** * Optional. Custom Python Package Index (PyPI) packages to be installed in the environment. Keys * refer to the lowercase package name such as "numpy" and values are the lowercase extras and diff --git a/clients/google-api-services-composer/v1/2.0.0/pom.xml b/clients/google-api-services-composer/v1/2.0.0/pom.xml index d904d005d13..df3ad40ada1 100644 --- a/clients/google-api-services-composer/v1/2.0.0/pom.xml +++ b/clients/google-api-services-composer/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-composer - v1-rev20260825-2.0.0 - Cloud Composer API v1-rev20260825-2.0.0 + v1-rev20261011-2.0.0 + Cloud Composer API v1-rev20261011-2.0.0 jar 2011 diff --git a/clients/google-api-services-composer/v1/README.md b/clients/google-api-services-composer/v1/README.md index b7e77cfed53..a2870b1b8e9 100644 --- a/clients/google-api-services-composer/v1/README.md +++ b/clients/google-api-services-composer/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-composer - v1-rev20260825-2.0.0 + v1-rev20261011-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-composer:v1-rev20260825-2.0.0' + implementation 'com.google.apis:google-api-services-composer:v1-rev20261011-2.0.0' } ``` diff --git a/clients/google-api-services-composer/v1beta1/2.0.0/README.md b/clients/google-api-services-composer/v1beta1/2.0.0/README.md index f0fb81c6495..a3224a28b02 100644 --- a/clients/google-api-services-composer/v1beta1/2.0.0/README.md +++ b/clients/google-api-services-composer/v1beta1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-composer - v1beta1-rev20260825-2.0.0 + v1beta1-rev20261011-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-composer:v1beta1-rev20260825-2.0.0' + implementation 'com.google.apis:google-api-services-composer:v1beta1-rev20261011-2.0.0' } ``` diff --git a/clients/google-api-services-composer/v1beta1/2.0.0/com/google/api/services/composer/v1beta1/model/ImageVersionRollbackTarget.java b/clients/google-api-services-composer/v1beta1/2.0.0/com/google/api/services/composer/v1beta1/model/ImageVersionRollbackTarget.java new file mode 100644 index 00000000000..cdfba002ad1 --- /dev/null +++ b/clients/google-api-services-composer/v1beta1/2.0.0/com/google/api/services/composer/v1beta1/model/ImageVersionRollbackTarget.java @@ -0,0 +1,90 @@ +/* + * 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.composer.v1beta1.model; + +/** + * The image version an environment can be rolled back to. + * + *

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 Cloud Composer API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ImageVersionRollbackTarget extends com.google.api.client.json.GenericJson { + + /** + * Output only. The image version the environment can be rolled back to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String imageVersion; + + /** + * Output only. The last time when the environment was running this image version. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String lastActiveTime; + + /** + * Output only. The image version the environment can be rolled back to. + * @return value or {@code null} for none + */ + public java.lang.String getImageVersion() { + return imageVersion; + } + + /** + * Output only. The image version the environment can be rolled back to. + * @param imageVersion imageVersion or {@code null} for none + */ + public ImageVersionRollbackTarget setImageVersion(java.lang.String imageVersion) { + this.imageVersion = imageVersion; + return this; + } + + /** + * Output only. The last time when the environment was running this image version. + * @return value or {@code null} for none + */ + public String getLastActiveTime() { + return lastActiveTime; + } + + /** + * Output only. The last time when the environment was running this image version. + * @param lastActiveTime lastActiveTime or {@code null} for none + */ + public ImageVersionRollbackTarget setLastActiveTime(String lastActiveTime) { + this.lastActiveTime = lastActiveTime; + return this; + } + + @Override + public ImageVersionRollbackTarget set(String fieldName, Object value) { + return (ImageVersionRollbackTarget) super.set(fieldName, value); + } + + @Override + public ImageVersionRollbackTarget clone() { + return (ImageVersionRollbackTarget) super.clone(); + } + +} diff --git a/clients/google-api-services-composer/v1beta1/2.0.0/com/google/api/services/composer/v1beta1/model/SoftwareConfig.java b/clients/google-api-services-composer/v1beta1/2.0.0/com/google/api/services/composer/v1beta1/model/SoftwareConfig.java index 611379853ee..13bcda95498 100644 --- a/clients/google-api-services-composer/v1beta1/2.0.0/com/google/api/services/composer/v1beta1/model/SoftwareConfig.java +++ b/clients/google-api-services-composer/v1beta1/2.0.0/com/google/api/services/composer/v1beta1/model/SoftwareConfig.java @@ -94,6 +94,21 @@ public final class SoftwareConfig extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.String imageVersion; + /** + * Output only. The list of image versions the environment can be rolled back to, sorted by + * last_active_time in descending order (most recent first). This field is supported for Cloud + * Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List imageVersionRollbackTargets; + + static { + // hack to force ProGuard to consider ImageVersionRollbackTarget used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(ImageVersionRollbackTarget.class); + } + /** * Optional. Custom Python Package Index (PyPI) packages to be installed in the environment. Keys * refer to the lowercase package name such as "numpy" and values are the lowercase extras and @@ -276,6 +291,27 @@ public SoftwareConfig setImageVersion(java.lang.String imageVersion) { return this; } + /** + * Output only. The list of image versions the environment can be rolled back to, sorted by + * last_active_time in descending order (most recent first). This field is supported for Cloud + * Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. + * @return value or {@code null} for none + */ + public java.util.List getImageVersionRollbackTargets() { + return imageVersionRollbackTargets; + } + + /** + * Output only. The list of image versions the environment can be rolled back to, sorted by + * last_active_time in descending order (most recent first). This field is supported for Cloud + * Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. + * @param imageVersionRollbackTargets imageVersionRollbackTargets or {@code null} for none + */ + public SoftwareConfig setImageVersionRollbackTargets(java.util.List imageVersionRollbackTargets) { + this.imageVersionRollbackTargets = imageVersionRollbackTargets; + return this; + } + /** * Optional. Custom Python Package Index (PyPI) packages to be installed in the environment. Keys * refer to the lowercase package name such as "numpy" and values are the lowercase extras and diff --git a/clients/google-api-services-composer/v1beta1/2.0.0/pom.xml b/clients/google-api-services-composer/v1beta1/2.0.0/pom.xml index 619e83fc937..a080de2a4fe 100644 --- a/clients/google-api-services-composer/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-composer/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-composer - v1beta1-rev20260825-2.0.0 - Cloud Composer API v1beta1-rev20260825-2.0.0 + v1beta1-rev20261011-2.0.0 + Cloud Composer API v1beta1-rev20261011-2.0.0 jar 2011 diff --git a/clients/google-api-services-composer/v1beta1/README.md b/clients/google-api-services-composer/v1beta1/README.md index f0fb81c6495..a3224a28b02 100644 --- a/clients/google-api-services-composer/v1beta1/README.md +++ b/clients/google-api-services-composer/v1beta1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-composer - v1beta1-rev20260825-2.0.0 + v1beta1-rev20261011-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-composer:v1beta1-rev20260825-2.0.0' + implementation 'com.google.apis:google-api-services-composer:v1beta1-rev20261011-2.0.0' } ```