Skip to content

Commit 3ae1332

Browse files
1 parent 664c171 commit 3ae1332

File tree

7 files changed

+147
-14
lines changed

7 files changed

+147
-14
lines changed

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

clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/Backupdr.java

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -460,10 +460,14 @@ public GetTrial set(String parameterName, Object value) {
460460
}
461461
}
462462
/**
463-
* Lists information about the supported locations for this service. This method can be called in
464-
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
465-
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
466-
* public locations as well as private or other locations specifically visible to the project.
463+
* Lists information about the supported locations for this service. This method lists locations
464+
* based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
465+
* locations**: If `name` is empty, the method lists the public locations available to all projects.
466+
* * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
467+
* lists locations visible to that specific project. This includes public, private, or other
468+
* project-specific locations enabled for the project. For gRPC and client library implementations,
469+
* the resource name is passed as the `name` field. For direct service calls, the resource name is
470+
* incorporated into the request path based on the specific service implementation and version.
467471
*
468472
* Create a request for the method "locations.list".
469473
*
@@ -487,10 +491,15 @@ public class List extends BackupdrRequest<com.google.api.services.backupdr.v1.mo
487491
java.util.regex.Pattern.compile("^projects/[^/]+$");
488492

489493
/**
490-
* Lists information about the supported locations for this service. This method can be called in
491-
* two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
492-
* visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
493-
* public locations as well as private or other locations specifically visible to the project.
494+
* Lists information about the supported locations for this service. This method lists locations
495+
* based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
496+
* locations**: If `name` is empty, the method lists the public locations available to all
497+
* projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`,
498+
* the method lists locations visible to that specific project. This includes public, private, or
499+
* other project-specific locations enabled for the project. For gRPC and client library
500+
* implementations, the resource name is passed as the `name` field. For direct service calls, the
501+
* resource name is incorporated into the request path based on the specific service
502+
* implementation and version.
494503
*
495504
* Create a request for the method "locations.list".
496505
*

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ public final class BackupPlan extends com.google.api.client.json.GenericJson {
5555
@com.google.api.client.util.Key
5656
private java.lang.String backupVaultServiceAccount;
5757

58+
/**
59+
* Optional. Defines optional properties specific to backups of disk-based resources, such as
60+
* Compute Engine. This includes settings like whether to perform a guest flush.
61+
* The value may be {@code null}.
62+
*/
63+
@com.google.api.client.util.Key
64+
private ComputeInstanceBackupPlanProperties computeInstanceBackupPlanProperties;
65+
5866
/**
5967
* Output only. When the `BackupPlan` was created.
6068
* The value may be {@code null}.
@@ -223,6 +231,25 @@ public BackupPlan setBackupVaultServiceAccount(java.lang.String backupVaultServi
223231
return this;
224232
}
225233

234+
/**
235+
* Optional. Defines optional properties specific to backups of disk-based resources, such as
236+
* Compute Engine. This includes settings like whether to perform a guest flush.
237+
* @return value or {@code null} for none
238+
*/
239+
public ComputeInstanceBackupPlanProperties getComputeInstanceBackupPlanProperties() {
240+
return computeInstanceBackupPlanProperties;
241+
}
242+
243+
/**
244+
* Optional. Defines optional properties specific to backups of disk-based resources, such as
245+
* Compute Engine. This includes settings like whether to perform a guest flush.
246+
* @param computeInstanceBackupPlanProperties computeInstanceBackupPlanProperties or {@code null} for none
247+
*/
248+
public BackupPlan setComputeInstanceBackupPlanProperties(ComputeInstanceBackupPlanProperties computeInstanceBackupPlanProperties) {
249+
this.computeInstanceBackupPlanProperties = computeInstanceBackupPlanProperties;
250+
return this;
251+
}
252+
226253
/**
227254
* Output only. When the `BackupPlan` was created.
228255
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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.backupdr.v1.model;
18+
19+
/**
20+
* --- ComputeInstanceBackupPlanProperties Message ---
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 and DR Service 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 ComputeInstanceBackupPlanProperties extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Indicates whether to perform a guest flush operation before taking a compute backup.
35+
* When set to false, the system will create crash-consistent backups. Default value is false.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.Boolean guestFlush;
40+
41+
/**
42+
* Optional. Indicates whether to perform a guest flush operation before taking a compute backup.
43+
* When set to false, the system will create crash-consistent backups. Default value is false.
44+
* @return value or {@code null} for none
45+
*/
46+
public java.lang.Boolean getGuestFlush() {
47+
return guestFlush;
48+
}
49+
50+
/**
51+
* Optional. Indicates whether to perform a guest flush operation before taking a compute backup.
52+
* When set to false, the system will create crash-consistent backups. Default value is false.
53+
* @param guestFlush guestFlush or {@code null} for none
54+
*/
55+
public ComputeInstanceBackupPlanProperties setGuestFlush(java.lang.Boolean guestFlush) {
56+
this.guestFlush = guestFlush;
57+
return this;
58+
}
59+
60+
@Override
61+
public ComputeInstanceBackupPlanProperties set(String fieldName, Object value) {
62+
return (ComputeInstanceBackupPlanProperties) super.set(fieldName, value);
63+
}
64+
65+
@Override
66+
public ComputeInstanceBackupPlanProperties clone() {
67+
return (ComputeInstanceBackupPlanProperties) super.clone();
68+
}
69+
70+
}

clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/ComputeInstanceBackupProperties.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,14 @@ public final class ComputeInstanceBackupProperties extends com.google.api.client
7676
com.google.api.client.util.Data.nullOf(AcceleratorConfig.class);
7777
}
7878

79+
/**
80+
* Optional. Indicates whether to perform a guest flush operation before taking a compute backup.
81+
* When set to false, the system will create crash-consistent backups. Default value is false.
82+
* The value may be {@code null}.
83+
*/
84+
@com.google.api.client.util.Key
85+
private java.lang.Boolean guestFlush;
86+
7987
/**
8088
* KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default
8189
* value is "NONE" if it is not specified.
@@ -240,6 +248,25 @@ public ComputeInstanceBackupProperties setGuestAccelerator(java.util.List<Accele
240248
return this;
241249
}
242250

251+
/**
252+
* Optional. Indicates whether to perform a guest flush operation before taking a compute backup.
253+
* When set to false, the system will create crash-consistent backups. Default value is false.
254+
* @return value or {@code null} for none
255+
*/
256+
public java.lang.Boolean getGuestFlush() {
257+
return guestFlush;
258+
}
259+
260+
/**
261+
* Optional. Indicates whether to perform a guest flush operation before taking a compute backup.
262+
* When set to false, the system will create crash-consistent backups. Default value is false.
263+
* @param guestFlush guestFlush or {@code null} for none
264+
*/
265+
public ComputeInstanceBackupProperties setGuestFlush(java.lang.Boolean guestFlush) {
266+
this.guestFlush = guestFlush;
267+
return this;
268+
}
269+
243270
/**
244271
* KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default
245272
* value is "NONE" if it is not specified.

clients/google-api-services-backupdr/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-backupdr</artifactId>
11-
<version>v1-rev20260318-2.0.0</version>
12-
<name>Backup and DR Service API v1-rev20260318-2.0.0</name>
11+
<version>v1-rev20260325-2.0.0</version>
12+
<name>Backup and DR Service API v1-rev20260325-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)