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
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-saasservicemgmt</artifactId>
<version>v1-rev20261005-2.9.2</version>
<version>v1-rev20261020-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-saasservicemgmt:v1-rev20261005-2.9.2'
implementation 'com.google.apis:google-api-services-saasservicemgmt:v1-rev20261020-2.9.2'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*
* <p>
* For more information about this service, see the
* <a href="https://cloud.google.com/saas-runtime/docs" target="_blank">API Documentation</a>
* <a href="https://docs.cloud.google.com/app-lifecycle-manager" target="_blank">API Documentation</a>
* </p>
*
* <p>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
/*
* 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.saasservicemgmt.v1.model;

/**
* DurationLimits defines the time-related constraints for a UnitOperation's execution. This allows
* users to control how long an operation can run before being cancelled by the system.
*
* <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 App Lifecycle Manager 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 DurationLimits extends com.google.api.client.json.GenericJson {

/**
* Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. -
* Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is
* not set, or if the provided value falls outside the allowed range, the system will use a
* default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation
* will be best-effort cancelled, and its state will be set to FAILED.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String unitOperationTimeout;

/**
* Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. -
* Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is
* not set, or if the provided value falls outside the allowed range, the system will use a
* default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation
* will be best-effort cancelled, and its state will be set to FAILED.
* @return value or {@code null} for none
*/
public String getUnitOperationTimeout() {
return unitOperationTimeout;
}

/**
* Optional. The maximum duration a UnitOperation is allowed to execute in the RUNNING state. -
* Minimum value: 60 seconds (1 minute) - Maximum value: 604800 seconds (7 days) If this field is
* not set, or if the provided value falls outside the allowed range, the system will use a
* default timeout of 10800 seconds (3 hours). Upon exceeding this time limit, the UnitOperation
* will be best-effort cancelled, and its state will be set to FAILED.
* @param unitOperationTimeout unitOperationTimeout or {@code null} for none
*/
public DurationLimits setUnitOperationTimeout(String unitOperationTimeout) {
this.unitOperationTimeout = unitOperationTimeout;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,18 @@ public final class UnitKind extends com.google.api.client.json.GenericJson {
com.google.api.client.util.Data.nullOf(Dependency.class);
}

/**
* Optional. Defines the default duration limits for UnitOperations created from this UnitKind.
* These settings provide a baseline for execution time constraints. The limits specified here can
* be overridden by more specific settings on an individual UnitOperation resource. See the
* DurationLimits message definition for details on the constraints like minimum, maximum, and
* system default values for unit_operation_timeout. If not set, UnitOperations will use the
* system default duration limits unless overridden on the UnitOperation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private DurationLimits durationLimits;

/**
* Output only. An opaque value that uniquely identifies a version or generation of a resource. It
* can be used to confirm that the client and server agree on the ordering of a resource being
Expand Down Expand Up @@ -320,6 +332,33 @@ public UnitKind setDependencies(java.util.List<Dependency> dependencies) {
return this;
}

/**
* Optional. Defines the default duration limits for UnitOperations created from this UnitKind.
* These settings provide a baseline for execution time constraints. The limits specified here can
* be overridden by more specific settings on an individual UnitOperation resource. See the
* DurationLimits message definition for details on the constraints like minimum, maximum, and
* system default values for unit_operation_timeout. If not set, UnitOperations will use the
* system default duration limits unless overridden on the UnitOperation.
* @return value or {@code null} for none
*/
public DurationLimits getDurationLimits() {
return durationLimits;
}

/**
* Optional. Defines the default duration limits for UnitOperations created from this UnitKind.
* These settings provide a baseline for execution time constraints. The limits specified here can
* be overridden by more specific settings on an individual UnitOperation resource. See the
* DurationLimits message definition for details on the constraints like minimum, maximum, and
* system default values for unit_operation_timeout. If not set, UnitOperations will use the
* system default duration limits unless overridden on the UnitOperation.
* @param durationLimits durationLimits or {@code null} for none
*/
public UnitKind setDurationLimits(DurationLimits durationLimits) {
this.durationLimits = durationLimits;
return this;
}

/**
* Output only. An opaque value that uniquely identifies a version or generation of a resource. It
* can be used to confirm that the client and server agree on the ordering of a resource being
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,16 @@ public final class UnitOperation extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private Deprovision deprovision;

/**
* Optional. Defines the duration limits for this specific UnitOperation instance. These settings
* override any default duration limits set on the UnitKind. See the DurationLimits message
* definition for details on the constraints like minimum, maximum, and system default values for
* unit_operation_timeout.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private DurationLimits durationLimits;

/**
* Optional. Output only. The engine state for on-going deployment engine operation(s). This field
* is opaque for external usage.
Expand Down Expand Up @@ -309,6 +319,29 @@ public UnitOperation setDeprovision(Deprovision deprovision) {
return this;
}

/**
* Optional. Defines the duration limits for this specific UnitOperation instance. These settings
* override any default duration limits set on the UnitKind. See the DurationLimits message
* definition for details on the constraints like minimum, maximum, and system default values for
* unit_operation_timeout.
* @return value or {@code null} for none
*/
public DurationLimits getDurationLimits() {
return durationLimits;
}

/**
* Optional. Defines the duration limits for this specific UnitOperation instance. These settings
* override any default duration limits set on the UnitKind. See the DurationLimits message
* definition for details on the constraints like minimum, maximum, and system default values for
* unit_operation_timeout.
* @param durationLimits durationLimits or {@code null} for none
*/
public UnitOperation setDurationLimits(DurationLimits durationLimits) {
this.durationLimits = durationLimits;
return this;
}

/**
* Optional. Output only. The engine state for on-going deployment engine operation(s). This field
* is opaque for external usage.
Expand Down
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-saasservicemgmt</artifactId>
<version>v1-rev20261005-2.9.2</version>
<name>App Lifecycle Manager API v1-rev20261005-2.9.2</name>
<version>v1-rev20261020-2.9.2</version>
<name>App Lifecycle Manager API v1-rev20261020-2.9.2</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-saasservicemgmt/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-saasservicemgmt</artifactId>
<version>v1-rev20261005-2.9.2</version>
<version>v1-rev20261020-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-saasservicemgmt:v1-rev20261005-2.9.2'
implementation 'com.google.apis:google-api-services-saasservicemgmt:v1-rev20261020-2.9.2'
}
```

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-saasservicemgmt</artifactId>
<version>v1beta1-rev20261005-2.9.2</version>
<version>v1beta1-rev20261020-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-saasservicemgmt:v1beta1-rev20261005-2.9.2'
implementation 'com.google.apis:google-api-services-saasservicemgmt:v1beta1-rev20261020-2.9.2'
}
```

Expand Down
Loading
Loading