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: com.google.apis google-api-services-saasservicemgmt - v1-rev20261005-2.9.2 + v1-rev20261020-2.9.2 @@ -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' } ``` diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/SaaSServiceManagement.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/SaaSServiceManagement.java index eaaf5064791..81ade853f3a 100644 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/SaaSServiceManagement.java +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/SaaSServiceManagement.java @@ -25,7 +25,7 @@ * *

* 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 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 diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitOperation.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitOperation.java index 6497b9c0b59..0557438c476 100644 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitOperation.java +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitOperation.java @@ -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. @@ -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. diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/pom.xml b/clients/google-api-services-saasservicemgmt/v1/2.0.0/pom.xml index c0a9c3b8104..229830c8b79 100644 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/pom.xml +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-saasservicemgmt - v1-rev20261005-2.9.2 - App Lifecycle Manager API v1-rev20261005-2.9.2 + v1-rev20261020-2.9.2 + App Lifecycle Manager API v1-rev20261020-2.9.2 jar 2011 diff --git a/clients/google-api-services-saasservicemgmt/v1/README.md b/clients/google-api-services-saasservicemgmt/v1/README.md index 4f10112c1ad..2ab021e4b33 100644 --- a/clients/google-api-services-saasservicemgmt/v1/README.md +++ b/clients/google-api-services-saasservicemgmt/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-saasservicemgmt - v1-rev20261005-2.9.2 + v1-rev20261020-2.9.2 @@ -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' } ``` diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/README.md b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/README.md index bb09f15a90a..a26410a33d0 100644 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/README.md +++ b/clients/google-api-services-saasservicemgmt/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-saasservicemgmt - v1beta1-rev20261005-2.9.2 + v1beta1-rev20261020-2.9.2 @@ -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' } ``` diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/SaaSServiceManagement.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/SaaSServiceManagement.java index b156c9e1528..a3ee3f97b1c 100644 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/SaaSServiceManagement.java +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/SaaSServiceManagement.java @@ -25,7 +25,7 @@ * *

* 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 { + public class Create extends SaaSServiceManagementRequest { - private static final String REST_PATH = "v1beta1/{+parent}/saasReleases"; + private static final String REST_PATH = "v1beta1/{+parent}/tenants"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * 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 the saasservicemgmt server. After setting any * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. @@ -8978,12 +8978,12 @@ public class Create extends SaaSServiceManagementRequest * - * @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} * @since 1.13 */ - protected Create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1beta1.model.SaasRelease content) { - super(SaaSServiceManagement.this, "POST", REST_PATH, content, com.google.api.services.saasservicemgmt.v1beta1.model.SaasRelease.class); + protected Create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1beta1.model.Tenant content) { + super(SaaSServiceManagement.this, "POST", REST_PATH, content, com.google.api.services.saasservicemgmt.v1beta1.model.Tenant.class); this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -9047,17 +9047,17 @@ public Create setUploadProtocol(java.lang.String uploadProtocol) { return (Create) super.setUploadProtocol(uploadProtocol); } - /** Required. The parent of the saas release. */ + /** Required. The parent of the tenant. */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent of the saas release. + /** Required. The parent of the tenant. */ public java.lang.String getParent() { return parent; } - /** Required. The parent of the saas release. */ + /** Required. The parent of the tenant. */ public Create setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -9068,35 +9068,62 @@ public Create setParent(java.lang.String parent) { return this; } - /** An optional request ID to identify requests. */ + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you + * must retry your request, the server will know to ignore the request if it has already + * been completed. The server will guarantee that for at least 60 minutes since the first + * request. For example, consider a situation where you make an initial request and the + * request times out. If you make the request again with the same request ID, the server + * can check if original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating duplicate + * commitments. The request ID must be a valid UUID with the exception that zero UUID is + * not supported (00000000-0000-0000-0000-000000000000). + */ @com.google.api.client.util.Key private java.lang.String requestId; - /** An optional request ID to identify requests. + /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry + your request, the server will know to ignore the request if it has already been completed. The + server will guarantee that for at least 60 minutes since the first request. For example, consider a + situation where you make an initial request and the request times out. If you make the request + again with the same request ID, the server can check if original operation with the same request ID + was received, and if so, will ignore the second request. This prevents clients from accidentally + creating duplicate commitments. The request ID must be a valid UUID with the exception that zero + UUID is not supported (00000000-0000-0000-0000-000000000000). */ public java.lang.String getRequestId() { return requestId; } - /** An optional request ID to identify requests. */ + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you + * must retry your request, the server will know to ignore the request if it has already + * been completed. The server will guarantee that for at least 60 minutes since the first + * request. For example, consider a situation where you make an initial request and the + * request times out. If you make the request again with the same request ID, the server + * can check if original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating duplicate + * commitments. The request ID must be a valid UUID with the exception that zero UUID is + * not supported (00000000-0000-0000-0000-000000000000). + */ public Create setRequestId(java.lang.String requestId) { this.requestId = requestId; return this; } - /** Required. The ID value for the new saas release. */ + /** Required. The ID value for the new tenant. */ @com.google.api.client.util.Key - private java.lang.String saasReleaseId; + private java.lang.String tenantId; - /** Required. The ID value for the new saas release. + /** Required. The ID value for the new tenant. */ - public java.lang.String getSaasReleaseId() { - return saasReleaseId; + public java.lang.String getTenantId() { + return tenantId; } - /** Required. The ID value for the new saas release. */ - public Create setSaasReleaseId(java.lang.String saasReleaseId) { - this.saasReleaseId = saasReleaseId; + /** Required. The ID value for the new tenant. */ + public Create setTenantId(java.lang.String tenantId) { + this.tenantId = tenantId; return this; } @@ -9129,9 +9156,9 @@ public Create set(String parameterName, Object value) { } } /** - * Delete a single saas release. + * Delete a single tenant. * - * Create a request for the method "saasReleases.delete". + * Create a request for the method "tenants.delete". * * This request holds the parameters needed by the saasservicemgmt server. After setting any * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. @@ -9150,12 +9177,12 @@ public class Delete extends SaaSServiceManagementRequest { + public class Get extends SaaSServiceManagementRequest { private static final String REST_PATH = "v1beta1/{+name}"; private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/saasReleases/[^/]+$"); + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); /** - * Retrieve a single saas release. + * Retrieve a single tenant. * - * Create a request for the method "saasReleases.get". + * Create a request for the method "tenants.get". * * This request holds the parameters needed by the the saasservicemgmt server. After setting any * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

@@ -9350,12 +9422,12 @@ public class Get extends SaaSServiceManagementRequest { + public class List extends SaaSServiceManagementRequest { - private static final String REST_PATH = "v1beta1/{+parent}/saasReleases"; + private static final String REST_PATH = "v1beta1/{+parent}/tenants"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Retrieve a collection of saas releases. + * Retrieve a collection of tenants. * - * Create a request for the method "saasReleases.list". + * Create a request for the method "tenants.list". * * This request holds the parameters needed by the the saasservicemgmt server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

* {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. The parent of the saas releases. + * @param parent Required. The parent of the tenant. * @since 1.13 */ protected List(java.lang.String parent) { - super(SaaSServiceManagement.this, "GET", REST_PATH, null, com.google.api.services.saasservicemgmt.v1beta1.model.ListSaasReleasesResponse.class); + super(SaaSServiceManagement.this, "GET", REST_PATH, null, com.google.api.services.saasservicemgmt.v1beta1.model.ListTenantsResponse.class); this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -9562,17 +9634,17 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { return (List) super.setUploadProtocol(uploadProtocol); } - /** Required. The parent of the saas releases. */ + /** Required. The parent of the tenant. */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent of the saas releases. + /** Required. The parent of the tenant. */ public java.lang.String getParent() { return parent; } - /** Required. The parent of the saas releases. */ + /** Required. The parent of the tenant. */ public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -9615,17 +9687,17 @@ public List setOrderBy(java.lang.String orderBy) { return this; } - /** The maximum number of saas releases to send per page. */ + /** The maximum number of tenants to send per page. */ @com.google.api.client.util.Key private java.lang.Integer pageSize; - /** The maximum number of saas releases to send per page. + /** The maximum number of tenants to send per page. */ public java.lang.Integer getPageSize() { return pageSize; } - /** The maximum number of saas releases to send per page. */ + /** The maximum number of tenants to send per page. */ public List setPageSize(java.lang.Integer pageSize) { this.pageSize = pageSize; return this; @@ -9660,35 +9732,35 @@ public List set(String parameterName, Object value) { } } /** - * Update a single saas release. + * Update a single tenant. * - * Create a request for the method "saasReleases.patch". + * Create a request for the method "tenants.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}/saasReleases/{saasRelease}" - * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.SaasRelease} + * "projects/{project}/locations/{location}/tenants/{tenant}" + * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.Tenant} * @return the request */ - public Patch patch(java.lang.String name, com.google.api.services.saasservicemgmt.v1beta1.model.SaasRelease content) throws java.io.IOException { + public Patch patch(java.lang.String name, com.google.api.services.saasservicemgmt.v1beta1.model.Tenant content) throws java.io.IOException { Patch result = new Patch(name, content); initialize(result); return result; } - public class Patch extends SaaSServiceManagementRequest { + public class Patch extends SaaSServiceManagementRequest { private static final String REST_PATH = "v1beta1/{+name}"; private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/saasReleases/[^/]+$"); + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); /** - * Update a single saas release. + * Update a single tenant. * - * Create a request for the method "saasReleases.patch". + * Create a request for the method "tenants.patch". * * This request holds the parameters needed by the the saasservicemgmt server. After setting any * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. @@ -9697,17 +9769,17 @@ public class Patch extends SaaSServiceManagementRequest * * @param name Identifier. The resource name (full URI of the resource) following the standard naming scheme: - * "projects/{project}/locations/{location}/saasReleases/{saasRelease}" - * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.SaasRelease} + * "projects/{project}/locations/{location}/tenants/{tenant}" + * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.Tenant} * @since 1.13 */ - protected Patch(java.lang.String name, com.google.api.services.saasservicemgmt.v1beta1.model.SaasRelease content) { - super(SaaSServiceManagement.this, "PATCH", REST_PATH, content, com.google.api.services.saasservicemgmt.v1beta1.model.SaasRelease.class); + protected Patch(java.lang.String name, com.google.api.services.saasservicemgmt.v1beta1.model.Tenant content) { + super(SaaSServiceManagement.this, "PATCH", REST_PATH, content, com.google.api.services.saasservicemgmt.v1beta1.model.Tenant.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/saasReleases/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); } } @@ -9768,13 +9840,13 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) { /** * Identifier. The resource name (full URI of the resource) following the standard naming - * scheme: "projects/{project}/locations/{location}/saasReleases/{saasRelease}" + * scheme: "projects/{project}/locations/{location}/tenants/{tenant}" */ @com.google.api.client.util.Key private java.lang.String name; /** Identifier. The resource name (full URI of the resource) following the standard naming scheme: - "projects/{project}/locations/{location}/saasReleases/{saasRelease}" + "projects/{project}/locations/{location}/tenants/{tenant}" */ public java.lang.String getName() { return name; @@ -9782,45 +9854,85 @@ public java.lang.String getName() { /** * Identifier. The resource name (full URI of the resource) following the standard naming - * scheme: "projects/{project}/locations/{location}/saasReleases/{saasRelease}" + * scheme: "projects/{project}/locations/{location}/tenants/{tenant}" */ public Patch setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/saasReleases/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); } this.name = name; return this; } - /** An optional request ID to identify requests. */ + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you + * must retry your request, the server will know to ignore the request if it has already + * been completed. The server will guarantee that for at least 60 minutes since the first + * request. For example, consider a situation where you make an initial request and the + * request times out. If you make the request again with the same request ID, the server + * can check if original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating duplicate + * commitments. The request ID must be a valid UUID with the exception that zero UUID is + * not supported (00000000-0000-0000-0000-000000000000). + */ @com.google.api.client.util.Key private java.lang.String requestId; - /** An optional request ID to identify requests. + /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry + your request, the server will know to ignore the request if it has already been completed. The + server will guarantee that for at least 60 minutes since the first request. For example, consider a + situation where you make an initial request and the request times out. If you make the request + again with the same request ID, the server can check if original operation with the same request ID + was received, and if so, will ignore the second request. This prevents clients from accidentally + creating duplicate commitments. The request ID must be a valid UUID with the exception that zero + UUID is not supported (00000000-0000-0000-0000-000000000000). */ public java.lang.String getRequestId() { return requestId; } - /** An optional request ID to identify requests. */ + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you + * must retry your request, the server will know to ignore the request if it has already + * been completed. The server will guarantee that for at least 60 minutes since the first + * request. For example, consider a situation where you make an initial request and the + * request times out. If you make the request again with the same request ID, the server + * can check if original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating duplicate + * commitments. The request ID must be a valid UUID with the exception that zero UUID is + * not supported (00000000-0000-0000-0000-000000000000). + */ public Patch setRequestId(java.lang.String requestId) { this.requestId = requestId; return this; } - /** Field mask is used to specify the fields to be overwritten. */ + /** + * Field mask is used to specify the fields to be overwritten in the Tenant resource by + * the update. The fields specified in the update_mask are relative to the resource, not + * the full request. A field will be overwritten if it is in the mask. If the user does + * not provide a mask then all fields in the Tenant will be overwritten. + */ @com.google.api.client.util.Key private String updateMask; - /** Field mask is used to specify the fields to be overwritten. + /** Field mask is used to specify the fields to be overwritten in the Tenant resource by the update. + The fields specified in the update_mask are relative to the resource, not the full request. A field + will be overwritten if it is in the mask. If the user does not provide a mask then all fields in + the Tenant will be overwritten. */ public String getUpdateMask() { return updateMask; } - /** Field mask is used to specify the fields to be overwritten. */ + /** + * Field mask is used to specify the fields to be overwritten in the Tenant resource by + * the update. The fields specified in the update_mask are relative to the resource, not + * the full request. A field will be overwritten if it is in the mask. If the user does + * not provide a mask then all fields in the Tenant will be overwritten. + */ public Patch setUpdateMask(String updateMask) { this.updateMask = updateMask; return this; @@ -9857,2491 +9969,394 @@ public Patch set(String parameterName, Object value) { } /** - * An accessor for creating requests from the Tenants collection. + * An accessor for creating requests from the UnitGroupOperations collection. * *

The typical use is:

*
        *   {@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 { + public class Get extends SaaSServiceManagementRequest { - private static final String REST_PATH = "v1beta1/{+parent}/tenants"; + private static final String REST_PATH = "v1beta1/{+name}"; - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/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 the saasservicemgmt server. After setting any - * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. - *

{@link - * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.

+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

* - * @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. * @since 1.13 */ - protected Create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1beta1.model.Tenant content) { - super(SaaSServiceManagement.this, "POST", REST_PATH, content, com.google.api.services.saasservicemgmt.v1beta1.model.Tenant.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); - } - } - - @Override - public Create set$Xgafv(java.lang.String $Xgafv) { - return (Create) super.set$Xgafv($Xgafv); - } - - @Override - public Create setAccessToken(java.lang.String accessToken) { - return (Create) super.setAccessToken(accessToken); - } - - @Override - public Create setAlt(java.lang.String alt) { - return (Create) super.setAlt(alt); - } - - @Override - public Create setCallback(java.lang.String callback) { - return (Create) super.setCallback(callback); - } - - @Override - public Create setFields(java.lang.String fields) { - return (Create) super.setFields(fields); - } - - @Override - public Create setKey(java.lang.String key) { - return (Create) super.setKey(key); - } - - @Override - public Create setOauthToken(java.lang.String oauthToken) { - return (Create) super.setOauthToken(oauthToken); - } - - @Override - public Create setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Create) super.setPrettyPrint(prettyPrint); - } - - @Override - public Create setQuotaUser(java.lang.String quotaUser) { - return (Create) super.setQuotaUser(quotaUser); - } - - @Override - public Create setUploadType(java.lang.String uploadType) { - return (Create) super.setUploadType(uploadType); - } - - @Override - public Create setUploadProtocol(java.lang.String uploadProtocol) { - return (Create) super.setUploadProtocol(uploadProtocol); - } - - /** Required. The parent of the tenant. */ - @com.google.api.client.util.Key - private java.lang.String parent; - - /** Required. The parent of the tenant. - */ - public java.lang.String getParent() { - return parent; - } - - /** Required. The parent of the tenant. */ - public Create setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); - } - this.parent = parent; - return this; - } - - /** - * An optional request ID to identify requests. Specify a unique request ID so that if you - * must retry your request, the server will know to ignore the request if it has already - * been completed. The server will guarantee that for at least 60 minutes since the first - * request. For example, consider a situation where you make an initial request and the - * request times out. If you make the request again with the same request ID, the server - * can check if original operation with the same request ID was received, and if so, will - * ignore the second request. This prevents clients from accidentally creating duplicate - * commitments. The request ID must be a valid UUID with the exception that zero UUID is - * not supported (00000000-0000-0000-0000-000000000000). - */ - @com.google.api.client.util.Key - private java.lang.String requestId; - - /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry - your request, the server will know to ignore the request if it has already been completed. The - server will guarantee that for at least 60 minutes since the first request. For example, consider a - situation where you make an initial request and the request times out. If you make the request - again with the same request ID, the server can check if original operation with the same request ID - was received, and if so, will ignore the second request. This prevents clients from accidentally - creating duplicate commitments. The request ID must be a valid UUID with the exception that zero - UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - public java.lang.String getRequestId() { - return requestId; - } - - /** - * An optional request ID to identify requests. Specify a unique request ID so that if you - * must retry your request, the server will know to ignore the request if it has already - * been completed. The server will guarantee that for at least 60 minutes since the first - * request. For example, consider a situation where you make an initial request and the - * request times out. If you make the request again with the same request ID, the server - * can check if original operation with the same request ID was received, and if so, will - * ignore the second request. This prevents clients from accidentally creating duplicate - * commitments. The request ID must be a valid UUID with the exception that zero UUID is - * not supported (00000000-0000-0000-0000-000000000000). - */ - public Create setRequestId(java.lang.String requestId) { - this.requestId = requestId; - return this; - } - - /** Required. The ID value for the new tenant. */ - @com.google.api.client.util.Key - private java.lang.String tenantId; - - /** Required. The ID value for the new tenant. - */ - public java.lang.String getTenantId() { - return tenantId; - } - - /** Required. The ID value for the new tenant. */ - public Create setTenantId(java.lang.String tenantId) { - this.tenantId = tenantId; - return this; - } - - /** - * If "validate_only" is set to true, the service will try to validate that this request - * would succeed, but will not actually make changes. - */ - @com.google.api.client.util.Key - private java.lang.Boolean validateOnly; - - /** If "validate_only" is set to true, the service will try to validate that this request would - succeed, but will not actually make changes. - */ - public java.lang.Boolean getValidateOnly() { - return validateOnly; - } - - /** - * If "validate_only" is set to true, the service will try to validate that this request - * would succeed, but will not actually make changes. - */ - public Create setValidateOnly(java.lang.Boolean validateOnly) { - this.validateOnly = validateOnly; - return this; - } - - @Override - public Create set(String parameterName, Object value) { - return (Create) super.set(parameterName, value); - } - } - /** - * Delete a single tenant. - * - * Create a request for the method "tenants.delete". - * - * This request holds the parameters needed by the saasservicemgmt server. After setting any - * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. - * - * @param name Required. The resource name of the resource within a service. - * @return the request - */ - public Delete delete(java.lang.String name) throws java.io.IOException { - Delete result = new Delete(name); - initialize(result); - return result; - } - - public class Delete extends SaaSServiceManagementRequest { - - private static final String REST_PATH = "v1beta1/{+name}"; - - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); - - /** - * Delete a single tenant. - * - * Create a request for the method "tenants.delete". - * - * This request holds the parameters needed by the the saasservicemgmt server. After setting any - * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. - *

{@link - * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.

- * - * @param name Required. The resource name of the resource within a service. - * @since 1.13 - */ - protected Delete(java.lang.String name) { - super(SaaSServiceManagement.this, "DELETE", REST_PATH, null, com.google.api.services.saasservicemgmt.v1beta1.model.Empty.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); - } - } - - @Override - public Delete set$Xgafv(java.lang.String $Xgafv) { - return (Delete) super.set$Xgafv($Xgafv); - } - - @Override - public Delete setAccessToken(java.lang.String accessToken) { - return (Delete) super.setAccessToken(accessToken); - } - - @Override - public Delete setAlt(java.lang.String alt) { - return (Delete) super.setAlt(alt); - } - - @Override - public Delete setCallback(java.lang.String callback) { - return (Delete) super.setCallback(callback); - } - - @Override - public Delete setFields(java.lang.String fields) { - return (Delete) super.setFields(fields); - } - - @Override - public Delete setKey(java.lang.String key) { - return (Delete) super.setKey(key); - } - - @Override - public Delete setOauthToken(java.lang.String oauthToken) { - return (Delete) super.setOauthToken(oauthToken); - } - - @Override - public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Delete) super.setPrettyPrint(prettyPrint); - } - - @Override - public Delete setQuotaUser(java.lang.String quotaUser) { - return (Delete) super.setQuotaUser(quotaUser); - } - - @Override - public Delete setUploadType(java.lang.String uploadType) { - return (Delete) super.setUploadType(uploadType); - } - - @Override - public Delete setUploadProtocol(java.lang.String uploadProtocol) { - return (Delete) super.setUploadProtocol(uploadProtocol); - } - - /** Required. The resource name of the resource within a service. */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** Required. The resource name of the resource within a service. - */ - public java.lang.String getName() { - return name; - } - - /** Required. The resource name of the resource within a service. */ - public Delete setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); - } - this.name = name; - return this; - } - - /** - * The etag known to the client for the expected state of the tenant. This is used with - * state-changing methods to prevent accidental overwrites when multiple user agents might - * be acting in parallel on the same resource. An etag wildcard provide optimistic - * concurrency based on the expected existence of the tenant. The Any wildcard (`*`) - * requires that the resource must already exists, and the Not Any wildcard (`!*`) - * requires that it must not. - */ - @com.google.api.client.util.Key - private java.lang.String etag; - - /** The etag known to the client for the expected state of the tenant. This is used with state-changing - methods to prevent accidental overwrites when multiple user agents might be acting in parallel on - the same resource. An etag wildcard provide optimistic concurrency based on the expected existence - of the tenant. The Any wildcard (`*`) requires that the resource must already exists, and the Not - Any wildcard (`!*`) requires that it must not. - */ - public java.lang.String getEtag() { - return etag; - } - - /** - * The etag known to the client for the expected state of the tenant. This is used with - * state-changing methods to prevent accidental overwrites when multiple user agents might - * be acting in parallel on the same resource. An etag wildcard provide optimistic - * concurrency based on the expected existence of the tenant. The Any wildcard (`*`) - * requires that the resource must already exists, and the Not Any wildcard (`!*`) - * requires that it must not. - */ - public Delete setEtag(java.lang.String etag) { - this.etag = etag; - return this; - } - - /** - * An optional request ID to identify requests. Specify a unique request ID so that if you - * must retry your request, the server will know to ignore the request if it has already - * been completed. The server will guarantee that for at least 60 minutes since the first - * request. For example, consider a situation where you make an initial request and the - * request times out. If you make the request again with the same request ID, the server - * can check if original operation with the same request ID was received, and if so, will - * ignore the second request. This prevents clients from accidentally creating duplicate - * commitments. The request ID must be a valid UUID with the exception that zero UUID is - * not supported (00000000-0000-0000-0000-000000000000). - */ - @com.google.api.client.util.Key - private java.lang.String requestId; - - /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry - your request, the server will know to ignore the request if it has already been completed. The - server will guarantee that for at least 60 minutes since the first request. For example, consider a - situation where you make an initial request and the request times out. If you make the request - again with the same request ID, the server can check if original operation with the same request ID - was received, and if so, will ignore the second request. This prevents clients from accidentally - creating duplicate commitments. The request ID must be a valid UUID with the exception that zero - UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - public java.lang.String getRequestId() { - return requestId; - } - - /** - * An optional request ID to identify requests. Specify a unique request ID so that if you - * must retry your request, the server will know to ignore the request if it has already - * been completed. The server will guarantee that for at least 60 minutes since the first - * request. For example, consider a situation where you make an initial request and the - * request times out. If you make the request again with the same request ID, the server - * can check if original operation with the same request ID was received, and if so, will - * ignore the second request. This prevents clients from accidentally creating duplicate - * commitments. The request ID must be a valid UUID with the exception that zero UUID is - * not supported (00000000-0000-0000-0000-000000000000). - */ - public Delete setRequestId(java.lang.String requestId) { - this.requestId = requestId; - return this; - } - - /** - * If "validate_only" is set to true, the service will try to validate that this request - * would succeed, but will not actually make changes. - */ - @com.google.api.client.util.Key - private java.lang.Boolean validateOnly; - - /** If "validate_only" is set to true, the service will try to validate that this request would - succeed, but will not actually make changes. - */ - public java.lang.Boolean getValidateOnly() { - return validateOnly; - } - - /** - * If "validate_only" is set to true, the service will try to validate that this request - * would succeed, but will not actually make changes. - */ - public Delete setValidateOnly(java.lang.Boolean validateOnly) { - this.validateOnly = validateOnly; - return this; - } - - @Override - public Delete set(String parameterName, Object value) { - return (Delete) super.set(parameterName, value); - } - } - /** - * Retrieve a single tenant. - * - * Create a request for the method "tenants.get". - * - * This request holds the parameters needed by the saasservicemgmt server. After setting any - * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. - * - * @param name Required. The resource name of the resource within a service. - * @return the request - */ - public Get get(java.lang.String name) throws java.io.IOException { - Get result = new Get(name); - initialize(result); - return result; - } - - public class Get extends SaaSServiceManagementRequest { - - private static final String REST_PATH = "v1beta1/{+name}"; - - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); - - /** - * Retrieve a single tenant. - * - * Create a request for the method "tenants.get". - * - * This request holds the parameters needed by the the saasservicemgmt server. After setting any - * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.

- * - * @param name Required. The resource name of the resource within a service. - * @since 1.13 - */ - protected Get(java.lang.String name) { - super(SaaSServiceManagement.this, "GET", REST_PATH, null, com.google.api.services.saasservicemgmt.v1beta1.model.Tenant.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); - } - } - - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public Get set$Xgafv(java.lang.String $Xgafv) { - return (Get) super.set$Xgafv($Xgafv); - } - - @Override - public Get setAccessToken(java.lang.String accessToken) { - return (Get) super.setAccessToken(accessToken); - } - - @Override - public Get setAlt(java.lang.String alt) { - return (Get) super.setAlt(alt); - } - - @Override - public Get setCallback(java.lang.String callback) { - return (Get) super.setCallback(callback); - } - - @Override - public Get setFields(java.lang.String fields) { - return (Get) super.setFields(fields); - } - - @Override - public Get setKey(java.lang.String key) { - return (Get) super.setKey(key); - } - - @Override - public Get setOauthToken(java.lang.String oauthToken) { - return (Get) super.setOauthToken(oauthToken); - } - - @Override - public Get setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Get) super.setPrettyPrint(prettyPrint); - } - - @Override - public Get setQuotaUser(java.lang.String quotaUser) { - return (Get) super.setQuotaUser(quotaUser); - } - - @Override - public Get setUploadType(java.lang.String uploadType) { - return (Get) super.setUploadType(uploadType); - } - - @Override - public Get setUploadProtocol(java.lang.String uploadProtocol) { - return (Get) super.setUploadProtocol(uploadProtocol); - } - - /** Required. The resource name of the resource within a service. */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** Required. The resource name of the resource within a service. - */ - public java.lang.String getName() { - return name; - } - - /** Required. The resource name of the resource within a service. */ - public Get setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); - } - this.name = name; - return this; - } - - @Override - public Get set(String parameterName, Object value) { - return (Get) super.set(parameterName, value); - } - } - /** - * Retrieve a collection of tenants. - * - * Create a request for the method "tenants.list". - * - * This request holds the parameters needed by the saasservicemgmt server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation. - * - * @param parent Required. The parent of the tenant. - * @return the request - */ - public List list(java.lang.String parent) throws java.io.IOException { - List result = new List(parent); - initialize(result); - return result; - } - - public class List extends SaaSServiceManagementRequest { - - private static final String REST_PATH = "v1beta1/{+parent}/tenants"; - - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); - - /** - * Retrieve a collection of tenants. - * - * Create a request for the method "tenants.list". - * - * This request holds the parameters needed by the the saasservicemgmt server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.

- * - * @param parent Required. The parent of the tenant. - * @since 1.13 - */ - protected List(java.lang.String parent) { - super(SaaSServiceManagement.this, "GET", REST_PATH, null, com.google.api.services.saasservicemgmt.v1beta1.model.ListTenantsResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); - } - } - - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public List set$Xgafv(java.lang.String $Xgafv) { - return (List) super.set$Xgafv($Xgafv); - } - - @Override - public List setAccessToken(java.lang.String accessToken) { - return (List) super.setAccessToken(accessToken); - } - - @Override - public List setAlt(java.lang.String alt) { - return (List) super.setAlt(alt); - } - - @Override - public List setCallback(java.lang.String callback) { - return (List) super.setCallback(callback); - } - - @Override - public List setFields(java.lang.String fields) { - return (List) super.setFields(fields); - } - - @Override - public List setKey(java.lang.String key) { - return (List) super.setKey(key); - } - - @Override - public List setOauthToken(java.lang.String oauthToken) { - return (List) super.setOauthToken(oauthToken); - } - - @Override - public List setPrettyPrint(java.lang.Boolean prettyPrint) { - return (List) super.setPrettyPrint(prettyPrint); - } - - @Override - public List setQuotaUser(java.lang.String quotaUser) { - return (List) super.setQuotaUser(quotaUser); - } - - @Override - public List setUploadType(java.lang.String uploadType) { - return (List) super.setUploadType(uploadType); - } - - @Override - public List setUploadProtocol(java.lang.String uploadProtocol) { - return (List) super.setUploadProtocol(uploadProtocol); - } - - /** Required. The parent of the tenant. */ - @com.google.api.client.util.Key - private java.lang.String parent; - - /** Required. The parent of the tenant. - */ - public java.lang.String getParent() { - return parent; - } - - /** Required. The parent of the tenant. */ - public List setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); - } - this.parent = parent; - return this; - } - - /** Filter the list as specified in https://google.aip.dev/160. */ - @com.google.api.client.util.Key - private java.lang.String filter; - - /** Filter the list as specified in https://google.aip.dev/160. - */ - public java.lang.String getFilter() { - return filter; - } - - /** Filter the list as specified in https://google.aip.dev/160. */ - public List setFilter(java.lang.String filter) { - this.filter = filter; - return this; - } - - /** Order results as specified in https://google.aip.dev/132. */ - @com.google.api.client.util.Key - private java.lang.String orderBy; - - /** Order results as specified in https://google.aip.dev/132. - */ - public java.lang.String getOrderBy() { - return orderBy; - } - - /** Order results as specified in https://google.aip.dev/132. */ - public List setOrderBy(java.lang.String orderBy) { - this.orderBy = orderBy; - return this; - } - - /** The maximum number of tenants to send per page. */ - @com.google.api.client.util.Key - private java.lang.Integer pageSize; - - /** The maximum number of tenants to send per page. - */ - public java.lang.Integer getPageSize() { - return pageSize; - } - - /** The maximum number of tenants to send per page. */ - public List setPageSize(java.lang.Integer pageSize) { - this.pageSize = pageSize; - return this; - } - - /** - * The page token: If the next_page_token from a previous response is provided, this - * request will send the subsequent page. - */ - @com.google.api.client.util.Key - private java.lang.String pageToken; - - /** The page token: If the next_page_token from a previous response is provided, this request will send - the subsequent page. - */ - public java.lang.String getPageToken() { - return pageToken; - } - - /** - * The page token: If the next_page_token from a previous response is provided, this - * request will send the subsequent page. - */ - public List setPageToken(java.lang.String pageToken) { - this.pageToken = pageToken; - return this; - } - - @Override - public List set(String parameterName, Object value) { - return (List) super.set(parameterName, value); - } - } - /** - * Update a single tenant. - * - * Create a request for the method "tenants.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}/tenants/{tenant}" - * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.Tenant} - * @return the request - */ - public Patch patch(java.lang.String name, com.google.api.services.saasservicemgmt.v1beta1.model.Tenant content) throws java.io.IOException { - Patch result = new Patch(name, content); - initialize(result); - return result; - } - - public class Patch extends SaaSServiceManagementRequest { - - private static final String REST_PATH = "v1beta1/{+name}"; - - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); - - /** - * Update a single tenant. - * - * Create a request for the method "tenants.patch". - * - * This request holds the parameters needed by the the saasservicemgmt server. After setting any - * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. - *

{@link - * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.

- * - * @param name Identifier. The resource name (full URI of the resource) following the standard naming scheme: - * "projects/{project}/locations/{location}/tenants/{tenant}" - * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.Tenant} - * @since 1.13 - */ - protected Patch(java.lang.String name, com.google.api.services.saasservicemgmt.v1beta1.model.Tenant content) { - super(SaaSServiceManagement.this, "PATCH", REST_PATH, content, com.google.api.services.saasservicemgmt.v1beta1.model.Tenant.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); - } - } - - @Override - public Patch set$Xgafv(java.lang.String $Xgafv) { - return (Patch) super.set$Xgafv($Xgafv); - } - - @Override - public Patch setAccessToken(java.lang.String accessToken) { - return (Patch) super.setAccessToken(accessToken); - } - - @Override - public Patch setAlt(java.lang.String alt) { - return (Patch) super.setAlt(alt); - } - - @Override - public Patch setCallback(java.lang.String callback) { - return (Patch) super.setCallback(callback); - } - - @Override - public Patch setFields(java.lang.String fields) { - return (Patch) super.setFields(fields); - } - - @Override - public Patch setKey(java.lang.String key) { - return (Patch) super.setKey(key); - } - - @Override - public Patch setOauthToken(java.lang.String oauthToken) { - return (Patch) super.setOauthToken(oauthToken); - } - - @Override - public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Patch) super.setPrettyPrint(prettyPrint); - } - - @Override - public Patch setQuotaUser(java.lang.String quotaUser) { - return (Patch) super.setQuotaUser(quotaUser); - } - - @Override - public Patch setUploadType(java.lang.String uploadType) { - return (Patch) super.setUploadType(uploadType); - } - - @Override - public Patch setUploadProtocol(java.lang.String uploadProtocol) { - return (Patch) super.setUploadProtocol(uploadProtocol); - } - - /** - * Identifier. The resource name (full URI of the resource) following the standard naming - * scheme: "projects/{project}/locations/{location}/tenants/{tenant}" - */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** Identifier. The resource name (full URI of the resource) following the standard naming scheme: - "projects/{project}/locations/{location}/tenants/{tenant}" - */ - public java.lang.String getName() { - return name; - } - - /** - * Identifier. The resource name (full URI of the resource) following the standard naming - * scheme: "projects/{project}/locations/{location}/tenants/{tenant}" - */ - public Patch setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); - } - this.name = name; - return this; - } - - /** - * An optional request ID to identify requests. Specify a unique request ID so that if you - * must retry your request, the server will know to ignore the request if it has already - * been completed. The server will guarantee that for at least 60 minutes since the first - * request. For example, consider a situation where you make an initial request and the - * request times out. If you make the request again with the same request ID, the server - * can check if original operation with the same request ID was received, and if so, will - * ignore the second request. This prevents clients from accidentally creating duplicate - * commitments. The request ID must be a valid UUID with the exception that zero UUID is - * not supported (00000000-0000-0000-0000-000000000000). - */ - @com.google.api.client.util.Key - private java.lang.String requestId; - - /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry - your request, the server will know to ignore the request if it has already been completed. The - server will guarantee that for at least 60 minutes since the first request. For example, consider a - situation where you make an initial request and the request times out. If you make the request - again with the same request ID, the server can check if original operation with the same request ID - was received, and if so, will ignore the second request. This prevents clients from accidentally - creating duplicate commitments. The request ID must be a valid UUID with the exception that zero - UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - public java.lang.String getRequestId() { - return requestId; - } - - /** - * An optional request ID to identify requests. Specify a unique request ID so that if you - * must retry your request, the server will know to ignore the request if it has already - * been completed. The server will guarantee that for at least 60 minutes since the first - * request. For example, consider a situation where you make an initial request and the - * request times out. If you make the request again with the same request ID, the server - * can check if original operation with the same request ID was received, and if so, will - * ignore the second request. This prevents clients from accidentally creating duplicate - * commitments. The request ID must be a valid UUID with the exception that zero UUID is - * not supported (00000000-0000-0000-0000-000000000000). - */ - public Patch setRequestId(java.lang.String requestId) { - this.requestId = requestId; - return this; - } - - /** - * Field mask is used to specify the fields to be overwritten in the Tenant resource by - * the update. The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the user does - * not provide a mask then all fields in the Tenant will be overwritten. - */ - @com.google.api.client.util.Key - private String updateMask; - - /** Field mask is used to specify the fields to be overwritten in the Tenant resource by the update. - The fields specified in the update_mask are relative to the resource, not the full request. A field - will be overwritten if it is in the mask. If the user does not provide a mask then all fields in - the Tenant will be overwritten. - */ - public String getUpdateMask() { - return updateMask; - } - - /** - * Field mask is used to specify the fields to be overwritten in the Tenant resource by - * the update. The fields specified in the update_mask are relative to the resource, not - * the full request. A field will be overwritten if it is in the mask. If the user does - * not provide a mask then all fields in the Tenant will be overwritten. - */ - public Patch setUpdateMask(String updateMask) { - this.updateMask = updateMask; - return this; - } - - /** - * If "validate_only" is set to true, the service will try to validate that this request - * would succeed, but will not actually make changes. - */ - @com.google.api.client.util.Key - private java.lang.Boolean validateOnly; - - /** If "validate_only" is set to true, the service will try to validate that this request would - succeed, but will not actually make changes. - */ - public java.lang.Boolean getValidateOnly() { - return validateOnly; - } - - /** - * If "validate_only" is set to true, the service will try to validate that this request - * would succeed, but will not actually make changes. - */ - public Patch setValidateOnly(java.lang.Boolean validateOnly) { - this.validateOnly = validateOnly; - return this; - } - - @Override - public Patch set(String parameterName, Object value) { - return (Patch) super.set(parameterName, value); - } - } - - } - /** - * An accessor for creating requests from the UnitGroupOperations collection. - * - *

The typical use is:

- *
-       *   {@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 { - - private static final String REST_PATH = "v1beta1/{+parent}/unitGroupOperations"; - - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); - - /** - * Create a new unit group operation. - * - * Create a request for the method "unitGroupOperations.create". - * - * This request holds the parameters needed by the the saasservicemgmt server. After setting any - * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. - *

{@link - * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.

- * - * @param parent Required. The parent of the unit group operation. - * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroupOperation} - * @since 1.13 - */ - protected Create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroupOperation content) { - super(SaaSServiceManagement.this, "POST", REST_PATH, content, com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroupOperation.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); - } - } - - @Override - public Create set$Xgafv(java.lang.String $Xgafv) { - return (Create) super.set$Xgafv($Xgafv); - } - - @Override - public Create setAccessToken(java.lang.String accessToken) { - return (Create) super.setAccessToken(accessToken); - } - - @Override - public Create setAlt(java.lang.String alt) { - return (Create) super.setAlt(alt); - } - - @Override - public Create setCallback(java.lang.String callback) { - return (Create) super.setCallback(callback); - } - - @Override - public Create setFields(java.lang.String fields) { - return (Create) super.setFields(fields); - } - - @Override - public Create setKey(java.lang.String key) { - return (Create) super.setKey(key); - } - - @Override - public Create setOauthToken(java.lang.String oauthToken) { - return (Create) super.setOauthToken(oauthToken); - } - - @Override - public Create setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Create) super.setPrettyPrint(prettyPrint); - } - - @Override - public Create setQuotaUser(java.lang.String quotaUser) { - return (Create) super.setQuotaUser(quotaUser); - } - - @Override - public Create setUploadType(java.lang.String uploadType) { - return (Create) super.setUploadType(uploadType); - } - - @Override - public Create setUploadProtocol(java.lang.String uploadProtocol) { - return (Create) super.setUploadProtocol(uploadProtocol); - } - - /** Required. The parent of the unit group operation. */ - @com.google.api.client.util.Key - private java.lang.String parent; - - /** Required. The parent of the unit group operation. - */ - public java.lang.String getParent() { - return parent; - } - - /** Required. The parent of the unit group operation. */ - public Create setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); - } - this.parent = parent; - return this; - } - - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the request if it - * has already been completed. The server will guarantee that for at least 60 minutes - * since the first request. For example, consider a situation where you make an initial - * request and the request times out. If you make the request again with the same request - * ID, the server can check if original operation with the same request ID was received, - * and if so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the exception - * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - @com.google.api.client.util.Key - private java.lang.String requestId; - - /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you - must retry your request, the server will know to ignore the request if it has already been - completed. The server will guarantee that for at least 60 minutes since the first request. For - example, consider a situation where you make an initial request and the request times out. If you - make the request again with the same request ID, the server can check if original operation with - the same request ID was received, and if so, will ignore the second request. This prevents clients - from accidentally creating duplicate commitments. The request ID must be a valid UUID with the - exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - public java.lang.String getRequestId() { - return requestId; - } - - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the request if it - * has already been completed. The server will guarantee that for at least 60 minutes - * since the first request. For example, consider a situation where you make an initial - * request and the request times out. If you make the request again with the same request - * ID, the server can check if original operation with the same request ID was received, - * and if so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the exception - * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - public Create setRequestId(java.lang.String requestId) { - this.requestId = requestId; - return this; - } - - /** Required. The ID value for the new unit group operation. */ - @com.google.api.client.util.Key - private java.lang.String unitGroupOperationId; - - /** Required. The ID value for the new unit group operation. - */ - public java.lang.String getUnitGroupOperationId() { - return unitGroupOperationId; - } - - /** Required. The ID value for the new unit group operation. */ - public Create setUnitGroupOperationId(java.lang.String unitGroupOperationId) { - this.unitGroupOperationId = unitGroupOperationId; - return this; - } - - /** - * Optional. If "validate_only" is set to true, the service will try to validate that this - * request would succeed, but will not actually make changes. - */ - @com.google.api.client.util.Key - private java.lang.Boolean validateOnly; - - /** Optional. If "validate_only" is set to true, the service will try to validate that this request - would succeed, but will not actually make changes. - */ - public java.lang.Boolean getValidateOnly() { - return validateOnly; - } - - /** - * Optional. If "validate_only" is set to true, the service will try to validate that this - * request would succeed, but will not actually make changes. - */ - public Create setValidateOnly(java.lang.Boolean validateOnly) { - this.validateOnly = validateOnly; - return this; - } - - @Override - public Create set(String parameterName, Object value) { - return (Create) super.set(parameterName, value); - } - } - /** - * Delete a single unit group operation. - * - * Create a request for the method "unitGroupOperations.delete". - * - * This request holds the parameters needed by the saasservicemgmt server. After setting any - * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. - * - * @param name Required. The resource name of the resource within a service. - * @return the request - */ - public Delete delete(java.lang.String name) throws java.io.IOException { - Delete result = new Delete(name); - initialize(result); - return result; - } - - public class Delete extends SaaSServiceManagementRequest { - - private static final String REST_PATH = "v1beta1/{+name}"; - - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/unitGroupOperations/[^/]+$"); - - /** - * Delete a single unit group operation. - * - * Create a request for the method "unitGroupOperations.delete". - * - * This request holds the parameters needed by the the saasservicemgmt server. After setting any - * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. - *

{@link - * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.

- * - * @param name Required. The resource name of the resource within a service. - * @since 1.13 - */ - protected Delete(java.lang.String name) { - super(SaaSServiceManagement.this, "DELETE", REST_PATH, null, com.google.api.services.saasservicemgmt.v1beta1.model.Empty.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/unitGroupOperations/[^/]+$"); - } - } - - @Override - public Delete set$Xgafv(java.lang.String $Xgafv) { - return (Delete) super.set$Xgafv($Xgafv); - } - - @Override - public Delete setAccessToken(java.lang.String accessToken) { - return (Delete) super.setAccessToken(accessToken); - } - - @Override - public Delete setAlt(java.lang.String alt) { - return (Delete) super.setAlt(alt); - } - - @Override - public Delete setCallback(java.lang.String callback) { - return (Delete) super.setCallback(callback); - } - - @Override - public Delete setFields(java.lang.String fields) { - return (Delete) super.setFields(fields); - } - - @Override - public Delete setKey(java.lang.String key) { - return (Delete) super.setKey(key); - } - - @Override - public Delete setOauthToken(java.lang.String oauthToken) { - return (Delete) super.setOauthToken(oauthToken); - } - - @Override - public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Delete) super.setPrettyPrint(prettyPrint); - } - - @Override - public Delete setQuotaUser(java.lang.String quotaUser) { - return (Delete) super.setQuotaUser(quotaUser); - } - - @Override - public Delete setUploadType(java.lang.String uploadType) { - return (Delete) super.setUploadType(uploadType); - } - - @Override - public Delete setUploadProtocol(java.lang.String uploadProtocol) { - return (Delete) super.setUploadProtocol(uploadProtocol); - } - - /** Required. The resource name of the resource within a service. */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** Required. The resource name of the resource within a service. - */ - public java.lang.String getName() { - return name; - } - - /** Required. The resource name of the resource within a service. */ - public Delete setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/unitGroupOperations/[^/]+$"); - } - this.name = name; - return this; - } - - /** - * Optional. The etag known to the client for the expected state of the unit group - * operation. This is used with state-changing methods to prevent accidental overwrites - * when multiple user agents might be acting in parallel on the same resource. An etag - * wildcard provide optimistic concurrency based on the expected existence of the unit - * group operation. The Any wildcard (`*`) requires that the resource must already exists, - * and the Not Any wildcard (`!*`) requires that it must not. - */ - @com.google.api.client.util.Key - private java.lang.String etag; - - /** Optional. The etag known to the client for the expected state of the unit group operation. This is - used with state-changing methods to prevent accidental overwrites when multiple user agents might - be acting in parallel on the same resource. An etag wildcard provide optimistic concurrency based - on the expected existence of the unit group operation. The Any wildcard (`*`) requires that the - resource must already exists, and the Not Any wildcard (`!*`) requires that it must not. - */ - public java.lang.String getEtag() { - return etag; - } - - /** - * Optional. The etag known to the client for the expected state of the unit group - * operation. This is used with state-changing methods to prevent accidental overwrites - * when multiple user agents might be acting in parallel on the same resource. An etag - * wildcard provide optimistic concurrency based on the expected existence of the unit - * group operation. The Any wildcard (`*`) requires that the resource must already exists, - * and the Not Any wildcard (`!*`) requires that it must not. - */ - public Delete setEtag(java.lang.String etag) { - this.etag = etag; - return this; - } - - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the request if it - * has already been completed. The server will guarantee that for at least 60 minutes - * since the first request. For example, consider a situation where you make an initial - * request and the request times out. If you make the request again with the same request - * ID, the server can check if original operation with the same request ID was received, - * and if so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the exception - * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - @com.google.api.client.util.Key - private java.lang.String requestId; - - /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you - must retry your request, the server will know to ignore the request if it has already been - completed. The server will guarantee that for at least 60 minutes since the first request. For - example, consider a situation where you make an initial request and the request times out. If you - make the request again with the same request ID, the server can check if original operation with - the same request ID was received, and if so, will ignore the second request. This prevents clients - from accidentally creating duplicate commitments. The request ID must be a valid UUID with the - exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - public java.lang.String getRequestId() { - return requestId; - } - - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the request if it - * has already been completed. The server will guarantee that for at least 60 minutes - * since the first request. For example, consider a situation where you make an initial - * request and the request times out. If you make the request again with the same request - * ID, the server can check if original operation with the same request ID was received, - * and if so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the exception - * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - public Delete setRequestId(java.lang.String requestId) { - this.requestId = requestId; - return this; - } - - /** - * Optional. If "validate_only" is set to true, the service will try to validate that this - * request would succeed, but will not actually make changes. - */ - @com.google.api.client.util.Key - private java.lang.Boolean validateOnly; - - /** Optional. If "validate_only" is set to true, the service will try to validate that this request - would succeed, but will not actually make changes. - */ - public java.lang.Boolean getValidateOnly() { - return validateOnly; - } - - /** - * Optional. If "validate_only" is set to true, the service will try to validate that this - * request would succeed, but will not actually make changes. - */ - public Delete setValidateOnly(java.lang.Boolean validateOnly) { - this.validateOnly = validateOnly; - return this; - } - - @Override - public Delete set(String parameterName, Object value) { - return (Delete) super.set(parameterName, value); - } - } - /** - * Retrieve a single unit group operation. - * - * 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 Get#execute()} method to invoke the remote operation. - * - * @param name Required. The resource name of the resource within a service. - * @return the request - */ - public Get get(java.lang.String name) throws java.io.IOException { - Get result = new Get(name); - initialize(result); - return result; - } - - public class Get extends SaaSServiceManagementRequest { - - private static final String REST_PATH = "v1beta1/{+name}"; - - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/unitGroupOperations/[^/]+$"); - - /** - * Retrieve a single unit group operation. - * - * Create a request for the method "unitGroupOperations.get". - * - * This request holds the parameters needed by the the saasservicemgmt server. After setting any - * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.

- * - * @param name Required. The resource name of the resource within a service. - * @since 1.13 - */ - protected Get(java.lang.String name) { - super(SaaSServiceManagement.this, "GET", REST_PATH, null, com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroupOperation.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/unitGroupOperations/[^/]+$"); - } - } - - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public Get set$Xgafv(java.lang.String $Xgafv) { - return (Get) super.set$Xgafv($Xgafv); - } - - @Override - public Get setAccessToken(java.lang.String accessToken) { - return (Get) super.setAccessToken(accessToken); - } - - @Override - public Get setAlt(java.lang.String alt) { - return (Get) super.setAlt(alt); - } - - @Override - public Get setCallback(java.lang.String callback) { - return (Get) super.setCallback(callback); - } - - @Override - public Get setFields(java.lang.String fields) { - return (Get) super.setFields(fields); - } - - @Override - public Get setKey(java.lang.String key) { - return (Get) super.setKey(key); - } - - @Override - public Get setOauthToken(java.lang.String oauthToken) { - return (Get) super.setOauthToken(oauthToken); - } - - @Override - public Get setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Get) super.setPrettyPrint(prettyPrint); - } - - @Override - public Get setQuotaUser(java.lang.String quotaUser) { - return (Get) super.setQuotaUser(quotaUser); - } - - @Override - public Get setUploadType(java.lang.String uploadType) { - return (Get) super.setUploadType(uploadType); - } - - @Override - public Get setUploadProtocol(java.lang.String uploadProtocol) { - return (Get) super.setUploadProtocol(uploadProtocol); - } - - /** Required. The resource name of the resource within a service. */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** Required. The resource name of the resource within a service. - */ - public java.lang.String getName() { - return name; - } - - /** Required. The resource name of the resource within a service. */ - public Get setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/unitGroupOperations/[^/]+$"); - } - this.name = name; - return this; - } - - @Override - public Get set(String parameterName, Object value) { - return (Get) super.set(parameterName, value); - } - } - /** - * Retrieve a collection of unit group operations. - * - * Create a request for the method "unitGroupOperations.list". - * - * This request holds the parameters needed by the saasservicemgmt server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation. - * - * @param parent Required. The parent of the unit group operation. - * @return the request - */ - public List list(java.lang.String parent) throws java.io.IOException { - List result = new List(parent); - initialize(result); - return result; - } - - public class List extends SaaSServiceManagementRequest { - - private static final String REST_PATH = "v1beta1/{+parent}/unitGroupOperations"; - - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); - - /** - * Retrieve a collection of unit group operations. - * - * Create a request for the method "unitGroupOperations.list". - * - * This request holds the parameters needed by the the saasservicemgmt server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.

- * - * @param parent Required. The parent of the unit group operation. - * @since 1.13 - */ - protected List(java.lang.String parent) { - super(SaaSServiceManagement.this, "GET", REST_PATH, null, com.google.api.services.saasservicemgmt.v1beta1.model.ListUnitGroupOperationsResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); - } - } - - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public List set$Xgafv(java.lang.String $Xgafv) { - return (List) super.set$Xgafv($Xgafv); - } - - @Override - public List setAccessToken(java.lang.String accessToken) { - return (List) super.setAccessToken(accessToken); - } - - @Override - public List setAlt(java.lang.String alt) { - return (List) super.setAlt(alt); - } - - @Override - public List setCallback(java.lang.String callback) { - return (List) super.setCallback(callback); - } - - @Override - public List setFields(java.lang.String fields) { - return (List) super.setFields(fields); - } - - @Override - public List setKey(java.lang.String key) { - return (List) super.setKey(key); - } - - @Override - public List setOauthToken(java.lang.String oauthToken) { - return (List) super.setOauthToken(oauthToken); - } - - @Override - public List setPrettyPrint(java.lang.Boolean prettyPrint) { - return (List) super.setPrettyPrint(prettyPrint); - } - - @Override - public List setQuotaUser(java.lang.String quotaUser) { - return (List) super.setQuotaUser(quotaUser); - } - - @Override - public List setUploadType(java.lang.String uploadType) { - return (List) super.setUploadType(uploadType); - } - - @Override - public List setUploadProtocol(java.lang.String uploadProtocol) { - return (List) super.setUploadProtocol(uploadProtocol); - } - - /** Required. The parent of the unit group operation. */ - @com.google.api.client.util.Key - private java.lang.String parent; - - /** Required. The parent of the unit group operation. - */ - public java.lang.String getParent() { - return parent; - } - - /** Required. The parent of the unit group operation. */ - public List setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); - } - this.parent = parent; - return this; - } - - /** Filter the list as specified in https://google.aip.dev/160. */ - @com.google.api.client.util.Key - private java.lang.String filter; - - /** Filter the list as specified in https://google.aip.dev/160. - */ - public java.lang.String getFilter() { - return filter; - } - - /** Filter the list as specified in https://google.aip.dev/160. */ - public List setFilter(java.lang.String filter) { - this.filter = filter; - return this; - } - - /** Order results as specified in https://google.aip.dev/132. */ - @com.google.api.client.util.Key - private java.lang.String orderBy; - - /** Order results as specified in https://google.aip.dev/132. - */ - public java.lang.String getOrderBy() { - return orderBy; - } - - /** Order results as specified in https://google.aip.dev/132. */ - public List setOrderBy(java.lang.String orderBy) { - this.orderBy = orderBy; - return this; - } - - /** The maximum number of unit group operations to send per page. */ - @com.google.api.client.util.Key - private java.lang.Integer pageSize; - - /** The maximum number of unit group operations to send per page. - */ - public java.lang.Integer getPageSize() { - return pageSize; - } - - /** The maximum number of unit group operations to send per page. */ - public List setPageSize(java.lang.Integer pageSize) { - this.pageSize = pageSize; - return this; - } - - /** - * The page token: If the next_page_token from a previous response is provided, this - * request will send the subsequent page. - */ - @com.google.api.client.util.Key - private java.lang.String pageToken; - - /** The page token: If the next_page_token from a previous response is provided, this request will send - the subsequent page. - */ - public java.lang.String getPageToken() { - return pageToken; - } - - /** - * The page token: If the next_page_token from a previous response is provided, this - * request will send the subsequent page. - */ - public List setPageToken(java.lang.String pageToken) { - this.pageToken = pageToken; - return this; - } - - @Override - public List set(String parameterName, Object value) { - return (List) super.set(parameterName, value); - } - } - /** - * Update a single unit group operation. - * - * Create a request for the method "unitGroupOperations.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}/unitGroupOperations/{unitGroupOperation}" - * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroupOperation} - * @return the request - */ - public Patch patch(java.lang.String name, com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroupOperation content) throws java.io.IOException { - Patch result = new Patch(name, content); - initialize(result); - return result; - } - - public class Patch extends SaaSServiceManagementRequest { - - private static final String REST_PATH = "v1beta1/{+name}"; - - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/unitGroupOperations/[^/]+$"); - - /** - * Update a single unit group operation. - * - * Create a request for the method "unitGroupOperations.patch". - * - * This request holds the parameters needed by the the saasservicemgmt server. After setting any - * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. - *

{@link - * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.

- * - * @param name Identifier. The resource name (full URI of the resource) following the standard naming scheme: - * "projects/{project}/locations/{location}/unitGroupOperations/{unitGroupOperation}" - * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroupOperation} - * @since 1.13 - */ - protected Patch(java.lang.String name, com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroupOperation content) { - super(SaaSServiceManagement.this, "PATCH", REST_PATH, content, com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroupOperation.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/unitGroupOperations/[^/]+$"); - } - } - - @Override - public Patch set$Xgafv(java.lang.String $Xgafv) { - return (Patch) super.set$Xgafv($Xgafv); - } - - @Override - public Patch setAccessToken(java.lang.String accessToken) { - return (Patch) super.setAccessToken(accessToken); - } - - @Override - public Patch setAlt(java.lang.String alt) { - return (Patch) super.setAlt(alt); - } - - @Override - public Patch setCallback(java.lang.String callback) { - return (Patch) super.setCallback(callback); - } - - @Override - public Patch setFields(java.lang.String fields) { - return (Patch) super.setFields(fields); - } - - @Override - public Patch setKey(java.lang.String key) { - return (Patch) super.setKey(key); - } - - @Override - public Patch setOauthToken(java.lang.String oauthToken) { - return (Patch) super.setOauthToken(oauthToken); - } - - @Override - public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Patch) super.setPrettyPrint(prettyPrint); - } - - @Override - public Patch setQuotaUser(java.lang.String quotaUser) { - return (Patch) super.setQuotaUser(quotaUser); - } - - @Override - public Patch setUploadType(java.lang.String uploadType) { - return (Patch) super.setUploadType(uploadType); - } - - @Override - public Patch setUploadProtocol(java.lang.String uploadProtocol) { - return (Patch) super.setUploadProtocol(uploadProtocol); - } - - /** - * Identifier. The resource name (full URI of the resource) following the standard naming - * scheme: - * "projects/{project}/locations/{location}/unitGroupOperations/{unitGroupOperation}" - */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** Identifier. The resource name (full URI of the resource) following the standard naming scheme: - "projects/{project}/locations/{location}/unitGroupOperations/{unitGroupOperation}" - */ - public java.lang.String getName() { - return name; - } - - /** - * Identifier. The resource name (full URI of the resource) following the standard naming - * scheme: - * "projects/{project}/locations/{location}/unitGroupOperations/{unitGroupOperation}" - */ - public Patch setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/unitGroupOperations/[^/]+$"); - } - this.name = name; - return this; - } - - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the request if it - * has already been completed. The server will guarantee that for at least 60 minutes - * since the first request. For example, consider a situation where you make an initial - * request and the request times out. If you make the request again with the same request - * ID, the server can check if original operation with the same request ID was received, - * and if so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the exception - * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - @com.google.api.client.util.Key - private java.lang.String requestId; - - /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you - must retry your request, the server will know to ignore the request if it has already been - completed. The server will guarantee that for at least 60 minutes since the first request. For - example, consider a situation where you make an initial request and the request times out. If you - make the request again with the same request ID, the server can check if original operation with - the same request ID was received, and if so, will ignore the second request. This prevents clients - from accidentally creating duplicate commitments. The request ID must be a valid UUID with the - exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - public java.lang.String getRequestId() { - return requestId; - } - - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the request if it - * has already been completed. The server will guarantee that for at least 60 minutes - * since the first request. For example, consider a situation where you make an initial - * request and the request times out. If you make the request again with the same request - * ID, the server can check if original operation with the same request ID was received, - * and if so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the exception - * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - public Patch setRequestId(java.lang.String requestId) { - this.requestId = requestId; - return this; - } - - /** - * Optional. Field mask is used to specify the fields to be overwritten in the - * UnitGroupOperation resource by the update. The fields specified in the update_mask are - * relative to the resource, not the full request. A field will be overwritten if it is in - * the mask. If the user does not provide a mask then all fields in the UnitGroupOperation - * will be overwritten. - */ - @com.google.api.client.util.Key - private String updateMask; - - /** Optional. Field mask is used to specify the fields to be overwritten in the UnitGroupOperation - resource by the update. The fields specified in the update_mask are relative to the resource, not - the full request. A field will be overwritten if it is in the mask. If the user does not provide a - mask then all fields in the UnitGroupOperation will be overwritten. - */ - public String getUpdateMask() { - return updateMask; - } - - /** - * Optional. Field mask is used to specify the fields to be overwritten in the - * UnitGroupOperation resource by the update. The fields specified in the update_mask are - * relative to the resource, not the full request. A field will be overwritten if it is in - * the mask. If the user does not provide a mask then all fields in the UnitGroupOperation - * will be overwritten. - */ - public Patch setUpdateMask(String updateMask) { - this.updateMask = updateMask; - return this; - } - - /** - * Optional. If "validate_only" is set to true, the service will try to validate that this - * request would succeed, but will not actually make changes. - */ - @com.google.api.client.util.Key - private java.lang.Boolean validateOnly; - - /** Optional. If "validate_only" is set to true, the service will try to validate that this request - would succeed, but will not actually make changes. - */ - public java.lang.Boolean getValidateOnly() { - return validateOnly; - } - - /** - * Optional. If "validate_only" is set to true, the service will try to validate that this - * request would succeed, but will not actually make changes. - */ - public Patch setValidateOnly(java.lang.Boolean validateOnly) { - this.validateOnly = validateOnly; - return this; - } - - @Override - public Patch set(String parameterName, Object value) { - return (Patch) super.set(parameterName, value); - } - } - - } - /** - * An accessor for creating requests from the UnitGroups collection. - * - *

The typical use is:

- *
-       *   {@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 { - - private static final String REST_PATH = "v1beta1/{+parent}/unitGroups"; - - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); - - /** - * Create a new unit group. - * - * Create a request for the method "unitGroups.create". - * - * This request holds the parameters needed by the the saasservicemgmt server. After setting any - * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. - *

{@link - * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.

- * - * @param parent Required. The parent of the unit group. - * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroup} - * @since 1.13 - */ - protected Create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroup content) { - super(SaaSServiceManagement.this, "POST", REST_PATH, content, com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroup.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + protected Get(java.lang.String name) { + super(SaaSServiceManagement.this, "GET", REST_PATH, null, com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroupOperation.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/unitGroupOperations/[^/]+$"); } } @Override - public Create set$Xgafv(java.lang.String $Xgafv) { - return (Create) super.set$Xgafv($Xgafv); + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); } @Override - public Create setAccessToken(java.lang.String accessToken) { - return (Create) super.setAccessToken(accessToken); + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); } @Override - public Create setAlt(java.lang.String alt) { - return (Create) super.setAlt(alt); + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); } @Override - public Create setCallback(java.lang.String callback) { - return (Create) super.setCallback(callback); + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); } @Override - public Create setFields(java.lang.String fields) { - return (Create) super.setFields(fields); + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); } @Override - public Create setKey(java.lang.String key) { - return (Create) super.setKey(key); + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); } @Override - public Create setOauthToken(java.lang.String oauthToken) { - return (Create) super.setOauthToken(oauthToken); + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); } @Override - public Create setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Create) super.setPrettyPrint(prettyPrint); + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); } @Override - public Create setQuotaUser(java.lang.String quotaUser) { - return (Create) super.setQuotaUser(quotaUser); + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); } @Override - public Create setUploadType(java.lang.String uploadType) { - return (Create) super.setUploadType(uploadType); + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); } @Override - public Create setUploadProtocol(java.lang.String uploadProtocol) { - return (Create) super.setUploadProtocol(uploadProtocol); - } - - /** Required. The parent of the unit group. */ - @com.google.api.client.util.Key - private java.lang.String parent; - - /** Required. The parent of the unit group. - */ - public java.lang.String getParent() { - return parent; - } - - /** Required. The parent of the unit group. */ - public Create setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); - } - this.parent = parent; - return this; - } - - /** An optional request ID to identify requests. */ - @com.google.api.client.util.Key - private java.lang.String requestId; - - /** An optional request ID to identify requests. - */ - public java.lang.String getRequestId() { - return requestId; - } - - /** An optional request ID to identify requests. */ - public Create setRequestId(java.lang.String requestId) { - this.requestId = requestId; - return this; + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); } - /** Required. The ID value for the new unit group. */ - @com.google.api.client.util.Key - private java.lang.String unitGroupId; - - /** Required. The ID value for the new unit group. - */ - public java.lang.String getUnitGroupId() { - return unitGroupId; + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); } - /** Required. The ID value for the new unit group. */ - public Create setUnitGroupId(java.lang.String unitGroupId) { - this.unitGroupId = unitGroupId; - return this; + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); } - /** - * If "validate_only" is set to true, the service will try to validate that this request - * would succeed, but will not actually make changes. - */ + /** Required. The resource name of the resource within a service. */ @com.google.api.client.util.Key - private java.lang.Boolean validateOnly; + private java.lang.String name; - /** If "validate_only" is set to true, the service will try to validate that this request would - succeed, but will not actually make changes. + /** Required. The resource name of the resource within a service. */ - public java.lang.Boolean getValidateOnly() { - return validateOnly; + public java.lang.String getName() { + return name; } - /** - * If "validate_only" is set to true, the service will try to validate that this request - * would succeed, but will not actually make changes. - */ - public Create setValidateOnly(java.lang.Boolean validateOnly) { - this.validateOnly = validateOnly; + /** Required. The resource name of the resource within a service. */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/unitGroupOperations/[^/]+$"); + } + this.name = name; return this; } @Override - public Create set(String parameterName, Object value) { - return (Create) super.set(parameterName, value); + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); } } /** - * Delete a single unit group. + * Retrieve a collection of unit group operations. * - * Create a request for the method "unitGroups.delete". + * Create a request for the method "unitGroupOperations.list". * * This request holds the parameters needed by the saasservicemgmt server. After setting any - * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param name Required. The resource name of the resource within a service. + * @param parent Required. The parent of the unit group operation. * @return the request */ - public Delete delete(java.lang.String name) throws java.io.IOException { - Delete result = new Delete(name); + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); initialize(result); return result; } - public class Delete extends SaaSServiceManagementRequest { + public class List extends SaaSServiceManagementRequest { - private static final String REST_PATH = "v1beta1/{+name}"; + private static final String REST_PATH = "v1beta1/{+parent}/unitGroupOperations"; - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/unitGroups/[^/]+$"); + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Delete a single unit group. + * Retrieve a collection of unit group operations. * - * Create a request for the method "unitGroups.delete". + * Create a request for the method "unitGroupOperations.list". * * This request holds the parameters needed by the the saasservicemgmt server. After setting any - * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. - *

{@link - * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.

+ * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

* - * @param name Required. The resource name of the resource within a service. + * @param parent Required. The parent of the unit group operation. * @since 1.13 */ - protected Delete(java.lang.String name) { - super(SaaSServiceManagement.this, "DELETE", REST_PATH, null, com.google.api.services.saasservicemgmt.v1beta1.model.Empty.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + protected List(java.lang.String parent) { + super(SaaSServiceManagement.this, "GET", REST_PATH, null, com.google.api.services.saasservicemgmt.v1beta1.model.ListUnitGroupOperationsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/unitGroups/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } } @Override - public Delete set$Xgafv(java.lang.String $Xgafv) { - return (Delete) super.set$Xgafv($Xgafv); + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); } @Override - public Delete setAccessToken(java.lang.String accessToken) { - return (Delete) super.setAccessToken(accessToken); + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); } @Override - public Delete setAlt(java.lang.String alt) { - return (Delete) super.setAlt(alt); + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); } @Override - public Delete setCallback(java.lang.String callback) { - return (Delete) super.setCallback(callback); + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); } @Override - public Delete setFields(java.lang.String fields) { - return (Delete) super.setFields(fields); + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); } @Override - public Delete setKey(java.lang.String key) { - return (Delete) super.setKey(key); + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); } @Override - public Delete setOauthToken(java.lang.String oauthToken) { - return (Delete) super.setOauthToken(oauthToken); + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); } @Override - public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Delete) super.setPrettyPrint(prettyPrint); + public List setKey(java.lang.String key) { + return (List) super.setKey(key); } @Override - public Delete setQuotaUser(java.lang.String quotaUser) { - return (Delete) super.setQuotaUser(quotaUser); + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); } @Override - public Delete setUploadType(java.lang.String uploadType) { - return (Delete) super.setUploadType(uploadType); + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); } @Override - public Delete setUploadProtocol(java.lang.String uploadProtocol) { - return (Delete) super.setUploadProtocol(uploadProtocol); + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); } - /** Required. The resource name of the resource within a service. */ + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** Required. The parent of the unit group operation. */ @com.google.api.client.util.Key - private java.lang.String name; + private java.lang.String parent; - /** Required. The resource name of the resource within a service. + /** Required. The parent of the unit group operation. */ - public java.lang.String getName() { - return name; + public java.lang.String getParent() { + return parent; } - /** Required. The resource name of the resource within a service. */ - public Delete setName(java.lang.String name) { + /** Required. The parent of the unit group operation. */ + public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/unitGroups/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } - this.name = name; + this.parent = parent; + return this; + } + + /** Filter the list as specified in https://google.aip.dev/160. */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Filter the list as specified in https://google.aip.dev/160. + */ + public java.lang.String getFilter() { + return filter; + } + + /** Filter the list as specified in https://google.aip.dev/160. */ + public List setFilter(java.lang.String filter) { + this.filter = filter; return this; } - /** The etag known to the client for the expected state of the unit group. */ + /** Order results as specified in https://google.aip.dev/132. */ @com.google.api.client.util.Key - private java.lang.String etag; + private java.lang.String orderBy; - /** The etag known to the client for the expected state of the unit group. + /** Order results as specified in https://google.aip.dev/132. */ - public java.lang.String getEtag() { - return etag; + public java.lang.String getOrderBy() { + return orderBy; } - /** The etag known to the client for the expected state of the unit group. */ - public Delete setEtag(java.lang.String etag) { - this.etag = etag; + /** Order results as specified in https://google.aip.dev/132. */ + public List setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; return this; } - /** An optional request ID to identify requests. */ + /** The maximum number of unit group operations to send per page. */ @com.google.api.client.util.Key - private java.lang.String requestId; + private java.lang.Integer pageSize; - /** An optional request ID to identify requests. + /** The maximum number of unit group operations to send per page. */ - public java.lang.String getRequestId() { - return requestId; + public java.lang.Integer getPageSize() { + return pageSize; } - /** An optional request ID to identify requests. */ - public Delete setRequestId(java.lang.String requestId) { - this.requestId = requestId; + /** The maximum number of unit group operations to send per page. */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; return this; } /** - * If "validate_only" is set to true, the service will try to validate that this request - * would succeed, but will not actually make changes. + * The page token: If the next_page_token from a previous response is provided, this + * request will send the subsequent page. */ @com.google.api.client.util.Key - private java.lang.Boolean validateOnly; + private java.lang.String pageToken; - /** If "validate_only" is set to true, the service will try to validate that this request would - succeed, but will not actually make changes. + /** The page token: If the next_page_token from a previous response is provided, this request will send + the subsequent page. */ - public java.lang.Boolean getValidateOnly() { - return validateOnly; + public java.lang.String getPageToken() { + return pageToken; } /** - * If "validate_only" is set to true, the service will try to validate that this request - * would succeed, but will not actually make changes. + * The page token: If the next_page_token from a previous response is provided, this + * request will send the subsequent page. */ - public Delete setValidateOnly(java.lang.Boolean validateOnly) { - this.validateOnly = validateOnly; + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; return this; } @Override - public Delete set(String parameterName, Object value) { - return (Delete) super.set(parameterName, value); + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); } } + + } + /** + * An accessor for creating requests from the UnitGroups collection. + * + *

The typical use is:

+ *
+       *   {@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 { - - private static final String REST_PATH = "v1beta1/{+name}"; - - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/unitGroups/[^/]+$"); - - /** - * Update a single unit group. - * - * Create a request for the method "unitGroups.patch". - * - * This request holds the parameters needed by the the saasservicemgmt server. After setting any - * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. - *

{@link - * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.

- * - * @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} - * @since 1.13 - */ - protected Patch(java.lang.String name, com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroup content) { - super(SaaSServiceManagement.this, "PATCH", REST_PATH, content, com.google.api.services.saasservicemgmt.v1beta1.model.UnitGroup.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/unitGroups/[^/]+$"); - } - } - - @Override - public Patch set$Xgafv(java.lang.String $Xgafv) { - return (Patch) super.set$Xgafv($Xgafv); - } - - @Override - public Patch setAccessToken(java.lang.String accessToken) { - return (Patch) super.setAccessToken(accessToken); - } - - @Override - public Patch setAlt(java.lang.String alt) { - return (Patch) super.setAlt(alt); - } - - @Override - public Patch setCallback(java.lang.String callback) { - return (Patch) super.setCallback(callback); - } - - @Override - public Patch setFields(java.lang.String fields) { - return (Patch) super.setFields(fields); - } - - @Override - public Patch setKey(java.lang.String key) { - return (Patch) super.setKey(key); - } - - @Override - public Patch setOauthToken(java.lang.String oauthToken) { - return (Patch) super.setOauthToken(oauthToken); - } - - @Override - public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Patch) super.setPrettyPrint(prettyPrint); - } - - @Override - public Patch setQuotaUser(java.lang.String quotaUser) { - return (Patch) super.setQuotaUser(quotaUser); - } - - @Override - public Patch setUploadType(java.lang.String uploadType) { - return (Patch) super.setUploadType(uploadType); - } - - @Override - public Patch setUploadProtocol(java.lang.String uploadProtocol) { - return (Patch) super.setUploadProtocol(uploadProtocol); - } - - /** - * Identifier. The resource name (full URI of the resource) following the standard naming - * scheme: "projects/{project}/locations/{location}/unitGroups/{unitGroup}" - */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** Identifier. The resource name (full URI of the resource) following the standard naming scheme: - "projects/{project}/locations/{location}/unitGroups/{unitGroup}" - */ - public java.lang.String getName() { - return name; - } - - /** - * Identifier. The resource name (full URI of the resource) following the standard naming - * scheme: "projects/{project}/locations/{location}/unitGroups/{unitGroup}" - */ - public Patch setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/unitGroups/[^/]+$"); - } - this.name = name; - return this; - } - - /** An optional request ID to identify requests. */ - @com.google.api.client.util.Key - private java.lang.String requestId; - - /** An optional request ID to identify requests. - */ - public java.lang.String getRequestId() { - return requestId; - } - - /** An optional request ID to identify requests. */ - public Patch setRequestId(java.lang.String requestId) { - this.requestId = requestId; - return this; - } - - /** Field mask is used to specify the fields to be overwritten. */ - @com.google.api.client.util.Key - private String updateMask; - - /** Field mask is used to specify the fields to be overwritten. - */ - public String getUpdateMask() { - return updateMask; - } - - /** Field mask is used to specify the fields to be overwritten. */ - public Patch setUpdateMask(String updateMask) { - this.updateMask = updateMask; - return this; - } - - /** - * If "validate_only" is set to true, the service will try to validate that this request - * would succeed, but will not actually make changes. - */ - @com.google.api.client.util.Key - private java.lang.Boolean validateOnly; - - /** If "validate_only" is set to true, the service will try to validate that this request would - succeed, but will not actually make changes. - */ - public java.lang.Boolean getValidateOnly() { - return validateOnly; - } - - /** - * If "validate_only" is set to true, the service will try to validate that this request - * would succeed, but will not actually make changes. - */ - public Patch setValidateOnly(java.lang.Boolean validateOnly) { - this.validateOnly = validateOnly; - return this; - } - - @Override - public Patch set(String parameterName, Object value) { - return (Patch) super.set(parameterName, value); - } - } } /** diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/DurationLimits.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/DurationLimits.java new file mode 100644 index 00000000000..c3c8f840533 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/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.v1beta1.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/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/Engine.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/Engine.java new file mode 100644 index 00000000000..c6c9fe18046 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/Engine.java @@ -0,0 +1,97 @@ +/* + * 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.v1beta1.model; + +/** + * Engine captures metadata about the underlying actuation engine instance managing this Unit. + * + *

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 Engine extends com.google.api.client.json.GenericJson { + + /** + * Optional. Output only. The full resource name of the underlying engine deployment created for + * this unit (e.g., "projects/{project}/locations/{location}/deployments/{deployment}"). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String engineId; + + /** + * Optional. Output only. The location where the unit's underlying engine deployment is actuated + * (e.g., "us-central1"). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String location; + + /** + * Optional. Output only. The full resource name of the underlying engine deployment created for + * this unit (e.g., "projects/{project}/locations/{location}/deployments/{deployment}"). + * @return value or {@code null} for none + */ + public java.lang.String getEngineId() { + return engineId; + } + + /** + * Optional. Output only. The full resource name of the underlying engine deployment created for + * this unit (e.g., "projects/{project}/locations/{location}/deployments/{deployment}"). + * @param engineId engineId or {@code null} for none + */ + public Engine setEngineId(java.lang.String engineId) { + this.engineId = engineId; + return this; + } + + /** + * Optional. Output only. The location where the unit's underlying engine deployment is actuated + * (e.g., "us-central1"). + * @return value or {@code null} for none + */ + public java.lang.String getLocation() { + return location; + } + + /** + * Optional. Output only. The location where the unit's underlying engine deployment is actuated + * (e.g., "us-central1"). + * @param location location or {@code null} for none + */ + public Engine setLocation(java.lang.String location) { + this.location = location; + return this; + } + + @Override + public Engine set(String fieldName, Object value) { + return (Engine) super.set(fieldName, value); + } + + @Override + public Engine clone() { + return (Engine) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/FlagVariant.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/FlagVariant.java index 6c71eca5fff..49d8e232457 100644 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/FlagVariant.java +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/FlagVariant.java @@ -73,8 +73,8 @@ public final class FlagVariant extends com.google.api.client.json.GenericJson { private java.lang.String stringValue; /** - * Optional. trackingId is unique depending on name and value of the variant within the scope of - * the service. It is typically generated by the server and must not be changed. trackingId is + * Output only. trackingId is unique depending on name and value of the variant within the scope + * of the service. It is typically generated by the server and must not be changed. trackingId is * used to uniquely identify and track variants. * The value may be {@code null}. */ @@ -184,8 +184,8 @@ public FlagVariant setStringValue(java.lang.String stringValue) { } /** - * Optional. trackingId is unique depending on name and value of the variant within the scope of - * the service. It is typically generated by the server and must not be changed. trackingId is + * Output only. trackingId is unique depending on name and value of the variant within the scope + * of the service. It is typically generated by the server and must not be changed. trackingId is * used to uniquely identify and track variants. * @return value or {@code null} for none */ @@ -194,8 +194,8 @@ public java.lang.String getTrackingId() { } /** - * Optional. trackingId is unique depending on name and value of the variant within the scope of - * the service. It is typically generated by the server and must not be changed. trackingId is + * Output only. trackingId is unique depending on name and value of the variant within the scope + * of the service. It is typically generated by the server and must not be changed. trackingId is * used to uniquely identify and track variants. * @param trackingId trackingId or {@code null} for none */ diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ListSaasReleasesResponse.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ListSaasReleasesResponse.java deleted file mode 100644 index 454a86286ab..00000000000 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ListSaasReleasesResponse.java +++ /dev/null @@ -1,118 +0,0 @@ -/* - * 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.v1beta1.model; - -/** - * The response structure for the ListSaasReleases method. - * - *

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 ListSaasReleasesResponse extends com.google.api.client.json.GenericJson { - - /** - * If present, the next page token can be provided to a subsequent ListSaasReleases call to list - * the next page. If empty, there are no more pages. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String nextPageToken; - - /** - * The resulting saas releases. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.List saasReleases; - - /** - * Locations that could not be reached. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.List unreachable; - - /** - * If present, the next page token can be provided to a subsequent ListSaasReleases call to list - * the next page. If empty, there are no more pages. - * @return value or {@code null} for none - */ - public java.lang.String getNextPageToken() { - return nextPageToken; - } - - /** - * If present, the next page token can be provided to a subsequent ListSaasReleases call to list - * the next page. If empty, there are no more pages. - * @param nextPageToken nextPageToken or {@code null} for none - */ - public ListSaasReleasesResponse setNextPageToken(java.lang.String nextPageToken) { - this.nextPageToken = nextPageToken; - return this; - } - - /** - * The resulting saas releases. - * @return value or {@code null} for none - */ - public java.util.List getSaasReleases() { - return saasReleases; - } - - /** - * The resulting saas releases. - * @param saasReleases saasReleases or {@code null} for none - */ - public ListSaasReleasesResponse setSaasReleases(java.util.List saasReleases) { - this.saasReleases = saasReleases; - return this; - } - - /** - * Locations that could not be reached. - * @return value or {@code null} for none - */ - public java.util.List getUnreachable() { - return unreachable; - } - - /** - * Locations that could not be reached. - * @param unreachable unreachable or {@code null} for none - */ - public ListSaasReleasesResponse setUnreachable(java.util.List unreachable) { - this.unreachable = unreachable; - return this; - } - - @Override - public ListSaasReleasesResponse set(String fieldName, Object value) { - return (ListSaasReleasesResponse) super.set(fieldName, value); - } - - @Override - public ListSaasReleasesResponse clone() { - return (ListSaasReleasesResponse) super.clone(); - } - -} diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/SaasRelease.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/SaasRelease.java deleted file mode 100644 index 6cd95cc0aa9..00000000000 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/SaasRelease.java +++ /dev/null @@ -1,248 +0,0 @@ -/* - * 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.v1beta1.model; - -/** - * SaasRelease is a collection of Releases that are assigned to a UnitGroup. It allows provisioning - * and updates of UnitGroup, which contains multiple Units of different UnitKinds. - * - *

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 SaasRelease extends com.google.api.client.json.GenericJson { - - /** - * Optional. Annotations is an unstructured key-value map stored with a resource that may be set - * by external tools to store and retrieve arbitrary metadata. They are not queryable and should - * be preserved when modifying objects. More info: https://kubernetes.io/docs/user- - * guide/annotations - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.Map annotations; - - /** - * Output only. The timestamp when the resource was created. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private String createTime; - - /** - * 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 - * written. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String etag; - - /** - * Optional. The labels on the resource, which can be used for categorization. similar to - * Kubernetes resource labels. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.Map labels; - - /** - * Identifier. The resource name (full URI of the resource) following the standard naming scheme: - * "projects/{project}/locations/{location}/saasReleases/{saasRelease}" - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** - * Output only. The unique identifier of the resource. UID is unique in the time and space for - * this resource within the scope of the service. It is typically generated by the server on - * successful creation of a resource and must not be changed. UID is used to uniquely identify - * resources with resource name reuses. This should be a UUID4. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String uid; - - /** - * Output only. The timestamp when the resource was last updated. Any change to the resource made - * by users must refresh this value. Changes to a resource made by the service should refresh this - * value. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private String updateTime; - - /** - * Optional. Annotations is an unstructured key-value map stored with a resource that may be set - * by external tools to store and retrieve arbitrary metadata. They are not queryable and should - * be preserved when modifying objects. More info: https://kubernetes.io/docs/user- - * guide/annotations - * @return value or {@code null} for none - */ - public java.util.Map getAnnotations() { - return annotations; - } - - /** - * Optional. Annotations is an unstructured key-value map stored with a resource that may be set - * by external tools to store and retrieve arbitrary metadata. They are not queryable and should - * be preserved when modifying objects. More info: https://kubernetes.io/docs/user- - * guide/annotations - * @param annotations annotations or {@code null} for none - */ - public SaasRelease setAnnotations(java.util.Map annotations) { - this.annotations = annotations; - return this; - } - - /** - * Output only. The timestamp when the resource was created. - * @return value or {@code null} for none - */ - public String getCreateTime() { - return createTime; - } - - /** - * Output only. The timestamp when the resource was created. - * @param createTime createTime or {@code null} for none - */ - public SaasRelease setCreateTime(String createTime) { - this.createTime = createTime; - 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 - * written. - * @return value or {@code null} for none - */ - public java.lang.String getEtag() { - return etag; - } - - /** - * 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 - * written. - * @param etag etag or {@code null} for none - */ - public SaasRelease setEtag(java.lang.String etag) { - this.etag = etag; - return this; - } - - /** - * Optional. The labels on the resource, which can be used for categorization. similar to - * Kubernetes resource labels. - * @return value or {@code null} for none - */ - public java.util.Map getLabels() { - return labels; - } - - /** - * Optional. The labels on the resource, which can be used for categorization. similar to - * Kubernetes resource labels. - * @param labels labels or {@code null} for none - */ - public SaasRelease setLabels(java.util.Map labels) { - this.labels = labels; - return this; - } - - /** - * Identifier. The resource name (full URI of the resource) following the standard naming scheme: - * "projects/{project}/locations/{location}/saasReleases/{saasRelease}" - * @return value or {@code null} for none - */ - public java.lang.String getName() { - return name; - } - - /** - * Identifier. The resource name (full URI of the resource) following the standard naming scheme: - * "projects/{project}/locations/{location}/saasReleases/{saasRelease}" - * @param name name or {@code null} for none - */ - public SaasRelease setName(java.lang.String name) { - this.name = name; - return this; - } - - /** - * Output only. The unique identifier of the resource. UID is unique in the time and space for - * this resource within the scope of the service. It is typically generated by the server on - * successful creation of a resource and must not be changed. UID is used to uniquely identify - * resources with resource name reuses. This should be a UUID4. - * @return value or {@code null} for none - */ - public java.lang.String getUid() { - return uid; - } - - /** - * Output only. The unique identifier of the resource. UID is unique in the time and space for - * this resource within the scope of the service. It is typically generated by the server on - * successful creation of a resource and must not be changed. UID is used to uniquely identify - * resources with resource name reuses. This should be a UUID4. - * @param uid uid or {@code null} for none - */ - public SaasRelease setUid(java.lang.String uid) { - this.uid = uid; - return this; - } - - /** - * Output only. The timestamp when the resource was last updated. Any change to the resource made - * by users must refresh this value. Changes to a resource made by the service should refresh this - * value. - * @return value or {@code null} for none - */ - public String getUpdateTime() { - return updateTime; - } - - /** - * Output only. The timestamp when the resource was last updated. Any change to the resource made - * by users must refresh this value. Changes to a resource made by the service should refresh this - * value. - * @param updateTime updateTime or {@code null} for none - */ - public SaasRelease setUpdateTime(String updateTime) { - this.updateTime = updateTime; - return this; - } - - @Override - public SaasRelease set(String fieldName, Object value) { - return (SaasRelease) super.set(fieldName, value); - } - - @Override - public SaasRelease clone() { - return (SaasRelease) super.clone(); - } - -} diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/Unit.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/Unit.java index e6a3592c057..afd52e41867 100644 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/Unit.java +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/Unit.java @@ -80,6 +80,14 @@ public final class Unit extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.util.List dependents; + /** + * Optional. Output only. Metadata about the underlying actuation engine instance managing this + * Unit. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Engine engine; + /** * 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 @@ -375,6 +383,25 @@ public Unit setDependents(java.util.List dependents) { return this; } + /** + * Optional. Output only. Metadata about the underlying actuation engine instance managing this + * Unit. + * @return value or {@code null} for none + */ + public Engine getEngine() { + return engine; + } + + /** + * Optional. Output only. Metadata about the underlying actuation engine instance managing this + * Unit. + * @param engine engine or {@code null} for none + */ + public Unit setEngine(Engine engine) { + this.engine = engine; + 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 diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitKind.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitKind.java index caf85bf9736..57d75883cfb 100644 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitKind.java +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitKind.java @@ -108,6 +108,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 @@ -347,6 +359,33 @@ public UnitKind setDependencies(java.util.List 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 diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitOperation.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitOperation.java index 9ec4c6e9b19..b8926c3c72b 100644 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitOperation.java +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitOperation.java @@ -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. @@ -316,6 +326,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. diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/pom.xml b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/pom.xml index e5b57ef393e..ed6aaec70d6 100644 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-saasservicemgmt - v1beta1-rev20261005-2.9.2 - App Lifecycle Manager API v1beta1-rev20261005-2.9.2 + v1beta1-rev20261020-2.9.2 + App Lifecycle Manager API v1beta1-rev20261020-2.9.2 jar 2011 diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/README.md b/clients/google-api-services-saasservicemgmt/v1beta1/README.md index bb09f15a90a..a26410a33d0 100644 --- a/clients/google-api-services-saasservicemgmt/v1beta1/README.md +++ b/clients/google-api-services-saasservicemgmt/v1beta1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-saasservicemgmt - v1beta1-rev20261005-2.9.2 + v1beta1-rev20261020-2.9.2 @@ -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' } ```