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: com.google.apis google-api-services-workloadmanager - v1-rev20251112-2.0.0 + v1-rev20260204-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-workloadmanager:v1-rev20251112-2.0.0' + implementation 'com.google.apis:google-api-services-workloadmanager:v1-rev20260204-2.0.0' } ``` diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/WorkloadManager.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/WorkloadManager.java index 4d51dc06763..257bedfac2f 100644 --- a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/WorkloadManager.java +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/WorkloadManager.java @@ -103,7 +103,7 @@ public class WorkloadManager extends com.google.api.client.googleapis.services.j * {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport} *
  • Android: {@code newCompatibleTransport} from * {@code com.google.api.client.extensions.android.http.AndroidHttp}
  • - *
  • Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()} + *
  • Java: {@code com.google.api.client.http.javanet.NetHttpTransport}
  • * * * @param jsonFactory JSON factory, which may be: @@ -312,7 +312,10 @@ public Get set(String parameterName, Object value) { } } /** - * Lists information about the supported locations for this service. + * Lists information about the supported locations for this service. This method can be called in + * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project- + * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include + * public locations as well as private or other locations specifically visible to the project. * * Create a request for the method "locations.list". * @@ -336,7 +339,10 @@ public class List extends WorkloadManagerRequestThe typical use is:

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

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

    + * + * @param parent Required. The 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 { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/deployments/[^/]+$"); + + /** + * Deletes a single Deployment. + * + * Create a request for the method "deployments.delete". + * + * This request holds the parameters needed by the the workloadmanager server. After setting any + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + *

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

    + * + * @param name Required. 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 { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/deployments/[^/]+$"); + + /** + * Gets details of a single Deployment. + * + * Create a request for the method "deployments.get". + * + * This request holds the parameters needed by the the workloadmanager server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

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

    + * + * @param name Required. 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 { + + private static final String REST_PATH = "v1/{+parent}/deployments"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + + /** + * Lists Deployments in a given project and location. + * + * Create a request for the method "deployments.list". + * + * This request holds the parameters needed by the the workloadmanager server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

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

    + * + * @param parent Required. The 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 { + + private static final String REST_PATH = "v1/{+parent}/actuations"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/deployments/[^/]+$"); + + /** + * Creates a new actuation for an existing Deployment. + * + * Create a request for the method "actuations.create". + * + * This request holds the parameters needed by the the workloadmanager server. After setting any + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + *

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

    + * + * @param parent Required. The 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 { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/deployments/[^/]+/actuations/[^/]+$"); + + /** + * Deletes a single Actuation + * + * Create a request for the method "actuations.delete". + * + * This request holds the parameters needed by the the workloadmanager server. After setting any + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + *

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

    + * + * @param name Required. The 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 { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/deployments/[^/]+/actuations/[^/]+$"); + + /** + * Gets details of a single Actuation. + * + * Create a request for the method "actuations.get". + * + * This request holds the parameters needed by the the workloadmanager server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

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

    + * + * @param name Required. 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 { + + private static final String REST_PATH = "v1/{+parent}/actuations"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/deployments/[^/]+$"); + + /** + * 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 the workloadmanager server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

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

    + * + * @param parent Required. The 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 { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/discoveredprofiles/[^/]+$"); + + /** + * Gets details of a discovered workload profile. + * + * Create a request for the method "discoveredprofiles.get". + * + * This request holds the parameters needed by the the workloadmanager server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

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

    + * + * @param name Required. 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 { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/discoveredprofiles/[^/]+/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 the workloadmanager server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

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

    + * + * @param name Required. The resource name + * @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} *
  • Android: {@code newCompatibleTransport} from * {@code com.google.api.client.extensions.android.http.AndroidHttp}
  • - *
  • Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()} - *
  • + *
  • Java: {@code com.google.api.client.http.javanet.NetHttpTransport}
  • * * @param jsonFactory JSON factory, which may be: *
      diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ActiveDirectory.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ActiveDirectory.java new file mode 100644 index 00000000000..e9dfc9d30d9 --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ActiveDirectory.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; + +/** + * Active directory 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 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.List deploymentOutput; + + /** + * Output only. [Output only] End time stamp + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String endTime; + + /** + * The name of actuation resource. The format is + * projects/{project}/locations/{location}/deployments/{deployment}/actuations/{actuation} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. [Output only] Start time stamp + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String startTime; + + /** + * Output only. [Output only] Actuation state + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Output only. [Output only] Actuation output + * @return value or {@code null} for none + */ + public ActuationOutput getActuationOutput() { + return actuationOutput; + } + + /** + * Output only. [Output only] Actuation output + * @param actuationOutput actuationOutput or {@code null} for none + */ + public Actuation setActuationOutput(ActuationOutput actuationOutput) { + this.actuationOutput = actuationOutput; + return this; + } + + /** + * Output only. [Output only] Deployment output + * @return value or {@code null} for none + */ + public java.util.List getDeploymentOutput() { + return deploymentOutput; + } + + /** + * Output only. [Output only] Deployment output + * @param deploymentOutput deploymentOutput or {@code null} for none + */ + public Actuation setDeploymentOutput(java.util.List deploymentOutput) { + this.deploymentOutput = deploymentOutput; + return this; + } + + /** + * Output only. [Output only] End time stamp + * @return value or {@code null} for none + */ + public String getEndTime() { + return endTime; + } + + /** + * Output only. [Output only] End time stamp + * @param endTime endTime or {@code null} for none + */ + public Actuation setEndTime(String endTime) { + this.endTime = endTime; + return this; + } + + /** + * The name of actuation resource. The format is + * projects/{project}/locations/{location}/deployments/{deployment}/actuations/{actuation} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of actuation resource. The format is + * projects/{project}/locations/{location}/deployments/{deployment}/actuations/{actuation} + * @param name name or {@code null} for none + */ + public Actuation setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. [Output only] Start time stamp + * @return value or {@code null} for none + */ + public String getStartTime() { + return startTime; + } + + /** + * Output only. [Output only] Start time stamp + * @param startTime startTime or {@code null} for none + */ + public Actuation setStartTime(String startTime) { + this.startTime = startTime; + return this; + } + + /** + * Output only. [Output only] Actuation state + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. [Output only] Actuation state + * @param state state or {@code null} for none + */ + public Actuation setState(java.lang.String state) { + this.state = state; + return this; + } + + @Override + public Actuation set(String fieldName, Object value) { + return (Actuation) super.set(fieldName, value); + } + + @Override + public Actuation clone() { + return (Actuation) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ActuationOutput.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ActuationOutput.java new file mode 100644 index 00000000000..1f5dbf9b257 --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ActuationOutput.java @@ -0,0 +1,288 @@ +/* + * 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 output of Actuation + * + *

      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 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.List ansibleFailedTask; + + /** + * reference to Blueprint Controller deployment and revision resource + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String blueprintId; + + /** + * Cloud Build instance UUID associated with this revision, without any suffix or prefix + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String cloudbuildId; + + /** + * Output only. Code describing any errors that may have occurred. If not specified, there is no + * error in actuation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String errorCode; + + /** + * A link to actuation cloud build log. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String errorLogs; + + /** + * Output only. whether the error message is user facing. If true, the error message will be shown + * in the UI. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean hasUserFacingErrorMsg; + + /** + * Output only. error message return from terraform. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String terraformError; + + /** + * reference to terraform template used + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String terraformTemplate; + + /** + * A link to gcs file that store build logs + * @return value or {@code null} for none + */ + public java.lang.String getActuateLogs() { + return actuateLogs; + } + + /** + * A link to gcs file that store build logs + * @param actuateLogs actuateLogs or {@code null} for none + */ + public ActuationOutput setActuateLogs(java.lang.String actuateLogs) { + this.actuateLogs = actuateLogs; + return this; + } + + /** + * Output only. error message return from ansible. + * @return value or {@code null} for none + */ + public java.lang.String getAnsibleError() { + return ansibleError; + } + + /** + * Output only. error message return from ansible. + * @param ansibleError ansibleError or {@code null} for none + */ + public ActuationOutput setAnsibleError(java.lang.String ansibleError) { + this.ansibleError = ansibleError; + return this; + } + + /** + * Output only. failed task name return from ansible. + * @return value or {@code null} for none + */ + public java.util.List getAnsibleFailedTask() { + return ansibleFailedTask; + } + + /** + * Output only. failed task name return from ansible. + * @param ansibleFailedTask ansibleFailedTask or {@code null} for none + */ + public ActuationOutput setAnsibleFailedTask(java.util.List ansibleFailedTask) { + this.ansibleFailedTask = ansibleFailedTask; + return this; + } + + /** + * reference to Blueprint Controller deployment and revision resource + * @return value or {@code null} for none + */ + public java.lang.String getBlueprintId() { + return blueprintId; + } + + /** + * reference to Blueprint Controller deployment and revision resource + * @param blueprintId blueprintId or {@code null} for none + */ + public ActuationOutput setBlueprintId(java.lang.String blueprintId) { + this.blueprintId = blueprintId; + return this; + } + + /** + * Cloud Build instance UUID associated with this revision, without any suffix or prefix + * @return value or {@code null} for none + */ + public java.lang.String getCloudbuildId() { + return cloudbuildId; + } + + /** + * Cloud Build instance UUID associated with this revision, without any suffix or prefix + * @param cloudbuildId cloudbuildId or {@code null} for none + */ + public ActuationOutput setCloudbuildId(java.lang.String cloudbuildId) { + this.cloudbuildId = cloudbuildId; + return this; + } + + /** + * Output only. Code describing any errors that may have occurred. If not specified, there is no + * error in actuation. + * @return value or {@code null} for none + */ + public java.lang.String getErrorCode() { + return errorCode; + } + + /** + * Output only. Code describing any errors that may have occurred. If not specified, there is no + * error in actuation. + * @param errorCode errorCode or {@code null} for none + */ + public ActuationOutput setErrorCode(java.lang.String errorCode) { + this.errorCode = errorCode; + return this; + } + + /** + * A link to actuation cloud build log. + * @return value or {@code null} for none + */ + public java.lang.String getErrorLogs() { + return errorLogs; + } + + /** + * A link to actuation cloud build log. + * @param errorLogs errorLogs or {@code null} for none + */ + public ActuationOutput setErrorLogs(java.lang.String errorLogs) { + this.errorLogs = errorLogs; + return this; + } + + /** + * Output only. whether the error message is user facing. If true, the error message will be shown + * in the UI. + * @return value or {@code null} for none + */ + public java.lang.Boolean getHasUserFacingErrorMsg() { + return hasUserFacingErrorMsg; + } + + /** + * Output only. whether the error message is user facing. If true, the error message will be shown + * in the UI. + * @param hasUserFacingErrorMsg hasUserFacingErrorMsg or {@code null} for none + */ + public ActuationOutput setHasUserFacingErrorMsg(java.lang.Boolean hasUserFacingErrorMsg) { + this.hasUserFacingErrorMsg = hasUserFacingErrorMsg; + return this; + } + + /** + * Output only. error message return from terraform. + * @return value or {@code null} for none + */ + public java.lang.String getTerraformError() { + return terraformError; + } + + /** + * Output only. error message return from terraform. + * @param terraformError terraformError or {@code null} for none + */ + public ActuationOutput setTerraformError(java.lang.String terraformError) { + this.terraformError = terraformError; + return this; + } + + /** + * reference to terraform template used + * @return value or {@code null} for none + */ + public java.lang.String getTerraformTemplate() { + return terraformTemplate; + } + + /** + * reference to terraform template used + * @param terraformTemplate terraformTemplate or {@code null} for none + */ + public ActuationOutput setTerraformTemplate(java.lang.String terraformTemplate) { + this.terraformTemplate = terraformTemplate; + return this; + } + + @Override + public ActuationOutput set(String fieldName, Object value) { + return (ActuationOutput) super.set(fieldName, value); + } + + @Override + public ActuationOutput clone() { + return (ActuationOutput) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/AppDetails.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/AppDetails.java new file mode 100644 index 00000000000..75dffe93367 --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/AppDetails.java @@ -0,0 +1,426 @@ +/* + * 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 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.List appVmNames; + + /** + * Required. image for ascs server + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ascsImage; + + /** + * Optional. instance id for ascs + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ascsInstanceId; + + /** + * Required. ascs_machine_type + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ascsMachineType; + + /** + * ASCS service account - let custoemrs bring their own SA for ASCS + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ascsServiceAccount; + + /** + * Optional. ASCS vm name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ascsVm; + + /** + * Optional. instance id for ers + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ersInstanceId; + + /** + * Optional. ERS vm name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ersVm; + + /** + * Required. image for app server and ascs server + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String image; + + /** + * Required. machine type + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String machineType; + + /** + * Required. secret_manager_secret + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String secretManagerSecret; + + /** + * Optional. Storage location + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sharedStorage; + + /** + * Required. The SAP 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; + + /** + * Required. vms_multiplier + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer vmsMultiplier; + + /** + * Optional. instance id for app + * @return value or {@code null} for none + */ + public java.lang.String getAppInstanceId() { + return appInstanceId; + } + + /** + * Optional. instance id for app + * @param appInstanceId appInstanceId or {@code null} for none + */ + public AppDetails setAppInstanceId(java.lang.String appInstanceId) { + this.appInstanceId = appInstanceId; + return this; + } + + /** + * Application service account - let custoemrs bring their own SA for application + * @return value or {@code null} for none + */ + public java.lang.String getAppServiceAccount() { + return appServiceAccount; + } + + /** + * Application service account - let custoemrs bring their own SA for application + * @param appServiceAccount appServiceAccount or {@code null} for none + */ + public AppDetails setAppServiceAccount(java.lang.String appServiceAccount) { + this.appServiceAccount = appServiceAccount; + return this; + } + + /** + * Optional. Customized vm names + * @return value or {@code null} for none + */ + public java.util.List getAppVmNames() { + return appVmNames; + } + + /** + * Optional. Customized vm names + * @param appVmNames appVmNames or {@code null} for none + */ + public AppDetails setAppVmNames(java.util.List appVmNames) { + this.appVmNames = appVmNames; + return this; + } + + /** + * Required. image for ascs server + * @return value or {@code null} for none + */ + public java.lang.String getAscsImage() { + return ascsImage; + } + + /** + * Required. image for ascs server + * @param ascsImage ascsImage or {@code null} for none + */ + public AppDetails setAscsImage(java.lang.String ascsImage) { + this.ascsImage = ascsImage; + return this; + } + + /** + * Optional. instance id for ascs + * @return value or {@code null} for none + */ + public java.lang.String getAscsInstanceId() { + return ascsInstanceId; + } + + /** + * Optional. instance id for ascs + * @param ascsInstanceId ascsInstanceId or {@code null} for none + */ + public AppDetails setAscsInstanceId(java.lang.String ascsInstanceId) { + this.ascsInstanceId = ascsInstanceId; + return this; + } + + /** + * Required. ascs_machine_type + * @return value or {@code null} for none + */ + public java.lang.String getAscsMachineType() { + return ascsMachineType; + } + + /** + * Required. ascs_machine_type + * @param ascsMachineType ascsMachineType or {@code null} for none + */ + public AppDetails setAscsMachineType(java.lang.String ascsMachineType) { + this.ascsMachineType = ascsMachineType; + return this; + } + + /** + * ASCS service account - let custoemrs bring their own SA for ASCS + * @return value or {@code null} for none + */ + public java.lang.String getAscsServiceAccount() { + return ascsServiceAccount; + } + + /** + * ASCS service account - let custoemrs bring their own SA for ASCS + * @param ascsServiceAccount ascsServiceAccount or {@code null} for none + */ + public AppDetails setAscsServiceAccount(java.lang.String ascsServiceAccount) { + this.ascsServiceAccount = ascsServiceAccount; + return this; + } + + /** + * Optional. ASCS vm name + * @return value or {@code null} for none + */ + public java.lang.String getAscsVm() { + return ascsVm; + } + + /** + * Optional. ASCS vm name + * @param ascsVm ascsVm or {@code null} for none + */ + public AppDetails setAscsVm(java.lang.String ascsVm) { + this.ascsVm = ascsVm; + return this; + } + + /** + * Optional. instance id for ers + * @return value or {@code null} for none + */ + public java.lang.String getErsInstanceId() { + return ersInstanceId; + } + + /** + * Optional. instance id for ers + * @param ersInstanceId ersInstanceId or {@code null} for none + */ + public AppDetails setErsInstanceId(java.lang.String ersInstanceId) { + this.ersInstanceId = ersInstanceId; + return this; + } + + /** + * Optional. ERS vm name + * @return value or {@code null} for none + */ + public java.lang.String getErsVm() { + return ersVm; + } + + /** + * Optional. ERS vm name + * @param ersVm ersVm or {@code null} for none + */ + public AppDetails setErsVm(java.lang.String ersVm) { + this.ersVm = ersVm; + return this; + } + + /** + * Required. image for app server and ascs server + * @return value or {@code null} for none + */ + public java.lang.String getImage() { + return image; + } + + /** + * Required. image for app server and ascs server + * @param image image or {@code null} for none + */ + public AppDetails setImage(java.lang.String image) { + this.image = image; + 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 AppDetails setMachineType(java.lang.String machineType) { + this.machineType = machineType; + 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 AppDetails setSecretManagerSecret(java.lang.String secretManagerSecret) { + this.secretManagerSecret = secretManagerSecret; + return this; + } + + /** + * Optional. Storage location + * @return value or {@code null} for none + */ + public java.lang.String getSharedStorage() { + return sharedStorage; + } + + /** + * Optional. Storage location + * @param sharedStorage sharedStorage or {@code null} for none + */ + public AppDetails setSharedStorage(java.lang.String sharedStorage) { + this.sharedStorage = sharedStorage; + return this; + } + + /** + * Required. The SAP 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 SAP SID is a three-digit server-specific unique identification code. + * @param sid sid or {@code null} for none + */ + public AppDetails setSid(java.lang.String sid) { + this.sid = sid; + return this; + } + + /** + * Required. vms_multiplier + * @return value or {@code null} for none + */ + public java.lang.Integer getVmsMultiplier() { + return vmsMultiplier; + } + + /** + * Required. vms_multiplier + * @param vmsMultiplier vmsMultiplier or {@code null} for none + */ + public AppDetails setVmsMultiplier(java.lang.Integer vmsMultiplier) { + this.vmsMultiplier = vmsMultiplier; + return this; + } + + @Override + public AppDetails set(String fieldName, Object value) { + return (AppDetails) super.set(fieldName, value); + } + + @Override + public AppDetails clone() { + return (AppDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ComponentHealth.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ComponentHealth.java new file mode 100644 index 00000000000..795be428d7d --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ComponentHealth.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; + +/** + * HealthCondition contains the detailed health check of each component. + * + *

      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 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.List componentHealthChecks; + + /** + * Output only. The type of the component health. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String componentHealthType; + + /** + * Output only. The health state of the component. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Sub component health. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List subComponentsHealth; + + /** + * The component of a workload. + * @return value or {@code null} for none + */ + public java.lang.String getComponent() { + return component; + } + + /** + * The component of a workload. + * @param component component or {@code null} for none + */ + public ComponentHealth setComponent(java.lang.String component) { + this.component = component; + return this; + } + + /** + * The detailed health checks of the component. + * @return value or {@code null} for none + */ + public java.util.List getComponentHealthChecks() { + return componentHealthChecks; + } + + /** + * The detailed health checks of the component. + * @param componentHealthChecks componentHealthChecks or {@code null} for none + */ + public ComponentHealth setComponentHealthChecks(java.util.List componentHealthChecks) { + this.componentHealthChecks = componentHealthChecks; + return this; + } + + /** + * Output only. The type of the component health. + * @return value or {@code null} for none + */ + public java.lang.String getComponentHealthType() { + return componentHealthType; + } + + /** + * Output only. The type of the component health. + * @param componentHealthType componentHealthType or {@code null} for none + */ + public ComponentHealth setComponentHealthType(java.lang.String componentHealthType) { + this.componentHealthType = componentHealthType; + return this; + } + + /** + * Output only. The health state of the component. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. The health state of the component. + * @param state state or {@code null} for none + */ + public ComponentHealth setState(java.lang.String state) { + this.state = state; + return this; + } + + /** + * Sub component health. + * @return value or {@code null} for none + */ + public java.util.List getSubComponentsHealth() { + return subComponentsHealth; + } + + /** + * Sub component health. + * @param subComponentsHealth subComponentsHealth or {@code null} for none + */ + public ComponentHealth setSubComponentsHealth(java.util.List subComponentsHealth) { + this.subComponentsHealth = subComponentsHealth; + return this; + } + + @Override + public ComponentHealth set(String fieldName, Object value) { + return (ComponentHealth) super.set(fieldName, value); + } + + @Override + public ComponentHealth clone() { + return (ComponentHealth) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Database.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Database.java new file mode 100644 index 00000000000..783f627d9b9 --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Database.java @@ -0,0 +1,312 @@ +/* + * 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; + +/** + * Database 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 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.Map terraformVariables; + + /** + * Output only. [Output only] Update time stamp + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will + * execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this + * field is unspecified, the default Cloud Build worker pool will be used. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String workerPool; + + /** + * Optional. Workload type of the deployment + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String workloadType; + + /** + * Output only. [Output only] Create time stamp + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. [Output only] Create time stamp + * @param createTime createTime or {@code null} for none + */ + public Deployment setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Description of the Deployment + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Description of the Deployment + * @param description description or {@code null} for none + */ + public Deployment setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * The name of deployment resource. The format will be + * 'projects/{project_id}/locations/{location_id}/deployments/{deployment_id}' + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The name of deployment resource. The format will be + * 'projects/{project_id}/locations/{location_id}/deployments/{deployment_id}' + * @param name name or {@code null} for none + */ + public Deployment setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * SAP system workload input + * @return value or {@code null} for none + */ + public SapSystemS4Config getSapSystemS4Config() { + return sapSystemS4Config; + } + + /** + * SAP system workload input + * @param sapSystemS4Config sapSystemS4Config or {@code null} for none + */ + public Deployment setSapSystemS4Config(SapSystemS4Config sapSystemS4Config) { + this.sapSystemS4Config = sapSystemS4Config; + return this; + } + + /** + * 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 + * @return value or {@code null} for none + */ + public java.lang.String getServiceAccount() { + return serviceAccount; + } + + /** + * 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 + * @param serviceAccount serviceAccount or {@code null} for none + */ + public Deployment setServiceAccount(java.lang.String serviceAccount) { + this.serviceAccount = serviceAccount; + return this; + } + + /** + * MS SQL workload input + * @return value or {@code null} for none + */ + public SqlServerWorkload getSqlServerWorkload() { + return sqlServerWorkload; + } + + /** + * MS SQL workload input + * @param sqlServerWorkload sqlServerWorkload or {@code null} for none + */ + public Deployment setSqlServerWorkload(SqlServerWorkload sqlServerWorkload) { + this.sqlServerWorkload = sqlServerWorkload; + return this; + } + + /** + * Output only. Current state of the deployment. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. Current state of the deployment. + * @param state state or {@code null} for none + */ + public Deployment setState(java.lang.String state) { + this.state = state; + return this; + } + + /** + * 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" } } } + * @return value or {@code null} for none + */ + public java.util.Map getTerraformVariables() { + return terraformVariables; + } + + /** + * 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" } } } + * @param terraformVariables terraformVariables or {@code null} for none + */ + public Deployment setTerraformVariables(java.util.Map terraformVariables) { + this.terraformVariables = terraformVariables; + return this; + } + + /** + * Output only. [Output only] Update time stamp + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. [Output only] Update time stamp + * @param updateTime updateTime or {@code null} for none + */ + public Deployment setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + /** + * Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will + * execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this + * field is unspecified, the default Cloud Build worker pool will be used. + * @return value or {@code null} for none + */ + public java.lang.String getWorkerPool() { + return workerPool; + } + + /** + * Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will + * execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this + * field is unspecified, the default Cloud Build worker pool will be used. + * @param workerPool workerPool or {@code null} for none + */ + public Deployment setWorkerPool(java.lang.String workerPool) { + this.workerPool = workerPool; + return this; + } + + /** + * Optional. Workload type of the deployment + * @return value or {@code null} for none + */ + public java.lang.String getWorkloadType() { + return workloadType; + } + + /** + * Optional. Workload type of the deployment + * @param workloadType workloadType or {@code null} for none + */ + public Deployment setWorkloadType(java.lang.String workloadType) { + this.workloadType = workloadType; + return this; + } + + @Override + public Deployment set(String fieldName, Object value) { + return (Deployment) super.set(fieldName, value); + } + + @Override + public Deployment clone() { + return (Deployment) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/DeploymentOutput.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/DeploymentOutput.java new file mode 100644 index 00000000000..c327b530ec9 --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/DeploymentOutput.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; + +/** + * Message for output of deployment resource + * + *

      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 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.List actuations; + + static { + // hack to force ProGuard to consider Actuation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(Actuation.class); + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, + * there are no subsequent pages. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * Unordered list. Locations that could not be reached. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List unreachable; + + /** + * The list of Actuation + * @return value or {@code null} for none + */ + public java.util.List getActuations() { + return actuations; + } + + /** + * The list of Actuation + * @param actuations actuations or {@code null} for none + */ + public ListActuationsResponse setActuations(java.util.List actuations) { + this.actuations = actuations; + return this; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, + * there are no subsequent pages. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, + * there are no subsequent pages. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public ListActuationsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * Unordered list. Locations that could not be reached. + * @return value or {@code null} for none + */ + public java.util.List getUnreachable() { + return unreachable; + } + + /** + * Unordered list. Locations that could not be reached. + * @param unreachable unreachable or {@code null} for none + */ + public ListActuationsResponse setUnreachable(java.util.List unreachable) { + this.unreachable = unreachable; + return this; + } + + @Override + public ListActuationsResponse set(String fieldName, Object value) { + return (ListActuationsResponse) super.set(fieldName, value); + } + + @Override + public ListActuationsResponse clone() { + return (ListActuationsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ListDeploymentsResponse.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ListDeploymentsResponse.java new file mode 100644 index 00000000000..3124956cb43 --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/ListDeploymentsResponse.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; + +/** + * Message for response to listing Deployments + * + *

      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 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.List deployments; + + static { + // hack to force ProGuard to consider Deployment used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(Deployment.class); + } + + /** + * A token identifying a page of results the server should return. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * Unordered list. Locations that could not be reached. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List unreachable; + + /** + * The list of Deployment + * @return value or {@code null} for none + */ + public java.util.List getDeployments() { + return deployments; + } + + /** + * The list of Deployment + * @param deployments deployments or {@code null} for none + */ + public ListDeploymentsResponse setDeployments(java.util.List deployments) { + this.deployments = deployments; + return this; + } + + /** + * A token identifying a page of results the server should return. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * A token identifying a page of results the server should return. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public ListDeploymentsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * Unordered list. Locations that could not be reached. + * @return value or {@code null} for none + */ + public java.util.List getUnreachable() { + return unreachable; + } + + /** + * Unordered list. Locations that could not be reached. + * @param unreachable unreachable or {@code null} for none + */ + public ListDeploymentsResponse setUnreachable(java.util.List unreachable) { + this.unreachable = unreachable; + return this; + } + + @Override + public ListDeploymentsResponse set(String fieldName, Object value) { + return (ListDeploymentsResponse) super.set(fieldName, value); + } + + @Override + public ListDeploymentsResponse clone() { + return (ListDeploymentsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/LocationDetails.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/LocationDetails.java new file mode 100644 index 00000000000..0032cef2264 --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/LocationDetails.java @@ -0,0 +1,333 @@ +/* + * 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 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.List customTags; + + /** + * Optional. when user skip DNS configuration from UI, deployment_dns_enabled=false otherwise + * deployment_dns_enabled=true + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean deploymentDnsEnabled; + + /** + * Optional. dns zone name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dnsZone; + + /** + * Optional. dns_zone_name_suffix + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dnsZoneNameSuffix; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String internetAccess; + + /** + * Optional. network project + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String networkProject; + + /** + * Required. region_name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String regionName; + + /** + * Required. subnet_name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String subnetName; + + /** + * Required. vpc_name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String vpcName; + + /** + * Required. zone1_name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String zone1Name; + + /** + * Optional. zone2_name + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String zone2Name; + + /** + * Optional. create firewall, if true, create firewall for the deployment. This field provides an + * option to not always create firewall for the deployment. + * @return value or {@code null} for none + */ + public java.lang.Boolean getCreateCommsFirewall() { + return createCommsFirewall; + } + + /** + * Optional. create firewall, if true, create firewall for the deployment. This field provides an + * option to not always create firewall for the deployment. + * @param createCommsFirewall createCommsFirewall or {@code null} for none + */ + public LocationDetails setCreateCommsFirewall(java.lang.Boolean createCommsFirewall) { + this.createCommsFirewall = createCommsFirewall; + return this; + } + + /** + * Optional. network tags + * @return value or {@code null} for none + */ + public java.util.List getCustomTags() { + return customTags; + } + + /** + * Optional. network tags + * @param customTags customTags or {@code null} for none + */ + public LocationDetails setCustomTags(java.util.List customTags) { + this.customTags = customTags; + return this; + } + + /** + * Optional. when user skip DNS configuration from UI, deployment_dns_enabled=false otherwise + * deployment_dns_enabled=true + * @return value or {@code null} for none + */ + public java.lang.Boolean getDeploymentDnsEnabled() { + return deploymentDnsEnabled; + } + + /** + * Optional. when user skip DNS configuration from UI, deployment_dns_enabled=false otherwise + * deployment_dns_enabled=true + * @param deploymentDnsEnabled deploymentDnsEnabled or {@code null} for none + */ + public LocationDetails setDeploymentDnsEnabled(java.lang.Boolean deploymentDnsEnabled) { + this.deploymentDnsEnabled = deploymentDnsEnabled; + return this; + } + + /** + * Optional. dns zone name + * @return value or {@code null} for none + */ + public java.lang.String getDnsZone() { + return dnsZone; + } + + /** + * Optional. dns zone name + * @param dnsZone dnsZone or {@code null} for none + */ + public LocationDetails setDnsZone(java.lang.String dnsZone) { + this.dnsZone = dnsZone; + return this; + } + + /** + * Optional. dns_zone_name_suffix + * @return value or {@code null} for none + */ + public java.lang.String getDnsZoneNameSuffix() { + return dnsZoneNameSuffix; + } + + /** + * Optional. dns_zone_name_suffix + * @param dnsZoneNameSuffix dnsZoneNameSuffix or {@code null} for none + */ + public LocationDetails setDnsZoneNameSuffix(java.lang.String dnsZoneNameSuffix) { + this.dnsZoneNameSuffix = dnsZoneNameSuffix; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getInternetAccess() { + return internetAccess; + } + + /** + * @param internetAccess internetAccess or {@code null} for none + */ + public LocationDetails setInternetAccess(java.lang.String internetAccess) { + this.internetAccess = internetAccess; + return this; + } + + /** + * Optional. network project + * @return value or {@code null} for none + */ + public java.lang.String getNetworkProject() { + return networkProject; + } + + /** + * Optional. network project + * @param networkProject networkProject or {@code null} for none + */ + public LocationDetails setNetworkProject(java.lang.String networkProject) { + this.networkProject = networkProject; + return this; + } + + /** + * Required. region_name + * @return value or {@code null} for none + */ + public java.lang.String getRegionName() { + return regionName; + } + + /** + * Required. region_name + * @param regionName regionName or {@code null} for none + */ + public LocationDetails setRegionName(java.lang.String regionName) { + this.regionName = regionName; + return this; + } + + /** + * Required. subnet_name + * @return value or {@code null} for none + */ + public java.lang.String getSubnetName() { + return subnetName; + } + + /** + * Required. subnet_name + * @param subnetName subnetName or {@code null} for none + */ + public LocationDetails setSubnetName(java.lang.String subnetName) { + this.subnetName = subnetName; + return this; + } + + /** + * Required. vpc_name + * @return value or {@code null} for none + */ + public java.lang.String getVpcName() { + return vpcName; + } + + /** + * Required. vpc_name + * @param vpcName vpcName or {@code null} for none + */ + public LocationDetails setVpcName(java.lang.String vpcName) { + this.vpcName = vpcName; + return this; + } + + /** + * Required. zone1_name + * @return value or {@code null} for none + */ + public java.lang.String getZone1Name() { + return zone1Name; + } + + /** + * Required. zone1_name + * @param zone1Name zone1Name or {@code null} for none + */ + public LocationDetails setZone1Name(java.lang.String zone1Name) { + this.zone1Name = zone1Name; + return this; + } + + /** + * Optional. zone2_name + * @return value or {@code null} for none + */ + public java.lang.String getZone2Name() { + return zone2Name; + } + + /** + * Optional. zone2_name + * @param zone2Name zone2Name or {@code null} for none + */ + public LocationDetails setZone2Name(java.lang.String zone2Name) { + this.zone2Name = zone2Name; + return this; + } + + @Override + public LocationDetails set(String fieldName, Object value) { + return (LocationDetails) super.set(fieldName, value); + } + + @Override + public LocationDetails clone() { + return (LocationDetails) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Pacemaker.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Pacemaker.java new file mode 100644 index 00000000000..28b013c026b --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/Pacemaker.java @@ -0,0 +1,186 @@ +/* + * 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; + +/** + * pacemaker configuration + * + *

      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 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.Map details; + + /** + * Output only. The message generated by rule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String message; + + /** + * Output only. Violation details generated by rule. + * @return value or {@code null} for none + */ + public java.util.Map getDetails() { + return details; + } + + /** + * Output only. Violation details generated by rule. + * @param details details or {@code null} for none + */ + public RuleOutput setDetails(java.util.Map details) { + this.details = details; + return this; + } + + /** + * Output only. The message generated by rule. + * @return value or {@code null} for none + */ + public java.lang.String getMessage() { + return message; + } + + /** + * Output only. The message generated by rule. + * @param message message or {@code null} for none + */ + public RuleOutput setMessage(java.lang.String message) { + this.message = message; + return this; + } + + @Override + public RuleOutput set(String fieldName, Object value) { + return (RuleOutput) super.set(fieldName, value); + } + + @Override + public RuleOutput clone() { + return (RuleOutput) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SapComponent.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SapComponent.java index c1af25c890b..440610d91f1 100644 --- a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SapComponent.java +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SapComponent.java @@ -37,8 +37,8 @@ public final class SapComponent extends com.google.api.client.json.GenericJson { private DatabaseProperties databaseProperties; /** - * A list of host URIs that are part of the HA configuration if present. An empty list indicates - * the component is not configured for HA. + * List of host URIs that are part of the HA configuration if present. An empty list indicates the + * component is not configured for HA. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -89,8 +89,8 @@ public SapComponent setDatabaseProperties(DatabaseProperties databaseProperties) } /** - * A list of host URIs that are part of the HA configuration if present. An empty list indicates - * the component is not configured for HA. + * List of host URIs that are part of the HA configuration if present. An empty list indicates the + * component is not configured for HA. * @return value or {@code null} for none */ public java.util.List getHaHosts() { @@ -98,8 +98,8 @@ public java.util.List getHaHosts() { } /** - * A list of host URIs that are part of the HA configuration if present. An empty list indicates - * the component is not configured for HA. + * List of host URIs that are part of the HA configuration if present. An empty list indicates the + * component is not configured for HA. * @param haHosts haHosts or {@code null} for none */ public SapComponent setHaHosts(java.util.List haHosts) { diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SapSystemS4Config.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SapSystemS4Config.java new file mode 100644 index 00000000000..f0592c4c66b --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SapSystemS4Config.java @@ -0,0 +1,354 @@ +/* + * 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 system 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 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.Map metadata; /** - * Output only. the products on this workload. + * Output only. The products on this workload. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -71,7 +71,7 @@ public final class SapWorkload extends com.google.api.client.json.GenericJson { } /** - * Output only. the acsc componment + * Output only. application component * @return value or {@code null} for none */ public SapComponent getApplication() { @@ -79,7 +79,7 @@ public SapComponent getApplication() { } /** - * Output only. the acsc componment + * Output only. application component * @param application application or {@code null} for none */ public SapWorkload setApplication(SapComponent application) { @@ -88,7 +88,7 @@ public SapWorkload setApplication(SapComponent application) { } /** - * Output only. the architecture + * Output only. The architecture. * @return value or {@code null} for none */ public java.lang.String getArchitecture() { @@ -96,7 +96,7 @@ public java.lang.String getArchitecture() { } /** - * Output only. the architecture + * Output only. The architecture. * @param architecture architecture or {@code null} for none */ public SapWorkload setArchitecture(java.lang.String architecture) { @@ -105,7 +105,7 @@ public SapWorkload setArchitecture(java.lang.String architecture) { } /** - * Output only. the database componment + * Output only. database component * @return value or {@code null} for none */ public SapComponent getDatabase() { @@ -113,7 +113,7 @@ public SapComponent getDatabase() { } /** - * Output only. the database componment + * Output only. database component * @param database database or {@code null} for none */ public SapWorkload setDatabase(SapComponent database) { @@ -139,7 +139,7 @@ public SapWorkload setMetadata(java.util.Map metadata) } /** - * Output only. the products on this workload. + * Output only. The products on this workload. * @return value or {@code null} for none */ public java.util.List getProducts() { @@ -147,7 +147,7 @@ public java.util.List getProducts() { } /** - * Output only. the products on this workload. + * Output only. The products on this workload. * @param products products or {@code null} for none */ public SapWorkload setProducts(java.util.List products) { diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SqlLocationDetails.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SqlLocationDetails.java new file mode 100644 index 00000000000..fe662e77646 --- /dev/null +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/SqlLocationDetails.java @@ -0,0 +1,270 @@ +/* + * 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; + +/** + * Location and networking details for configuring SQL server 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 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.Map observed; + /** + * Output only. The rule output of the violation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List ruleOutput; + + static { + // hack to force ProGuard to consider RuleOutput used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(RuleOutput.class); + } + /** * The service account associated with the resource. * The value may be {@code null}. @@ -68,7 +81,7 @@ public ViolationDetails setAsset(java.lang.String asset) { } /** - * Details of the violation. TODO(b/452163887) + * Details of the violation. * @return value or {@code null} for none */ public java.util.Map getObserved() { @@ -76,7 +89,7 @@ public java.util.Map getObserved() { } /** - * Details of the violation. TODO(b/452163887) + * Details of the violation. * @param observed observed or {@code null} for none */ public ViolationDetails setObserved(java.util.Map observed) { @@ -84,6 +97,23 @@ public ViolationDetails setObserved(java.util.Map obse return this; } + /** + * Output only. The rule output of the violation. + * @return value or {@code null} for none + */ + public java.util.List getRuleOutput() { + return ruleOutput; + } + + /** + * Output only. The rule output of the violation. + * @param ruleOutput ruleOutput or {@code null} for none + */ + public ViolationDetails setRuleOutput(java.util.List ruleOutput) { + this.ruleOutput = ruleOutput; + return this; + } + /** * The service account associated with the resource. * @return value or {@code null} for none diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/WorkloadProfile.java b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/WorkloadProfile.java index 74fa50b704e..9b9f4d7f981 100644 --- a/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/WorkloadProfile.java +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/com/google/api/services/workloadmanager/v1/model/WorkloadProfile.java @@ -17,7 +17,7 @@ package com.google.api.services.workloadmanager.v1.model; /** - * workload resource + * Workload resource. * *

      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/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 componentsHealth; + + static { + // hack to force ProGuard to consider ComponentHealth used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(ComponentHealth.class); + } + + /** + * Output only. The health state of the workload. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * The time when the health check was performed. + * @return value or {@code null} for none + */ + public String getCheckTime() { + return checkTime; + } + + /** + * The time when the health check was performed. + * @param checkTime checkTime or {@code null} for none + */ + public WorkloadProfileHealth setCheckTime(String checkTime) { + this.checkTime = checkTime; + return this; + } + + /** + * The detailed condition reports of each component. + * @return value or {@code null} for none + */ + public java.util.List getComponentsHealth() { + return componentsHealth; + } + + /** + * The detailed condition reports of each component. + * @param componentsHealth componentsHealth or {@code null} for none + */ + public WorkloadProfileHealth setComponentsHealth(java.util.List componentsHealth) { + this.componentsHealth = componentsHealth; + return this; + } + + /** + * Output only. The health state of the workload. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. The health state of the workload. + * @param state state or {@code null} for none + */ + public WorkloadProfileHealth setState(java.lang.String state) { + this.state = state; + return this; + } + + @Override + public WorkloadProfileHealth set(String fieldName, Object value) { + return (WorkloadProfileHealth) super.set(fieldName, value); + } + + @Override + public WorkloadProfileHealth clone() { + return (WorkloadProfileHealth) super.clone(); + } + +} diff --git a/clients/google-api-services-workloadmanager/v1/2.0.0/pom.xml b/clients/google-api-services-workloadmanager/v1/2.0.0/pom.xml index 86859d6473f..108309a653f 100644 --- a/clients/google-api-services-workloadmanager/v1/2.0.0/pom.xml +++ b/clients/google-api-services-workloadmanager/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-workloadmanager - v1-rev20251112-2.0.0 - Workload Manager API v1-rev20251112-2.0.0 + v1-rev20260204-2.0.0 + Workload Manager API v1-rev20260204-2.0.0 jar 2011 diff --git a/clients/google-api-services-workloadmanager/v1/README.md b/clients/google-api-services-workloadmanager/v1/README.md index fb47730a8c0..84eb539132a 100644 --- a/clients/google-api-services-workloadmanager/v1/README.md +++ b/clients/google-api-services-workloadmanager/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-workloadmanager - v1-rev20251112-2.0.0 + v1-rev20260204-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-workloadmanager:v1-rev20251112-2.0.0' + implementation 'com.google.apis:google-api-services-workloadmanager:v1-rev20260204-2.0.0' } ```