From 8801a063fcd38986b6641777d84d19c5e4df8665 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 20 Jun 2026 18:40:48 -0700 Subject: [PATCH] chore: regenerate saasservicemgmt client --- .../v1/2.0.0/README.md | 4 +- .../v1/SaaSServiceManagement.java | 2753 ++--------------- .../v1/model/ListSaasReleasesResponse.java | 118 - .../ListUnitGroupOperationsResponse.java | 118 - .../v1/model/ListUnitGroupsResponse.java | 118 - .../saasservicemgmt/v1/model/RolloutKind.java | 4 +- .../saasservicemgmt/v1/model/SaasRelease.java | 248 -- .../saasservicemgmt/v1/model/Unit.java | 24 - .../saasservicemgmt/v1/model/UnitGroup.java | 248 -- .../v1/model/UnitGroupOperation.java | 247 -- .../saasservicemgmt/v1/model/UnitKind.java | 6 +- .../v1/model/UnitOperation.java | 9 + .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- .../v1beta1/2.0.0/README.md | 4 +- .../v1beta1/model/RolloutKind.java | 4 +- .../v1beta1/model/UnitKind.java | 6 +- .../v1beta1/model/UnitOperation.java | 9 + .../v1beta1/2.0.0/pom.xml | 4 +- .../v1beta1/README.md | 4 +- 20 files changed, 272 insertions(+), 3664 deletions(-) delete mode 100644 clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ListSaasReleasesResponse.java delete mode 100644 clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ListUnitGroupOperationsResponse.java delete mode 100644 clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ListUnitGroupsResponse.java delete mode 100644 clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/SaasRelease.java delete mode 100644 clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroup.java delete mode 100644 clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/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 62ad6481046..a53ddab3d6d 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-rev20260603-2.0.0 + v1-rev20260610-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-saasservicemgmt:v1-rev20260603-2.0.0' + implementation 'com.google.apis:google-api-services-saasservicemgmt:v1-rev20260610-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 6bb692c9eab..3653eb56033 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 SaasReleases collection. + * An accessor for creating requests from the Tenants collection. * *

The typical use is:

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

@@ -5164,12 +5236,12 @@ public class Get extends SaaSServiceManagementRequest { + public class List extends SaaSServiceManagementRequest { - private static final String REST_PATH = "v1/{+parent}/saasReleases"; + 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 saas releases. + * Retrieve a collection of tenants. * - * Create a request for the method "saasReleases.list". + * Create a request for the method "tenants.list". * * This request holds the parameters needed by the the saasservicemgmt server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

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

* - * @param parent Required. The parent of the saas releases. + * @param parent Required. The parent of the tenant. * @since 1.13 */ protected List(java.lang.String parent) { - super(SaaSServiceManagement.this, "GET", REST_PATH, null, com.google.api.services.saasservicemgmt.v1.model.ListSaasReleasesResponse.class); + 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(), @@ -5376,17 +5448,17 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { return (List) super.setUploadProtocol(uploadProtocol); } - /** Required. The parent of the saas releases. */ + /** Required. The parent of the tenant. */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent of the saas releases. + /** Required. The parent of the tenant. */ public java.lang.String getParent() { return parent; } - /** Required. The parent of the saas releases. */ + /** Required. The parent of the tenant. */ public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -5429,17 +5501,17 @@ public List setOrderBy(java.lang.String orderBy) { return this; } - /** The maximum number of saas releases to send per page. */ + /** The maximum number of tenants to send per page. */ @com.google.api.client.util.Key private java.lang.Integer pageSize; - /** The maximum number of saas releases to send per page. + /** The maximum number of tenants to send per page. */ public java.lang.Integer getPageSize() { return pageSize; } - /** The maximum number of saas releases to send per page. */ + /** The maximum number of tenants to send per page. */ public List setPageSize(java.lang.Integer pageSize) { this.pageSize = pageSize; return this; @@ -5473,151 +5545,138 @@ 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 { - /** - * Create a new tenant. + * Update a single tenant. * - * Create a request for the method "tenants.create". + * 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 Create#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. * - * @param parent Required. The parent of the tenant. + * @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 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); + 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 Create extends SaaSServiceManagementRequest { + public class Patch extends SaaSServiceManagementRequest { - private static final String REST_PATH = "v1/{+parent}/tenants"; + private static final String REST_PATH = "v1/{+name}"; - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); /** - * Create a new tenant. + * Update a single tenant. * - * Create a request for the method "tenants.create". + * 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 Create#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. *

{@link - * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * Patch#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 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 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."); + 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(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); } } @Override - public Create set$Xgafv(java.lang.String $Xgafv) { - return (Create) super.set$Xgafv($Xgafv); + public Patch set$Xgafv(java.lang.String $Xgafv) { + return (Patch) super.set$Xgafv($Xgafv); } @Override - public Create setAccessToken(java.lang.String accessToken) { - return (Create) super.setAccessToken(accessToken); + public Patch setAccessToken(java.lang.String accessToken) { + return (Patch) super.setAccessToken(accessToken); } @Override - public Create setAlt(java.lang.String alt) { - return (Create) super.setAlt(alt); + public Patch setAlt(java.lang.String alt) { + return (Patch) super.setAlt(alt); } @Override - public Create setCallback(java.lang.String callback) { - return (Create) super.setCallback(callback); + public Patch setCallback(java.lang.String callback) { + return (Patch) super.setCallback(callback); } @Override - public Create setFields(java.lang.String fields) { - return (Create) super.setFields(fields); + public Patch setFields(java.lang.String fields) { + return (Patch) super.setFields(fields); } @Override - public Create setKey(java.lang.String key) { - return (Create) super.setKey(key); + public Patch setKey(java.lang.String key) { + return (Patch) super.setKey(key); } @Override - public Create setOauthToken(java.lang.String oauthToken) { - return (Create) super.setOauthToken(oauthToken); + public Patch setOauthToken(java.lang.String oauthToken) { + return (Patch) super.setOauthToken(oauthToken); } @Override - public Create setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Create) super.setPrettyPrint(prettyPrint); + public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Patch) super.setPrettyPrint(prettyPrint); } @Override - public Create setQuotaUser(java.lang.String quotaUser) { - return (Create) super.setQuotaUser(quotaUser); + public Patch setQuotaUser(java.lang.String quotaUser) { + return (Patch) super.setQuotaUser(quotaUser); } @Override - public Create setUploadType(java.lang.String uploadType) { - return (Create) super.setUploadType(uploadType); + public Patch setUploadType(java.lang.String uploadType) { + return (Patch) super.setUploadType(uploadType); } @Override - public Create setUploadProtocol(java.lang.String uploadProtocol) { - return (Create) super.setUploadProtocol(uploadProtocol); + public Patch setUploadProtocol(java.lang.String uploadProtocol) { + return (Patch) 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. + /** + * Identifier. The resource name (full URI of the resource) following the standard naming + * scheme: "projects/{project}/locations/{location}/tenants/{tenant}" */ - public java.lang.String getParent() { - return parent; + @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; } - /** Required. The parent of the tenant. */ - public Create setParent(java.lang.String 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) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/tenants/[^/]+$"); } - this.parent = parent; + this.name = name; return this; } @@ -5659,24 +5718,37 @@ 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 Create setRequestId(java.lang.String requestId) { + public Patch setRequestId(java.lang.String requestId) { this.requestId = requestId; return this; } - /** Required. The ID value for the new tenant. */ + /** + * 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 java.lang.String tenantId; + private String updateMask; - /** Required. The ID value for the new tenant. + /** 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 java.lang.String getTenantId() { - return tenantId; + public String getUpdateMask() { + return updateMask; } - /** Required. The ID value for the new tenant. */ - public Create setTenantId(java.lang.String tenantId) { - this.tenantId = 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; return this; } @@ -5698,2375 +5770,14 @@ 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 Create setValidateOnly(java.lang.Boolean validateOnly) { + public Patch 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 = "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); + public Patch set(String parameterName, Object value) { + return (Patch) super.set(parameterName, value); } } 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 deleted file mode 100644 index 54eddf7dafc..00000000000 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ListSaasReleasesResponse.java +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.saasservicemgmt.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 deleted file mode 100644 index 88e0dabebe3..00000000000 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ListUnitGroupOperationsResponse.java +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.saasservicemgmt.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 deleted file mode 100644 index 349a41f0a31..00000000000 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/ListUnitGroupsResponse.java +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.saasservicemgmt.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/RolloutKind.java b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/RolloutKind.java index 8457d6f8651..d646e02a2f9 100644 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/RolloutKind.java +++ b/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/RolloutKind.java @@ -17,8 +17,8 @@ package com.google.api.services.saasservicemgmt.v1.model; /** - * An object that describes various settings of Rollout execution. Includes built-in policies across - * GCP and GDC, and customizable policies. + * An object that describes various settings of Rollout execution. Includes built-in and + * customizable policies. * *

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 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 deleted file mode 100644 index b574c71c3d3..00000000000 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/SaasRelease.java +++ /dev/null @@ -1,248 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.saasservicemgmt.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; - - /** - * Output only. The unique identifier of the resource. UID is unique in the time and space for - * this resource within the scope of the service. It is typically generated by the server on - * successful creation of a resource and must not be changed. UID is used to uniquely identify - * resources with resource name reuses. This should be a UUID4. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String uid; - - /** - * Output only. The timestamp when the resource was last updated. Any change to the resource made - * by users must refresh this value. Changes to a resource made by the service should refresh this - * value. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private String updateTime; - - /** - * Optional. Annotations is an unstructured key-value map stored with a resource that may be set - * by external tools to store and retrieve arbitrary metadata. They are not queryable and should - * be preserved when modifying objects. More info: https://kubernetes.io/docs/user- - * guide/annotations - * @return value or {@code null} for none - */ - public java.util.Map getAnnotations() { - return annotations; - } - - /** - * Optional. Annotations is an unstructured key-value map stored with a resource that may be set - * by external tools to store and retrieve arbitrary metadata. They are not queryable and should - * be preserved when modifying objects. More info: https://kubernetes.io/docs/user- - * guide/annotations - * @param annotations annotations or {@code null} for none - */ - public SaasRelease setAnnotations(java.util.Map annotations) { - this.annotations = annotations; - return this; - } - - /** - * Output only. The timestamp when the resource was created. - * @return value or {@code null} for none - */ - public String getCreateTime() { - return createTime; - } - - /** - * Output only. The timestamp when the resource was created. - * @param createTime createTime or {@code null} for none - */ - public SaasRelease setCreateTime(String createTime) { - this.createTime = createTime; - return this; - } - - /** - * Output only. An opaque value that uniquely identifies a version or generation of a resource. It - * can be used to confirm that the client and server agree on the ordering of a resource being - * written. - * @return value or {@code null} for none - */ - public java.lang.String getEtag() { - return etag; - } - - /** - * Output only. An opaque value that uniquely identifies a version or generation of a resource. It - * can be used to confirm that the client and server agree on the ordering of a resource being - * written. - * @param etag etag or {@code null} for none - */ - public SaasRelease setEtag(java.lang.String etag) { - this.etag = etag; - return this; - } - - /** - * Optional. The labels on the resource, which can be used for categorization. similar to - * Kubernetes resource labels. - * @return value or {@code null} for none - */ - public java.util.Map getLabels() { - return labels; - } - - /** - * Optional. The labels on the resource, which can be used for categorization. similar to - * Kubernetes resource labels. - * @param labels labels or {@code null} for none - */ - public SaasRelease setLabels(java.util.Map labels) { - this.labels = labels; - return this; - } - - /** - * Identifier. The resource name (full URI of the resource) following the standard naming scheme: - * "projects/{project}/locations/{location}/saasReleases/{saasRelease}" - * @return value or {@code null} for none - */ - public java.lang.String getName() { - return name; - } - - /** - * Identifier. The resource name (full URI of the resource) following the standard naming scheme: - * "projects/{project}/locations/{location}/saasReleases/{saasRelease}" - * @param name name or {@code null} for none - */ - public SaasRelease setName(java.lang.String name) { - this.name = name; - return this; - } - - /** - * Output only. The unique identifier of the resource. UID is unique in the time and space for - * this resource within the scope of the service. It is typically generated by the server on - * successful creation of a resource and must not be changed. UID is used to uniquely identify - * resources with resource name reuses. This should be a UUID4. - * @return value or {@code null} for none - */ - public java.lang.String getUid() { - return uid; - } - - /** - * Output only. The unique identifier of the resource. UID is unique in the time and space for - * this resource within the scope of the service. It is typically generated by the server on - * successful creation of a resource and must not be changed. UID is used to uniquely identify - * resources with resource name reuses. This should be a UUID4. - * @param uid uid or {@code null} for none - */ - public SaasRelease setUid(java.lang.String uid) { - this.uid = uid; - return this; - } - - /** - * Output only. The timestamp when the resource was last updated. Any change to the resource made - * by users must refresh this value. Changes to a resource made by the service should refresh this - * value. - * @return value or {@code null} for none - */ - public String getUpdateTime() { - return updateTime; - } - - /** - * Output only. The timestamp when the resource was last updated. Any change to the resource made - * by users must refresh this value. Changes to a resource made by the service should refresh this - * value. - * @param updateTime updateTime or {@code null} for none - */ - public SaasRelease setUpdateTime(String updateTime) { - this.updateTime = updateTime; - return this; - } - - @Override - public SaasRelease set(String fieldName, Object value) { - return (SaasRelease) super.set(fieldName, value); - } - - @Override - public SaasRelease clone() { - return (SaasRelease) super.clone(); - } - -} diff --git a/clients/google-api-services-saasservicemgmt/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 223f0de0ca1..12571c62afa 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,13 +222,6 @@ 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}. @@ -697,23 +690,6 @@ 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 deleted file mode 100644 index a5874b9bf90..00000000000 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroup.java +++ /dev/null @@ -1,248 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.saasservicemgmt.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; - - /** - * 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; - } - - /** - * 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 deleted file mode 100644 index 80377c03caa..00000000000 --- a/clients/google-api-services-saasservicemgmt/v1/2.0.0/com/google/api/services/saasservicemgmt/v1/model/UnitGroupOperation.java +++ /dev/null @@ -1,247 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.saasservicemgmt.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; - - /** - * 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; - - /** - * 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; - } - - /** - * 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; - } - - /** - * 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 0dec26690e3..75aa19c5d03 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 @@ -97,7 +97,7 @@ public final class UnitKind extends com.google.api.client.json.GenericJson { /** * Optional. List of inputVariables for this release that will either be retrieved from a - * dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum + * dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum * 100. * The value may be {@code null}. */ @@ -295,7 +295,7 @@ public UnitKind setEtag(java.lang.String etag) { /** * Optional. List of inputVariables for this release that will either be retrieved from a - * dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum + * dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum * 100. * @return value or {@code null} for none */ @@ -305,7 +305,7 @@ public java.util.List getInputVariableMappings() { /** * Optional. List of inputVariables for this release that will either be retrieved from a - * dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum + * dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum * 100. * @param inputVariableMappings inputVariableMappings 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 eff9343f958..936ac49bb6a 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 @@ -77,6 +77,7 @@ public final class UnitOperation extends com.google.api.client.json.GenericJson private String deleteTime; /** + * Optional. Deprovision operation. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -107,6 +108,7 @@ public final class UnitOperation extends com.google.api.client.json.GenericJson private java.lang.String etag; /** + * Optional. Flag update operation. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -194,6 +196,7 @@ public final class UnitOperation extends com.google.api.client.json.GenericJson private String updateTime; /** + * Optional. Upgrade operation. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -297,6 +300,7 @@ public UnitOperation setDeleteTime(String deleteTime) { } /** + * Optional. Deprovision operation. * @return value or {@code null} for none */ public Deprovision getDeprovision() { @@ -304,6 +308,7 @@ public Deprovision getDeprovision() { } /** + * Optional. Deprovision operation. * @param deprovision deprovision or {@code null} for none */ public UnitOperation setDeprovision(Deprovision deprovision) { @@ -369,6 +374,7 @@ public UnitOperation setEtag(java.lang.String etag) { } /** + * Optional. Flag update operation. * @return value or {@code null} for none */ public FlagUpdate getFlagUpdate() { @@ -376,6 +382,7 @@ public FlagUpdate getFlagUpdate() { } /** + * Optional. Flag update operation. * @param flagUpdate flagUpdate or {@code null} for none */ public UnitOperation setFlagUpdate(FlagUpdate flagUpdate) { @@ -576,6 +583,7 @@ public UnitOperation setUpdateTime(String updateTime) { } /** + * Optional. Upgrade operation. * @return value or {@code null} for none */ public Upgrade getUpgrade() { @@ -583,6 +591,7 @@ public Upgrade getUpgrade() { } /** + * Optional. Upgrade operation. * @param upgrade upgrade or {@code null} for none */ public UnitOperation setUpgrade(Upgrade upgrade) { 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 e8c75fd8bcc..cc8056db72a 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-rev20260603-2.0.0 - App Lifecycle Manager API v1-rev20260603-2.0.0 + v1-rev20260610-2.0.0 + App Lifecycle Manager API v1-rev20260610-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 62ad6481046..a53ddab3d6d 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-rev20260603-2.0.0 + v1-rev20260610-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-saasservicemgmt:v1-rev20260603-2.0.0' + implementation 'com.google.apis:google-api-services-saasservicemgmt:v1-rev20260610-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 a6f8c477269..48cd1b9c77c 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-rev20260603-2.0.0 + v1beta1-rev20260610-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-saasservicemgmt:v1beta1-rev20260603-2.0.0' + implementation 'com.google.apis:google-api-services-saasservicemgmt:v1beta1-rev20260610-2.0.0' } ``` diff --git a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/RolloutKind.java b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/RolloutKind.java index cc7cbed4d7d..e721ff8d824 100644 --- a/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/RolloutKind.java +++ b/clients/google-api-services-saasservicemgmt/v1beta1/2.0.0/com/google/api/services/saasservicemgmt/v1beta1/model/RolloutKind.java @@ -17,8 +17,8 @@ package com.google.api.services.saasservicemgmt.v1beta1.model; /** - * An object that describes various settings of Rollout execution. Includes built-in policies across - * GCP and GDC, and customizable policies. + * An object that describes various settings of Rollout execution. Includes built-in and + * customizable policies. * *

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 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 515b5ef26eb..7128ef081e4 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 @@ -111,7 +111,7 @@ public final class UnitKind extends com.google.api.client.json.GenericJson { /** * Optional. List of inputVariables for this release that will either be retrieved from a - * dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum + * dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum * 100. * The value may be {@code null}. */ @@ -343,7 +343,7 @@ public UnitKind setEtag(java.lang.String etag) { /** * Optional. List of inputVariables for this release that will either be retrieved from a - * dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum + * dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum * 100. * @return value or {@code null} for none */ @@ -353,7 +353,7 @@ public java.util.List getInputVariableMappings() { /** * Optional. List of inputVariables for this release that will either be retrieved from a - * dependency’s outputVariables, or will be passed on to a dependency’s inputVariables. Maximum + * dependency's outputVariables, or will be passed on to a dependency's inputVariables. Maximum * 100. * @param inputVariableMappings inputVariableMappings 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 7b1a05e6ff4..9ec4c6e9b19 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 @@ -77,6 +77,7 @@ public final class UnitOperation extends com.google.api.client.json.GenericJson private String deleteTime; /** + * Optional. Deprovision operation. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -107,6 +108,7 @@ public final class UnitOperation extends com.google.api.client.json.GenericJson private java.lang.String etag; /** + * Optional. Flag update operation. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -194,6 +196,7 @@ public final class UnitOperation extends com.google.api.client.json.GenericJson private String updateTime; /** + * Optional. Upgrade operation. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -297,6 +300,7 @@ public UnitOperation setDeleteTime(String deleteTime) { } /** + * Optional. Deprovision operation. * @return value or {@code null} for none */ public Deprovision getDeprovision() { @@ -304,6 +308,7 @@ public Deprovision getDeprovision() { } /** + * Optional. Deprovision operation. * @param deprovision deprovision or {@code null} for none */ public UnitOperation setDeprovision(Deprovision deprovision) { @@ -369,6 +374,7 @@ public UnitOperation setEtag(java.lang.String etag) { } /** + * Optional. Flag update operation. * @return value or {@code null} for none */ public FlagUpdate getFlagUpdate() { @@ -376,6 +382,7 @@ public FlagUpdate getFlagUpdate() { } /** + * Optional. Flag update operation. * @param flagUpdate flagUpdate or {@code null} for none */ public UnitOperation setFlagUpdate(FlagUpdate flagUpdate) { @@ -576,6 +583,7 @@ public UnitOperation setUpdateTime(String updateTime) { } /** + * Optional. Upgrade operation. * @return value or {@code null} for none */ public Upgrade getUpgrade() { @@ -583,6 +591,7 @@ public Upgrade getUpgrade() { } /** + * Optional. Upgrade operation. * @param upgrade upgrade or {@code null} for none */ public UnitOperation setUpgrade(Upgrade upgrade) { 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 387db6faa12..626b83dbf56 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-rev20260603-2.0.0 - App Lifecycle Manager API v1beta1-rev20260603-2.0.0 + v1beta1-rev20260610-2.0.0 + App Lifecycle Manager API v1beta1-rev20260610-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 a6f8c477269..48cd1b9c77c 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-rev20260603-2.0.0 + v1beta1-rev20260610-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-saasservicemgmt:v1beta1-rev20260603-2.0.0' + implementation 'com.google.apis:google-api-services-saasservicemgmt:v1beta1-rev20260610-2.0.0' } ```