From 309752ae0df15b1089c06a77414a11d48d12644d Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Thu, 29 Oct 2026 17:57:00 -0700
Subject: [PATCH] chore: regenerate saasservicemgmt client
---
.../v1/2.0.0/README.md | 4 +-
.../v1/SaaSServiceManagement.java | 2 +-
.../v1/model/DurationLimits.java | 80 +
.../saasservicemgmt/v1/model/UnitKind.java | 39 +
.../v1/model/UnitOperation.java | 33 +
.../v1/2.0.0/pom.xml | 4 +-
.../v1/README.md | 4 +-
.../v1beta1/2.0.0/README.md | 4 +-
.../v1beta1/SaaSServiceManagement.java | 3000 +++--------------
.../v1beta1/model/DurationLimits.java | 80 +
.../saasservicemgmt/v1beta1/model/Engine.java | 97 +
.../v1beta1/model/FlagVariant.java | 12 +-
.../model/ListSaasReleasesResponse.java | 118 -
.../v1beta1/model/SaasRelease.java | 248 --
.../saasservicemgmt/v1beta1/model/Unit.java | 27 +
.../v1beta1/model/UnitKind.java | 39 +
.../v1beta1/model/UnitOperation.java | 33 +
.../v1beta1/2.0.0/pom.xml | 4 +-
.../v1beta1/README.md | 4 +-
19 files changed, 857 insertions(+), 2975 deletions(-)
create mode 100644 clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/DurationLimits.java
create mode 100644 clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/DurationLimits.java
create mode 100644 clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/Engine.java
delete mode 100644 clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ListSaasReleasesResponse.java
delete mode 100644 clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/SaasRelease.java
diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/README.md b/clients/google-api-services-saasservicemgmt/v1/2.0.0/README.md
index 4f10112c1ad..2ab021e4b33 100644
--- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/README.md
+++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
* For more information about this service, see the - * API Documentation + * API Documentation *
* *diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/DurationLimits.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/DurationLimits.java new file mode 100644 index 00000000000..78074602336 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/DurationLimits.java @@ -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. + * + *
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: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @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(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitKind.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitKind.java index cf971076a41..aa546443a20 100644 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitKind.java +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitKind.java @@ -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 @@ -320,6 +332,33 @@ public UnitKind setDependencies(java.util.List* For more information about this service, see the - * API Documentation + * API Documentation *
* *@@ -8923,54 +8923,54 @@ public Patch set(String parameterName, Object value) { } /** - * An accessor for creating requests from the SaasReleases collection. + * An accessor for creating requests from the Tenants collection. * *
The typical use is:
*
* {@code SaaSServiceManagement saasservicemgmt = new SaaSServiceManagement(...);}
- * {@code SaaSServiceManagement.SaasReleases.List request = saasservicemgmt.saasReleases().list(parameters ...)}
+ * {@code SaaSServiceManagement.Tenants.List request = saasservicemgmt.tenants().list(parameters ...)}
*
*
* @return the resource collection
*/
- public SaasReleases saasReleases() {
- return new SaasReleases();
+ public Tenants tenants() {
+ return new Tenants();
}
/**
- * The "saasReleases" collection of methods.
+ * The "tenants" collection of methods.
*/
- public class SaasReleases {
+ public class Tenants {
/**
- * Create a new saas release.
+ * Create a new tenant.
*
- * Create a request for the method "saasReleases.create".
+ * Create a request for the method "tenants.create".
*
* This request holds the parameters needed by the saasservicemgmt server. After setting any
* optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
*
- * @param parent Required. The parent of the saas release.
- * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.SaasRelease}
+ * @param parent Required. The parent of the tenant.
+ * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.Tenant}
* @return the request
*/
- public Create create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1beta1.model.SaasRelease content) throws java.io.IOException {
+ public Create create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1beta1.model.Tenant content) throws java.io.IOException {
Create result = new Create(parent, content);
initialize(result);
return result;
}
- public class Create extends SaaSServiceManagementRequest
@@ -9350,12 +9422,12 @@ public class Get extends SaaSServiceManagementRequest
* {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
* must be called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor. {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor. {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor. The typical use is: {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor. 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:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ * 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:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ * 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:
- * https://developers.google.com/api-client-library/java/google-http-java-client/json
- * 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:
- * https://developers.google.com/api-client-library/java/google-http-java-client/json
- *
* {@code SaaSServiceManagement saasservicemgmt = new SaaSServiceManagement(...);}
- * {@code SaaSServiceManagement.Tenants.List request = saasservicemgmt.tenants().list(parameters ...)}
+ * {@code SaaSServiceManagement.UnitGroupOperations.List request = saasservicemgmt.unitGroupOperations().list(parameters ...)}
*
*
* @return the resource collection
*/
- public Tenants tenants() {
- return new Tenants();
+ public UnitGroupOperations unitGroupOperations() {
+ return new UnitGroupOperations();
}
/**
- * The "tenants" collection of methods.
+ * The "unitGroupOperations" collection of methods.
*/
- public class Tenants {
+ public class UnitGroupOperations {
/**
- * Create a new tenant.
+ * Retrieve a single unit group operation.
*
- * Create a request for the method "tenants.create".
+ * Create a request for the method "unitGroupOperations.get".
*
* This request holds the parameters needed by the saasservicemgmt server. After setting any
- * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
- * @param parent Required. The parent of the tenant.
- * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.Tenant}
+ * @param name Required. The resource name of the resource within a service.
* @return the request
*/
- public Create create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1beta1.model.Tenant content) throws java.io.IOException {
- Create result = new Create(parent, content);
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
initialize(result);
return result;
}
- public class Create extends SaaSServiceManagementRequest
- * {@code SaaSServiceManagement saasservicemgmt = new SaaSServiceManagement(...);}
- * {@code SaaSServiceManagement.UnitGroupOperations.List request = saasservicemgmt.unitGroupOperations().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public UnitGroupOperations unitGroupOperations() {
- return new UnitGroupOperations();
- }
-
- /**
- * The "unitGroupOperations" collection of methods.
- */
- public class UnitGroupOperations {
-
- /**
- * Create a new unit group operation.
- *
- * Create a request for the method "unitGroupOperations.create".
- *
- * This request holds the parameters needed by the saasservicemgmt server. After setting any
- * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
- *
- * @param parent Required. The parent of the unit group operation.
- * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroupOperation}
- * @return the request
- */
- public Create create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroupOperation content) throws java.io.IOException {
- Create result = new Create(parent, content);
- initialize(result);
- return result;
- }
-
- public class Create extends SaaSServiceManagementRequest
- * {@code SaaSServiceManagement saasservicemgmt = new SaaSServiceManagement(...);}
- * {@code SaaSServiceManagement.UnitGroups.List request = saasservicemgmt.unitGroups().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public UnitGroups unitGroups() {
- return new UnitGroups();
- }
-
- /**
- * The "unitGroups" collection of methods.
- */
- public class UnitGroups {
-
- /**
- * Create a new unit group.
- *
- * Create a request for the method "unitGroups.create".
- *
- * This request holds the parameters needed by the saasservicemgmt server. After setting any
- * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
- *
- * @param parent Required. The parent of the unit group.
- * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroup}
- * @return the request
- */
- public Create create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroup content) throws java.io.IOException {
- Create result = new Create(parent, content);
- initialize(result);
- return result;
- }
-
- public class Create extends SaaSServiceManagementRequest
+ * {@code SaaSServiceManagement saasservicemgmt = new SaaSServiceManagement(...);}
+ * {@code SaaSServiceManagement.UnitGroups.List request = saasservicemgmt.unitGroups().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public UnitGroups unitGroups() {
+ return new UnitGroups();
+ }
+
+ /**
+ * The "unitGroups" collection of methods.
+ */
+ public class UnitGroups {
+
/**
* Retrieve a single unit group.
*
@@ -12689,201 +10704,6 @@ public List set(String parameterName, Object value) {
return (List) super.set(parameterName, value);
}
}
- /**
- * Update a single unit group.
- *
- * Create a request for the method "unitGroups.patch".
- *
- * This request holds the parameters needed by the saasservicemgmt server. After setting any
- * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
- *
- * @param name Identifier. The resource name (full URI of the resource) following the standard naming scheme:
- * "projects/{project}/locations/{location}/unitGroups/{unitGroup}"
- * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroup}
- * @return the request
- */
- public Patch patch(java.lang.String name, com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroup content) throws java.io.IOException {
- Patch result = new Patch(name, content);
- initialize(result);
- return result;
- }
-
- public class Patch extends SaaSServiceManagementRequest