Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-vmwareengine/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-vmwareengine</artifactId>
<version>v1-rev20260518-2.0.0</version>
<version>v1-rev20260608-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-vmwareengine/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-vmwareengine</artifactId>
<version>v1-rev20260518-2.0.0</version>
<name>VMware Engine API v1-rev20260518-2.0.0</name>
<version>v1-rev20260608-2.0.0</version>
<name>VMware Engine API v1-rev20260608-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-vmwareengine/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-vmwareengine</artifactId>
<version>v1-rev20260518-2.0.0</version>
<version>v1-rev20260608-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Loading