From b1d45524a8cb41bc53d78a94e004de9818f90da4 Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Thu, 12 Feb 2026 18:25:34 -0800
Subject: [PATCH] chore: regenerate workloadmanager client
---
.../v1/2.0.0/README.md | 4 +-
.../workloadmanager/v1/WorkloadManager.java | 313 +++++++++++++++++-
.../v1/model/ComponentHealth.java | 162 +++++++++
.../v1/model/DatabaseProperties.java | 6 +-
.../v1/model/ExternalDataSources.java | 18 +-
.../workloadmanager/v1/model/HealthCheck.java | 162 +++++++++
.../workloadmanager/v1/model/Product.java | 2 +-
.../workloadmanager/v1/model/RuleOutput.java | 90 +++++
.../v1/model/SapComponent.java | 12 +-
.../workloadmanager/v1/model/SapWorkload.java | 24 +-
.../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 +-
16 files changed, 916 insertions(+), 49 deletions(-)
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/HealthCheck.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/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..912aa4f2257 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-rev20260128-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-rev20260128-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..ff8b16a6bcb 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 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 +895,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 +4479,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/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/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/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/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/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/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..35fa0d9b7bb 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-rev20260128-2.0.0
+ Workload Manager API v1-rev20260128-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..912aa4f2257 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-rev20260128-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-rev20260128-2.0.0'
}
```