Skip to content

Commit a322229

Browse files
1 parent c2c3215 commit a322229

File tree

7 files changed

+219
-6
lines changed

7 files changed

+219
-6
lines changed

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

clients/google-api-services-gkebackup/v1/2.0.0/com/google/api/services/gkebackup/v1/model/Backup.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,14 @@ public final class Backup extends com.google.api.client.json.GenericJson {
213213
@com.google.api.client.util.Key
214214
private NamespacedNames selectedApplications;
215215

216+
/**
217+
* Output only. If set, the list of labels whose constituent namespaces were included in the
218+
* Backup.
219+
* The value may be {@code null}.
220+
*/
221+
@com.google.api.client.util.Key
222+
private ResourceLabels selectedNamespaceLabels;
223+
216224
/**
217225
* Output only. If set, the list of namespaces that were included in the Backup.
218226
* The value may be {@code null}.
@@ -699,6 +707,25 @@ public Backup setSelectedApplications(NamespacedNames selectedApplications) {
699707
return this;
700708
}
701709

710+
/**
711+
* Output only. If set, the list of labels whose constituent namespaces were included in the
712+
* Backup.
713+
* @return value or {@code null} for none
714+
*/
715+
public ResourceLabels getSelectedNamespaceLabels() {
716+
return selectedNamespaceLabels;
717+
}
718+
719+
/**
720+
* Output only. If set, the list of labels whose constituent namespaces were included in the
721+
* Backup.
722+
* @param selectedNamespaceLabels selectedNamespaceLabels or {@code null} for none
723+
*/
724+
public Backup setSelectedNamespaceLabels(ResourceLabels selectedNamespaceLabels) {
725+
this.selectedNamespaceLabels = selectedNamespaceLabels;
726+
return this;
727+
}
728+
702729
/**
703730
* Output only. If set, the list of namespaces that were included in the Backup.
704731
* @return value or {@code null} for none

clients/google-api-services-gkebackup/v1/2.0.0/com/google/api/services/gkebackup/v1/model/BackupConfig.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,13 @@ public final class BackupConfig extends com.google.api.client.json.GenericJson {
7676
@com.google.api.client.util.Key
7777
private NamespacedNames selectedApplications;
7878

79+
/**
80+
* If set, the list of labels whose constituent namespaces were included in the Backup.
81+
* The value may be {@code null}.
82+
*/
83+
@com.google.api.client.util.Key
84+
private ResourceLabels selectedNamespaceLabels;
85+
7986
/**
8087
* If set, include just the resources in the listed namespaces.
8188
* The value may be {@code null}.
@@ -195,6 +202,23 @@ public BackupConfig setSelectedApplications(NamespacedNames selectedApplications
195202
return this;
196203
}
197204

205+
/**
206+
* If set, the list of labels whose constituent namespaces were included in the Backup.
207+
* @return value or {@code null} for none
208+
*/
209+
public ResourceLabels getSelectedNamespaceLabels() {
210+
return selectedNamespaceLabels;
211+
}
212+
213+
/**
214+
* If set, the list of labels whose constituent namespaces were included in the Backup.
215+
* @param selectedNamespaceLabels selectedNamespaceLabels or {@code null} for none
216+
*/
217+
public BackupConfig setSelectedNamespaceLabels(ResourceLabels selectedNamespaceLabels) {
218+
this.selectedNamespaceLabels = selectedNamespaceLabels;
219+
return this;
220+
}
221+
198222
/**
199223
* If set, include just the resources in the listed namespaces.
200224
* @return value or {@code null} for none
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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.gkebackup.v1.model;
18+
19+
/**
20+
* A single Kubernetes label-value pair.
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 Backup for GKE 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 Label extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The key/name of the label.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String key;
38+
39+
/**
40+
* Optional. The value of the label.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String value;
45+
46+
/**
47+
* Optional. The key/name of the label.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getKey() {
51+
return key;
52+
}
53+
54+
/**
55+
* Optional. The key/name of the label.
56+
* @param key key or {@code null} for none
57+
*/
58+
public Label setKey(java.lang.String key) {
59+
this.key = key;
60+
return this;
61+
}
62+
63+
/**
64+
* Optional. The value of the label.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getValue() {
68+
return value;
69+
}
70+
71+
/**
72+
* Optional. The value of the label.
73+
* @param value value or {@code null} for none
74+
*/
75+
public Label setValue(java.lang.String value) {
76+
this.value = value;
77+
return this;
78+
}
79+
80+
@Override
81+
public Label set(String fieldName, Object value) {
82+
return (Label) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public Label clone() {
87+
return (Label) super.clone();
88+
}
89+
90+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
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.gkebackup.v1.model;
18+
19+
/**
20+
* A list of Kubernetes labels.
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 Backup for GKE 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 ResourceLabels extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. A list of Kubernetes label-value pairs.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<Label> resourceLabels;
38+
39+
static {
40+
// hack to force ProGuard to consider Label used, since otherwise it would be stripped out
41+
// see https://github.com/google/google-api-java-client/issues/543
42+
com.google.api.client.util.Data.nullOf(Label.class);
43+
}
44+
45+
/**
46+
* Optional. A list of Kubernetes label-value pairs.
47+
* @return value or {@code null} for none
48+
*/
49+
public java.util.List<Label> getResourceLabels() {
50+
return resourceLabels;
51+
}
52+
53+
/**
54+
* Optional. A list of Kubernetes label-value pairs.
55+
* @param resourceLabels resourceLabels or {@code null} for none
56+
*/
57+
public ResourceLabels setResourceLabels(java.util.List<Label> resourceLabels) {
58+
this.resourceLabels = resourceLabels;
59+
return this;
60+
}
61+
62+
@Override
63+
public ResourceLabels set(String fieldName, Object value) {
64+
return (ResourceLabels) super.set(fieldName, value);
65+
}
66+
67+
@Override
68+
public ResourceLabels clone() {
69+
return (ResourceLabels) super.clone();
70+
}
71+
72+
}

clients/google-api-services-gkebackup/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-gkebackup</artifactId>
11-
<version>v1-rev20250514-2.0.0</version>
12-
<name>Backup for GKE API v1-rev20250514-2.0.0</name>
11+
<version>v1-rev20250528-2.0.0</version>
12+
<name>Backup for GKE API v1-rev20250528-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)