From 5900e1834defc238b1222405386b597124477728 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Fri, 30 Jan 2026 18:15:08 -0800 Subject: [PATCH] chore: regenerate gkehub client --- .../v1beta/2.0.0/README.md | 4 +- .../api/services/gkehub/v1beta/GKEHub.java | 10 +- .../gkehub/v1beta/model/ClusterSelector.java | 6 +- .../v1beta/model/CommonFeatureSpec.java | 24 +++ .../v1beta/model/CommonFeatureState.java | 24 +++ .../model/ConfigManagementConfigSync.java | 66 ++++--- .../ConfigManagementContainerOverride.java | 42 +++-- .../model/ConfigManagementGitConfig.java | 30 ++-- .../model/ConfigManagementMembershipSpec.java | 57 +++--- .../model/ConfigManagementOciConfig.java | 18 +- .../v1beta/model/MembershipFeatureState.java | 24 +++ .../model/WorkloadIdentityFeatureSpec.java | 72 ++++++++ .../model/WorkloadIdentityFeatureState.java | 162 ++++++++++++++++++ ...adIdentityIdentityProviderStateDetail.java | 90 ++++++++++ .../WorkloadIdentityMembershipState.java | 96 +++++++++++ .../WorkloadIdentityNamespaceStateDetail.java | 90 ++++++++++ ...entityWorkloadIdentityPoolStateDetail.java | 91 ++++++++++ .../v1beta/2.0.0/pom.xml | 4 +- .../v1beta/README.md | 4 +- .../v2alpha/2.0.0/README.md | 4 +- .../api/services/gkehub/v2alpha/GKEHub.java | 10 +- .../model/ConfigManagementConfigSync.java | 66 ++++--- .../ConfigManagementContainerOverride.java | 42 +++-- .../model/ConfigManagementGitConfig.java | 30 ++-- .../model/ConfigManagementOciConfig.java | 18 +- .../v2alpha/model/ConfigManagementSpec.java | 57 +++--- .../gkehub/v2alpha/model/FeatureState.java | 24 +++ ...adIdentityIdentityProviderStateDetail.java | 90 ++++++++++ .../v2alpha/model/WorkloadIdentityState.java | 96 +++++++++++ .../v2alpha/2.0.0/pom.xml | 4 +- .../v2alpha/README.md | 4 +- 31 files changed, 1184 insertions(+), 175 deletions(-) create mode 100644 clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityFeatureSpec.java create mode 100644 clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityFeatureState.java create mode 100644 clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityIdentityProviderStateDetail.java create mode 100644 clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityMembershipState.java create mode 100644 clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityNamespaceStateDetail.java create mode 100644 clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityWorkloadIdentityPoolStateDetail.java create mode 100644 clients/google-api-services-gkehub/v2alpha/2.0.0/com/google/api/services/gkehub/v2alpha/model/WorkloadIdentityIdentityProviderStateDetail.java create mode 100644 clients/google-api-services-gkehub/v2alpha/2.0.0/com/google/api/services/gkehub/v2alpha/model/WorkloadIdentityState.java diff --git a/clients/google-api-services-gkehub/v1beta/2.0.0/README.md b/clients/google-api-services-gkehub/v1beta/2.0.0/README.md index bfbdf648c67..98d33ba9a22 100644 --- a/clients/google-api-services-gkehub/v1beta/2.0.0/README.md +++ b/clients/google-api-services-gkehub/v1beta/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 - v1beta-rev20260119-2.0.0 + v1beta-rev20260126-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-gkehub:v1beta-rev20260119-2.0.0' + implementation 'com.google.apis:google-api-services-gkehub:v1beta-rev20260126-2.0.0' } ``` diff --git a/clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/GKEHub.java b/clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/GKEHub.java index 229b01d013a..bee5d1a848c 100644 --- a/clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/GKEHub.java +++ b/clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/GKEHub.java @@ -576,7 +576,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". * @@ -600,7 +603,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 WorkloadIdentityFeatureSpec extends com.google.api.client.json.GenericJson { + + /** + * Pool to be used for Workload Identity. This pool in trust-domain mode is used with Fleet + * Tenancy, so that sameness can be enforced. ex: + * projects/example/locations/global/workloadidentitypools/custompool + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scopeTenancyPool; + + /** + * Pool to be used for Workload Identity. This pool in trust-domain mode is used with Fleet + * Tenancy, so that sameness can be enforced. ex: + * projects/example/locations/global/workloadidentitypools/custompool + * @return value or {@code null} for none + */ + public java.lang.String getScopeTenancyPool() { + return scopeTenancyPool; + } + + /** + * Pool to be used for Workload Identity. This pool in trust-domain mode is used with Fleet + * Tenancy, so that sameness can be enforced. ex: + * projects/example/locations/global/workloadidentitypools/custompool + * @param scopeTenancyPool scopeTenancyPool or {@code null} for none + */ + public WorkloadIdentityFeatureSpec setScopeTenancyPool(java.lang.String scopeTenancyPool) { + this.scopeTenancyPool = scopeTenancyPool; + return this; + } + + @Override + public WorkloadIdentityFeatureSpec set(String fieldName, Object value) { + return (WorkloadIdentityFeatureSpec) super.set(fieldName, value); + } + + @Override + public WorkloadIdentityFeatureSpec clone() { + return (WorkloadIdentityFeatureSpec) super.clone(); + } + +} diff --git a/clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityFeatureState.java b/clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityFeatureState.java new file mode 100644 index 00000000000..e8f011e2f66 --- /dev/null +++ b/clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityFeatureState.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.gkehub.v1beta.model; + +/** + * **WorkloadIdentity**: Global feature state. + * + *

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 WorkloadIdentityFeatureState extends com.google.api.client.json.GenericJson { + + /** + * The state of the IAM namespaces for the fleet. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map namespaceStateDetails; + + /** + * 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.util.Map namespaceStates; + + /** + * The full name of the scope-tenancy pool for the fleet. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String scopeTenancyWorkloadIdentityPool; + + /** + * The full name of the svc.id.goog pool for the fleet. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String workloadIdentityPool; + + /** + * The state of the Workload Identity Pools for the fleet. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map workloadIdentityPoolStateDetails; + + /** + * The state of the IAM namespaces for the fleet. + * @return value or {@code null} for none + */ + public java.util.Map getNamespaceStateDetails() { + return namespaceStateDetails; + } + + /** + * The state of the IAM namespaces for the fleet. + * @param namespaceStateDetails namespaceStateDetails or {@code null} for none + */ + public WorkloadIdentityFeatureState setNamespaceStateDetails(java.util.Map namespaceStateDetails) { + this.namespaceStateDetails = namespaceStateDetails; + return this; + } + + /** + * Deprecated, this field will be erased after code is changed to use the new field. + * @return value or {@code null} for none + */ + public java.util.Map getNamespaceStates() { + return namespaceStates; + } + + /** + * Deprecated, this field will be erased after code is changed to use the new field. + * @param namespaceStates namespaceStates or {@code null} for none + */ + public WorkloadIdentityFeatureState setNamespaceStates(java.util.Map namespaceStates) { + this.namespaceStates = namespaceStates; + return this; + } + + /** + * The full name of the scope-tenancy pool for the fleet. + * @return value or {@code null} for none + */ + public java.lang.String getScopeTenancyWorkloadIdentityPool() { + return scopeTenancyWorkloadIdentityPool; + } + + /** + * The full name of the scope-tenancy pool for the fleet. + * @param scopeTenancyWorkloadIdentityPool scopeTenancyWorkloadIdentityPool or {@code null} for none + */ + public WorkloadIdentityFeatureState setScopeTenancyWorkloadIdentityPool(java.lang.String scopeTenancyWorkloadIdentityPool) { + this.scopeTenancyWorkloadIdentityPool = scopeTenancyWorkloadIdentityPool; + return this; + } + + /** + * The full name of the svc.id.goog pool for the fleet. + * @return value or {@code null} for none + */ + public java.lang.String getWorkloadIdentityPool() { + return workloadIdentityPool; + } + + /** + * The full name of the svc.id.goog pool for the fleet. + * @param workloadIdentityPool workloadIdentityPool or {@code null} for none + */ + public WorkloadIdentityFeatureState setWorkloadIdentityPool(java.lang.String workloadIdentityPool) { + this.workloadIdentityPool = workloadIdentityPool; + return this; + } + + /** + * The state of the Workload Identity Pools for the fleet. + * @return value or {@code null} for none + */ + public java.util.Map getWorkloadIdentityPoolStateDetails() { + return workloadIdentityPoolStateDetails; + } + + /** + * The state of the Workload Identity Pools for the fleet. + * @param workloadIdentityPoolStateDetails workloadIdentityPoolStateDetails or {@code null} for none + */ + public WorkloadIdentityFeatureState setWorkloadIdentityPoolStateDetails(java.util.Map workloadIdentityPoolStateDetails) { + this.workloadIdentityPoolStateDetails = workloadIdentityPoolStateDetails; + return this; + } + + @Override + public WorkloadIdentityFeatureState set(String fieldName, Object value) { + return (WorkloadIdentityFeatureState) super.set(fieldName, value); + } + + @Override + public WorkloadIdentityFeatureState clone() { + return (WorkloadIdentityFeatureState) super.clone(); + } + +} diff --git a/clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityIdentityProviderStateDetail.java b/clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityIdentityProviderStateDetail.java new file mode 100644 index 00000000000..09c250c09ef --- /dev/null +++ b/clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityIdentityProviderStateDetail.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.gkehub.v1beta.model; + +/** + * IdentityProviderStateDetail represents the state of an Identity Provider. + * + *

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/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityMembershipState.java b/clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityMembershipState.java new file mode 100644 index 00000000000..8d709a1409a --- /dev/null +++ b/clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityMembershipState.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.v1beta.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 WorkloadIdentityMembershipState 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 WorkloadIdentityMembershipState 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 WorkloadIdentityMembershipState setIdentityProviderStateDetails(java.util.Map identityProviderStateDetails) { + this.identityProviderStateDetails = identityProviderStateDetails; + return this; + } + + @Override + public WorkloadIdentityMembershipState set(String fieldName, Object value) { + return (WorkloadIdentityMembershipState) super.set(fieldName, value); + } + + @Override + public WorkloadIdentityMembershipState clone() { + return (WorkloadIdentityMembershipState) super.clone(); + } + +} diff --git a/clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityNamespaceStateDetail.java b/clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityNamespaceStateDetail.java new file mode 100644 index 00000000000..7b29fba62c8 --- /dev/null +++ b/clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityNamespaceStateDetail.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.gkehub.v1beta.model; + +/** + * NamespaceStateDetail represents the state of a IAM namespace. + * + *

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 WorkloadIdentityNamespaceStateDetail extends com.google.api.client.json.GenericJson { + + /** + * The state of the IAM namespace. + * 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 IAM namespace. + * @return value or {@code null} for none + */ + public java.lang.String getCode() { + return code; + } + + /** + * The state of the IAM namespace. + * @param code code or {@code null} for none + */ + public WorkloadIdentityNamespaceStateDetail 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 WorkloadIdentityNamespaceStateDetail setDescription(java.lang.String description) { + this.description = description; + return this; + } + + @Override + public WorkloadIdentityNamespaceStateDetail set(String fieldName, Object value) { + return (WorkloadIdentityNamespaceStateDetail) super.set(fieldName, value); + } + + @Override + public WorkloadIdentityNamespaceStateDetail clone() { + return (WorkloadIdentityNamespaceStateDetail) super.clone(); + } + +} diff --git a/clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityWorkloadIdentityPoolStateDetail.java b/clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityWorkloadIdentityPoolStateDetail.java new file mode 100644 index 00000000000..aea50667549 --- /dev/null +++ b/clients/google-api-services-gkehub/v1beta/2.0.0/com/google/api/services/gkehub/v1beta/model/WorkloadIdentityWorkloadIdentityPoolStateDetail.java @@ -0,0 +1,91 @@ +/* + * 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.v1beta.model; + +/** + * WorkloadIdentityPoolStateDetail represents the state of the Workload Identity Pools for the + * fleet. + * + *

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 WorkloadIdentityWorkloadIdentityPoolStateDetail extends com.google.api.client.json.GenericJson { + + /** + * The state of the Workload Identity Pool. + * 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 Workload Identity Pool. + * @return value or {@code null} for none + */ + public java.lang.String getCode() { + return code; + } + + /** + * The state of the Workload Identity Pool. + * @param code code or {@code null} for none + */ + public WorkloadIdentityWorkloadIdentityPoolStateDetail 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 WorkloadIdentityWorkloadIdentityPoolStateDetail setDescription(java.lang.String description) { + this.description = description; + return this; + } + + @Override + public WorkloadIdentityWorkloadIdentityPoolStateDetail set(String fieldName, Object value) { + return (WorkloadIdentityWorkloadIdentityPoolStateDetail) super.set(fieldName, value); + } + + @Override + public WorkloadIdentityWorkloadIdentityPoolStateDetail clone() { + return (WorkloadIdentityWorkloadIdentityPoolStateDetail) super.clone(); + } + +} diff --git a/clients/google-api-services-gkehub/v1beta/2.0.0/pom.xml b/clients/google-api-services-gkehub/v1beta/2.0.0/pom.xml index d7f001da244..2662e5b23b6 100644 --- a/clients/google-api-services-gkehub/v1beta/2.0.0/pom.xml +++ b/clients/google-api-services-gkehub/v1beta/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-gkehub - v1beta-rev20260119-2.0.0 - GKE Hub API v1beta-rev20260119-2.0.0 + v1beta-rev20260126-2.0.0 + GKE Hub API v1beta-rev20260126-2.0.0 jar 2011 diff --git a/clients/google-api-services-gkehub/v1beta/README.md b/clients/google-api-services-gkehub/v1beta/README.md index bfbdf648c67..98d33ba9a22 100644 --- a/clients/google-api-services-gkehub/v1beta/README.md +++ b/clients/google-api-services-gkehub/v1beta/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-gkehub - v1beta-rev20260119-2.0.0 + v1beta-rev20260126-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-gkehub:v1beta-rev20260119-2.0.0' + implementation 'com.google.apis:google-api-services-gkehub:v1beta-rev20260126-2.0.0' } ``` diff --git a/clients/google-api-services-gkehub/v2alpha/2.0.0/README.md b/clients/google-api-services-gkehub/v2alpha/2.0.0/README.md index 204f4cf6b73..8f2bb33a05d 100644 --- a/clients/google-api-services-gkehub/v2alpha/2.0.0/README.md +++ b/clients/google-api-services-gkehub/v2alpha/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 - v2alpha-rev20260119-2.0.0 + v2alpha-rev20260126-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-gkehub:v2alpha-rev20260119-2.0.0' + implementation 'com.google.apis:google-api-services-gkehub:v2alpha-rev20260126-2.0.0' } ``` diff --git a/clients/google-api-services-gkehub/v2alpha/2.0.0/com/google/api/services/gkehub/v2alpha/GKEHub.java b/clients/google-api-services-gkehub/v2alpha/2.0.0/com/google/api/services/gkehub/v2alpha/GKEHub.java index 29bbe47a6e1..db7008dc7d5 100644 --- a/clients/google-api-services-gkehub/v2alpha/2.0.0/com/google/api/services/gkehub/v2alpha/GKEHub.java +++ b/clients/google-api-services-gkehub/v2alpha/2.0.0/com/google/api/services/gkehub/v2alpha/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/v2alpha/2.0.0/com/google/api/services/gkehub/v2alpha/model/WorkloadIdentityState.java b/clients/google-api-services-gkehub/v2alpha/2.0.0/com/google/api/services/gkehub/v2alpha/model/WorkloadIdentityState.java new file mode 100644 index 00000000000..7e601b220e2 --- /dev/null +++ b/clients/google-api-services-gkehub/v2alpha/2.0.0/com/google/api/services/gkehub/v2alpha/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.v2alpha.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/v2alpha/2.0.0/pom.xml b/clients/google-api-services-gkehub/v2alpha/2.0.0/pom.xml index d4cd956934c..c15a2f17141 100644 --- a/clients/google-api-services-gkehub/v2alpha/2.0.0/pom.xml +++ b/clients/google-api-services-gkehub/v2alpha/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-gkehub - v2alpha-rev20260119-2.0.0 - GKE Hub API v2alpha-rev20260119-2.0.0 + v2alpha-rev20260126-2.0.0 + GKE Hub API v2alpha-rev20260126-2.0.0 jar 2011 diff --git a/clients/google-api-services-gkehub/v2alpha/README.md b/clients/google-api-services-gkehub/v2alpha/README.md index 204f4cf6b73..8f2bb33a05d 100644 --- a/clients/google-api-services-gkehub/v2alpha/README.md +++ b/clients/google-api-services-gkehub/v2alpha/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-gkehub - v2alpha-rev20260119-2.0.0 + v2alpha-rev20260126-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-gkehub:v2alpha-rev20260119-2.0.0' + implementation 'com.google.apis:google-api-services-gkehub:v2alpha-rev20260126-2.0.0' } ```