From ffd23c67c3a04d73ae98ccdcd52ea22df2dbcc0e Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Thu, 29 Jan 2026 18:16:27 -0800 Subject: [PATCH] chore: regenerate gkehub client --- .../v1beta1/2.0.0/README.md | 4 +- .../api/services/gkehub/v1beta1/GKEHub.java | 10 +- .../v1beta1/2.0.0/pom.xml | 4 +- .../v1beta1/README.md | 4 +- .../v2beta/2.0.0/README.md | 4 +- .../api/services/gkehub/v2beta/GKEHub.java | 10 +- .../model/ConfigManagementConfigSync.java | 66 +++++++++---- .../ConfigManagementContainerOverride.java | 42 +++++--- .../model/ConfigManagementGitConfig.java | 30 +++--- .../model/ConfigManagementOciConfig.java | 18 ++-- .../v2beta/model/ConfigManagementSpec.java | 57 ++++++----- .../gkehub/v2beta/model/FeatureState.java | 24 +++++ ...adIdentityIdentityProviderStateDetail.java | 90 +++++++++++++++++ .../v2beta/model/WorkloadIdentityState.java | 96 +++++++++++++++++++ .../v2beta/2.0.0/pom.xml | 4 +- .../v2beta/README.md | 4 +- 16 files changed, 373 insertions(+), 94 deletions(-) create mode 100644 clients/google-api-services-gkehub/v2beta/2.0.0/com/google/api/services/gkehub/v2beta/model/WorkloadIdentityIdentityProviderStateDetail.java create mode 100644 clients/google-api-services-gkehub/v2beta/2.0.0/com/google/api/services/gkehub/v2beta/model/WorkloadIdentityState.java diff --git a/clients/google-api-services-gkehub/v1beta1/2.0.0/README.md b/clients/google-api-services-gkehub/v1beta1/2.0.0/README.md index 05f51103615..6b00230435e 100644 --- a/clients/google-api-services-gkehub/v1beta1/2.0.0/README.md +++ b/clients/google-api-services-gkehub/v1beta1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-gkehub - v1beta1-rev20251201-2.0.0 + v1beta1-rev20260126-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-gkehub:v1beta1-rev20251201-2.0.0' + implementation 'com.google.apis:google-api-services-gkehub:v1beta1-rev20260126-2.0.0' } ``` diff --git a/clients/google-api-services-gkehub/v1beta1/2.0.0/com/google/api/services/gkehub/v1beta1/GKEHub.java b/clients/google-api-services-gkehub/v1beta1/2.0.0/com/google/api/services/gkehub/v1beta1/GKEHub.java index a255a072fdf..29828c11e41 100644 --- a/clients/google-api-services-gkehub/v1beta1/2.0.0/com/google/api/services/gkehub/v1beta1/GKEHub.java +++ b/clients/google-api-services-gkehub/v1beta1/2.0.0/com/google/api/services/gkehub/v1beta1/GKEHub.java @@ -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 GKEHubRequestcom.google.apis google-api-services-gkehub - v1beta1-rev20251201-2.0.0 - GKE Hub API v1beta1-rev20251201-2.0.0 + v1beta1-rev20260126-2.0.0 + GKE Hub API v1beta1-rev20260126-2.0.0 jar 2011 diff --git a/clients/google-api-services-gkehub/v1beta1/README.md b/clients/google-api-services-gkehub/v1beta1/README.md index 05f51103615..6b00230435e 100644 --- a/clients/google-api-services-gkehub/v1beta1/README.md +++ b/clients/google-api-services-gkehub/v1beta1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-gkehub - v1beta1-rev20251201-2.0.0 + v1beta1-rev20260126-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-gkehub:v1beta1-rev20251201-2.0.0' + implementation 'com.google.apis:google-api-services-gkehub:v1beta1-rev20260126-2.0.0' } ``` diff --git a/clients/google-api-services-gkehub/v2beta/2.0.0/README.md b/clients/google-api-services-gkehub/v2beta/2.0.0/README.md index 5b2d9a593d6..75fe6ac3a94 100644 --- a/clients/google-api-services-gkehub/v2beta/2.0.0/README.md +++ b/clients/google-api-services-gkehub/v2beta/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-gkehub - v2beta-rev20260119-2.0.0 + v2beta-rev20260126-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-gkehub:v2beta-rev20260119-2.0.0' + implementation 'com.google.apis:google-api-services-gkehub:v2beta-rev20260126-2.0.0' } ``` diff --git a/clients/google-api-services-gkehub/v2beta/2.0.0/com/google/api/services/gkehub/v2beta/GKEHub.java b/clients/google-api-services-gkehub/v2beta/2.0.0/com/google/api/services/gkehub/v2beta/GKEHub.java index 73783097bf2..7849f8faaa5 100644 --- a/clients/google-api-services-gkehub/v2beta/2.0.0/com/google/api/services/gkehub/v2beta/GKEHub.java +++ b/clients/google-api-services-gkehub/v2beta/2.0.0/com/google/api/services/gkehub/v2beta/GKEHub.java @@ -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 GKEHubRequest deploymentOverrides; /** - * Optional. Enables the installation of ConfigSync. If set to true, ConfigSync resources will be - * created and the other ConfigSync fields will be applied if exist. If set to false, all other - * ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync - * resources will be managed depends on the presence of the git or oci field. + * Optional. Enables the installation of Config Sync. If set to true, the Feature will manage + * Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, + * the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If + * omitted, ConfigSync is considered enabled if the git or oci field is present. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -76,14 +80,18 @@ public final class ConfigManagementConfigSync extends com.google.api.client.json /** * Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to - * `false`, disables the Config Sync admission webhook and does not prevent drifts. + * false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to + * false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent- + * config-drift for details. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean preventDrift; /** - * Optional. Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. + * Optional. Specifies whether the Config Sync repo is in `hierarchical` or `unstructured` mode. + * Defaults to `hierarchical`. See https://docs.cloud.google.com/kubernetes-engine/config- + * sync/docs/concepts/configs#organize-configs for an explanation. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -97,7 +105,11 @@ public final class ConfigManagementConfigSync extends com.google.api.client.json private java.lang.Boolean stopSyncing; /** - * Optional. Configuration for deployment overrides. + * Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with + * containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, + * `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace + * reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes- + * engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead. * @return value or {@code null} for none */ public java.util.List getDeploymentOverrides() { @@ -105,7 +117,11 @@ public java.util.List getDeploymentOverrides } /** - * Optional. Configuration for deployment overrides. + * Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with + * containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, + * `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace + * reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes- + * engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead. * @param deploymentOverrides deploymentOverrides or {@code null} for none */ public ConfigManagementConfigSync setDeploymentOverrides(java.util.List deploymentOverrides) { @@ -114,10 +130,10 @@ public ConfigManagementConfigSync setDeploymentOverrides(java.util.List 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 GKE Hub 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 WorkloadIdentityIdentityProviderStateDetail extends com.google.api.client.json.GenericJson { + + /** + * The state of the Identity Provider. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String code; + + /** + * A human-readable description of the current state or returned error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * The state of the Identity Provider. + * @return value or {@code null} for none + */ + public java.lang.String getCode() { + return code; + } + + /** + * The state of the Identity Provider. + * @param code code or {@code null} for none + */ + public WorkloadIdentityIdentityProviderStateDetail setCode(java.lang.String code) { + this.code = code; + return this; + } + + /** + * A human-readable description of the current state or returned error. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * A human-readable description of the current state or returned error. + * @param description description or {@code null} for none + */ + public WorkloadIdentityIdentityProviderStateDetail setDescription(java.lang.String description) { + this.description = description; + return this; + } + + @Override + public WorkloadIdentityIdentityProviderStateDetail set(String fieldName, Object value) { + return (WorkloadIdentityIdentityProviderStateDetail) super.set(fieldName, value); + } + + @Override + public WorkloadIdentityIdentityProviderStateDetail clone() { + return (WorkloadIdentityIdentityProviderStateDetail) super.clone(); + } + +} diff --git a/clients/google-api-services-gkehub/v2beta/2.0.0/com/google/api/services/gkehub/v2beta/model/WorkloadIdentityState.java b/clients/google-api-services-gkehub/v2beta/2.0.0/com/google/api/services/gkehub/v2beta/model/WorkloadIdentityState.java new file mode 100644 index 00000000000..523c9b5060e --- /dev/null +++ b/clients/google-api-services-gkehub/v2beta/2.0.0/com/google/api/services/gkehub/v2beta/model/WorkloadIdentityState.java @@ -0,0 +1,96 @@ +/* + * 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.gkehub.v2beta.model; + +/** + * **WorkloadIdentity**: The membership-specific state for WorkloadIdentity feature. + * + *

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 GKE Hub 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 WorkloadIdentityState extends com.google.api.client.json.GenericJson { + + /** + * Deprecated, this field will be erased after code is changed to use the new field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * The state of the Identity Providers corresponding to the membership. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map identityProviderStateDetails; + + static { + // hack to force ProGuard to consider WorkloadIdentityIdentityProviderStateDetail 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(WorkloadIdentityIdentityProviderStateDetail.class); + } + + /** + * Deprecated, this field will be erased after code is changed to use the new field. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Deprecated, this field will be erased after code is changed to use the new field. + * @param description description or {@code null} for none + */ + public WorkloadIdentityState setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * The state of the Identity Providers corresponding to the membership. + * @return value or {@code null} for none + */ + public java.util.Map getIdentityProviderStateDetails() { + return identityProviderStateDetails; + } + + /** + * The state of the Identity Providers corresponding to the membership. + * @param identityProviderStateDetails identityProviderStateDetails or {@code null} for none + */ + public WorkloadIdentityState setIdentityProviderStateDetails(java.util.Map identityProviderStateDetails) { + this.identityProviderStateDetails = identityProviderStateDetails; + return this; + } + + @Override + public WorkloadIdentityState set(String fieldName, Object value) { + return (WorkloadIdentityState) super.set(fieldName, value); + } + + @Override + public WorkloadIdentityState clone() { + return (WorkloadIdentityState) super.clone(); + } + +} diff --git a/clients/google-api-services-gkehub/v2beta/2.0.0/pom.xml b/clients/google-api-services-gkehub/v2beta/2.0.0/pom.xml index 7cd1d991013..bf88aa2dfe1 100644 --- a/clients/google-api-services-gkehub/v2beta/2.0.0/pom.xml +++ b/clients/google-api-services-gkehub/v2beta/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-gkehub - v2beta-rev20260119-2.0.0 - GKE Hub API v2beta-rev20260119-2.0.0 + v2beta-rev20260126-2.0.0 + GKE Hub API v2beta-rev20260126-2.0.0 jar 2011 diff --git a/clients/google-api-services-gkehub/v2beta/README.md b/clients/google-api-services-gkehub/v2beta/README.md index 5b2d9a593d6..75fe6ac3a94 100644 --- a/clients/google-api-services-gkehub/v2beta/README.md +++ b/clients/google-api-services-gkehub/v2beta/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-gkehub - v2beta-rev20260119-2.0.0 + v2beta-rev20260126-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-gkehub:v2beta-rev20260119-2.0.0' + implementation 'com.google.apis:google-api-services-gkehub:v2beta-rev20260126-2.0.0' } ```