Skip to content

Commit fe469ea

Browse files
1 parent 67de403 commit fe469ea

5 files changed

Lines changed: 138 additions & 6 deletions

File tree

clients/google-api-services-vmwareengine/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-vmwareengine</artifactId>
25-
<version>v1-rev20260518-2.0.0</version>
25+
<version>v1-rev20260608-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-vmwareengine:v1-rev20260518-2.0.0'
38+
implementation 'com.google.apis:google-api-services-vmwareengine:v1-rev20260608-2.0.0'
3939
}
4040
```
4141

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.vmwareengine.v1.model;
18+
19+
/**
20+
* Encryption configuration for a private cloud.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the VMware Engine API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class EncryptionConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The resource name of the Cloud KMS key to be used for CMEK encryption. The format of
34+
* this field is
35+
* `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The key
36+
* must be in the same region as the private cloud. This key is used for wrapping the key-
37+
* encrypting key of vSAN clusters. This field must be provided when `type` is `CMEK` or
38+
* `LEGACY_CMEK`, and must not be set when `type` is `OTHER`.
39+
* The value may be {@code null}.
40+
*/
41+
@com.google.api.client.util.Key
42+
private java.lang.String cryptoKeyName;
43+
44+
/**
45+
* Required. The encryption type of the private cloud.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.String type;
50+
51+
/**
52+
* Optional. The resource name of the Cloud KMS key to be used for CMEK encryption. The format of
53+
* this field is
54+
* `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The key
55+
* must be in the same region as the private cloud. This key is used for wrapping the key-
56+
* encrypting key of vSAN clusters. This field must be provided when `type` is `CMEK` or
57+
* `LEGACY_CMEK`, and must not be set when `type` is `OTHER`.
58+
* @return value or {@code null} for none
59+
*/
60+
public java.lang.String getCryptoKeyName() {
61+
return cryptoKeyName;
62+
}
63+
64+
/**
65+
* Optional. The resource name of the Cloud KMS key to be used for CMEK encryption. The format of
66+
* this field is
67+
* `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The key
68+
* must be in the same region as the private cloud. This key is used for wrapping the key-
69+
* encrypting key of vSAN clusters. This field must be provided when `type` is `CMEK` or
70+
* `LEGACY_CMEK`, and must not be set when `type` is `OTHER`.
71+
* @param cryptoKeyName cryptoKeyName or {@code null} for none
72+
*/
73+
public EncryptionConfig setCryptoKeyName(java.lang.String cryptoKeyName) {
74+
this.cryptoKeyName = cryptoKeyName;
75+
return this;
76+
}
77+
78+
/**
79+
* Required. The encryption type of the private cloud.
80+
* @return value or {@code null} for none
81+
*/
82+
public java.lang.String getType() {
83+
return type;
84+
}
85+
86+
/**
87+
* Required. The encryption type of the private cloud.
88+
* @param type type or {@code null} for none
89+
*/
90+
public EncryptionConfig setType(java.lang.String type) {
91+
this.type = type;
92+
return this;
93+
}
94+
95+
@Override
96+
public EncryptionConfig set(String fieldName, Object value) {
97+
return (EncryptionConfig) super.set(fieldName, value);
98+
}
99+
100+
@Override
101+
public EncryptionConfig clone() {
102+
return (EncryptionConfig) super.clone();
103+
}
104+
105+
}

clients/google-api-services-vmwareengine/v1/2.0.0/com/google/api/services/vmwareengine/v1/model/PrivateCloud.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ public final class PrivateCloud extends com.google.api.client.json.GenericJson {
5151
@com.google.api.client.util.Key
5252
private java.lang.String description;
5353

54+
/**
55+
* Optional. Encryption configuration for the private cloud. If this field is left unspecified,
56+
* Google default encryption is used.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private EncryptionConfig encryptionConfig;
61+
5462
/**
5563
* Output only. Time when the resource will be irreversibly deleted.
5664
* The value may be {@code null}.
@@ -184,6 +192,25 @@ public PrivateCloud setDescription(java.lang.String description) {
184192
return this;
185193
}
186194

195+
/**
196+
* Optional. Encryption configuration for the private cloud. If this field is left unspecified,
197+
* Google default encryption is used.
198+
* @return value or {@code null} for none
199+
*/
200+
public EncryptionConfig getEncryptionConfig() {
201+
return encryptionConfig;
202+
}
203+
204+
/**
205+
* Optional. Encryption configuration for the private cloud. If this field is left unspecified,
206+
* Google default encryption is used.
207+
* @param encryptionConfig encryptionConfig or {@code null} for none
208+
*/
209+
public PrivateCloud setEncryptionConfig(EncryptionConfig encryptionConfig) {
210+
this.encryptionConfig = encryptionConfig;
211+
return this;
212+
}
213+
187214
/**
188215
* Output only. Time when the resource will be irreversibly deleted.
189216
* @return value or {@code null} for none

clients/google-api-services-vmwareengine/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-vmwareengine</artifactId>
11-
<version>v1-rev20260518-2.0.0</version>
12-
<name>VMware Engine API v1-rev20260518-2.0.0</name>
11+
<version>v1-rev20260608-2.0.0</version>
12+
<name>VMware Engine API v1-rev20260608-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-vmwareengine/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-vmwareengine</artifactId>
25-
<version>v1-rev20260518-2.0.0</version>
25+
<version>v1-rev20260608-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-vmwareengine:v1-rev20260518-2.0.0'
38+
implementation 'com.google.apis:google-api-services-vmwareengine:v1-rev20260608-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)