Skip to content

Commit bb0f8eb

Browse files
1 parent a70874d commit bb0f8eb

File tree

6 files changed

+153
-6
lines changed

6 files changed

+153
-6
lines changed

clients/google-api-services-gkeonprem/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-gkeonprem</artifactId>
25-
<version>v1-rev20250423-2.0.0</version>
25+
<version>v1-rev20250519-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-gkeonprem:v1-rev20250423-2.0.0'
38+
implementation 'com.google.apis:google-api-services-gkeonprem:v1-rev20250519-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-gkeonprem/v1/2.0.0/com/google/api/services/gkeonprem/v1/model/EnrollBareMetalClusterRequest.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ public final class EnrollBareMetalClusterRequest extends com.google.api.client.j
5858
@com.google.api.client.util.Key
5959
private java.lang.String localName;
6060

61+
/**
62+
* Optional. The namespace of the cluster.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private java.lang.String localNamespace;
67+
6168
/**
6269
* Required. The admin cluster this bare metal user cluster belongs to. This is the full resource
6370
* name of the admin cluster's fleet membership. In the future, references to other resource types
@@ -125,6 +132,23 @@ public EnrollBareMetalClusterRequest setLocalName(java.lang.String localName) {
125132
return this;
126133
}
127134

135+
/**
136+
* Optional. The namespace of the cluster.
137+
* @return value or {@code null} for none
138+
*/
139+
public java.lang.String getLocalNamespace() {
140+
return localNamespace;
141+
}
142+
143+
/**
144+
* Optional. The namespace of the cluster.
145+
* @param localNamespace localNamespace or {@code null} for none
146+
*/
147+
public EnrollBareMetalClusterRequest setLocalNamespace(java.lang.String localNamespace) {
148+
this.localNamespace = localNamespace;
149+
return this;
150+
}
151+
128152
@Override
129153
public EnrollBareMetalClusterRequest set(String fieldName, Object value) {
130154
return (EnrollBareMetalClusterRequest) super.set(fieldName, value);

clients/google-api-services-gkeonprem/v1/2.0.0/com/google/api/services/gkeonprem/v1/model/VmwareAdminCluster.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,13 @@ public final class VmwareAdminCluster extends com.google.api.client.json.Generic
189189
@com.google.api.client.util.Key
190190
private VmwareAdminPreparedSecretsConfig preparedSecrets;
191191

192+
/**
193+
* Configuration for registry.
194+
* The value may be {@code null}.
195+
*/
196+
@com.google.api.client.util.Key
197+
private VmwareAdminPrivateRegistryConfig privateRegistryConfig;
198+
192199
/**
193200
* Output only. If set, there are currently changes in flight to the VMware admin cluster.
194201
* The value may be {@code null}.
@@ -621,6 +628,23 @@ public VmwareAdminCluster setPreparedSecrets(VmwareAdminPreparedSecretsConfig pr
621628
return this;
622629
}
623630

631+
/**
632+
* Configuration for registry.
633+
* @return value or {@code null} for none
634+
*/
635+
public VmwareAdminPrivateRegistryConfig getPrivateRegistryConfig() {
636+
return privateRegistryConfig;
637+
}
638+
639+
/**
640+
* Configuration for registry.
641+
* @param privateRegistryConfig privateRegistryConfig or {@code null} for none
642+
*/
643+
public VmwareAdminCluster setPrivateRegistryConfig(VmwareAdminPrivateRegistryConfig privateRegistryConfig) {
644+
this.privateRegistryConfig = privateRegistryConfig;
645+
return this;
646+
}
647+
624648
/**
625649
* Output only. If set, there are currently changes in flight to the VMware admin cluster.
626650
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
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.gkeonprem.v1.model;
18+
19+
/**
20+
* VmwareAdminPrivateRegistryConfig represents configuration for admin cluster registry.
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 GKE On-Prem 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 VmwareAdminPrivateRegistryConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The registry address.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String address;
38+
39+
/**
40+
* When the container runtime pulls an image from private registry, the registry must prove its
41+
* identity by presenting a certificate. The registry's certificate is signed by a certificate
42+
* authority (CA). The container runtime uses the CA's certificate to validate the registry's
43+
* certificate.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String caCert;
48+
49+
/**
50+
* The registry address.
51+
* @return value or {@code null} for none
52+
*/
53+
public java.lang.String getAddress() {
54+
return address;
55+
}
56+
57+
/**
58+
* The registry address.
59+
* @param address address or {@code null} for none
60+
*/
61+
public VmwareAdminPrivateRegistryConfig setAddress(java.lang.String address) {
62+
this.address = address;
63+
return this;
64+
}
65+
66+
/**
67+
* When the container runtime pulls an image from private registry, the registry must prove its
68+
* identity by presenting a certificate. The registry's certificate is signed by a certificate
69+
* authority (CA). The container runtime uses the CA's certificate to validate the registry's
70+
* certificate.
71+
* @return value or {@code null} for none
72+
*/
73+
public java.lang.String getCaCert() {
74+
return caCert;
75+
}
76+
77+
/**
78+
* When the container runtime pulls an image from private registry, the registry must prove its
79+
* identity by presenting a certificate. The registry's certificate is signed by a certificate
80+
* authority (CA). The container runtime uses the CA's certificate to validate the registry's
81+
* certificate.
82+
* @param caCert caCert or {@code null} for none
83+
*/
84+
public VmwareAdminPrivateRegistryConfig setCaCert(java.lang.String caCert) {
85+
this.caCert = caCert;
86+
return this;
87+
}
88+
89+
@Override
90+
public VmwareAdminPrivateRegistryConfig set(String fieldName, Object value) {
91+
return (VmwareAdminPrivateRegistryConfig) super.set(fieldName, value);
92+
}
93+
94+
@Override
95+
public VmwareAdminPrivateRegistryConfig clone() {
96+
return (VmwareAdminPrivateRegistryConfig) super.clone();
97+
}
98+
99+
}

clients/google-api-services-gkeonprem/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-gkeonprem</artifactId>
11-
<version>v1-rev20250423-2.0.0</version>
12-
<name>GKE On-Prem API v1-rev20250423-2.0.0</name>
11+
<version>v1-rev20250519-2.0.0</version>
12+
<name>GKE On-Prem API v1-rev20250519-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-gkeonprem/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-gkeonprem</artifactId>
25-
<version>v1-rev20250423-2.0.0</version>
25+
<version>v1-rev20250519-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-gkeonprem:v1-rev20250423-2.0.0'
38+
implementation 'com.google.apis:google-api-services-gkeonprem:v1-rev20250519-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)