From 9b90efc04cb2efe7ad9a9123708f74bc1d582e3b Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 13 Jun 2026 18:48:40 -0700 Subject: [PATCH] chore: regenerate vmwareengine client --- .../v1/2.0.0/README.md | 4 +- .../v1/model/EncryptionConfig.java | 105 ++++++++++++++++++ .../vmwareengine/v1/model/PrivateCloud.java | 27 +++++ .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- 5 files changed, 138 insertions(+), 6 deletions(-) create mode 100644 clients/google-api-services-vmwareengine/v1/2.0.0/com/google/api/services/vmwareengine/v1/model/EncryptionConfig.java diff --git a/clients/google-api-services-vmwareengine/v1/2.0.0/README.md b/clients/google-api-services-vmwareengine/v1/2.0.0/README.md index c7f6bc117ae..0a87a2224ac 100644 --- a/clients/google-api-services-vmwareengine/v1/2.0.0/README.md +++ b/clients/google-api-services-vmwareengine/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-vmwareengine - v1-rev20260518-2.0.0 + v1-rev20260608-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-vmwareengine:v1-rev20260518-2.0.0' + implementation 'com.google.apis:google-api-services-vmwareengine:v1-rev20260608-2.0.0' } ``` diff --git a/clients/google-api-services-vmwareengine/v1/2.0.0/com/google/api/services/vmwareengine/v1/model/EncryptionConfig.java b/clients/google-api-services-vmwareengine/v1/2.0.0/com/google/api/services/vmwareengine/v1/model/EncryptionConfig.java new file mode 100644 index 00000000000..e270374fe25 --- /dev/null +++ b/clients/google-api-services-vmwareengine/v1/2.0.0/com/google/api/services/vmwareengine/v1/model/EncryptionConfig.java @@ -0,0 +1,105 @@ +/* + * 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.vmwareengine.v1.model; + +/** + * Encryption configuration for a private cloud. + * + *

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 VMware Engine 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 EncryptionConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. The resource name of the Cloud KMS key to be used for CMEK encryption. The format of + * this field is + * `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The key + * must be in the same region as the private cloud. This key is used for wrapping the key- + * encrypting key of vSAN clusters. This field must be provided when `type` is `CMEK` or + * `LEGACY_CMEK`, and must not be set when `type` is `OTHER`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String cryptoKeyName; + + /** + * Required. The encryption type of the private cloud. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Optional. The resource name of the Cloud KMS key to be used for CMEK encryption. The format of + * this field is + * `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The key + * must be in the same region as the private cloud. This key is used for wrapping the key- + * encrypting key of vSAN clusters. This field must be provided when `type` is `CMEK` or + * `LEGACY_CMEK`, and must not be set when `type` is `OTHER`. + * @return value or {@code null} for none + */ + public java.lang.String getCryptoKeyName() { + return cryptoKeyName; + } + + /** + * Optional. The resource name of the Cloud KMS key to be used for CMEK encryption. The format of + * this field is + * `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The key + * must be in the same region as the private cloud. This key is used for wrapping the key- + * encrypting key of vSAN clusters. This field must be provided when `type` is `CMEK` or + * `LEGACY_CMEK`, and must not be set when `type` is `OTHER`. + * @param cryptoKeyName cryptoKeyName or {@code null} for none + */ + public EncryptionConfig setCryptoKeyName(java.lang.String cryptoKeyName) { + this.cryptoKeyName = cryptoKeyName; + return this; + } + + /** + * Required. The encryption type of the private cloud. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Required. The encryption type of the private cloud. + * @param type type or {@code null} for none + */ + public EncryptionConfig setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public EncryptionConfig set(String fieldName, Object value) { + return (EncryptionConfig) super.set(fieldName, value); + } + + @Override + public EncryptionConfig clone() { + return (EncryptionConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-vmwareengine/v1/2.0.0/com/google/api/services/vmwareengine/v1/model/PrivateCloud.java b/clients/google-api-services-vmwareengine/v1/2.0.0/com/google/api/services/vmwareengine/v1/model/PrivateCloud.java index ee00bac97a5..ae70a487ee8 100644 --- a/clients/google-api-services-vmwareengine/v1/2.0.0/com/google/api/services/vmwareengine/v1/model/PrivateCloud.java +++ b/clients/google-api-services-vmwareengine/v1/2.0.0/com/google/api/services/vmwareengine/v1/model/PrivateCloud.java @@ -51,6 +51,14 @@ public final class PrivateCloud extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String description; + /** + * Optional. Encryption configuration for the private cloud. If this field is left unspecified, + * Google default encryption is used. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EncryptionConfig encryptionConfig; + /** * Output only. Time when the resource will be irreversibly deleted. * The value may be {@code null}. @@ -184,6 +192,25 @@ public PrivateCloud setDescription(java.lang.String description) { return this; } + /** + * Optional. Encryption configuration for the private cloud. If this field is left unspecified, + * Google default encryption is used. + * @return value or {@code null} for none + */ + public EncryptionConfig getEncryptionConfig() { + return encryptionConfig; + } + + /** + * Optional. Encryption configuration for the private cloud. If this field is left unspecified, + * Google default encryption is used. + * @param encryptionConfig encryptionConfig or {@code null} for none + */ + public PrivateCloud setEncryptionConfig(EncryptionConfig encryptionConfig) { + this.encryptionConfig = encryptionConfig; + return this; + } + /** * Output only. Time when the resource will be irreversibly deleted. * @return value or {@code null} for none diff --git a/clients/google-api-services-vmwareengine/v1/2.0.0/pom.xml b/clients/google-api-services-vmwareengine/v1/2.0.0/pom.xml index efa9543f219..e7b6cbe8845 100644 --- a/clients/google-api-services-vmwareengine/v1/2.0.0/pom.xml +++ b/clients/google-api-services-vmwareengine/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-vmwareengine - v1-rev20260518-2.0.0 - VMware Engine API v1-rev20260518-2.0.0 + v1-rev20260608-2.0.0 + VMware Engine API v1-rev20260608-2.0.0 jar 2011 diff --git a/clients/google-api-services-vmwareengine/v1/README.md b/clients/google-api-services-vmwareengine/v1/README.md index c7f6bc117ae..0a87a2224ac 100644 --- a/clients/google-api-services-vmwareengine/v1/README.md +++ b/clients/google-api-services-vmwareengine/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-vmwareengine - v1-rev20260518-2.0.0 + v1-rev20260608-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-vmwareengine:v1-rev20260518-2.0.0' + implementation 'com.google.apis:google-api-services-vmwareengine:v1-rev20260608-2.0.0' } ```