Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-composer/v1/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-composer</artifactId>
<version>v1-rev20260825-2.0.0</version>
<version>v1-rev20261011-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <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 Cloud Composer 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 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();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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<ImageVersionRollbackTarget> 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
Expand Down Expand Up @@ -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<ImageVersionRollbackTarget> 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<ImageVersionRollbackTarget> 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
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-composer/v1/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-composer</artifactId>
<version>v1-rev20260825-2.0.0</version>
<name>Cloud Composer API v1-rev20260825-2.0.0</name>
<version>v1-rev20261011-2.0.0</version>
<name>Cloud Composer API v1-rev20261011-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-composer/v1/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-composer</artifactId>
<version>v1-rev20260825-2.0.0</version>
<version>v1-rev20261011-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
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-composer</artifactId>
<version>v1beta1-rev20260825-2.0.0</version>
<version>v1beta1-rev20261011-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <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 Cloud Composer 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 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();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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<ImageVersionRollbackTarget> 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
Expand Down Expand Up @@ -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<ImageVersionRollbackTarget> 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<ImageVersionRollbackTarget> 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
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-composer/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-composer</artifactId>
<version>v1beta1-rev20260825-2.0.0</version>
<name>Cloud Composer API v1beta1-rev20260825-2.0.0</name>
<version>v1beta1-rev20261011-2.0.0</version>
<name>Cloud Composer API v1beta1-rev20261011-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-composer/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-composer</artifactId>
<version>v1beta1-rev20260825-2.0.0</version>
<version>v1beta1-rev20261011-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Loading