Skip to content

Commit 597641b

Browse files
1 parent db711d0 commit 597641b

File tree

7 files changed

+130
-6
lines changed

7 files changed

+130
-6
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-rev20260227-2.0.0</version>
25+
<version>v1-rev20260309-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-rev20260227-2.0.0'
38+
implementation 'com.google.apis:google-api-services-backupdr:v1-rev20260309-2.0.0'
3939
}
4040
```
4141

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
@@ -72,6 +72,14 @@ public final class BackupPlan extends com.google.api.client.json.GenericJson {
7272
@com.google.api.client.util.Key
7373
private java.lang.String description;
7474

75+
/**
76+
* Optional. Defines optional properties specific to backups of disk-based resources, such as
77+
* Compute Engine Persistent Disks. This includes settings like whether to perform a guest flush.
78+
* The value may be {@code null}.
79+
*/
80+
@com.google.api.client.util.Key
81+
private DiskBackupPlanProperties diskBackupPlanProperties;
82+
7583
/**
7684
* Optional. `etag` is returned from the service in the response. As a user of the service, you
7785
* may provide an etag value in this field to prevent stale resources.
@@ -255,6 +263,25 @@ public BackupPlan setDescription(java.lang.String description) {
255263
return this;
256264
}
257265

266+
/**
267+
* Optional. Defines optional properties specific to backups of disk-based resources, such as
268+
* Compute Engine Persistent Disks. This includes settings like whether to perform a guest flush.
269+
* @return value or {@code null} for none
270+
*/
271+
public DiskBackupPlanProperties getDiskBackupPlanProperties() {
272+
return diskBackupPlanProperties;
273+
}
274+
275+
/**
276+
* Optional. Defines optional properties specific to backups of disk-based resources, such as
277+
* Compute Engine Persistent Disks. This includes settings like whether to perform a guest flush.
278+
* @param diskBackupPlanProperties diskBackupPlanProperties or {@code null} for none
279+
*/
280+
public BackupPlan setDiskBackupPlanProperties(DiskBackupPlanProperties diskBackupPlanProperties) {
281+
this.diskBackupPlanProperties = diskBackupPlanProperties;
282+
return this;
283+
}
284+
258285
/**
259286
* Optional. `etag` is returned from the service in the response. As a user of the service, you
260287
* may provide an etag value in this field to prevent stale resources.
Lines changed: 70 additions & 0 deletions
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+
* --- DiskBackupPlanProperties 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 DiskBackupPlanProperties extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Indicates whether to perform a guest flush operation before taking a disk 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 disk 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 disk 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 DiskBackupPlanProperties setGuestFlush(java.lang.Boolean guestFlush) {
56+
this.guestFlush = guestFlush;
57+
return this;
58+
}
59+
60+
@Override
61+
public DiskBackupPlanProperties set(String fieldName, Object value) {
62+
return (DiskBackupPlanProperties) super.set(fieldName, value);
63+
}
64+
65+
@Override
66+
public DiskBackupPlanProperties clone() {
67+
return (DiskBackupPlanProperties) super.clone();
68+
}
69+
70+
}

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

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

61+
/**
62+
* Optional. Defines if the guest flush is enabled for the source disk. Default value is false.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private java.lang.Boolean guestFlush;
67+
6168
/**
6269
* A list of guest OS features that are applicable to this backup.
6370
* The value may be {@code null}.
@@ -218,6 +225,23 @@ public DiskBackupProperties setEnableConfidentialCompute(java.lang.Boolean enabl
218225
return this;
219226
}
220227

228+
/**
229+
* Optional. Defines if the guest flush is enabled for the source disk. Default value is false.
230+
* @return value or {@code null} for none
231+
*/
232+
public java.lang.Boolean getGuestFlush() {
233+
return guestFlush;
234+
}
235+
236+
/**
237+
* Optional. Defines if the guest flush is enabled for the source disk. Default value is false.
238+
* @param guestFlush guestFlush or {@code null} for none
239+
*/
240+
public DiskBackupProperties setGuestFlush(java.lang.Boolean guestFlush) {
241+
this.guestFlush = guestFlush;
242+
return this;
243+
}
244+
221245
/**
222246
* A list of guest OS features that are applicable to this backup.
223247
* @return value or {@code null} for none

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,22 @@
3131
public final class LocationMetadata extends com.google.api.client.json.GenericJson {
3232

3333
/**
34+
* List of features that are not supported in the location.
3435
* The value may be {@code null}.
3536
*/
3637
@com.google.api.client.util.Key
3738
private java.util.List<java.lang.String> unsupportedFeatures;
3839

3940
/**
41+
* List of features that are not supported in the location.
4042
* @return value or {@code null} for none
4143
*/
4244
public java.util.List<java.lang.String> getUnsupportedFeatures() {
4345
return unsupportedFeatures;
4446
}
4547

4648
/**
49+
* List of features that are not supported in the location.
4750
* @param unsupportedFeatures unsupportedFeatures or {@code null} for none
4851
*/
4952
public LocationMetadata setUnsupportedFeatures(java.util.List<java.lang.String> unsupportedFeatures) {

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-rev20260227-2.0.0</version>
12-
<name>Backup and DR Service API v1-rev20260227-2.0.0</name>
11+
<version>v1-rev20260309-2.0.0</version>
12+
<name>Backup and DR Service API v1-rev20260309-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-rev20260227-2.0.0</version>
25+
<version>v1-rev20260309-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-rev20260227-2.0.0'
38+
implementation 'com.google.apis:google-api-services-backupdr:v1-rev20260309-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)