From d68ed2af1067573729a25ca9a327cad625b17111 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 3 Jun 2026 18:42:08 -0700 Subject: [PATCH] chore: regenerate saasservicemgmt client --- .../v1/2.0.0/README.md | 4 +- .../v1/SaaSServiceManagement.java | 2749 ++++++++++++-- .../v1/model/DeprovisionUnitGroup.java | 44 + .../v1/model/DetachUnitGroup.java | 43 + .../v1/model/ListSaasReleasesResponse.java | 118 + .../ListUnitGroupOperationsResponse.java | 118 + .../v1/model/ListUnitGroupsResponse.java | 118 + .../v1/model/ProvisionUnitGroup.java | 44 + .../saasservicemgmt/v1/model/Saas.java | 12 +- .../saasservicemgmt/v1/model/SaasRelease.java | 302 ++ .../saasservicemgmt/v1/model/TierMapping.java | 88 + .../v1/model/TierUnitKind.java | 91 + .../saasservicemgmt/v1/model/Unit.java | 24 + .../saasservicemgmt/v1/model/UnitGroup.java | 320 ++ .../v1/model/UnitGroupOperation.java | 343 ++ .../saasservicemgmt/v1/model/UnitKind.java | 24 + .../v1/model/UnitOperation.java | 3 + .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- .../v1beta1/2.0.0/README.md | 4 +- .../v1beta1/SaaSServiceManagement.java | 3326 ++++++++++++++++- .../v1beta1/model/DeprovisionUnitGroup.java | 44 + .../v1beta1/model/DetachUnitGroup.java | 43 + .../model/ListSaasReleasesResponse.java | 118 + .../ListUnitGroupOperationsResponse.java | 118 + .../v1beta1/model/ListUnitGroupsResponse.java | 118 + .../v1beta1/model/ProvisionUnitGroup.java | 44 + .../saasservicemgmt/v1beta1/model/Saas.java | 12 +- .../v1beta1/model/SaasRelease.java | 302 ++ .../v1beta1/model/TierMapping.java | 88 + .../v1beta1/model/TierUnitKind.java | 91 + .../saasservicemgmt/v1beta1/model/Unit.java | 24 + .../v1beta1/model/UnitGroup.java | 320 ++ .../v1beta1/model/UnitGroupOperation.java | 343 ++ .../v1beta1/model/UnitKind.java | 24 + .../v1beta1/model/UnitOperation.java | 3 + .../v1beta1/2.0.0/pom.xml | 4 +- .../v1beta1/README.md | 4 +- 38 files changed, 9025 insertions(+), 458 deletions(-) create mode 100644 clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/DeprovisionUnitGroup.java create mode 100644 clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/DetachUnitGroup.java create mode 100644 clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ListSaasReleasesResponse.java create mode 100644 clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ListUnitGroupOperationsResponse.java create mode 100644 clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ListUnitGroupsResponse.java create mode 100644 clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ProvisionUnitGroup.java create mode 100644 clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/SaasRelease.java create mode 100644 clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/TierMapping.java create mode 100644 clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/TierUnitKind.java create mode 100644 clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroup.java create mode 100644 clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroupOperation.java create mode 100644 clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/DeprovisionUnitGroup.java create mode 100644 clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/DetachUnitGroup.java create mode 100644 clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ListSaasReleasesResponse.java create mode 100644 clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ListUnitGroupOperationsResponse.java create mode 100644 clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ListUnitGroupsResponse.java create mode 100644 clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ProvisionUnitGroup.java create mode 100644 clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/SaasRelease.java create mode 100644 clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/TierMapping.java create mode 100644 clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/TierUnitKind.java create mode 100644 clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitGroup.java create mode 100644 clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitGroupOperation.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 88c0dacc252..e94ad3c0cce 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-rev20260505-2.0.0 + v1-rev20260526-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-saasservicemgmt:v1-rev20260505-2.0.0' + implementation 'com.google.apis:google-api-services-saasservicemgmt:v1-rev20260526-2.0.0' } ``` 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 3653eb56033..6bb692c9eab 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 @@ -4737,54 +4737,54 @@ public Patch set(String parameterName, Object value) { } /** - * An accessor for creating requests from the Tenants collection. + * An accessor for creating requests from the SaasReleases collection. * *

The typical use is:

*
        *   {@code SaaSServiceManagement saasservicemgmt = new SaaSServiceManagement(...);}
-       *   {@code SaaSServiceManagement.Tenants.List request = saasservicemgmt.tenants().list(parameters ...)}
+       *   {@code SaaSServiceManagement.SaasReleases.List request = saasservicemgmt.saasReleases().list(parameters ...)}
        * 
* * @return the resource collection */ - public Tenants tenants() { - return new Tenants(); + public SaasReleases saasReleases() { + return new SaasReleases(); } /** - * The "tenants" collection of methods. + * The "saasReleases" collection of methods. */ - public class Tenants { + public class SaasReleases { /** - * Create a new tenant. + * Create a new saas release. * - * Create a request for the method "tenants.create". + * Create a request for the method "saasReleases.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 tenant. - * @param content the {@link com.google.api.services.saasservicemgmt.v1.model.Tenant} + * @param parent Required. The parent of the saas release. + * @param content the {@link com.google.api.services.saasservicemgmt.v1.model.SaasRelease} * @return the request */ - public Create create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1.model.Tenant content) throws java.io.IOException { + public Create create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1.model.SaasRelease 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 = "v1/{+parent}/tenants"; + private static final String REST_PATH = "v1/{+parent}/saasReleases"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Create a new tenant. + * Create a new saas release. * - * Create a request for the method "tenants.create". + * Create a request for the method "saasReleases.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. @@ -4792,12 +4792,12 @@ public class Create extends SaaSServiceManagementRequest * - * @param parent Required. The parent of the tenant. - * @param content the {@link com.google.api.services.saasservicemgmt.v1.model.Tenant} + * @param parent Required. The parent of the saas release. + * @param content the {@link com.google.api.services.saasservicemgmt.v1.model.SaasRelease} * @since 1.13 */ - protected Create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1.model.Tenant content) { - super(SaaSServiceManagement.this, "POST", REST_PATH, content, com.google.api.services.saasservicemgmt.v1.model.Tenant.class); + protected Create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1.model.SaasRelease content) { + super(SaaSServiceManagement.this, "POST", REST_PATH, content, com.google.api.services.saasservicemgmt.v1.model.SaasRelease.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(), @@ -4861,17 +4861,17 @@ public Create setUploadProtocol(java.lang.String uploadProtocol) { return (Create) super.setUploadProtocol(uploadProtocol); } - /** Required. The parent of the tenant. */ + /** Required. The parent of the saas release. */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent of the tenant. + /** Required. The parent of the saas release. */ public java.lang.String getParent() { return parent; } - /** Required. The parent of the tenant. */ + /** Required. The parent of the saas release. */ public Create setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -4882,62 +4882,35 @@ public Create setParent(java.lang.String 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). - */ + /** 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. 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). + /** An optional request ID to identify requests. */ 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). - */ + /** An optional request ID to identify requests. */ public Create setRequestId(java.lang.String requestId) { this.requestId = requestId; return this; } - /** Required. The ID value for the new tenant. */ + /** Required. The ID value for the new saas release. */ @com.google.api.client.util.Key - private java.lang.String tenantId; + private java.lang.String saasReleaseId; - /** Required. The ID value for the new tenant. + /** Required. The ID value for the new saas release. */ - public java.lang.String getTenantId() { - return tenantId; + public java.lang.String getSaasReleaseId() { + return saasReleaseId; } - /** Required. The ID value for the new tenant. */ - public Create setTenantId(java.lang.String tenantId) { - this.tenantId = tenantId; + /** Required. The ID value for the new saas release. */ + public Create setSaasReleaseId(java.lang.String saasReleaseId) { + this.saasReleaseId = saasReleaseId; return this; } @@ -4970,9 +4943,9 @@ public Create set(String parameterName, Object value) { } } /** - * Delete a single tenant. + * Delete a single saas release. * - * Create a request for the method "tenants.delete". + * Create a request for the method "saasReleases.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. @@ -4991,12 +4964,12 @@ public class Delete extends SaaSServiceManagementRequest { + public class Get extends SaaSServiceManagementRequest { private static final String REST_PATH = "v1/{+name}"; private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/saasReleases/[^/]+$"); /** - * Retrieve a single tenant. + * Retrieve a single saas release. * - * Create a request for the method "tenants.get". + * Create a request for the method "saasReleases.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.

@@ -5236,12 +5164,12 @@ public class Get extends SaaSServiceManagementRequest { + public class List extends SaaSServiceManagementRequest { - private static final String REST_PATH = "v1/{+parent}/tenants"; + private static final String REST_PATH = "v1/{+parent}/saasReleases"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Retrieve a collection of tenants. + * Retrieve a collection of saas releases. * - * Create a request for the method "tenants.list". + * Create a request for the method "saasReleases.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. + * @param parent Required. The parent of the saas releases. * @since 1.13 */ protected List(java.lang.String parent) { - super(SaaSServiceManagement.this, "GET", REST_PATH, null, com.google.api.services.saasservicemgmt.v1.model.ListTenantsResponse.class); + super(SaaSServiceManagement.this, "GET", REST_PATH, null, com.google.api.services.saasservicemgmt.v1.model.ListSaasReleasesResponse.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(), @@ -5448,17 +5376,17 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { return (List) super.setUploadProtocol(uploadProtocol); } - /** Required. The parent of the tenant. */ + /** Required. The parent of the saas releases. */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent of the tenant. + /** Required. The parent of the saas releases. */ public java.lang.String getParent() { return parent; } - /** Required. The parent of the tenant. */ + /** Required. The parent of the saas releases. */ public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -5501,17 +5429,17 @@ public List setOrderBy(java.lang.String orderBy) { return this; } - /** The maximum number of tenants to send per page. */ + /** The maximum number of saas releases to send per page. */ @com.google.api.client.util.Key private java.lang.Integer pageSize; - /** The maximum number of tenants to send per page. + /** The maximum number of saas releases to send per page. */ public java.lang.Integer getPageSize() { return pageSize; } - /** The maximum number of tenants to send per page. */ + /** The maximum number of saas releases to send per page. */ public List setPageSize(java.lang.Integer pageSize) { this.pageSize = pageSize; return this; @@ -5545,138 +5473,151 @@ public List set(String parameterName, Object value) { return (List) super.set(parameterName, value); } } + + } + /** + * An accessor for creating requests from the Tenants collection. + * + *

The typical use is:

+ *
+       *   {@code SaaSServiceManagement saasservicemgmt = new SaaSServiceManagement(...);}
+       *   {@code SaaSServiceManagement.Tenants.List request = saasservicemgmt.tenants().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public Tenants tenants() { + return new Tenants(); + } + + /** + * The "tenants" collection of methods. + */ + public class Tenants { + /** - * Update a single tenant. + * Create a new tenant. * - * Create a request for the method "tenants.patch". + * 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 Patch#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Create#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 parent Required. The parent of the tenant. * @param content the {@link com.google.api.services.saasservicemgmt.v1.model.Tenant} * @return the request */ - public Patch patch(java.lang.String name, com.google.api.services.saasservicemgmt.v1.model.Tenant content) throws java.io.IOException { - Patch result = new Patch(name, content); + public Create create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1.model.Tenant content) throws java.io.IOException { + Create result = new Create(parent, content); initialize(result); return result; } - public class Patch extends SaaSServiceManagementRequest { + public class Create extends SaaSServiceManagementRequest { - private static final String REST_PATH = "v1/{+name}"; + private static final String REST_PATH = "v1/{+parent}/tenants"; - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Update a single tenant. + * Create a new tenant. * - * Create a request for the method "tenants.patch". + * 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 Patch#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. *

{@link - * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * Create#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 parent Required. The parent of the tenant. * @param content the {@link com.google.api.services.saasservicemgmt.v1.model.Tenant} * @since 1.13 */ - protected Patch(java.lang.String name, com.google.api.services.saasservicemgmt.v1.model.Tenant content) { - super(SaaSServiceManagement.this, "PATCH", REST_PATH, content, com.google.api.services.saasservicemgmt.v1.model.Tenant.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + protected Create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1.model.Tenant content) { + super(SaaSServiceManagement.this, "POST", REST_PATH, content, com.google.api.services.saasservicemgmt.v1.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(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } } @Override - public Patch set$Xgafv(java.lang.String $Xgafv) { - return (Patch) super.set$Xgafv($Xgafv); + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); } @Override - public Patch setAccessToken(java.lang.String accessToken) { - return (Patch) super.setAccessToken(accessToken); + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); } @Override - public Patch setAlt(java.lang.String alt) { - return (Patch) super.setAlt(alt); + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); } @Override - public Patch setCallback(java.lang.String callback) { - return (Patch) super.setCallback(callback); + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); } @Override - public Patch setFields(java.lang.String fields) { - return (Patch) super.setFields(fields); + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); } @Override - public Patch setKey(java.lang.String key) { - return (Patch) super.setKey(key); + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); } @Override - public Patch setOauthToken(java.lang.String oauthToken) { - return (Patch) super.setOauthToken(oauthToken); + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); } @Override - public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Patch) super.setPrettyPrint(prettyPrint); + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); } @Override - public Patch setQuotaUser(java.lang.String quotaUser) { - return (Patch) super.setQuotaUser(quotaUser); + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); } @Override - public Patch setUploadType(java.lang.String uploadType) { - return (Patch) super.setUploadType(uploadType); + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); } @Override - public Patch setUploadProtocol(java.lang.String uploadProtocol) { - return (Patch) super.setUploadProtocol(uploadProtocol); + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); } - /** - * Identifier. The resource name (full URI of the resource) following the standard naming - * scheme: "projects/{project}/locations/{location}/tenants/{tenant}" - */ + /** Required. The parent of the tenant. */ @com.google.api.client.util.Key - private java.lang.String name; + private java.lang.String parent; - /** Identifier. The resource name (full URI of the resource) following the standard naming scheme: - "projects/{project}/locations/{location}/tenants/{tenant}" + /** Required. The parent of the tenant. */ - public java.lang.String getName() { - return name; + public java.lang.String getParent() { + return parent; } - /** - * 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) { + /** Required. The parent of the tenant. */ + public Create 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/[^/]+/tenants/[^/]+$"); + 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; } @@ -5718,37 +5659,24 @@ public java.lang.String getRequestId() { * 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) { + public Create 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. - */ + /** Required. The ID value for the new tenant. */ @com.google.api.client.util.Key - private String updateMask; + private java.lang.String tenantId; - /** 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. + /** Required. The ID value for the new tenant. */ - public String getUpdateMask() { - return updateMask; + public java.lang.String getTenantId() { + return tenantId; } - /** - * 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; + /** Required. The ID value for the new tenant. */ + public Create setTenantId(java.lang.String tenantId) { + this.tenantId = tenantId; return this; } @@ -5770,14 +5698,2375 @@ public java.lang.Boolean getValidateOnly() { * 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) { + public Create setValidateOnly(java.lang.Boolean validateOnly) { this.validateOnly = validateOnly; return this; } @Override - public Patch set(String parameterName, Object value) { - return (Patch) super.set(parameterName, value); + 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 = "v1/{+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.v1.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 = "v1/{+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.v1.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 = "v1/{+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.v1.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.v1.model.Tenant} + * @return the request + */ + public Patch patch(java.lang.String name, com.google.api.services.saasservicemgmt.v1.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 = "v1/{+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.v1.model.Tenant} + * @since 1.13 + */ + protected Patch(java.lang.String name, com.google.api.services.saasservicemgmt.v1.model.Tenant content) { + super(SaaSServiceManagement.this, "PATCH", REST_PATH, content, com.google.api.services.saasservicemgmt.v1.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.v1.model.UnitGroupOperation} + * @return the request + */ + public Create create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1.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 = "v1/{+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.v1.model.UnitGroupOperation} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1.model.UnitGroupOperation content) { + super(SaaSServiceManagement.this, "POST", REST_PATH, content, com.google.api.services.saasservicemgmt.v1.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 = "v1/{+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.v1.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 = "v1/{+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.v1.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 = "v1/{+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.v1.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); + } + } + + } + /** + * 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.v1.model.UnitGroup} + * @return the request + */ + public Create create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1.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 = "v1/{+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.v1.model.UnitGroup} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1.model.UnitGroup content) { + super(SaaSServiceManagement.this, "POST", REST_PATH, content, com.google.api.services.saasservicemgmt.v1.model.UnitGroup.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. */ + @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; + } + + /** 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; + } + + /** Required. The ID value for the new unit group. */ + public Create setUnitGroupId(java.lang.String unitGroupId) { + this.unitGroupId = unitGroupId; + 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 unit group. + * + * Create a request for the method "unitGroups.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 = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/unitGroups/[^/]+$"); + + /** + * Delete a single unit group. + * + * Create a request for the method "unitGroups.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.v1.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/[^/]+/unitGroups/[^/]+$"); + } + } + + @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/[^/]+/unitGroups/[^/]+$"); + } + this.name = name; + return this; + } + + /** The etag known to the client for the expected state of the unit group. */ + @com.google.api.client.util.Key + private java.lang.String etag; + + /** The etag known to the client for the expected state of the unit group. + */ + public java.lang.String getEtag() { + return etag; + } + + /** The etag known to the client for the expected state of the unit group. */ + public Delete setEtag(java.lang.String etag) { + this.etag = etag; + 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 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 unit group. + * + * Create a request for the method "unitGroups.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 = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/unitGroups/[^/]+$"); + + /** + * Retrieve a single unit group. + * + * Create a request for the method "unitGroups.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.v1.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 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/[^/]+/unitGroups/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Retrieve a collection of unit groups. + * + * Create a request for the method "unitGroups.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. + * @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 = "v1/{+parent}/unitGroups"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + + /** + * Retrieve a collection of unit groups. + * + * Create a request for the method "unitGroups.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. + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(SaaSServiceManagement.this, "GET", REST_PATH, null, com.google.api.services.saasservicemgmt.v1.model.ListUnitGroupsResponse.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. */ + @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 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 groups to send per page. */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** The maximum number of unit groups to send per page. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** The maximum number of unit groups 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); } } diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/DeprovisionUnitGroup.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/DeprovisionUnitGroup.java new file mode 100644 index 00000000000..3f33582d612 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/DeprovisionUnitGroup.java @@ -0,0 +1,44 @@ +/* + * 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; + +/** + * DeprovisionUnitGroup is the unit group operation that deprovisions the underlying resources + * represented by a UnitGroup. + * + *

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 DeprovisionUnitGroup extends com.google.api.client.json.GenericJson { + + @Override + public DeprovisionUnitGroup set(String fieldName, Object value) { + return (DeprovisionUnitGroup) super.set(fieldName, value); + } + + @Override + public DeprovisionUnitGroup clone() { + return (DeprovisionUnitGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/DetachUnitGroup.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/DetachUnitGroup.java new file mode 100644 index 00000000000..b7761d654a8 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/DetachUnitGroup.java @@ -0,0 +1,43 @@ +/* + * 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; + +/** + * DetachUnitGroup is the unit group operation that detaches a provisioned UnitGroup. + * + *

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 DetachUnitGroup extends com.google.api.client.json.GenericJson { + + @Override + public DetachUnitGroup set(String fieldName, Object value) { + return (DetachUnitGroup) super.set(fieldName, value); + } + + @Override + public DetachUnitGroup clone() { + return (DetachUnitGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ListSaasReleasesResponse.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ListSaasReleasesResponse.java new file mode 100644 index 00000000000..54eddf7dafc --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ListSaasReleasesResponse.java @@ -0,0 +1,118 @@ +/* + * 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; + +/** + * 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/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ListUnitGroupOperationsResponse.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ListUnitGroupOperationsResponse.java new file mode 100644 index 00000000000..88e0dabebe3 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ListUnitGroupOperationsResponse.java @@ -0,0 +1,118 @@ +/* + * 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; + +/** + * The response structure for the ListUnitGroupOperations 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 ListUnitGroupOperationsResponse extends com.google.api.client.json.GenericJson { + + /** + * If present, the next page token can be provided to a subsequent ListUnitGroupOperations 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 unit group operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List unitGroupOperations; + + /** + * 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 ListUnitGroupOperations 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 ListUnitGroupOperations call to + * list the next page. If empty, there are no more pages. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public ListUnitGroupOperationsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * The resulting unit group operations. + * @return value or {@code null} for none + */ + public java.util.List getUnitGroupOperations() { + return unitGroupOperations; + } + + /** + * The resulting unit group operations. + * @param unitGroupOperations unitGroupOperations or {@code null} for none + */ + public ListUnitGroupOperationsResponse setUnitGroupOperations(java.util.List unitGroupOperations) { + this.unitGroupOperations = unitGroupOperations; + 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 ListUnitGroupOperationsResponse setUnreachable(java.util.List unreachable) { + this.unreachable = unreachable; + return this; + } + + @Override + public ListUnitGroupOperationsResponse set(String fieldName, Object value) { + return (ListUnitGroupOperationsResponse) super.set(fieldName, value); + } + + @Override + public ListUnitGroupOperationsResponse clone() { + return (ListUnitGroupOperationsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ListUnitGroupsResponse.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ListUnitGroupsResponse.java new file mode 100644 index 00000000000..349a41f0a31 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ListUnitGroupsResponse.java @@ -0,0 +1,118 @@ +/* + * 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; + +/** + * The response structure for the ListUnitGroups 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 ListUnitGroupsResponse extends com.google.api.client.json.GenericJson { + + /** + * If present, the next page token can be provided to a subsequent ListUnitGroups 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 unit groups. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List unitGroups; + + /** + * 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 ListUnitGroups 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 ListUnitGroups call to list the + * next page. If empty, there are no more pages. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public ListUnitGroupsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * The resulting unit groups. + * @return value or {@code null} for none + */ + public java.util.List getUnitGroups() { + return unitGroups; + } + + /** + * The resulting unit groups. + * @param unitGroups unitGroups or {@code null} for none + */ + public ListUnitGroupsResponse setUnitGroups(java.util.List unitGroups) { + this.unitGroups = unitGroups; + 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 ListUnitGroupsResponse setUnreachable(java.util.List unreachable) { + this.unreachable = unreachable; + return this; + } + + @Override + public ListUnitGroupsResponse set(String fieldName, Object value) { + return (ListUnitGroupsResponse) super.set(fieldName, value); + } + + @Override + public ListUnitGroupsResponse clone() { + return (ListUnitGroupsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ProvisionUnitGroup.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ProvisionUnitGroup.java new file mode 100644 index 00000000000..3f7dfc4d0b1 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ProvisionUnitGroup.java @@ -0,0 +1,44 @@ +/* + * 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; + +/** + * ProvisionUnitGroup is the unit group operation that provisions the underlying resources + * represented by a UnitGroup. + * + *

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 ProvisionUnitGroup extends com.google.api.client.json.GenericJson { + + @Override + public ProvisionUnitGroup set(String fieldName, Object value) { + return (ProvisionUnitGroup) super.set(fieldName, value); + } + + @Override + public ProvisionUnitGroup clone() { + return (ProvisionUnitGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/Saas.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/Saas.java index 5c1e45ccd8d..d3a07a3d073 100644 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/Saas.java +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/Saas.java @@ -102,8 +102,8 @@ public final class Saas extends com.google.api.client.json.GenericJson { private java.lang.String name; /** - * Output only. State of the Saas. It is always in ACTIVE state if the application_template is - * empty. + * Output only. State of the Saas. It is always in STATE_ACTIVE state if the application_template + * is empty. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -283,8 +283,8 @@ public Saas setName(java.lang.String name) { } /** - * Output only. State of the Saas. It is always in ACTIVE state if the application_template is - * empty. + * Output only. State of the Saas. It is always in STATE_ACTIVE state if the application_template + * is empty. * @return value or {@code null} for none */ public java.lang.String getState() { @@ -292,8 +292,8 @@ public java.lang.String getState() { } /** - * Output only. State of the Saas. It is always in ACTIVE state if the application_template is - * empty. + * Output only. State of the Saas. It is always in STATE_ACTIVE state if the application_template + * is empty. * @param state state or {@code null} for none */ public Saas setState(java.lang.String state) { diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/SaasRelease.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/SaasRelease.java new file mode 100644 index 00000000000..f33208bab5e --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/SaasRelease.java @@ -0,0 +1,302 @@ +/* + * 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; + +/** + * 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; + + /** + * Required. The Releases that are assigned to this SaasRelease. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List releases; + + /** + * Required. A mapping between Tiers and UnitKinds that are part of this SaasRelease. While Tiers + * are defined as top-level resources, the mapping between Tiers and Unit Kinds is defined per + * SaasRelease. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List tierMappings; + + /** + * 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; + } + + /** + * Required. The Releases that are assigned to this SaasRelease. + * @return value or {@code null} for none + */ + public java.util.List getReleases() { + return releases; + } + + /** + * Required. The Releases that are assigned to this SaasRelease. + * @param releases releases or {@code null} for none + */ + public SaasRelease setReleases(java.util.List releases) { + this.releases = releases; + return this; + } + + /** + * Required. A mapping between Tiers and UnitKinds that are part of this SaasRelease. While Tiers + * are defined as top-level resources, the mapping between Tiers and Unit Kinds is defined per + * SaasRelease. + * @return value or {@code null} for none + */ + public java.util.List getTierMappings() { + return tierMappings; + } + + /** + * Required. A mapping between Tiers and UnitKinds that are part of this SaasRelease. While Tiers + * are defined as top-level resources, the mapping between Tiers and Unit Kinds is defined per + * SaasRelease. + * @param tierMappings tierMappings or {@code null} for none + */ + public SaasRelease setTierMappings(java.util.List tierMappings) { + this.tierMappings = tierMappings; + 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/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/TierMapping.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/TierMapping.java new file mode 100644 index 00000000000..c225999479b --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/TierMapping.java @@ -0,0 +1,88 @@ +/* + * 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; + +/** + * TierMapping describes the mapping between a Tier and its associated 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 TierMapping extends com.google.api.client.json.GenericJson { + + /** + * Required. The tier. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String tier; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List unitKinds; + + /** + * Required. The tier. + * @return value or {@code null} for none + */ + public java.lang.String getTier() { + return tier; + } + + /** + * Required. The tier. + * @param tier tier or {@code null} for none + */ + public TierMapping setTier(java.lang.String tier) { + this.tier = tier; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.util.List getUnitKinds() { + return unitKinds; + } + + /** + * @param unitKinds unitKinds or {@code null} for none + */ + public TierMapping setUnitKinds(java.util.List unitKinds) { + this.unitKinds = unitKinds; + return this; + } + + @Override + public TierMapping set(String fieldName, Object value) { + return (TierMapping) super.set(fieldName, value); + } + + @Override + public TierMapping clone() { + return (TierMapping) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/TierUnitKind.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/TierUnitKind.java new file mode 100644 index 00000000000..0a6e7eeaed7 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/TierUnitKind.java @@ -0,0 +1,91 @@ +/* + * 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; + +/** + * A description of a single Unit Kind that is part of a Tier. + * + *

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 TierUnitKind extends com.google.api.client.json.GenericJson { + + /** + * Optional. Output only. Input variables for the UnitKind. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List inputVariables; + + /** + * Required. Immutable. The unique identifier of the UnitKind. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String unitKind; + + /** + * Optional. Output only. Input variables for the UnitKind. + * @return value or {@code null} for none + */ + public java.util.List getInputVariables() { + return inputVariables; + } + + /** + * Optional. Output only. Input variables for the UnitKind. + * @param inputVariables inputVariables or {@code null} for none + */ + public TierUnitKind setInputVariables(java.util.List inputVariables) { + this.inputVariables = inputVariables; + return this; + } + + /** + * Required. Immutable. The unique identifier of the UnitKind. + * @return value or {@code null} for none + */ + public java.lang.String getUnitKind() { + return unitKind; + } + + /** + * Required. Immutable. The unique identifier of the UnitKind. + * @param unitKind unitKind or {@code null} for none + */ + public TierUnitKind setUnitKind(java.lang.String unitKind) { + this.unitKind = unitKind; + return this; + } + + @Override + public TierUnitKind set(String fieldName, Object value) { + return (TierUnitKind) super.set(fieldName, value); + } + + @Override + public TierUnitKind clone() { + return (TierUnitKind) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/Unit.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/Unit.java index 12571c62afa..223f0de0ca1 100644 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/Unit.java +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/Unit.java @@ -222,6 +222,13 @@ public final class Unit extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String uid; + /** + * Optional. Output only. Reference to the UnitGroup this unit belongs to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String unitGroup; + /** * Optional. Reference to the UnitKind this Unit belongs to. Immutable once set. * The value may be {@code null}. @@ -690,6 +697,23 @@ public Unit setUid(java.lang.String uid) { return this; } + /** + * Optional. Output only. Reference to the UnitGroup this unit belongs to. + * @return value or {@code null} for none + */ + public java.lang.String getUnitGroup() { + return unitGroup; + } + + /** + * Optional. Output only. Reference to the UnitGroup this unit belongs to. + * @param unitGroup unitGroup or {@code null} for none + */ + public Unit setUnitGroup(java.lang.String unitGroup) { + this.unitGroup = unitGroup; + return this; + } + /** * Optional. Reference to the UnitKind this Unit belongs to. Immutable once set. * @return value or {@code null} for none diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroup.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroup.java new file mode 100644 index 00000000000..187f3899b6c --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroup.java @@ -0,0 +1,320 @@ +/* + * 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; + +/** + * UnitGroup represents a set of Units to be used by a Tenant. In pooling scenarios, the UnitGroup + * may be created and provisioned before the Tenant is created. + * + *

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 UnitGroup 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}/unitGroups/{unitGroup}" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Required. Immutable. The SaaS that this UnitGroup is created for. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String saas; + + /** + * Required. Immutable. Current SaasRelease that the UnitGroup is provisioned with. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String saasRelease; + + /** + * Optional. Output only. State of the UnitGroup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * 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 UnitGroup 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 UnitGroup 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 UnitGroup 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 UnitGroup 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}/unitGroups/{unitGroup}" + * @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}/unitGroups/{unitGroup}" + * @param name name or {@code null} for none + */ + public UnitGroup setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Required. Immutable. The SaaS that this UnitGroup is created for. + * @return value or {@code null} for none + */ + public java.lang.String getSaas() { + return saas; + } + + /** + * Required. Immutable. The SaaS that this UnitGroup is created for. + * @param saas saas or {@code null} for none + */ + public UnitGroup setSaas(java.lang.String saas) { + this.saas = saas; + return this; + } + + /** + * Required. Immutable. Current SaasRelease that the UnitGroup is provisioned with. + * @return value or {@code null} for none + */ + public java.lang.String getSaasRelease() { + return saasRelease; + } + + /** + * Required. Immutable. Current SaasRelease that the UnitGroup is provisioned with. + * @param saasRelease saasRelease or {@code null} for none + */ + public UnitGroup setSaasRelease(java.lang.String saasRelease) { + this.saasRelease = saasRelease; + return this; + } + + /** + * Optional. Output only. State of the UnitGroup. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Optional. Output only. State of the UnitGroup. + * @param state state or {@code null} for none + */ + public UnitGroup setState(java.lang.String state) { + this.state = state; + 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 UnitGroup 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 UnitGroup setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + @Override + public UnitGroup set(String fieldName, Object value) { + return (UnitGroup) super.set(fieldName, value); + } + + @Override + public UnitGroup clone() { + return (UnitGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroupOperation.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroupOperation.java new file mode 100644 index 00000000000..06ae8b71992 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroupOperation.java @@ -0,0 +1,343 @@ +/* + * 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; + +/** + * UnitGroupOperation represents an operation on a UnitGroup. + * + *

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 UnitGroupOperation 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; + + /** + * Optional. Represents a deprovision operation on a UnitGroup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private DeprovisionUnitGroup deprovisionUnitGroup; + + /** + * Optional. Represents a detach operation on a UnitGroup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private DetachUnitGroup detachUnitGroup; + + /** + * 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}/unitGroupOperations/{unitGroupOperation}" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Optional. Represents a provision operation on a UnitGroup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ProvisionUnitGroup provisionUnitGroup; + + /** + * Optional. Tier represents the tier level of the UnitGroupOperation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String tier; + + /** + * 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 UnitGroupOperation 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 UnitGroupOperation setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Optional. Represents a deprovision operation on a UnitGroup. + * @return value or {@code null} for none + */ + public DeprovisionUnitGroup getDeprovisionUnitGroup() { + return deprovisionUnitGroup; + } + + /** + * Optional. Represents a deprovision operation on a UnitGroup. + * @param deprovisionUnitGroup deprovisionUnitGroup or {@code null} for none + */ + public UnitGroupOperation setDeprovisionUnitGroup(DeprovisionUnitGroup deprovisionUnitGroup) { + this.deprovisionUnitGroup = deprovisionUnitGroup; + return this; + } + + /** + * Optional. Represents a detach operation on a UnitGroup. + * @return value or {@code null} for none + */ + public DetachUnitGroup getDetachUnitGroup() { + return detachUnitGroup; + } + + /** + * Optional. Represents a detach operation on a UnitGroup. + * @param detachUnitGroup detachUnitGroup or {@code null} for none + */ + public UnitGroupOperation setDetachUnitGroup(DetachUnitGroup detachUnitGroup) { + this.detachUnitGroup = detachUnitGroup; + 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 UnitGroupOperation 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 UnitGroupOperation 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}/unitGroupOperations/{unitGroupOperation}" + * @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}/unitGroupOperations/{unitGroupOperation}" + * @param name name or {@code null} for none + */ + public UnitGroupOperation setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Optional. Represents a provision operation on a UnitGroup. + * @return value or {@code null} for none + */ + public ProvisionUnitGroup getProvisionUnitGroup() { + return provisionUnitGroup; + } + + /** + * Optional. Represents a provision operation on a UnitGroup. + * @param provisionUnitGroup provisionUnitGroup or {@code null} for none + */ + public UnitGroupOperation setProvisionUnitGroup(ProvisionUnitGroup provisionUnitGroup) { + this.provisionUnitGroup = provisionUnitGroup; + return this; + } + + /** + * Optional. Tier represents the tier level of the UnitGroupOperation. + * @return value or {@code null} for none + */ + public java.lang.String getTier() { + return tier; + } + + /** + * Optional. Tier represents the tier level of the UnitGroupOperation. + * @param tier tier or {@code null} for none + */ + public UnitGroupOperation setTier(java.lang.String tier) { + this.tier = tier; + 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 UnitGroupOperation 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 UnitGroupOperation setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + @Override + public UnitGroupOperation set(String fieldName, Object value) { + return (UnitGroupOperation) super.set(fieldName, value); + } + + @Override + public UnitGroupOperation clone() { + return (UnitGroupOperation) 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 f527947d373..0dec26690e3 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 @@ -41,6 +41,13 @@ public final class UnitKind extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.util.Map annotations; + /** + * Optional. Output only. BoundaryType describes the type of boundary the Unit Kind represents. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String boundaryType; + /** * Output only. The timestamp when the resource was created. * The value may be {@code null}. @@ -172,6 +179,23 @@ public UnitKind setAnnotations(java.util.Map annotatio return this; } + /** + * Optional. Output only. BoundaryType describes the type of boundary the Unit Kind represents. + * @return value or {@code null} for none + */ + public java.lang.String getBoundaryType() { + return boundaryType; + } + + /** + * Optional. Output only. BoundaryType describes the type of boundary the Unit Kind represents. + * @param boundaryType boundaryType or {@code null} for none + */ + public UnitKind setBoundaryType(java.lang.String boundaryType) { + this.boundaryType = boundaryType; + return this; + } + /** * Output only. The timestamp when the resource was created. * @return value or {@code null} for none 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 affa1fd89cb..eff9343f958 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 @@ -138,6 +138,7 @@ public final class UnitOperation extends com.google.api.client.json.GenericJson private java.lang.String parentUnitOperation; /** + * Optional. Provision operation. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -442,6 +443,7 @@ public UnitOperation setParentUnitOperation(java.lang.String parentUnitOperation } /** + * Optional. Provision operation. * @return value or {@code null} for none */ public Provision getProvision() { @@ -449,6 +451,7 @@ public Provision getProvision() { } /** + * Optional. Provision operation. * @param provision provision or {@code null} for none */ public UnitOperation setProvision(Provision provision) { 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 acaabedc60d..0c7dfcf89f7 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-rev20260505-2.0.0 - App Lifecycle Manager API v1-rev20260505-2.0.0 + v1-rev20260526-2.0.0 + App Lifecycle Manager API v1-rev20260526-2.0.0 jar 2011 diff --git a/clients/google-api-services-saasservicemgmt/v1/README.md b/clients/google-api-services-saasservicemgmt/v1/README.md index 88c0dacc252..e94ad3c0cce 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-rev20260505-2.0.0 + v1-rev20260526-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-saasservicemgmt:v1-rev20260505-2.0.0' + implementation 'com.google.apis:google-api-services-saasservicemgmt:v1-rev20260526-2.0.0' } ``` 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 2e895a4553b..c9eff38012c 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-rev20260505-2.0.0 + v1beta1-rev20260526-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-saasservicemgmt:v1beta1-rev20260505-2.0.0' + implementation 'com.google.apis:google-api-services-saasservicemgmt:v1beta1-rev20260526-2.0.0' } ``` 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 917cf443906..c1cef7dec11 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 @@ -8923,54 +8923,54 @@ public Patch set(String parameterName, Object value) { } /** - * An accessor for creating requests from the Tenants collection. + * An accessor for creating requests from the SaasReleases collection. * *

The typical use is:

*
        *   {@code SaaSServiceManagement saasservicemgmt = new SaaSServiceManagement(...);}
-       *   {@code SaaSServiceManagement.Tenants.List request = saasservicemgmt.tenants().list(parameters ...)}
+       *   {@code SaaSServiceManagement.SaasReleases.List request = saasservicemgmt.saasReleases().list(parameters ...)}
        * 
* * @return the resource collection */ - public Tenants tenants() { - return new Tenants(); + public SaasReleases saasReleases() { + return new SaasReleases(); } /** - * The "tenants" collection of methods. + * The "saasReleases" collection of methods. */ - public class Tenants { + public class SaasReleases { /** - * Create a new tenant. + * Create a new saas release. * - * Create a request for the method "tenants.create". + * Create a request for the method "saasReleases.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 tenant. - * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.Tenant} + * @param parent Required. The parent of the saas release. + * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.SaasRelease} * @return the request */ - public Create create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1beta1.model.Tenant content) throws java.io.IOException { + public Create create(java.lang.String parent, com.google.api.services.saasservicemgmt.v1beta1.model.SaasRelease 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}/tenants"; + private static final String REST_PATH = "v1beta1/{+parent}/saasReleases"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Create a new tenant. + * Create a new saas release. * - * Create a request for the method "tenants.create". + * Create a request for the method "saasReleases.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 tenant. - * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.Tenant} + * @param parent Required. The parent of the saas release. + * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.SaasRelease} * @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); + 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); 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 tenant. */ + /** Required. The parent of the saas release. */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent of the tenant. + /** Required. The parent of the saas release. */ public java.lang.String getParent() { return parent; } - /** Required. The parent of the tenant. */ + /** Required. The parent of the saas release. */ public Create setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -9068,62 +9068,35 @@ public Create setParent(java.lang.String 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). - */ + /** 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. 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). + /** An optional request ID to identify requests. */ 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). - */ + /** An optional request ID to identify requests. */ public Create setRequestId(java.lang.String requestId) { this.requestId = requestId; return this; } - /** Required. The ID value for the new tenant. */ + /** Required. The ID value for the new saas release. */ @com.google.api.client.util.Key - private java.lang.String tenantId; + private java.lang.String saasReleaseId; - /** Required. The ID value for the new tenant. + /** Required. The ID value for the new saas release. */ - public java.lang.String getTenantId() { - return tenantId; + public java.lang.String getSaasReleaseId() { + return saasReleaseId; } - /** Required. The ID value for the new tenant. */ - public Create setTenantId(java.lang.String tenantId) { - this.tenantId = tenantId; + /** Required. The ID value for the new saas release. */ + public Create setSaasReleaseId(java.lang.String saasReleaseId) { + this.saasReleaseId = saasReleaseId; return this; } @@ -9156,9 +9129,9 @@ public Create set(String parameterName, Object value) { } } /** - * Delete a single tenant. + * Delete a single saas release. * - * Create a request for the method "tenants.delete". + * Create a request for the method "saasReleases.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. @@ -9177,12 +9150,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/[^/]+/tenants/[^/]+$"); + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/saasReleases/[^/]+$"); /** - * Retrieve a single tenant. + * Retrieve a single saas release. * - * Create a request for the method "tenants.get". + * Create a request for the method "saasReleases.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.

@@ -9422,12 +9350,12 @@ public class Get extends SaaSServiceManagementRequest { + public class List extends SaaSServiceManagementRequest { - private static final String REST_PATH = "v1beta1/{+parent}/tenants"; + private static final String REST_PATH = "v1beta1/{+parent}/saasReleases"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Retrieve a collection of tenants. + * Retrieve a collection of saas releases. * - * Create a request for the method "tenants.list". + * Create a request for the method "saasReleases.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. + * @param parent Required. The parent of the saas releases. * @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); + super(SaaSServiceManagement.this, "GET", REST_PATH, null, com.google.api.services.saasservicemgmt.v1beta1.model.ListSaasReleasesResponse.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(), @@ -9634,17 +9562,17 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { return (List) super.setUploadProtocol(uploadProtocol); } - /** Required. The parent of the tenant. */ + /** Required. The parent of the saas releases. */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent of the tenant. + /** Required. The parent of the saas releases. */ public java.lang.String getParent() { return parent; } - /** Required. The parent of the tenant. */ + /** Required. The parent of the saas releases. */ public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -9687,17 +9615,17 @@ public List setOrderBy(java.lang.String orderBy) { return this; } - /** The maximum number of tenants to send per page. */ + /** The maximum number of saas releases to send per page. */ @com.google.api.client.util.Key private java.lang.Integer pageSize; - /** The maximum number of tenants to send per page. + /** The maximum number of saas releases to send per page. */ public java.lang.Integer getPageSize() { return pageSize; } - /** The maximum number of tenants to send per page. */ + /** The maximum number of saas releases to send per page. */ public List setPageSize(java.lang.Integer pageSize) { this.pageSize = pageSize; return this; @@ -9732,35 +9660,35 @@ public List set(String parameterName, Object value) { } } /** - * Update a single tenant. + * Update a single saas release. * - * Create a request for the method "tenants.patch". + * Create a request for the method "saasReleases.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} + * "projects/{project}/locations/{location}/saasReleases/{saasRelease}" + * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.SaasRelease} * @return the request */ - public Patch patch(java.lang.String name, com.google.api.services.saasservicemgmt.v1beta1.model.Tenant content) throws java.io.IOException { + public Patch patch(java.lang.String name, com.google.api.services.saasservicemgmt.v1beta1.model.SaasRelease 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/[^/]+/tenants/[^/]+$"); + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/saasReleases/[^/]+$"); /** - * Update a single tenant. + * Update a single saas release. * - * Create a request for the method "tenants.patch". + * Create a request for the method "saasReleases.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. @@ -9769,17 +9697,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}/tenants/{tenant}" - * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.Tenant} + * "projects/{project}/locations/{location}/saasReleases/{saasRelease}" + * @param content the {@link com.google.api.services.saasservicemgmt.v1beta1.model.SaasRelease} * @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); + 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); 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/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/saasReleases/[^/]+$"); } } @@ -9840,13 +9768,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}/tenants/{tenant}" + * scheme: "projects/{project}/locations/{location}/saasReleases/{saasRelease}" */ @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}" + "projects/{project}/locations/{location}/saasReleases/{saasRelease}" */ public java.lang.String getName() { return name; @@ -9854,85 +9782,3075 @@ public java.lang.String getName() { /** * Identifier. The resource name (full URI of the resource) following the standard naming - * scheme: "projects/{project}/locations/{location}/tenants/{tenant}" + * scheme: "projects/{project}/locations/{location}/saasReleases/{saasRelease}" */ 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/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/saasReleases/[^/]+$"); } 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). - */ + /** 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. 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). + /** An optional request ID to identify requests. */ 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). - */ + /** 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 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. - */ + /** 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 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. + /** 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; + } + /** - * 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. + * 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 Tenants collection. + * + *

The typical use is:

+ *
+       *   {@code SaaSServiceManagement saasservicemgmt = new SaaSServiceManagement(...);}
+       *   {@code SaaSServiceManagement.Tenants.List request = saasservicemgmt.tenants().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public Tenants tenants() { + return new Tenants(); + } + + /** + * The "tenants" collection of methods. + */ + public class Tenants { + + /** + * Create a new tenant. + * + * 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 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.Tenant 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}/tenants"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + + /** + * Create a new tenant. + * + * 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. + *

{@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 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.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."); + 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. */ + @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; + } + + /** 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; + } + + /** Required. The ID value for the new unit group. */ + public Create setUnitGroupId(java.lang.String unitGroupId) { + this.unitGroupId = unitGroupId; + 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 unit group. + * + * Create a request for the method "unitGroups.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/[^/]+/unitGroups/[^/]+$"); + + /** + * Delete a single unit group. + * + * Create a request for the method "unitGroups.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/[^/]+/unitGroups/[^/]+$"); + } + } + + @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/[^/]+/unitGroups/[^/]+$"); + } + this.name = name; + return this; + } + + /** The etag known to the client for the expected state of the unit group. */ + @com.google.api.client.util.Key + private java.lang.String etag; + + /** The etag known to the client for the expected state of the unit group. + */ + public java.lang.String getEtag() { + return etag; + } + + /** The etag known to the client for the expected state of the unit group. */ + public Delete setEtag(java.lang.String etag) { + this.etag = etag; + 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 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 unit group. + * + * Create a request for the method "unitGroups.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/[^/]+/unitGroups/[^/]+$"); + + /** + * Retrieve a single unit group. + * + * Create a request for the method "unitGroups.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.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 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/[^/]+/unitGroups/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Retrieve a collection of unit groups. + * + * Create a request for the method "unitGroups.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. + * @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}/unitGroups"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + + /** + * Retrieve a collection of unit groups. + * + * Create a request for the method "unitGroups.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. + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(SaaSServiceManagement.this, "GET", REST_PATH, null, com.google.api.services.saasservicemgmt.v1beta1.model.ListUnitGroupsResponse.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. */ + @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 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 groups to send per page. */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** The maximum number of unit groups to send per page. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** The maximum number of unit groups 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. + * + * 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; diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/DeprovisionUnitGroup.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/DeprovisionUnitGroup.java new file mode 100644 index 00000000000..69a7b9d98cd --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/DeprovisionUnitGroup.java @@ -0,0 +1,44 @@ +/* + * 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; + +/** + * DeprovisionUnitGroup is the unit group operation that deprovisions the underlying resources + * represented by a UnitGroup. + * + *

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 DeprovisionUnitGroup extends com.google.api.client.json.GenericJson { + + @Override + public DeprovisionUnitGroup set(String fieldName, Object value) { + return (DeprovisionUnitGroup) super.set(fieldName, value); + } + + @Override + public DeprovisionUnitGroup clone() { + return (DeprovisionUnitGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/DetachUnitGroup.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/DetachUnitGroup.java new file mode 100644 index 00000000000..b79c82bdcd1 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/DetachUnitGroup.java @@ -0,0 +1,43 @@ +/* + * 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; + +/** + * DetachUnitGroup is the unit group operation that detaches a provisioned UnitGroup. + * + *

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 DetachUnitGroup extends com.google.api.client.json.GenericJson { + + @Override + public DetachUnitGroup set(String fieldName, Object value) { + return (DetachUnitGroup) super.set(fieldName, value); + } + + @Override + public DetachUnitGroup clone() { + return (DetachUnitGroup) super.clone(); + } + +} 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 new file mode 100644 index 00000000000..454a86286ab --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ListSaasReleasesResponse.java @@ -0,0 +1,118 @@ +/* + * 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/ListUnitGroupOperationsResponse.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ListUnitGroupOperationsResponse.java new file mode 100644 index 00000000000..a16d6eb74c4 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ListUnitGroupOperationsResponse.java @@ -0,0 +1,118 @@ +/* + * 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 ListUnitGroupOperations 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 ListUnitGroupOperationsResponse extends com.google.api.client.json.GenericJson { + + /** + * If present, the next page token can be provided to a subsequent ListUnitGroupOperations 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 unit group operations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List unitGroupOperations; + + /** + * 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 ListUnitGroupOperations 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 ListUnitGroupOperations call to + * list the next page. If empty, there are no more pages. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public ListUnitGroupOperationsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * The resulting unit group operations. + * @return value or {@code null} for none + */ + public java.util.List getUnitGroupOperations() { + return unitGroupOperations; + } + + /** + * The resulting unit group operations. + * @param unitGroupOperations unitGroupOperations or {@code null} for none + */ + public ListUnitGroupOperationsResponse setUnitGroupOperations(java.util.List unitGroupOperations) { + this.unitGroupOperations = unitGroupOperations; + 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 ListUnitGroupOperationsResponse setUnreachable(java.util.List unreachable) { + this.unreachable = unreachable; + return this; + } + + @Override + public ListUnitGroupOperationsResponse set(String fieldName, Object value) { + return (ListUnitGroupOperationsResponse) super.set(fieldName, value); + } + + @Override + public ListUnitGroupOperationsResponse clone() { + return (ListUnitGroupOperationsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ListUnitGroupsResponse.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ListUnitGroupsResponse.java new file mode 100644 index 00000000000..4363ff254e5 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ListUnitGroupsResponse.java @@ -0,0 +1,118 @@ +/* + * 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 ListUnitGroups 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 ListUnitGroupsResponse extends com.google.api.client.json.GenericJson { + + /** + * If present, the next page token can be provided to a subsequent ListUnitGroups 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 unit groups. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List unitGroups; + + /** + * 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 ListUnitGroups 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 ListUnitGroups call to list the + * next page. If empty, there are no more pages. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public ListUnitGroupsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * The resulting unit groups. + * @return value or {@code null} for none + */ + public java.util.List getUnitGroups() { + return unitGroups; + } + + /** + * The resulting unit groups. + * @param unitGroups unitGroups or {@code null} for none + */ + public ListUnitGroupsResponse setUnitGroups(java.util.List unitGroups) { + this.unitGroups = unitGroups; + 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 ListUnitGroupsResponse setUnreachable(java.util.List unreachable) { + this.unreachable = unreachable; + return this; + } + + @Override + public ListUnitGroupsResponse set(String fieldName, Object value) { + return (ListUnitGroupsResponse) super.set(fieldName, value); + } + + @Override + public ListUnitGroupsResponse clone() { + return (ListUnitGroupsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ProvisionUnitGroup.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ProvisionUnitGroup.java new file mode 100644 index 00000000000..e03eb85a91f --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/ProvisionUnitGroup.java @@ -0,0 +1,44 @@ +/* + * 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; + +/** + * ProvisionUnitGroup is the unit group operation that provisions the underlying resources + * represented by a UnitGroup. + * + *

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 ProvisionUnitGroup extends com.google.api.client.json.GenericJson { + + @Override + public ProvisionUnitGroup set(String fieldName, Object value) { + return (ProvisionUnitGroup) super.set(fieldName, value); + } + + @Override + public ProvisionUnitGroup clone() { + return (ProvisionUnitGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/Saas.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/Saas.java index f6044fa21da..c63000e23a2 100644 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/Saas.java +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/Saas.java @@ -120,8 +120,8 @@ public final class Saas extends com.google.api.client.json.GenericJson { private java.lang.String name; /** - * Output only. State of the Saas. It is always in ACTIVE state if the application_template is - * empty. + * Output only. State of the Saas. It is always in STATE_ACTIVE state if the application_template + * is empty. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -343,8 +343,8 @@ public Saas setName(java.lang.String name) { } /** - * Output only. State of the Saas. It is always in ACTIVE state if the application_template is - * empty. + * Output only. State of the Saas. It is always in STATE_ACTIVE state if the application_template + * is empty. * @return value or {@code null} for none */ public java.lang.String getState() { @@ -352,8 +352,8 @@ public java.lang.String getState() { } /** - * Output only. State of the Saas. It is always in ACTIVE state if the application_template is - * empty. + * Output only. State of the Saas. It is always in STATE_ACTIVE state if the application_template + * is empty. * @param state state or {@code null} for none */ public Saas setState(java.lang.String state) { 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 new file mode 100644 index 00000000000..a7773b8b66d --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/SaasRelease.java @@ -0,0 +1,302 @@ +/* + * 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; + + /** + * Required. The Releases that are assigned to this SaasRelease. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List releases; + + /** + * Required. A mapping between Tiers and UnitKinds that are part of this SaasRelease. While Tiers + * are defined as top-level resources, the mapping between Tiers and Unit Kinds is defined per + * SaasRelease. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List tierMappings; + + /** + * 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; + } + + /** + * Required. The Releases that are assigned to this SaasRelease. + * @return value or {@code null} for none + */ + public java.util.List getReleases() { + return releases; + } + + /** + * Required. The Releases that are assigned to this SaasRelease. + * @param releases releases or {@code null} for none + */ + public SaasRelease setReleases(java.util.List releases) { + this.releases = releases; + return this; + } + + /** + * Required. A mapping between Tiers and UnitKinds that are part of this SaasRelease. While Tiers + * are defined as top-level resources, the mapping between Tiers and Unit Kinds is defined per + * SaasRelease. + * @return value or {@code null} for none + */ + public java.util.List getTierMappings() { + return tierMappings; + } + + /** + * Required. A mapping between Tiers and UnitKinds that are part of this SaasRelease. While Tiers + * are defined as top-level resources, the mapping between Tiers and Unit Kinds is defined per + * SaasRelease. + * @param tierMappings tierMappings or {@code null} for none + */ + public SaasRelease setTierMappings(java.util.List tierMappings) { + this.tierMappings = tierMappings; + 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/TierMapping.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/TierMapping.java new file mode 100644 index 00000000000..cd220f9f229 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/TierMapping.java @@ -0,0 +1,88 @@ +/* + * 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; + +/** + * TierMapping describes the mapping between a Tier and its associated 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 TierMapping extends com.google.api.client.json.GenericJson { + + /** + * Required. The tier. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String tier; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List unitKinds; + + /** + * Required. The tier. + * @return value or {@code null} for none + */ + public java.lang.String getTier() { + return tier; + } + + /** + * Required. The tier. + * @param tier tier or {@code null} for none + */ + public TierMapping setTier(java.lang.String tier) { + this.tier = tier; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.util.List getUnitKinds() { + return unitKinds; + } + + /** + * @param unitKinds unitKinds or {@code null} for none + */ + public TierMapping setUnitKinds(java.util.List unitKinds) { + this.unitKinds = unitKinds; + return this; + } + + @Override + public TierMapping set(String fieldName, Object value) { + return (TierMapping) super.set(fieldName, value); + } + + @Override + public TierMapping clone() { + return (TierMapping) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/TierUnitKind.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/TierUnitKind.java new file mode 100644 index 00000000000..600bf506f29 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/TierUnitKind.java @@ -0,0 +1,91 @@ +/* + * 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; + +/** + * A description of a single Unit Kind that is part of a Tier. + * + *

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 TierUnitKind extends com.google.api.client.json.GenericJson { + + /** + * Optional. Output only. Input variables for the UnitKind. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List inputVariables; + + /** + * Required. Immutable. The unique identifier of the UnitKind. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String unitKind; + + /** + * Optional. Output only. Input variables for the UnitKind. + * @return value or {@code null} for none + */ + public java.util.List getInputVariables() { + return inputVariables; + } + + /** + * Optional. Output only. Input variables for the UnitKind. + * @param inputVariables inputVariables or {@code null} for none + */ + public TierUnitKind setInputVariables(java.util.List inputVariables) { + this.inputVariables = inputVariables; + return this; + } + + /** + * Required. Immutable. The unique identifier of the UnitKind. + * @return value or {@code null} for none + */ + public java.lang.String getUnitKind() { + return unitKind; + } + + /** + * Required. Immutable. The unique identifier of the UnitKind. + * @param unitKind unitKind or {@code null} for none + */ + public TierUnitKind setUnitKind(java.lang.String unitKind) { + this.unitKind = unitKind; + return this; + } + + @Override + public TierUnitKind set(String fieldName, Object value) { + return (TierUnitKind) super.set(fieldName, value); + } + + @Override + public TierUnitKind clone() { + return (TierUnitKind) 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 084661d7ab8..06987291304 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 @@ -238,6 +238,13 @@ public final class Unit extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String uid; + /** + * Optional. Output only. Reference to the UnitGroup this unit belongs to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String unitGroup; + /** * Optional. Reference to the UnitKind this Unit belongs to. Immutable once set. * The value may be {@code null}. @@ -744,6 +751,23 @@ public Unit setUid(java.lang.String uid) { return this; } + /** + * Optional. Output only. Reference to the UnitGroup this unit belongs to. + * @return value or {@code null} for none + */ + public java.lang.String getUnitGroup() { + return unitGroup; + } + + /** + * Optional. Output only. Reference to the UnitGroup this unit belongs to. + * @param unitGroup unitGroup or {@code null} for none + */ + public Unit setUnitGroup(java.lang.String unitGroup) { + this.unitGroup = unitGroup; + return this; + } + /** * Optional. Reference to the UnitKind this Unit belongs to. Immutable once set. * @return value or {@code null} for none diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitGroup.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitGroup.java new file mode 100644 index 00000000000..b89f45b83a0 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitGroup.java @@ -0,0 +1,320 @@ +/* + * 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; + +/** + * UnitGroup represents a set of Units to be used by a Tenant. In pooling scenarios, the UnitGroup + * may be created and provisioned before the Tenant is created. + * + *

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 UnitGroup 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}/unitGroups/{unitGroup}" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Required. Immutable. The SaaS that this UnitGroup is created for. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String saas; + + /** + * Required. Immutable. Current SaasRelease that the UnitGroup is provisioned with. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String saasRelease; + + /** + * Optional. Output only. State of the UnitGroup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * 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 UnitGroup 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 UnitGroup 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 UnitGroup 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 UnitGroup 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}/unitGroups/{unitGroup}" + * @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}/unitGroups/{unitGroup}" + * @param name name or {@code null} for none + */ + public UnitGroup setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Required. Immutable. The SaaS that this UnitGroup is created for. + * @return value or {@code null} for none + */ + public java.lang.String getSaas() { + return saas; + } + + /** + * Required. Immutable. The SaaS that this UnitGroup is created for. + * @param saas saas or {@code null} for none + */ + public UnitGroup setSaas(java.lang.String saas) { + this.saas = saas; + return this; + } + + /** + * Required. Immutable. Current SaasRelease that the UnitGroup is provisioned with. + * @return value or {@code null} for none + */ + public java.lang.String getSaasRelease() { + return saasRelease; + } + + /** + * Required. Immutable. Current SaasRelease that the UnitGroup is provisioned with. + * @param saasRelease saasRelease or {@code null} for none + */ + public UnitGroup setSaasRelease(java.lang.String saasRelease) { + this.saasRelease = saasRelease; + return this; + } + + /** + * Optional. Output only. State of the UnitGroup. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Optional. Output only. State of the UnitGroup. + * @param state state or {@code null} for none + */ + public UnitGroup setState(java.lang.String state) { + this.state = state; + 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 UnitGroup 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 UnitGroup setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + @Override + public UnitGroup set(String fieldName, Object value) { + return (UnitGroup) super.set(fieldName, value); + } + + @Override + public UnitGroup clone() { + return (UnitGroup) super.clone(); + } + +} diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitGroupOperation.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitGroupOperation.java new file mode 100644 index 00000000000..443035eac09 --- /dev/null +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/UnitGroupOperation.java @@ -0,0 +1,343 @@ +/* + * 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; + +/** + * UnitGroupOperation represents an operation on a UnitGroup. + * + *

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 UnitGroupOperation 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; + + /** + * Optional. Represents a deprovision operation on a UnitGroup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private DeprovisionUnitGroup deprovisionUnitGroup; + + /** + * Optional. Represents a detach operation on a UnitGroup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private DetachUnitGroup detachUnitGroup; + + /** + * 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}/unitGroupOperations/{unitGroupOperation}" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Optional. Represents a provision operation on a UnitGroup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ProvisionUnitGroup provisionUnitGroup; + + /** + * Optional. Tier represents the tier level of the UnitGroupOperation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String tier; + + /** + * 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 UnitGroupOperation 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 UnitGroupOperation setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Optional. Represents a deprovision operation on a UnitGroup. + * @return value or {@code null} for none + */ + public DeprovisionUnitGroup getDeprovisionUnitGroup() { + return deprovisionUnitGroup; + } + + /** + * Optional. Represents a deprovision operation on a UnitGroup. + * @param deprovisionUnitGroup deprovisionUnitGroup or {@code null} for none + */ + public UnitGroupOperation setDeprovisionUnitGroup(DeprovisionUnitGroup deprovisionUnitGroup) { + this.deprovisionUnitGroup = deprovisionUnitGroup; + return this; + } + + /** + * Optional. Represents a detach operation on a UnitGroup. + * @return value or {@code null} for none + */ + public DetachUnitGroup getDetachUnitGroup() { + return detachUnitGroup; + } + + /** + * Optional. Represents a detach operation on a UnitGroup. + * @param detachUnitGroup detachUnitGroup or {@code null} for none + */ + public UnitGroupOperation setDetachUnitGroup(DetachUnitGroup detachUnitGroup) { + this.detachUnitGroup = detachUnitGroup; + 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 UnitGroupOperation 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 UnitGroupOperation 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}/unitGroupOperations/{unitGroupOperation}" + * @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}/unitGroupOperations/{unitGroupOperation}" + * @param name name or {@code null} for none + */ + public UnitGroupOperation setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Optional. Represents a provision operation on a UnitGroup. + * @return value or {@code null} for none + */ + public ProvisionUnitGroup getProvisionUnitGroup() { + return provisionUnitGroup; + } + + /** + * Optional. Represents a provision operation on a UnitGroup. + * @param provisionUnitGroup provisionUnitGroup or {@code null} for none + */ + public UnitGroupOperation setProvisionUnitGroup(ProvisionUnitGroup provisionUnitGroup) { + this.provisionUnitGroup = provisionUnitGroup; + return this; + } + + /** + * Optional. Tier represents the tier level of the UnitGroupOperation. + * @return value or {@code null} for none + */ + public java.lang.String getTier() { + return tier; + } + + /** + * Optional. Tier represents the tier level of the UnitGroupOperation. + * @param tier tier or {@code null} for none + */ + public UnitGroupOperation setTier(java.lang.String tier) { + this.tier = tier; + 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 UnitGroupOperation 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 UnitGroupOperation setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + @Override + public UnitGroupOperation set(String fieldName, Object value) { + return (UnitGroupOperation) super.set(fieldName, value); + } + + @Override + public UnitGroupOperation clone() { + return (UnitGroupOperation) super.clone(); + } + +} 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 869de84ed61..515b5ef26eb 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 @@ -55,6 +55,13 @@ public final class UnitKind extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private ComponentRef applicationTemplateComponent; + /** + * Optional. Output only. BoundaryType describes the type of boundary the Unit Kind represents. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String boundaryType; + /** * Output only. The timestamp when the resource was created. * The value may be {@code null}. @@ -220,6 +227,23 @@ public UnitKind setApplicationTemplateComponent(ComponentRef applicationTemplate return this; } + /** + * Optional. Output only. BoundaryType describes the type of boundary the Unit Kind represents. + * @return value or {@code null} for none + */ + public java.lang.String getBoundaryType() { + return boundaryType; + } + + /** + * Optional. Output only. BoundaryType describes the type of boundary the Unit Kind represents. + * @param boundaryType boundaryType or {@code null} for none + */ + public UnitKind setBoundaryType(java.lang.String boundaryType) { + this.boundaryType = boundaryType; + return this; + } + /** * Output only. The timestamp when the resource was created. * @return value or {@code null} for none 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 94f057a3e3d..7b1a05e6ff4 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 @@ -138,6 +138,7 @@ public final class UnitOperation extends com.google.api.client.json.GenericJson private java.lang.String parentUnitOperation; /** + * Optional. Provision operation. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -442,6 +443,7 @@ public UnitOperation setParentUnitOperation(java.lang.String parentUnitOperation } /** + * Optional. Provision operation. * @return value or {@code null} for none */ public Provision getProvision() { @@ -449,6 +451,7 @@ public Provision getProvision() { } /** + * Optional. Provision operation. * @param provision provision or {@code null} for none */ public UnitOperation setProvision(Provision provision) { 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 1eaf3cdaf8f..292e81714fc 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-rev20260505-2.0.0 - App Lifecycle Manager API v1beta1-rev20260505-2.0.0 + v1beta1-rev20260526-2.0.0 + App Lifecycle Manager API v1beta1-rev20260526-2.0.0 jar 2011 diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/README.md b/clients/google-api-services-saasservicemgmt/v1beta1/README.md index 2e895a4553b..c9eff38012c 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-rev20260505-2.0.0 + v1beta1-rev20260526-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-saasservicemgmt:v1beta1-rev20260505-2.0.0' + implementation 'com.google.apis:google-api-services-saasservicemgmt:v1beta1-rev20260526-2.0.0' } ```