Skip to content

Commit 4e42643

Browse files
1 parent be1b32a commit 4e42643

32 files changed

+2224
-18
lines changed

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

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
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.container.model;
18+
19+
/**
20+
* CertificateConfig configures certificate for the 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 Kubernetes Engine API. For a detailed explanation
24+
* see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class CertificateConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The URI configures a secret from [Secret Manager](https://cloud.google.com/secret-manager) in
35+
* the format "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION" for global secret or
36+
* "projects/$PROJECT_ID/locations/$REGION/secrets/$SECRET_NAME/versions/$VERSION" for regional
37+
* secret. Version can be fixed (e.g. "2") or "latest"
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.lang.String gcpSecretManagerSecretUri;
42+
43+
/**
44+
* The URI configures a secret from [Secret Manager](https://cloud.google.com/secret-manager) in
45+
* the format "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION" for global secret or
46+
* "projects/$PROJECT_ID/locations/$REGION/secrets/$SECRET_NAME/versions/$VERSION" for regional
47+
* secret. Version can be fixed (e.g. "2") or "latest"
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getGcpSecretManagerSecretUri() {
51+
return gcpSecretManagerSecretUri;
52+
}
53+
54+
/**
55+
* The URI configures a secret from [Secret Manager](https://cloud.google.com/secret-manager) in
56+
* the format "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION" for global secret or
57+
* "projects/$PROJECT_ID/locations/$REGION/secrets/$SECRET_NAME/versions/$VERSION" for regional
58+
* secret. Version can be fixed (e.g. "2") or "latest"
59+
* @param gcpSecretManagerSecretUri gcpSecretManagerSecretUri or {@code null} for none
60+
*/
61+
public CertificateConfig setGcpSecretManagerSecretUri(java.lang.String gcpSecretManagerSecretUri) {
62+
this.gcpSecretManagerSecretUri = gcpSecretManagerSecretUri;
63+
return this;
64+
}
65+
66+
@Override
67+
public CertificateConfig set(String fieldName, Object value) {
68+
return (CertificateConfig) super.set(fieldName, value);
69+
}
70+
71+
@Override
72+
public CertificateConfig clone() {
73+
return (CertificateConfig) super.clone();
74+
}
75+
76+
}
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
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.container.model;
18+
19+
/**
20+
* CertificateConfigPair configures pairs of certificates, which is used for client certificate and
21+
* key pairs under a registry.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation
25+
* see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class CertificateConfigPair extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Cert configures the client certificate.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private CertificateConfig cert;
40+
41+
/**
42+
* Key configures the client private key. Optional.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private CertificateConfig key;
47+
48+
/**
49+
* Cert configures the client certificate.
50+
* @return value or {@code null} for none
51+
*/
52+
public CertificateConfig getCert() {
53+
return cert;
54+
}
55+
56+
/**
57+
* Cert configures the client certificate.
58+
* @param cert cert or {@code null} for none
59+
*/
60+
public CertificateConfigPair setCert(CertificateConfig cert) {
61+
this.cert = cert;
62+
return this;
63+
}
64+
65+
/**
66+
* Key configures the client private key. Optional.
67+
* @return value or {@code null} for none
68+
*/
69+
public CertificateConfig getKey() {
70+
return key;
71+
}
72+
73+
/**
74+
* Key configures the client private key. Optional.
75+
* @param key key or {@code null} for none
76+
*/
77+
public CertificateConfigPair setKey(CertificateConfig key) {
78+
this.key = key;
79+
return this;
80+
}
81+
82+
@Override
83+
public CertificateConfigPair set(String fieldName, Object value) {
84+
return (CertificateConfigPair) super.set(fieldName, value);
85+
}
86+
87+
@Override
88+
public CertificateConfigPair clone() {
89+
return (CertificateConfigPair) super.clone();
90+
}
91+
92+
}

clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/ContainerdConfig.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ public final class ContainerdConfig extends com.google.api.client.json.GenericJs
3838
@com.google.api.client.util.Key
3939
private PrivateRegistryAccessConfig privateRegistryAccessConfig;
4040

41+
/**
42+
* RegistryHostConfig configures containerd registry host configuration. Each registry_hosts
43+
* represents a hosts.toml file. At most 25 registry_hosts are allowed.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.util.List<RegistryHostConfig> registryHosts;
48+
4149
/**
4250
* Optional. WritableCgroups defines writable cgroups configuration for the node pool.
4351
* The value may be {@code null}.
@@ -64,6 +72,25 @@ public ContainerdConfig setPrivateRegistryAccessConfig(PrivateRegistryAccessConf
6472
return this;
6573
}
6674

75+
/**
76+
* RegistryHostConfig configures containerd registry host configuration. Each registry_hosts
77+
* represents a hosts.toml file. At most 25 registry_hosts are allowed.
78+
* @return value or {@code null} for none
79+
*/
80+
public java.util.List<RegistryHostConfig> getRegistryHosts() {
81+
return registryHosts;
82+
}
83+
84+
/**
85+
* RegistryHostConfig configures containerd registry host configuration. Each registry_hosts
86+
* represents a hosts.toml file. At most 25 registry_hosts are allowed.
87+
* @param registryHosts registryHosts or {@code null} for none
88+
*/
89+
public ContainerdConfig setRegistryHosts(java.util.List<RegistryHostConfig> registryHosts) {
90+
this.registryHosts = registryHosts;
91+
return this;
92+
}
93+
6794
/**
6895
* Optional. WritableCgroups defines writable cgroups configuration for the node pool.
6996
* @return value or {@code null} for none

0 commit comments

Comments
 (0)