From 6b18cc6b0ebbb2d7487e1ad99fa3b7b84d3f31e8 Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Thu, 19 Feb 2026 10:45:15 -0800
Subject: [PATCH] chore: regenerate workloadmanager client
---
.../v1/2.0.0/README.md | 4 +-
.../workloadmanager/v1/WorkloadManager.java | 1768 ++++++++++++++++-
.../v1/model/ActiveDirectory.java | 162 ++
.../workloadmanager/v1/model/Actuation.java | 190 ++
.../v1/model/ActuationOutput.java | 288 +++
.../workloadmanager/v1/model/AppDetails.java | 426 ++++
.../v1/model/ComponentHealth.java | 162 ++
.../workloadmanager/v1/model/Database.java | 312 +++
.../v1/model/DatabaseDetails.java | 258 +++
.../v1/model/DatabaseProperties.java | 6 +-
.../workloadmanager/v1/model/Deployment.java | 330 +++
.../v1/model/DeploymentOutput.java | 90 +
.../v1/model/ExternalDataSources.java | 18 +-
.../workloadmanager/v1/model/HealthCheck.java | 162 ++
.../v1/model/ListActuationsResponse.java | 123 ++
.../v1/model/ListDeploymentsResponse.java | 120 ++
.../v1/model/LocationDetails.java | 333 ++++
.../workloadmanager/v1/model/Pacemaker.java | 186 ++
.../workloadmanager/v1/model/Product.java | 2 +-
.../workloadmanager/v1/model/RuleOutput.java | 90 +
.../v1/model/SapComponent.java | 12 +-
.../v1/model/SapSystemS4Config.java | 354 ++++
.../workloadmanager/v1/model/SapWorkload.java | 24 +-
.../v1/model/SqlLocationDetails.java | 270 +++
.../v1/model/SqlServerWorkload.java | 456 +++++
.../v1/model/TerraformVariable.java | 68 +
.../v1/model/UpcomingMaintenanceEvent.java | 6 +-
.../v1/model/ViolationDetails.java | 36 +-
.../v1/model/WorkloadProfile.java | 2 +-
.../v1/model/WorkloadProfileHealth.java | 120 ++
.../v1/2.0.0/pom.xml | 4 +-
.../v1/README.md | 4 +-
32 files changed, 6333 insertions(+), 53 deletions(-)
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ActiveDirectory.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Actuation.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ActuationOutput.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/AppDetails.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ComponentHealth.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Database.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/DatabaseDetails.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Deployment.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/DeploymentOutput.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/HealthCheck.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ListActuationsResponse.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ListDeploymentsResponse.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/LocationDetails.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Pacemaker.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/RuleOutput.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SapSystemS4Config.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SqlLocationDetails.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SqlServerWorkload.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/TerraformVariable.java
create mode 100644 clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/WorkloadProfileHealth.java
diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/README.md b/clients/google-api-services-workloadmanager/v1/2.0.0/README.md
index fb47730a8c0..84eb539132a 100644
--- a/clients/google-api-services-workloadmanager/v1/2.0.0/README.md
+++ b/clients/google-api-services-workloadmanager/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
+ * {@code WorkloadManager workloadmanager = new WorkloadManager(...);}
+ * {@code WorkloadManager.Deployments.List request = workloadmanager.deployments().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Deployments deployments() {
+ return new Deployments();
+ }
+
+ /**
+ * The "deployments" collection of methods.
+ */
+ public class Deployments {
+
+ /**
+ * Creates a new Deployment in a given project and location.
+ *
+ * Create a request for the method "deployments.create".
+ *
+ * This request holds the parameters needed by the workloadmanager server. After setting any
+ * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ *
+ * @param parent Required. The resource prefix of the Deployment using the form:
+ * `projects/{project_id}/locations/{location_id}`
+ * @param content the {@link com.google.api.services.workloadmanager.v1.model.Deployment}
+ * @return the request
+ */
+ public Create create(java.lang.String parent, com.google.api.services.workloadmanager.v1.model.Deployment content) throws java.io.IOException {
+ Create result = new Create(parent, content);
+ initialize(result);
+ return result;
+ }
+
+ public class Create extends WorkloadManagerRequest{@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 resource prefix of the Deployment using the form: + * `projects/{project_id}/locations/{location_id}` + * @param content the {@link com.google.api.services.workloadmanager.v1.model.Deployment} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.workloadmanager.v1.model.Deployment content) { + super(WorkloadManager.this, "POST", REST_PATH, content, com.google.api.services.workloadmanager.v1.model.Operation.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 resource prefix of the Deployment using the form: + * `projects/{project_id}/locations/{location_id}` + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The resource prefix of the Deployment using the form: + `projects/{project_id}/locations/{location_id}` + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The resource prefix of the Deployment using the form: + * `projects/{project_id}/locations/{location_id}` + */ + 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; + } + + /** Required. Id of the deployment */ + @com.google.api.client.util.Key + private java.lang.String deploymentId; + + /** Required. Id of the deployment + */ + public java.lang.String getDeploymentId() { + return deploymentId; + } + + /** Required. Id of the deployment */ + public Create setDeploymentId(java.lang.String deploymentId) { + this.deploymentId = deploymentId; + 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; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Deletes a single Deployment. + * + * Create a request for the method "deployments.delete". + * + * This request holds the parameters needed by the workloadmanager server. After setting any + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * + * @param name Required. Name of the resource + * @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 WorkloadManagerRequest{@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. Name of the resource + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(WorkloadManager.this, "DELETE", REST_PATH, null, com.google.api.services.workloadmanager.v1.model.Operation.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/[^/]+/deployments/[^/]+$"); + } + } + + @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. Name of the resource */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the resource + */ + public java.lang.String getName() { + return name; + } + + /** Required. Name of the resource */ + 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/[^/]+/deployments/[^/]+$"); + } + this.name = name; + return this; + } + + /** + * Optional. If set to true, any actuation will also be deleted. Followed the best + * practice from https://aip.dev/135#cascading-delete + */ + @com.google.api.client.util.Key + private java.lang.Boolean force; + + /** Optional. If set to true, any actuation will also be deleted. Followed the best practice from + https://aip.dev/135#cascading-delete + */ + public java.lang.Boolean getForce() { + return force; + } + + /** + * Optional. If set to true, any actuation will also be deleted. Followed the best + * practice from https://aip.dev/135#cascading-delete + */ + public Delete setForce(java.lang.Boolean force) { + this.force = force; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Gets details of a single Deployment. + * + * Create a request for the method "deployments.get". + * + * This request holds the parameters needed by the workloadmanager server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. Name of the resource. The format will be + * 'projects/{project_id}/locations/{location_id}/deployments/{deployment_id}' + * @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 WorkloadManagerRequest+ * {@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. Name of the resource. The format will be + * 'projects/{project_id}/locations/{location_id}/deployments/{deployment_id}' + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(WorkloadManager.this, "GET", REST_PATH, null, com.google.api.services.workloadmanager.v1.model.Deployment.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/[^/]+/deployments/[^/]+$"); + } + } + + @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. Name of the resource. The format will be + * 'projects/{project_id}/locations/{location_id}/deployments/{deployment_id}' + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the resource. The format will be + 'projects/{project_id}/locations/{location_id}/deployments/{deployment_id}' + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Name of the resource. The format will be + * 'projects/{project_id}/locations/{location_id}/deployments/{deployment_id}' + */ + 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/[^/]+/deployments/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists Deployments in a given project and location. + * + * Create a request for the method "deployments.list". + * + * This request holds the parameters needed by the workloadmanager server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The resource prefix of the Deployment using the form: + * `projects/{project_id}/locations/{location_id}` + * @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 WorkloadManagerRequest+ * {@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 resource prefix of the Deployment using the form: + * `projects/{project_id}/locations/{location_id}` + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(WorkloadManager.this, "GET", REST_PATH, null, com.google.api.services.workloadmanager.v1.model.ListDeploymentsResponse.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 resource prefix of the Deployment using the form: + * `projects/{project_id}/locations/{location_id}` + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The resource prefix of the Deployment using the form: + `projects/{project_id}/locations/{location_id}` + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The resource prefix of the Deployment using the form: + * `projects/{project_id}/locations/{location_id}` + */ + 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; + } + + /** Optional. Filter resource follow https://google.aip.dev/160 */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. Filter resource follow https://google.aip.dev/160 + */ + public java.lang.String getFilter() { + return filter; + } + + /** Optional. Filter resource follow https://google.aip.dev/160 */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** + * Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details. + */ + @com.google.api.client.util.Key + private java.lang.String orderBy; + + /** Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details. + */ + public java.lang.String getOrderBy() { + return orderBy; + } + + /** + * Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details. + */ + public List setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; + return this; + } + + /** + * Optional. Requested page size. Server may return fewer items than requested. The + * maximum value is 1000; values above 1000 will be coerced to 1000. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. Requested page size. Server may return fewer items than requested. The maximum value is + 1000; values above 1000 will be coerced to 1000. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. Requested page size. Server may return fewer items than requested. The + * maximum value is 1000; values above 1000 will be coerced to 1000. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** Optional. A token identifying a page of results the server should return. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A token identifying a page of results the server should return. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** Optional. A token identifying a page of results the server should return. */ + 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 Actuations collection. + * + *The typical use is:
+ *
+ * {@code WorkloadManager workloadmanager = new WorkloadManager(...);}
+ * {@code WorkloadManager.Actuations.List request = workloadmanager.actuations().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Actuations actuations() {
+ return new Actuations();
+ }
+
+ /**
+ * The "actuations" collection of methods.
+ */
+ public class Actuations {
+
+ /**
+ * Creates a new actuation for an existing Deployment.
+ *
+ * Create a request for the method "actuations.create".
+ *
+ * This request holds the parameters needed by the workloadmanager server. After setting any
+ * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ *
+ * @param parent Required. The resource name of the Actuation location using the form:
+ * 'projects/{project_id}/locations/{location}/deployments/{deployment}'
+ * @param content the {@link com.google.api.services.workloadmanager.v1.model.Actuation}
+ * @return the request
+ */
+ public Create create(java.lang.String parent, com.google.api.services.workloadmanager.v1.model.Actuation content) throws java.io.IOException {
+ Create result = new Create(parent, content);
+ initialize(result);
+ return result;
+ }
+
+ public class Create extends WorkloadManagerRequest{@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 resource name of the Actuation location using the form: + * 'projects/{project_id}/locations/{location}/deployments/{deployment}' + * @param content the {@link com.google.api.services.workloadmanager.v1.model.Actuation} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.workloadmanager.v1.model.Actuation content) { + super(WorkloadManager.this, "POST", REST_PATH, content, com.google.api.services.workloadmanager.v1.model.Operation.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/[^/]+/deployments/[^/]+$"); + } + } + + @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 resource name of the Actuation location using the form: + * 'projects/{project_id}/locations/{location}/deployments/{deployment}' + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The resource name of the Actuation location using the form: + 'projects/{project_id}/locations/{location}/deployments/{deployment}' + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The resource name of the Actuation location using the form: + * 'projects/{project_id}/locations/{location}/deployments/{deployment}' + */ + 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/[^/]+/deployments/[^/]+$"); + } + 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; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Deletes a single Actuation + * + * Create a request for the method "actuations.delete". + * + * This request holds the parameters needed by the workloadmanager server. After setting any + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the book to delete. + * project/{project_id}/locations/{location_id}/deployments/{deployment_id}/actuations/{actua + * tion_id} + * @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 WorkloadManagerRequest{@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 name of the book to delete. + * project/{project_id}/locations/{location_id}/deployments/{deployment_id}/actuations/{actua + * tion_id} + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(WorkloadManager.this, "DELETE", REST_PATH, null, com.google.api.services.workloadmanager.v1.model.Operation.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/[^/]+/deployments/[^/]+/actuations/[^/]+$"); + } + } + + @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 name of the book to delete. project/{project_id}/locations/{location_id + * }/deployments/{deployment_id}/actuations/{actuation_id} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the book to delete. + project/{project_id}/locations/{location_id}/deployments/{deployment_id}/actuations/{actuation_id} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the book to delete. project/{project_id}/locations/{location_id + * }/deployments/{deployment_id}/actuations/{actuation_id} + */ + 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/[^/]+/deployments/[^/]+/actuations/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Gets details of a single Actuation. + * + * Create a request for the method "actuations.get". + * + * This request holds the parameters needed by the workloadmanager server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. Name of the resource + * @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 WorkloadManagerRequest+ * {@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. Name of the resource + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(WorkloadManager.this, "GET", REST_PATH, null, com.google.api.services.workloadmanager.v1.model.Actuation.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/[^/]+/deployments/[^/]+/actuations/[^/]+$"); + } + } + + @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. Name of the resource */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the resource + */ + public java.lang.String getName() { + return name; + } + + /** Required. Name of the resource */ + 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/[^/]+/deployments/[^/]+/actuations/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists Actuations in a given project, location and deployment. + * + * Create a request for the method "actuations.list". + * + * This request holds the parameters needed by the workloadmanager server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The resource prefix of the Actuation using the form: + * 'projects/{project_id}/locations/{location}/deployments/{deployment}' + * @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 WorkloadManagerRequest+ * {@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 resource prefix of the Actuation using the form: + * 'projects/{project_id}/locations/{location}/deployments/{deployment}' + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(WorkloadManager.this, "GET", REST_PATH, null, com.google.api.services.workloadmanager.v1.model.ListActuationsResponse.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/[^/]+/deployments/[^/]+$"); + } + } + + @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 resource prefix of the Actuation using the form: + * 'projects/{project_id}/locations/{location}/deployments/{deployment}' + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The resource prefix of the Actuation using the form: + 'projects/{project_id}/locations/{location}/deployments/{deployment}' + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The resource prefix of the Actuation using the form: + * 'projects/{project_id}/locations/{location}/deployments/{deployment}' + */ + 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/[^/]+/deployments/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** Optional. Filtering results */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. Filtering results + */ + public java.lang.String getFilter() { + return filter; + } + + /** Optional. Filtering results */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** + * Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details. + */ + @com.google.api.client.util.Key + private java.lang.String orderBy; + + /** Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details. + */ + public java.lang.String getOrderBy() { + return orderBy; + } + + /** + * Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details. + */ + public List setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; + return this; + } + + /** + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server + will pick an appropriate default. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** Optional. A token identifying a page of results the server should return. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A token identifying a page of results the server should return. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** Optional. A token identifying a page of results the server should return. */ + 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 Discoveredprofiles collection. * @@ -552,11 +2005,149 @@ public Discoveredprofiles discoveredprofiles() { return new Discoveredprofiles(); } - /** - * The "discoveredprofiles" collection of methods. - */ - public class Discoveredprofiles { + /** + * The "discoveredprofiles" collection of methods. + */ + public class Discoveredprofiles { + + /** + * Gets details of a discovered workload profile. + * + * Create a request for the method "discoveredprofiles.get". + * + * This request holds the parameters needed by the workloadmanager server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. Name of the resource + * @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 WorkloadManagerRequest+ * {@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. Name of the resource + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(WorkloadManager.this, "GET", REST_PATH, null, com.google.api.services.workloadmanager.v1.model.WorkloadProfile.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/[^/]+/discoveredprofiles/[^/]+$"); + } + } + + @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. Name of the resource */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the resource + */ + public java.lang.String getName() { + return name; + } + + /** Required. Name of the resource */ + 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/[^/]+/discoveredprofiles/[^/]+$"); + } + this.name = name; + return this; + } + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } /** * List discovered workload profiles * @@ -751,6 +2342,166 @@ public List set(String parameterName, Object value) { } } + /** + * An accessor for creating requests from the Health collection. + * + *The typical use is:
+ *
+ * {@code WorkloadManager workloadmanager = new WorkloadManager(...);}
+ * {@code WorkloadManager.Health.List request = workloadmanager.health().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Health health() {
+ return new Health();
+ }
+
+ /**
+ * The "health" collection of methods.
+ */
+ public class Health {
+
+ /**
+ * Get the health of a discovered workload profile.
+ *
+ * Create a request for the method "health.get".
+ *
+ * This request holds the parameters needed by the workloadmanager server. After setting any
+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ *
+ * @param name Required. The resource name
+ * @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 WorkloadManagerRequest+ * {@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 + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(WorkloadManager.this, "GET", REST_PATH, null, com.google.api.services.workloadmanager.v1.model.WorkloadProfileHealth.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/[^/]+/discoveredprofiles/[^/]+/health/[^/]+$"); + } + } + + @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 */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The resource name + */ + public java.lang.String getName() { + return name; + } + + /** Required. The resource name */ + 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/[^/]+/discoveredprofiles/[^/]+/health/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + + } } /** * An accessor for creating requests from the Evaluations collection. @@ -4175,8 +5926,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr * {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport} *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 Workload 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 ActiveDirectory extends com.google.api.client.json.GenericJson { + + /** + * Optional. DNS IP address + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dnsAddress; + + /** + * Optional. human readable form of a domain such as “google.com”. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String domain; + + /** + * Optional. domain username + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String domainUsername; + + /** + * Required. secret_manager_secret + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String secretManagerSecret; + + /** + * Required. active directory type + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Optional. DNS IP address + * @return value or {@code null} for none + */ + public java.lang.String getDnsAddress() { + return dnsAddress; + } + + /** + * Optional. DNS IP address + * @param dnsAddress dnsAddress or {@code null} for none + */ + public ActiveDirectory setDnsAddress(java.lang.String dnsAddress) { + this.dnsAddress = dnsAddress; + return this; + } + + /** + * Optional. human readable form of a domain such as “google.com”. + * @return value or {@code null} for none + */ + public java.lang.String getDomain() { + return domain; + } + + /** + * Optional. human readable form of a domain such as “google.com”. + * @param domain domain or {@code null} for none + */ + public ActiveDirectory setDomain(java.lang.String domain) { + this.domain = domain; + return this; + } + + /** + * Optional. domain username + * @return value or {@code null} for none + */ + public java.lang.String getDomainUsername() { + return domainUsername; + } + + /** + * Optional. domain username + * @param domainUsername domainUsername or {@code null} for none + */ + public ActiveDirectory setDomainUsername(java.lang.String domainUsername) { + this.domainUsername = domainUsername; + return this; + } + + /** + * Required. secret_manager_secret + * @return value or {@code null} for none + */ + public java.lang.String getSecretManagerSecret() { + return secretManagerSecret; + } + + /** + * Required. secret_manager_secret + * @param secretManagerSecret secretManagerSecret or {@code null} for none + */ + public ActiveDirectory setSecretManagerSecret(java.lang.String secretManagerSecret) { + this.secretManagerSecret = secretManagerSecret; + return this; + } + + /** + * Required. active directory type + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Required. active directory type + * @param type type or {@code null} for none + */ + public ActiveDirectory setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public ActiveDirectory set(String fieldName, Object value) { + return (ActiveDirectory) super.set(fieldName, value); + } + + @Override + public ActiveDirectory clone() { + return (ActiveDirectory) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Actuation.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Actuation.java new file mode 100644 index 00000000000..3c9fe30f7ea --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Actuation.java @@ -0,0 +1,190 @@ +/* + * 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.workloadmanager.v1.model; + +/** + * The Actuation object represents the bootstrap state and output results of deployed infrastructure + * and software. + * + *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 Workload 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 Actuation extends com.google.api.client.json.GenericJson { + + /** + * Output only. [Output only] Actuation output + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ActuationOutput actuationOutput; + + /** + * Output only. [Output only] Deployment output + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Workload 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 ActuationOutput extends com.google.api.client.json.GenericJson { + + /** + * A link to gcs file that store build logs + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String actuateLogs; + + /** + * Output only. error message return from ansible. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ansibleError; + + /** + * Output only. failed task name return from ansible. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Workload 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 AppDetails extends com.google.api.client.json.GenericJson { + + /** + * Optional. instance id for app + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String appInstanceId; + + /** + * Application service account - let custoemrs bring their own SA for application + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String appServiceAccount; + + /** + * Optional. Customized vm names + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Workload 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 ComponentHealth extends com.google.api.client.json.GenericJson { + + /** + * The component of a workload. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String component; + + /** + * The detailed health checks of the component. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Workload 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 Database extends com.google.api.client.json.GenericJson { + + /** + * Required. disk_type + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String diskType; + + /** + * Optional. only useful for Linux High Availability setup + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String floatingIpAddress; + + /** + * Required. machine type + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String machineType; + + /** + * Optional. the name of a secondary-sole-tenant node/node group + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String secondarySoleTenantNode; + + /** + * Optional. the type of a secondary-sole-tenant node/node group e.g. compute.googleapis.com/node- + * name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String secondarySoleTenantNodeType; + + /** + * Required. secret_manager_secret + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String secretManagerSecret; + + /** + * Required. whether simultaneous multithreading is enabled or not + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean smt; + + /** + * Optional. the name of a primary sole-tenant node/node group + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String soleTenantNode; + + /** + * Optional. the type of a primary sole-tenant node/node group e.g. compute.googleapis.com/node- + * name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String soleTenantNodeType; + + /** + * Required. whether to have TempDB on local SSD + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean tempdbOnSsd; + + /** + * Required. SHARED or SOLE_TENANT + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String tenancyModel; + + /** + * Required. disk_type + * @return value or {@code null} for none + */ + public java.lang.String getDiskType() { + return diskType; + } + + /** + * Required. disk_type + * @param diskType diskType or {@code null} for none + */ + public Database setDiskType(java.lang.String diskType) { + this.diskType = diskType; + return this; + } + + /** + * Optional. only useful for Linux High Availability setup + * @return value or {@code null} for none + */ + public java.lang.String getFloatingIpAddress() { + return floatingIpAddress; + } + + /** + * Optional. only useful for Linux High Availability setup + * @param floatingIpAddress floatingIpAddress or {@code null} for none + */ + public Database setFloatingIpAddress(java.lang.String floatingIpAddress) { + this.floatingIpAddress = floatingIpAddress; + return this; + } + + /** + * Required. machine type + * @return value or {@code null} for none + */ + public java.lang.String getMachineType() { + return machineType; + } + + /** + * Required. machine type + * @param machineType machineType or {@code null} for none + */ + public Database setMachineType(java.lang.String machineType) { + this.machineType = machineType; + return this; + } + + /** + * Optional. the name of a secondary-sole-tenant node/node group + * @return value or {@code null} for none + */ + public java.lang.String getSecondarySoleTenantNode() { + return secondarySoleTenantNode; + } + + /** + * Optional. the name of a secondary-sole-tenant node/node group + * @param secondarySoleTenantNode secondarySoleTenantNode or {@code null} for none + */ + public Database setSecondarySoleTenantNode(java.lang.String secondarySoleTenantNode) { + this.secondarySoleTenantNode = secondarySoleTenantNode; + return this; + } + + /** + * Optional. the type of a secondary-sole-tenant node/node group e.g. compute.googleapis.com/node- + * name + * @return value or {@code null} for none + */ + public java.lang.String getSecondarySoleTenantNodeType() { + return secondarySoleTenantNodeType; + } + + /** + * Optional. the type of a secondary-sole-tenant node/node group e.g. compute.googleapis.com/node- + * name + * @param secondarySoleTenantNodeType secondarySoleTenantNodeType or {@code null} for none + */ + public Database setSecondarySoleTenantNodeType(java.lang.String secondarySoleTenantNodeType) { + this.secondarySoleTenantNodeType = secondarySoleTenantNodeType; + return this; + } + + /** + * Required. secret_manager_secret + * @return value or {@code null} for none + */ + public java.lang.String getSecretManagerSecret() { + return secretManagerSecret; + } + + /** + * Required. secret_manager_secret + * @param secretManagerSecret secretManagerSecret or {@code null} for none + */ + public Database setSecretManagerSecret(java.lang.String secretManagerSecret) { + this.secretManagerSecret = secretManagerSecret; + return this; + } + + /** + * Required. whether simultaneous multithreading is enabled or not + * @return value or {@code null} for none + */ + public java.lang.Boolean getSmt() { + return smt; + } + + /** + * Required. whether simultaneous multithreading is enabled or not + * @param smt smt or {@code null} for none + */ + public Database setSmt(java.lang.Boolean smt) { + this.smt = smt; + return this; + } + + /** + * Optional. the name of a primary sole-tenant node/node group + * @return value or {@code null} for none + */ + public java.lang.String getSoleTenantNode() { + return soleTenantNode; + } + + /** + * Optional. the name of a primary sole-tenant node/node group + * @param soleTenantNode soleTenantNode or {@code null} for none + */ + public Database setSoleTenantNode(java.lang.String soleTenantNode) { + this.soleTenantNode = soleTenantNode; + return this; + } + + /** + * Optional. the type of a primary sole-tenant node/node group e.g. compute.googleapis.com/node- + * name + * @return value or {@code null} for none + */ + public java.lang.String getSoleTenantNodeType() { + return soleTenantNodeType; + } + + /** + * Optional. the type of a primary sole-tenant node/node group e.g. compute.googleapis.com/node- + * name + * @param soleTenantNodeType soleTenantNodeType or {@code null} for none + */ + public Database setSoleTenantNodeType(java.lang.String soleTenantNodeType) { + this.soleTenantNodeType = soleTenantNodeType; + return this; + } + + /** + * Required. whether to have TempDB on local SSD + * @return value or {@code null} for none + */ + public java.lang.Boolean getTempdbOnSsd() { + return tempdbOnSsd; + } + + /** + * Required. whether to have TempDB on local SSD + * @param tempdbOnSsd tempdbOnSsd or {@code null} for none + */ + public Database setTempdbOnSsd(java.lang.Boolean tempdbOnSsd) { + this.tempdbOnSsd = tempdbOnSsd; + return this; + } + + /** + * Required. SHARED or SOLE_TENANT + * @return value or {@code null} for none + */ + public java.lang.String getTenancyModel() { + return tenancyModel; + } + + /** + * Required. SHARED or SOLE_TENANT + * @param tenancyModel tenancyModel or {@code null} for none + */ + public Database setTenancyModel(java.lang.String tenancyModel) { + this.tenancyModel = tenancyModel; + return this; + } + + @Override + public Database set(String fieldName, Object value) { + return (Database) super.set(fieldName, value); + } + + @Override + public Database clone() { + return (Database) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/DatabaseDetails.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/DatabaseDetails.java new file mode 100644 index 00000000000..b79f5bd8ed0 --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/DatabaseDetails.java @@ -0,0 +1,258 @@ +/* + * 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.workloadmanager.v1.model; + +/** + * Message for sap instant details + * + *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 Workload 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 DatabaseDetails extends com.google.api.client.json.GenericJson { + + /** + * Database service account - let custoemrs bring their own SA for database + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String databaseServiceAccount; + + /** + * Required. disk_type + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String diskType; + + /** + * Required. image for database server + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String image; + + /** + * Optional. instance id + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String instanceId; + + /** + * Required. machine type + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String machineType; + + /** + * Optional. primary db vm name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String primaryDbVm; + + /** + * Optional. secondary db vm name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String secondaryDbVm; + + /** + * Required. secret_manager_secret + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String secretManagerSecret; + + /** + * Required. The SID is a three-digit server-specific unique identification code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sid; + + /** + * Database service account - let custoemrs bring their own SA for database + * @return value or {@code null} for none + */ + public java.lang.String getDatabaseServiceAccount() { + return databaseServiceAccount; + } + + /** + * Database service account - let custoemrs bring their own SA for database + * @param databaseServiceAccount databaseServiceAccount or {@code null} for none + */ + public DatabaseDetails setDatabaseServiceAccount(java.lang.String databaseServiceAccount) { + this.databaseServiceAccount = databaseServiceAccount; + return this; + } + + /** + * Required. disk_type + * @return value or {@code null} for none + */ + public java.lang.String getDiskType() { + return diskType; + } + + /** + * Required. disk_type + * @param diskType diskType or {@code null} for none + */ + public DatabaseDetails setDiskType(java.lang.String diskType) { + this.diskType = diskType; + return this; + } + + /** + * Required. image for database server + * @return value or {@code null} for none + */ + public java.lang.String getImage() { + return image; + } + + /** + * Required. image for database server + * @param image image or {@code null} for none + */ + public DatabaseDetails setImage(java.lang.String image) { + this.image = image; + return this; + } + + /** + * Optional. instance id + * @return value or {@code null} for none + */ + public java.lang.String getInstanceId() { + return instanceId; + } + + /** + * Optional. instance id + * @param instanceId instanceId or {@code null} for none + */ + public DatabaseDetails setInstanceId(java.lang.String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Required. machine type + * @return value or {@code null} for none + */ + public java.lang.String getMachineType() { + return machineType; + } + + /** + * Required. machine type + * @param machineType machineType or {@code null} for none + */ + public DatabaseDetails setMachineType(java.lang.String machineType) { + this.machineType = machineType; + return this; + } + + /** + * Optional. primary db vm name + * @return value or {@code null} for none + */ + public java.lang.String getPrimaryDbVm() { + return primaryDbVm; + } + + /** + * Optional. primary db vm name + * @param primaryDbVm primaryDbVm or {@code null} for none + */ + public DatabaseDetails setPrimaryDbVm(java.lang.String primaryDbVm) { + this.primaryDbVm = primaryDbVm; + return this; + } + + /** + * Optional. secondary db vm name + * @return value or {@code null} for none + */ + public java.lang.String getSecondaryDbVm() { + return secondaryDbVm; + } + + /** + * Optional. secondary db vm name + * @param secondaryDbVm secondaryDbVm or {@code null} for none + */ + public DatabaseDetails setSecondaryDbVm(java.lang.String secondaryDbVm) { + this.secondaryDbVm = secondaryDbVm; + return this; + } + + /** + * Required. secret_manager_secret + * @return value or {@code null} for none + */ + public java.lang.String getSecretManagerSecret() { + return secretManagerSecret; + } + + /** + * Required. secret_manager_secret + * @param secretManagerSecret secretManagerSecret or {@code null} for none + */ + public DatabaseDetails setSecretManagerSecret(java.lang.String secretManagerSecret) { + this.secretManagerSecret = secretManagerSecret; + return this; + } + + /** + * Required. The SID is a three-digit server-specific unique identification code. + * @return value or {@code null} for none + */ + public java.lang.String getSid() { + return sid; + } + + /** + * Required. The SID is a three-digit server-specific unique identification code. + * @param sid sid or {@code null} for none + */ + public DatabaseDetails setSid(java.lang.String sid) { + this.sid = sid; + return this; + } + + @Override + public DatabaseDetails set(String fieldName, Object value) { + return (DatabaseDetails) super.set(fieldName, value); + } + + @Override + public DatabaseDetails clone() { + return (DatabaseDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/DatabaseProperties.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/DatabaseProperties.java index 3f49ac71996..1fd0603aead 100644 --- a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/DatabaseProperties.java +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/DatabaseProperties.java @@ -37,7 +37,7 @@ public final class DatabaseProperties extends com.google.api.client.json.Generic private BackupProperties backupProperties; /** - * Output only. Type of the database. HANA, DB2, etc. + * Output only. Type of the database. `HANA`, `DB2`, etc. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -61,7 +61,7 @@ public DatabaseProperties setBackupProperties(BackupProperties backupProperties) } /** - * Output only. Type of the database. HANA, DB2, etc. + * Output only. Type of the database. `HANA`, `DB2`, etc. * @return value or {@code null} for none */ public java.lang.String getDatabaseType() { @@ -69,7 +69,7 @@ public java.lang.String getDatabaseType() { } /** - * Output only. Type of the database. HANA, DB2, etc. + * Output only. Type of the database. `HANA`, `DB2`, etc. * @param databaseType databaseType or {@code null} for none */ public DatabaseProperties setDatabaseType(java.lang.String databaseType) { diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Deployment.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Deployment.java new file mode 100644 index 00000000000..51a72b8d5ba --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Deployment.java @@ -0,0 +1,330 @@ +/* + * 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.workloadmanager.v1.model; + +/** + * The Deployment object represents user intent for deploying a specific type of workload. + * + *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 Workload 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 Deployment extends com.google.api.client.json.GenericJson { + + /** + * Output only. [Output only] Create time stamp + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Description of the Deployment + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * The name of deployment resource. The format will be + * 'projects/{project_id}/locations/{location_id}/deployments/{deployment_id}' + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * SAP system workload input + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private SapSystemS4Config sapSystemS4Config; + + /** + * User-specified Service Account (SA) credentials to be used for cloud build Format: + * `projects/{projectID}/serviceAccounts/{serviceAccount}` The default Cloud Build SA will be used + * initially if this field is not set during deployment creation + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String serviceAccount; + + /** + * MS SQL workload input + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private SqlServerWorkload sqlServerWorkload; + + /** + * Output only. Current state of the deployment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Optional. terraform_variables represents all the Terraform variables for the deployment + * workload. The key is the name of the Terraform variable, and the value is the + * TerraformVariable. For example: { "project_id": { "input_value": { "string_value": "my-project- + * id" } }, "zone": { "input_value": { "string_value": "us-central1-a" } } } + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.MapThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Workload 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 DeploymentOutput extends com.google.api.client.json.GenericJson { + + /** + * name of the resource + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * type of the resource + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * name of the resource + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * name of the resource + * @param name name or {@code null} for none + */ + public DeploymentOutput setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * type of the resource + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * type of the resource + * @param type type or {@code null} for none + */ + public DeploymentOutput setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public DeploymentOutput set(String fieldName, Object value) { + return (DeploymentOutput) super.set(fieldName, value); + } + + @Override + public DeploymentOutput clone() { + return (DeploymentOutput) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ExternalDataSources.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ExternalDataSources.java index 9e30983abdc..884c5f7f083 100644 --- a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ExternalDataSources.java +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ExternalDataSources.java @@ -30,9 +30,9 @@ public final class ExternalDataSources extends com.google.api.client.json.GenericJson { /** - * Required. The asset type of the external data source this can be one of go/cai-asset-types to - * override the default asset type or it can be a custom type defined by the user custom type must - * match the asset type in the rule + * Required. The asset type of the external data source. This can be a supported Cloud Asset + * Inventory asset type (see https://cloud.google.com/asset-inventory/docs/supported-asset-types) + * to override the default asset type, or it can be a custom type defined by the user. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -61,9 +61,9 @@ public final class ExternalDataSources extends com.google.api.client.json.Generi private java.lang.String uri; /** - * Required. The asset type of the external data source this can be one of go/cai-asset-types to - * override the default asset type or it can be a custom type defined by the user custom type must - * match the asset type in the rule + * Required. The asset type of the external data source. This can be a supported Cloud Asset + * Inventory asset type (see https://cloud.google.com/asset-inventory/docs/supported-asset-types) + * to override the default asset type, or it can be a custom type defined by the user. * @return value or {@code null} for none */ public java.lang.String getAssetType() { @@ -71,9 +71,9 @@ public java.lang.String getAssetType() { } /** - * Required. The asset type of the external data source this can be one of go/cai-asset-types to - * override the default asset type or it can be a custom type defined by the user custom type must - * match the asset type in the rule + * Required. The asset type of the external data source. This can be a supported Cloud Asset + * Inventory asset type (see https://cloud.google.com/asset-inventory/docs/supported-asset-types) + * to override the default asset type, or it can be a custom type defined by the user. * @param assetType assetType or {@code null} for none */ public ExternalDataSources setAssetType(java.lang.String assetType) { diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/HealthCheck.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/HealthCheck.java new file mode 100644 index 00000000000..f9b181e1ccc --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/HealthCheck.java @@ -0,0 +1,162 @@ +/* + * 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.workloadmanager.v1.model; + +/** + * HealthCheck contains the detailed health check of a component based on asource. + * + *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 Workload 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 HealthCheck extends com.google.api.client.json.GenericJson { + + /** + * Output only. The message of the health check. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String message; + + /** + * Output only. The health check source metric name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String metric; + + /** + * Output only. The resource the check performs on. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CloudResource resource; + + /** + * Output only. The source of the health check. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String source; + + /** + * Output only. The state of the health check. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Output only. The message of the health check. + * @return value or {@code null} for none + */ + public java.lang.String getMessage() { + return message; + } + + /** + * Output only. The message of the health check. + * @param message message or {@code null} for none + */ + public HealthCheck setMessage(java.lang.String message) { + this.message = message; + return this; + } + + /** + * Output only. The health check source metric name. + * @return value or {@code null} for none + */ + public java.lang.String getMetric() { + return metric; + } + + /** + * Output only. The health check source metric name. + * @param metric metric or {@code null} for none + */ + public HealthCheck setMetric(java.lang.String metric) { + this.metric = metric; + return this; + } + + /** + * Output only. The resource the check performs on. + * @return value or {@code null} for none + */ + public CloudResource getResource() { + return resource; + } + + /** + * Output only. The resource the check performs on. + * @param resource resource or {@code null} for none + */ + public HealthCheck setResource(CloudResource resource) { + this.resource = resource; + return this; + } + + /** + * Output only. The source of the health check. + * @return value or {@code null} for none + */ + public java.lang.String getSource() { + return source; + } + + /** + * Output only. The source of the health check. + * @param source source or {@code null} for none + */ + public HealthCheck setSource(java.lang.String source) { + this.source = source; + return this; + } + + /** + * Output only. The state of the health check. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. The state of the health check. + * @param state state or {@code null} for none + */ + public HealthCheck setState(java.lang.String state) { + this.state = state; + return this; + } + + @Override + public HealthCheck set(String fieldName, Object value) { + return (HealthCheck) super.set(fieldName, value); + } + + @Override + public HealthCheck clone() { + return (HealthCheck) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ListActuationsResponse.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ListActuationsResponse.java new file mode 100644 index 00000000000..e485b72cc4c --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ListActuationsResponse.java @@ -0,0 +1,123 @@ +/* + * 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.workloadmanager.v1.model; + +/** + * The response object from `ListActuations`. + * + *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 Workload 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 ListActuationsResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of Actuation + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Workload 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 ListDeploymentsResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of Deployment + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Workload 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 LocationDetails extends com.google.api.client.json.GenericJson { + + /** + * Optional. create firewall, if true, create firewall for the deployment. This field provides an + * option to not always create firewall for the deployment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean createCommsFirewall; + + /** + * Optional. network tags + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Workload 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 Pacemaker extends com.google.api.client.json.GenericJson { + + /** + * Required. bucket location for node certificates + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String bucketNameNodeCertificates; + + /** + * Required. pacemaker cluster name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pacemakerCluster; + + /** + * Required. pacemaker cluster secret name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pacemakerClusterSecret; + + /** + * Required. pacemaker cluster username + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pacemakerClusterUsername; + + /** + * Required. sql pacemaker secret name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sqlPacemakerSecret; + + /** + * Required. sql pacemaker username + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sqlPacemakerUsername; + + /** + * Required. bucket location for node certificates + * @return value or {@code null} for none + */ + public java.lang.String getBucketNameNodeCertificates() { + return bucketNameNodeCertificates; + } + + /** + * Required. bucket location for node certificates + * @param bucketNameNodeCertificates bucketNameNodeCertificates or {@code null} for none + */ + public Pacemaker setBucketNameNodeCertificates(java.lang.String bucketNameNodeCertificates) { + this.bucketNameNodeCertificates = bucketNameNodeCertificates; + return this; + } + + /** + * Required. pacemaker cluster name + * @return value or {@code null} for none + */ + public java.lang.String getPacemakerCluster() { + return pacemakerCluster; + } + + /** + * Required. pacemaker cluster name + * @param pacemakerCluster pacemakerCluster or {@code null} for none + */ + public Pacemaker setPacemakerCluster(java.lang.String pacemakerCluster) { + this.pacemakerCluster = pacemakerCluster; + return this; + } + + /** + * Required. pacemaker cluster secret name + * @return value or {@code null} for none + */ + public java.lang.String getPacemakerClusterSecret() { + return pacemakerClusterSecret; + } + + /** + * Required. pacemaker cluster secret name + * @param pacemakerClusterSecret pacemakerClusterSecret or {@code null} for none + */ + public Pacemaker setPacemakerClusterSecret(java.lang.String pacemakerClusterSecret) { + this.pacemakerClusterSecret = pacemakerClusterSecret; + return this; + } + + /** + * Required. pacemaker cluster username + * @return value or {@code null} for none + */ + public java.lang.String getPacemakerClusterUsername() { + return pacemakerClusterUsername; + } + + /** + * Required. pacemaker cluster username + * @param pacemakerClusterUsername pacemakerClusterUsername or {@code null} for none + */ + public Pacemaker setPacemakerClusterUsername(java.lang.String pacemakerClusterUsername) { + this.pacemakerClusterUsername = pacemakerClusterUsername; + return this; + } + + /** + * Required. sql pacemaker secret name + * @return value or {@code null} for none + */ + public java.lang.String getSqlPacemakerSecret() { + return sqlPacemakerSecret; + } + + /** + * Required. sql pacemaker secret name + * @param sqlPacemakerSecret sqlPacemakerSecret or {@code null} for none + */ + public Pacemaker setSqlPacemakerSecret(java.lang.String sqlPacemakerSecret) { + this.sqlPacemakerSecret = sqlPacemakerSecret; + return this; + } + + /** + * Required. sql pacemaker username + * @return value or {@code null} for none + */ + public java.lang.String getSqlPacemakerUsername() { + return sqlPacemakerUsername; + } + + /** + * Required. sql pacemaker username + * @param sqlPacemakerUsername sqlPacemakerUsername or {@code null} for none + */ + public Pacemaker setSqlPacemakerUsername(java.lang.String sqlPacemakerUsername) { + this.sqlPacemakerUsername = sqlPacemakerUsername; + return this; + } + + @Override + public Pacemaker set(String fieldName, Object value) { + return (Pacemaker) super.set(fieldName, value); + } + + @Override + public Pacemaker clone() { + return (Pacemaker) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Product.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Product.java index 8158f6883f5..3758501a9a5 100644 --- a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Product.java +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Product.java @@ -17,7 +17,7 @@ package com.google.api.services.workloadmanager.v1.model; /** - * Product contains the details of a product. + * Contains the details of a product. * *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 Workload Manager API. For a detailed explanation see: diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/RuleOutput.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/RuleOutput.java new file mode 100644 index 00000000000..7897adaea57 --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/RuleOutput.java @@ -0,0 +1,90 @@ +/* + * 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.workloadmanager.v1.model; + +/** + * The rule output of the violation. + * + *
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 Workload 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 RuleOutput extends com.google.api.client.json.GenericJson { + + /** + * Output only. Violation details generated by rule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.MapThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Workload 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 SapSystemS4Config extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean allowStoppingForUpdate; + + /** + * Ansible runner service account - let custoemrs bring their own SA for Ansible runner + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ansibleRunnerServiceAccount; + + /** + * instance details + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private AppDetails app; + + /** + * database details + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private DatabaseDetails database; + + /** + * Required. two model non-HA and HA supported + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String deploymentModel; + + /** + * Required. deployment environment + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String environmentType; + + /** + * the project that infrastructure deployed, current only support the same project where the + * deployment resource exist. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String gcpProjectId; + + /** + * database details + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private LocationDetails location; + + /** + * Required. media_bucket_name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mediaBucketName; + + /** + * Optional. sap_boot_disk_image + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sapBootDiskImage; + + /** + * Required. support scale up and scale out + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scalingMethod; + + /** + * Required. sap hana version + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String version; + + /** + * vm_prefix + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String vmPrefix; + + /** + * @return value or {@code null} for none + */ + public java.lang.Boolean getAllowStoppingForUpdate() { + return allowStoppingForUpdate; + } + + /** + * @param allowStoppingForUpdate allowStoppingForUpdate or {@code null} for none + */ + public SapSystemS4Config setAllowStoppingForUpdate(java.lang.Boolean allowStoppingForUpdate) { + this.allowStoppingForUpdate = allowStoppingForUpdate; + return this; + } + + /** + * Ansible runner service account - let custoemrs bring their own SA for Ansible runner + * @return value or {@code null} for none + */ + public java.lang.String getAnsibleRunnerServiceAccount() { + return ansibleRunnerServiceAccount; + } + + /** + * Ansible runner service account - let custoemrs bring their own SA for Ansible runner + * @param ansibleRunnerServiceAccount ansibleRunnerServiceAccount or {@code null} for none + */ + public SapSystemS4Config setAnsibleRunnerServiceAccount(java.lang.String ansibleRunnerServiceAccount) { + this.ansibleRunnerServiceAccount = ansibleRunnerServiceAccount; + return this; + } + + /** + * instance details + * @return value or {@code null} for none + */ + public AppDetails getApp() { + return app; + } + + /** + * instance details + * @param app app or {@code null} for none + */ + public SapSystemS4Config setApp(AppDetails app) { + this.app = app; + return this; + } + + /** + * database details + * @return value or {@code null} for none + */ + public DatabaseDetails getDatabase() { + return database; + } + + /** + * database details + * @param database database or {@code null} for none + */ + public SapSystemS4Config setDatabase(DatabaseDetails database) { + this.database = database; + return this; + } + + /** + * Required. two model non-HA and HA supported + * @return value or {@code null} for none + */ + public java.lang.String getDeploymentModel() { + return deploymentModel; + } + + /** + * Required. two model non-HA and HA supported + * @param deploymentModel deploymentModel or {@code null} for none + */ + public SapSystemS4Config setDeploymentModel(java.lang.String deploymentModel) { + this.deploymentModel = deploymentModel; + return this; + } + + /** + * Required. deployment environment + * @return value or {@code null} for none + */ + public java.lang.String getEnvironmentType() { + return environmentType; + } + + /** + * Required. deployment environment + * @param environmentType environmentType or {@code null} for none + */ + public SapSystemS4Config setEnvironmentType(java.lang.String environmentType) { + this.environmentType = environmentType; + return this; + } + + /** + * the project that infrastructure deployed, current only support the same project where the + * deployment resource exist. + * @return value or {@code null} for none + */ + public java.lang.String getGcpProjectId() { + return gcpProjectId; + } + + /** + * the project that infrastructure deployed, current only support the same project where the + * deployment resource exist. + * @param gcpProjectId gcpProjectId or {@code null} for none + */ + public SapSystemS4Config setGcpProjectId(java.lang.String gcpProjectId) { + this.gcpProjectId = gcpProjectId; + return this; + } + + /** + * database details + * @return value or {@code null} for none + */ + public LocationDetails getLocation() { + return location; + } + + /** + * database details + * @param location location or {@code null} for none + */ + public SapSystemS4Config setLocation(LocationDetails location) { + this.location = location; + return this; + } + + /** + * Required. media_bucket_name + * @return value or {@code null} for none + */ + public java.lang.String getMediaBucketName() { + return mediaBucketName; + } + + /** + * Required. media_bucket_name + * @param mediaBucketName mediaBucketName or {@code null} for none + */ + public SapSystemS4Config setMediaBucketName(java.lang.String mediaBucketName) { + this.mediaBucketName = mediaBucketName; + return this; + } + + /** + * Optional. sap_boot_disk_image + * @return value or {@code null} for none + */ + public java.lang.String getSapBootDiskImage() { + return sapBootDiskImage; + } + + /** + * Optional. sap_boot_disk_image + * @param sapBootDiskImage sapBootDiskImage or {@code null} for none + */ + public SapSystemS4Config setSapBootDiskImage(java.lang.String sapBootDiskImage) { + this.sapBootDiskImage = sapBootDiskImage; + return this; + } + + /** + * Required. support scale up and scale out + * @return value or {@code null} for none + */ + public java.lang.String getScalingMethod() { + return scalingMethod; + } + + /** + * Required. support scale up and scale out + * @param scalingMethod scalingMethod or {@code null} for none + */ + public SapSystemS4Config setScalingMethod(java.lang.String scalingMethod) { + this.scalingMethod = scalingMethod; + return this; + } + + /** + * Required. sap hana version + * @return value or {@code null} for none + */ + public java.lang.String getVersion() { + return version; + } + + /** + * Required. sap hana version + * @param version version or {@code null} for none + */ + public SapSystemS4Config setVersion(java.lang.String version) { + this.version = version; + return this; + } + + /** + * vm_prefix + * @return value or {@code null} for none + */ + public java.lang.String getVmPrefix() { + return vmPrefix; + } + + /** + * vm_prefix + * @param vmPrefix vmPrefix or {@code null} for none + */ + public SapSystemS4Config setVmPrefix(java.lang.String vmPrefix) { + this.vmPrefix = vmPrefix; + return this; + } + + @Override + public SapSystemS4Config set(String fieldName, Object value) { + return (SapSystemS4Config) super.set(fieldName, value); + } + + @Override + public SapSystemS4Config clone() { + return (SapSystemS4Config) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SapWorkload.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SapWorkload.java index 269d17f462d..80af561fe8a 100644 --- a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SapWorkload.java +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SapWorkload.java @@ -30,21 +30,21 @@ public final class SapWorkload extends com.google.api.client.json.GenericJson { /** - * Output only. the acsc componment + * Output only. application component * The value may be {@code null}. */ @com.google.api.client.util.Key private SapComponent application; /** - * Output only. the architecture + * Output only. The architecture. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String architecture; /** - * Output only. the database componment + * Output only. database component * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -58,7 +58,7 @@ public final class SapWorkload extends com.google.api.client.json.GenericJson { private java.util.MapThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Workload 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 SqlLocationDetails extends com.google.api.client.json.GenericJson { + + /** + * Optional. create a new DNS Zone when the field is empty, Only show for `Using an existing DNS` + * List of existing DNS Zones tf variable name: existing_dns_zone_name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dnsZone; + + /** + * Required. the project that infrastructure deployed, currently only supports the same project + * where the deployment resource exists. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String gcpProjectId; + + /** + * Required. Internet Access + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String internetAccess; + + /** + * Required. network name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String network; + + /** + * Required. primary zone + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String primaryZone; + + /** + * Required. region name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String region; + + /** + * Optional. secondary zone can't be same as primary_zone and is only for High Availability + * deployment mode + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String secondaryZone; + + /** + * Required. subnetwork name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String subnetwork; + + /** + * Optional. teriary zone can't be same as primary_zone and secondary zone, and it is only for + * High Availability deployment mode + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String tertiaryZone; + + /** + * Optional. create a new DNS Zone when the field is empty, Only show for `Using an existing DNS` + * List of existing DNS Zones tf variable name: existing_dns_zone_name + * @return value or {@code null} for none + */ + public java.lang.String getDnsZone() { + return dnsZone; + } + + /** + * Optional. create a new DNS Zone when the field is empty, Only show for `Using an existing DNS` + * List of existing DNS Zones tf variable name: existing_dns_zone_name + * @param dnsZone dnsZone or {@code null} for none + */ + public SqlLocationDetails setDnsZone(java.lang.String dnsZone) { + this.dnsZone = dnsZone; + return this; + } + + /** + * Required. the project that infrastructure deployed, currently only supports the same project + * where the deployment resource exists. + * @return value or {@code null} for none + */ + public java.lang.String getGcpProjectId() { + return gcpProjectId; + } + + /** + * Required. the project that infrastructure deployed, currently only supports the same project + * where the deployment resource exists. + * @param gcpProjectId gcpProjectId or {@code null} for none + */ + public SqlLocationDetails setGcpProjectId(java.lang.String gcpProjectId) { + this.gcpProjectId = gcpProjectId; + return this; + } + + /** + * Required. Internet Access + * @return value or {@code null} for none + */ + public java.lang.String getInternetAccess() { + return internetAccess; + } + + /** + * Required. Internet Access + * @param internetAccess internetAccess or {@code null} for none + */ + public SqlLocationDetails setInternetAccess(java.lang.String internetAccess) { + this.internetAccess = internetAccess; + return this; + } + + /** + * Required. network name + * @return value or {@code null} for none + */ + public java.lang.String getNetwork() { + return network; + } + + /** + * Required. network name + * @param network network or {@code null} for none + */ + public SqlLocationDetails setNetwork(java.lang.String network) { + this.network = network; + return this; + } + + /** + * Required. primary zone + * @return value or {@code null} for none + */ + public java.lang.String getPrimaryZone() { + return primaryZone; + } + + /** + * Required. primary zone + * @param primaryZone primaryZone or {@code null} for none + */ + public SqlLocationDetails setPrimaryZone(java.lang.String primaryZone) { + this.primaryZone = primaryZone; + return this; + } + + /** + * Required. region name + * @return value or {@code null} for none + */ + public java.lang.String getRegion() { + return region; + } + + /** + * Required. region name + * @param region region or {@code null} for none + */ + public SqlLocationDetails setRegion(java.lang.String region) { + this.region = region; + return this; + } + + /** + * Optional. secondary zone can't be same as primary_zone and is only for High Availability + * deployment mode + * @return value or {@code null} for none + */ + public java.lang.String getSecondaryZone() { + return secondaryZone; + } + + /** + * Optional. secondary zone can't be same as primary_zone and is only for High Availability + * deployment mode + * @param secondaryZone secondaryZone or {@code null} for none + */ + public SqlLocationDetails setSecondaryZone(java.lang.String secondaryZone) { + this.secondaryZone = secondaryZone; + return this; + } + + /** + * Required. subnetwork name + * @return value or {@code null} for none + */ + public java.lang.String getSubnetwork() { + return subnetwork; + } + + /** + * Required. subnetwork name + * @param subnetwork subnetwork or {@code null} for none + */ + public SqlLocationDetails setSubnetwork(java.lang.String subnetwork) { + this.subnetwork = subnetwork; + return this; + } + + /** + * Optional. teriary zone can't be same as primary_zone and secondary zone, and it is only for + * High Availability deployment mode + * @return value or {@code null} for none + */ + public java.lang.String getTertiaryZone() { + return tertiaryZone; + } + + /** + * Optional. teriary zone can't be same as primary_zone and secondary zone, and it is only for + * High Availability deployment mode + * @param tertiaryZone tertiaryZone or {@code null} for none + */ + public SqlLocationDetails setTertiaryZone(java.lang.String tertiaryZone) { + this.tertiaryZone = tertiaryZone; + return this; + } + + @Override + public SqlLocationDetails set(String fieldName, Object value) { + return (SqlLocationDetails) super.set(fieldName, value); + } + + @Override + public SqlLocationDetails clone() { + return (SqlLocationDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SqlServerWorkload.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SqlServerWorkload.java new file mode 100644 index 00000000000..977f2b8da82 --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SqlServerWorkload.java @@ -0,0 +1,456 @@ +/* + * 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.workloadmanager.v1.model; + +/** + * Message for MS SQL workload + * + *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 Workload 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 SqlServerWorkload extends com.google.api.client.json.GenericJson { + + /** + * Required. active directory details + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ActiveDirectory activeDirectory; + + /** + * Compute engine service account - let customers bring their own SA for Compute engine + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String computeEngineServiceAccount; + + /** + * Required. database details + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Database database; + + /** + * Required. HIGH_AVAILABILITY or SINGLE_INSTANCE + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String deploymentModel; + + /** + * Required. deployment environment + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String environmentType; + + /** + * Optional. SHARED_DISK or S2D + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fciType; + + /** + * Optional. AOAG or FCI, it is only needed for High Availability deployment mode + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String haType; + + /** + * Required. SQL licensing type + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean isSqlPayg; + + /** + * Required. location details + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private SqlLocationDetails location; + + /** + * Required. name of the media storing SQL server installation files + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mediaBucket; + + /** + * Required. type of the operating system the SQL server is going to run on top of + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String operatingSystemType; + + /** + * Required. the image of the operating system + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String osImage; + + /** + * Optional. OS image type, it's used to create boot disks for VM instances When either Windows + * licensing type or SQL licensing type is BYOL, this option is disabled and default to custom + * image + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String osImageType; + + /** + * Optional. pacemaker configuration, only applicable for Linux HA deployments + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Pacemaker pacemaker; + + /** + * Optional. SQL Server Edition type, only applicable when Operating System is Linux + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sqlServerEdition; + + /** + * Optional. 2017 or 2019 or 2022 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sqlServerVersion; + + /** + * Required. should be unique in the project + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String vmPrefix; + + /** + * Required. active directory details + * @return value or {@code null} for none + */ + public ActiveDirectory getActiveDirectory() { + return activeDirectory; + } + + /** + * Required. active directory details + * @param activeDirectory activeDirectory or {@code null} for none + */ + public SqlServerWorkload setActiveDirectory(ActiveDirectory activeDirectory) { + this.activeDirectory = activeDirectory; + return this; + } + + /** + * Compute engine service account - let customers bring their own SA for Compute engine + * @return value or {@code null} for none + */ + public java.lang.String getComputeEngineServiceAccount() { + return computeEngineServiceAccount; + } + + /** + * Compute engine service account - let customers bring their own SA for Compute engine + * @param computeEngineServiceAccount computeEngineServiceAccount or {@code null} for none + */ + public SqlServerWorkload setComputeEngineServiceAccount(java.lang.String computeEngineServiceAccount) { + this.computeEngineServiceAccount = computeEngineServiceAccount; + return this; + } + + /** + * Required. database details + * @return value or {@code null} for none + */ + public Database getDatabase() { + return database; + } + + /** + * Required. database details + * @param database database or {@code null} for none + */ + public SqlServerWorkload setDatabase(Database database) { + this.database = database; + return this; + } + + /** + * Required. HIGH_AVAILABILITY or SINGLE_INSTANCE + * @return value or {@code null} for none + */ + public java.lang.String getDeploymentModel() { + return deploymentModel; + } + + /** + * Required. HIGH_AVAILABILITY or SINGLE_INSTANCE + * @param deploymentModel deploymentModel or {@code null} for none + */ + public SqlServerWorkload setDeploymentModel(java.lang.String deploymentModel) { + this.deploymentModel = deploymentModel; + return this; + } + + /** + * Required. deployment environment + * @return value or {@code null} for none + */ + public java.lang.String getEnvironmentType() { + return environmentType; + } + + /** + * Required. deployment environment + * @param environmentType environmentType or {@code null} for none + */ + public SqlServerWorkload setEnvironmentType(java.lang.String environmentType) { + this.environmentType = environmentType; + return this; + } + + /** + * Optional. SHARED_DISK or S2D + * @return value or {@code null} for none + */ + public java.lang.String getFciType() { + return fciType; + } + + /** + * Optional. SHARED_DISK or S2D + * @param fciType fciType or {@code null} for none + */ + public SqlServerWorkload setFciType(java.lang.String fciType) { + this.fciType = fciType; + return this; + } + + /** + * Optional. AOAG or FCI, it is only needed for High Availability deployment mode + * @return value or {@code null} for none + */ + public java.lang.String getHaType() { + return haType; + } + + /** + * Optional. AOAG or FCI, it is only needed for High Availability deployment mode + * @param haType haType or {@code null} for none + */ + public SqlServerWorkload setHaType(java.lang.String haType) { + this.haType = haType; + return this; + } + + /** + * Required. SQL licensing type + * @return value or {@code null} for none + */ + public java.lang.Boolean getIsSqlPayg() { + return isSqlPayg; + } + + /** + * Required. SQL licensing type + * @param isSqlPayg isSqlPayg or {@code null} for none + */ + public SqlServerWorkload setIsSqlPayg(java.lang.Boolean isSqlPayg) { + this.isSqlPayg = isSqlPayg; + return this; + } + + /** + * Required. location details + * @return value or {@code null} for none + */ + public SqlLocationDetails getLocation() { + return location; + } + + /** + * Required. location details + * @param location location or {@code null} for none + */ + public SqlServerWorkload setLocation(SqlLocationDetails location) { + this.location = location; + return this; + } + + /** + * Required. name of the media storing SQL server installation files + * @return value or {@code null} for none + */ + public java.lang.String getMediaBucket() { + return mediaBucket; + } + + /** + * Required. name of the media storing SQL server installation files + * @param mediaBucket mediaBucket or {@code null} for none + */ + public SqlServerWorkload setMediaBucket(java.lang.String mediaBucket) { + this.mediaBucket = mediaBucket; + return this; + } + + /** + * Required. type of the operating system the SQL server is going to run on top of + * @return value or {@code null} for none + */ + public java.lang.String getOperatingSystemType() { + return operatingSystemType; + } + + /** + * Required. type of the operating system the SQL server is going to run on top of + * @param operatingSystemType operatingSystemType or {@code null} for none + */ + public SqlServerWorkload setOperatingSystemType(java.lang.String operatingSystemType) { + this.operatingSystemType = operatingSystemType; + return this; + } + + /** + * Required. the image of the operating system + * @return value or {@code null} for none + */ + public java.lang.String getOsImage() { + return osImage; + } + + /** + * Required. the image of the operating system + * @param osImage osImage or {@code null} for none + */ + public SqlServerWorkload setOsImage(java.lang.String osImage) { + this.osImage = osImage; + return this; + } + + /** + * Optional. OS image type, it's used to create boot disks for VM instances When either Windows + * licensing type or SQL licensing type is BYOL, this option is disabled and default to custom + * image + * @return value or {@code null} for none + */ + public java.lang.String getOsImageType() { + return osImageType; + } + + /** + * Optional. OS image type, it's used to create boot disks for VM instances When either Windows + * licensing type or SQL licensing type is BYOL, this option is disabled and default to custom + * image + * @param osImageType osImageType or {@code null} for none + */ + public SqlServerWorkload setOsImageType(java.lang.String osImageType) { + this.osImageType = osImageType; + return this; + } + + /** + * Optional. pacemaker configuration, only applicable for Linux HA deployments + * @return value or {@code null} for none + */ + public Pacemaker getPacemaker() { + return pacemaker; + } + + /** + * Optional. pacemaker configuration, only applicable for Linux HA deployments + * @param pacemaker pacemaker or {@code null} for none + */ + public SqlServerWorkload setPacemaker(Pacemaker pacemaker) { + this.pacemaker = pacemaker; + return this; + } + + /** + * Optional. SQL Server Edition type, only applicable when Operating System is Linux + * @return value or {@code null} for none + */ + public java.lang.String getSqlServerEdition() { + return sqlServerEdition; + } + + /** + * Optional. SQL Server Edition type, only applicable when Operating System is Linux + * @param sqlServerEdition sqlServerEdition or {@code null} for none + */ + public SqlServerWorkload setSqlServerEdition(java.lang.String sqlServerEdition) { + this.sqlServerEdition = sqlServerEdition; + return this; + } + + /** + * Optional. 2017 or 2019 or 2022 + * @return value or {@code null} for none + */ + public java.lang.String getSqlServerVersion() { + return sqlServerVersion; + } + + /** + * Optional. 2017 or 2019 or 2022 + * @param sqlServerVersion sqlServerVersion or {@code null} for none + */ + public SqlServerWorkload setSqlServerVersion(java.lang.String sqlServerVersion) { + this.sqlServerVersion = sqlServerVersion; + return this; + } + + /** + * Required. should be unique in the project + * @return value or {@code null} for none + */ + public java.lang.String getVmPrefix() { + return vmPrefix; + } + + /** + * Required. should be unique in the project + * @param vmPrefix vmPrefix or {@code null} for none + */ + public SqlServerWorkload setVmPrefix(java.lang.String vmPrefix) { + this.vmPrefix = vmPrefix; + return this; + } + + @Override + public SqlServerWorkload set(String fieldName, Object value) { + return (SqlServerWorkload) super.set(fieldName, value); + } + + @Override + public SqlServerWorkload clone() { + return (SqlServerWorkload) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/TerraformVariable.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/TerraformVariable.java new file mode 100644 index 00000000000..84674ab6295 --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/TerraformVariable.java @@ -0,0 +1,68 @@ +/* + * 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.workloadmanager.v1.model; + +/** + * In order to align with Infra Manager dependency, we create the same TerraformVariable message to + * represent a Terraform input variable, by following Infra Manager's API documentation: + * https://cloud.google.com/infrastructure-manager/docs/reference/rest A Terraform input variable. + * + *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 Workload 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 TerraformVariable extends com.google.api.client.json.GenericJson { + + /** + * Optional. Input variable value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Object inputValue; + + /** + * Optional. Input variable value. + * @return value or {@code null} for none + */ + public java.lang.Object getInputValue() { + return inputValue; + } + + /** + * Optional. Input variable value. + * @param inputValue inputValue or {@code null} for none + */ + public TerraformVariable setInputValue(java.lang.Object inputValue) { + this.inputValue = inputValue; + return this; + } + + @Override + public TerraformVariable set(String fieldName, Object value) { + return (TerraformVariable) super.set(fieldName, value); + } + + @Override + public TerraformVariable clone() { + return (TerraformVariable) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/UpcomingMaintenanceEvent.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/UpcomingMaintenanceEvent.java index 6d48aba0e8f..901a38be85a 100644 --- a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/UpcomingMaintenanceEvent.java +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/UpcomingMaintenanceEvent.java @@ -44,7 +44,7 @@ public final class UpcomingMaintenanceEvent extends com.google.api.client.json.G private java.lang.String maintenanceStatus; /** - * Optional. Instance maintenance behavior. Could be "MIGRATE" or "TERMINATE". + * Optional. Instance maintenance behavior. Could be `MIGRATE` or `TERMINATE`. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -99,7 +99,7 @@ public UpcomingMaintenanceEvent setMaintenanceStatus(java.lang.String maintenanc } /** - * Optional. Instance maintenance behavior. Could be "MIGRATE" or "TERMINATE". + * Optional. Instance maintenance behavior. Could be `MIGRATE` or `TERMINATE`. * @return value or {@code null} for none */ public java.lang.String getOnHostMaintenance() { @@ -107,7 +107,7 @@ public java.lang.String getOnHostMaintenance() { } /** - * Optional. Instance maintenance behavior. Could be "MIGRATE" or "TERMINATE". + * Optional. Instance maintenance behavior. Could be `MIGRATE` or `TERMINATE`. * @param onHostMaintenance onHostMaintenance or {@code null} for none */ public UpcomingMaintenanceEvent setOnHostMaintenance(java.lang.String onHostMaintenance) { diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ViolationDetails.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ViolationDetails.java index 21f4c99d770..1d32e3f09b6 100644 --- a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ViolationDetails.java +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ViolationDetails.java @@ -37,12 +37,25 @@ public final class ViolationDetails extends com.google.api.client.json.GenericJs private java.lang.String asset; /** - * Details of the violation. TODO(b/452163887) + * Details of the violation. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.MapThis is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Workload Manager API. For a detailed explanation see: diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/WorkloadProfileHealth.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/WorkloadProfileHealth.java new file mode 100644 index 00000000000..ba9d1e1c9c0 --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/WorkloadProfileHealth.java @@ -0,0 +1,120 @@ +/* + * 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.workloadmanager.v1.model; + +/** + * WorkloadProfileHealth contains the detailed health check of workload. + * + *
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 Workload 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 WorkloadProfileHealth extends com.google.api.client.json.GenericJson { + + /** + * The time when the health check was performed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String checkTime; + + /** + * The detailed condition reports of each component. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List