Skip to content

Commit c239f60

Browse files
1 parent 214ea13 commit c239f60

8 files changed

Lines changed: 157 additions & 11 deletions

File tree

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

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

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class BackupforGKE extends com.google.api.client.googleapis.services.json
103103
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
104104
* <li>Android: {@code newCompatibleTransport} from
105105
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
106-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
106+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
107107
* </li>
108108
* </ul>
109109
* @param jsonFactory JSON factory, which may be:
@@ -312,7 +312,10 @@ public Get set(String parameterName, Object value) {
312312
}
313313
}
314314
/**
315-
* Lists information about the supported locations for this service.
315+
* Lists information about the supported locations for this service. This method can be called in
316+
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
317+
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
318+
* public locations as well as private or other locations specifically visible to the project.
316319
*
317320
* Create a request for the method "locations.list".
318321
*
@@ -336,7 +339,10 @@ public class List extends BackupforGKERequest<com.google.api.services.gkebackup.
336339
java.util.regex.Pattern.compile("^projects/[^/]+$");
337340

338341
/**
339-
* Lists information about the supported locations for this service.
342+
* Lists information about the supported locations for this service. This method can be called in
343+
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
344+
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
345+
* public locations as well as private or other locations specifically visible to the project.
340346
*
341347
* Create a request for the method "locations.list".
342348
*
@@ -12032,8 +12038,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
1203212038
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
1203312039
* <li>Android: {@code newCompatibleTransport} from
1203412040
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
12035-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
12036-
* </li>
12041+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
1203712042
* </ul>
1203812043
* @param jsonFactory JSON factory, which may be:
1203912044
* <ul>

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,13 @@ public final class Backup extends com.google.api.client.json.GenericJson {
151151
@com.google.api.client.util.Key
152152
private java.lang.String name;
153153

154+
/**
155+
* Output only. The total number of user managed namespaces contained in the Backup.
156+
* The value may be {@code null}.
157+
*/
158+
@com.google.api.client.util.Key
159+
private java.lang.Integer namespaceCount;
160+
154161
/**
155162
* Output only. If false, Backup will fail when Backup for GKE detects Kubernetes configuration
156163
* that is non-standard or requires additional setup to restore. Inherited from the parent
@@ -568,6 +575,23 @@ public Backup setName(java.lang.String name) {
568575
return this;
569576
}
570577

578+
/**
579+
* Output only. The total number of user managed namespaces contained in the Backup.
580+
* @return value or {@code null} for none
581+
*/
582+
public java.lang.Integer getNamespaceCount() {
583+
return namespaceCount;
584+
}
585+
586+
/**
587+
* Output only. The total number of user managed namespaces contained in the Backup.
588+
* @param namespaceCount namespaceCount or {@code null} for none
589+
*/
590+
public Backup setNamespaceCount(java.lang.Integer namespaceCount) {
591+
this.namespaceCount = namespaceCount;
592+
return this;
593+
}
594+
571595
/**
572596
* Output only. If false, Backup will fail when Backup for GKE detects Kubernetes configuration
573597
* that is non-standard or requires additional setup to restore. Inherited from the parent

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,14 @@ public final class BackupPlan extends com.google.api.client.json.GenericJson {
121121
@com.google.api.client.util.Key
122122
private java.lang.String name;
123123

124+
/**
125+
* Output only. The number of user managed namespaces backed up in the last successful Backup
126+
* created via this BackupPlan.
127+
* The value may be {@code null}.
128+
*/
129+
@com.google.api.client.util.Key
130+
private java.lang.Integer protectedNamespaceCount;
131+
124132
/**
125133
* Output only. The number of Kubernetes Pods backed up in the last successful Backup created via
126134
* this BackupPlan.
@@ -402,6 +410,25 @@ public BackupPlan setName(java.lang.String name) {
402410
return this;
403411
}
404412

413+
/**
414+
* Output only. The number of user managed namespaces backed up in the last successful Backup
415+
* created via this BackupPlan.
416+
* @return value or {@code null} for none
417+
*/
418+
public java.lang.Integer getProtectedNamespaceCount() {
419+
return protectedNamespaceCount;
420+
}
421+
422+
/**
423+
* Output only. The number of user managed namespaces backed up in the last successful Backup
424+
* created via this BackupPlan.
425+
* @param protectedNamespaceCount protectedNamespaceCount or {@code null} for none
426+
*/
427+
public BackupPlan setProtectedNamespaceCount(java.lang.Integer protectedNamespaceCount) {
428+
this.protectedNamespaceCount = protectedNamespaceCount;
429+
return this;
430+
}
431+
405432
/**
406433
* Output only. The number of Kubernetes Pods backed up in the last successful Backup created via
407434
* this BackupPlan.
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
* Request message for GetTags.
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 GetTagsRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The full resource name of the service resource.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String name;
38+
39+
/**
40+
* Required. The full resource name of the service resource.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getName() {
44+
return name;
45+
}
46+
47+
/**
48+
* Required. The full resource name of the service resource.
49+
* @param name name or {@code null} for none
50+
*/
51+
public GetTagsRequest setName(java.lang.String name) {
52+
this.name = name;
53+
return this;
54+
}
55+
56+
@Override
57+
public GetTagsRequest set(String fieldName, Object value) {
58+
return (GetTagsRequest) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GetTagsRequest clone() {
63+
return (GetTagsRequest) super.clone();
64+
}
65+
66+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class SetTagsRequest extends com.google.api.client.json.GenericJson
3737
@com.google.api.client.util.Key
3838
private java.lang.String etag;
3939

40+
/**
41+
* Required. The full resource name of the service resource.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String name;
46+
4047
/**
4148
* Optional. A unique identifier for this request. Must be a valid UUID. This request is only
4249
* idempotent if a `request_id` is provided.
@@ -73,6 +80,23 @@ public SetTagsRequest setEtag(java.lang.String etag) {
7380
return this;
7481
}
7582

83+
/**
84+
* Required. The full resource name of the service resource.
85+
* @return value or {@code null} for none
86+
*/
87+
public java.lang.String getName() {
88+
return name;
89+
}
90+
91+
/**
92+
* Required. The full resource name of the service resource.
93+
* @param name name or {@code null} for none
94+
*/
95+
public SetTagsRequest setName(java.lang.String name) {
96+
this.name = name;
97+
return this;
98+
}
99+
76100
/**
77101
* Optional. A unique identifier for this request. Must be a valid UUID. This request is only
78102
* idempotent if a `request_id` is provided.

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-rev20260120-2.0.0</version>
12-
<name>Backup for GKE API v1-rev20260120-2.0.0</name>
11+
<version>v1-rev20260213-2.0.0</version>
12+
<name>Backup for GKE API v1-rev20260213-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-rev20260120-2.0.0</version>
25+
<version>v1-rev20260213-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-rev20260120-2.0.0'
38+
implementation 'com.google.apis:google-api-services-gkebackup:v1-rev20260213-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)