Skip to content

Commit 65a5177

Browse files
1 parent 6837c3b commit 65a5177

File tree

6 files changed

+72
-12
lines changed

6 files changed

+72
-12
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-rev20251015-2.0.0</version>
25+
<version>v1-rev20251022-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-rev20251015-2.0.0'
38+
implementation 'com.google.apis:google-api-services-backupdr:v1-rev20251022-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: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -593,22 +593,22 @@ public List setName(java.lang.String name) {
593593
}
594594

595595
/**
596-
* Optional. Unless explicitly documented otherwise, don't use this unsupported field which
597-
* is primarily intended for internal usage.
596+
* Optional. Do not use this field. It is unsupported and is ignored unless explicitly
597+
* documented otherwise. This is primarily for internal usage.
598598
*/
599599
@com.google.api.client.util.Key
600600
private java.util.List<java.lang.String> extraLocationTypes;
601601

602-
/** Optional. Unless explicitly documented otherwise, don't use this unsupported field which is
603-
primarily intended for internal usage.
602+
/** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented
603+
otherwise. This is primarily for internal usage.
604604
*/
605605
public java.util.List<java.lang.String> getExtraLocationTypes() {
606606
return extraLocationTypes;
607607
}
608608

609609
/**
610-
* Optional. Unless explicitly documented otherwise, don't use this unsupported field which
611-
* is primarily intended for internal usage.
610+
* Optional. Do not use this field. It is unsupported and is ignored unless explicitly
611+
* documented otherwise. This is primarily for internal usage.
612612
*/
613613
public List setExtraLocationTypes(java.util.List<java.lang.String> extraLocationTypes) {
614614
this.extraLocationTypes = extraLocationTypes;

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,15 @@ public final class BackupPlan extends com.google.api.client.json.GenericJson {
9797
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
9898
private java.lang.Long logRetentionDays;
9999

100+
/**
101+
* Optional. Optional field to configure the maximum number of days for which a backup can be
102+
* retained. This field is only applicable for on-demand backups taken with custom retention
103+
* value.
104+
* The value may be {@code null}.
105+
*/
106+
@com.google.api.client.util.Key
107+
private java.lang.Integer maxCustomOnDemandRetentionDays;
108+
100109
/**
101110
* Output only. Identifier. The resource name of the `BackupPlan`. Format:
102111
* `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
@@ -305,6 +314,27 @@ public BackupPlan setLogRetentionDays(java.lang.Long logRetentionDays) {
305314
return this;
306315
}
307316

317+
/**
318+
* Optional. Optional field to configure the maximum number of days for which a backup can be
319+
* retained. This field is only applicable for on-demand backups taken with custom retention
320+
* value.
321+
* @return value or {@code null} for none
322+
*/
323+
public java.lang.Integer getMaxCustomOnDemandRetentionDays() {
324+
return maxCustomOnDemandRetentionDays;
325+
}
326+
327+
/**
328+
* Optional. Optional field to configure the maximum number of days for which a backup can be
329+
* retained. This field is only applicable for on-demand backups taken with custom retention
330+
* value.
331+
* @param maxCustomOnDemandRetentionDays maxCustomOnDemandRetentionDays or {@code null} for none
332+
*/
333+
public BackupPlan setMaxCustomOnDemandRetentionDays(java.lang.Integer maxCustomOnDemandRetentionDays) {
334+
this.maxCustomOnDemandRetentionDays = maxCustomOnDemandRetentionDays;
335+
return this;
336+
}
337+
308338
/**
309339
* Output only. Identifier. The resource name of the `BackupPlan`. Format:
310340
* `projects/{project}/locations/{location}/backupPlans/{backup_plan}`

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@
3030
@SuppressWarnings("javadoc")
3131
public final class TriggerBackupRequest extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Optional. The duration for which backup data will be kept, while taking an on-demand backup
35+
* with custom retention. It is defined in "days". It is mutually exclusive with rule_id. This
36+
* field is required if rule_id is not provided.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.Integer customRetentionDays;
41+
3342
/**
3443
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if
3544
* you must retry your request, the server will know to ignore the request if it has already been
@@ -52,6 +61,27 @@ public final class TriggerBackupRequest extends com.google.api.client.json.Gener
5261
@com.google.api.client.util.Key
5362
private java.lang.String ruleId;
5463

64+
/**
65+
* Optional. The duration for which backup data will be kept, while taking an on-demand backup
66+
* with custom retention. It is defined in "days". It is mutually exclusive with rule_id. This
67+
* field is required if rule_id is not provided.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.Integer getCustomRetentionDays() {
71+
return customRetentionDays;
72+
}
73+
74+
/**
75+
* Optional. The duration for which backup data will be kept, while taking an on-demand backup
76+
* with custom retention. It is defined in "days". It is mutually exclusive with rule_id. This
77+
* field is required if rule_id is not provided.
78+
* @param customRetentionDays customRetentionDays or {@code null} for none
79+
*/
80+
public TriggerBackupRequest setCustomRetentionDays(java.lang.Integer customRetentionDays) {
81+
this.customRetentionDays = customRetentionDays;
82+
return this;
83+
}
84+
5585
/**
5686
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if
5787
* you must retry your request, the server will know to ignore the request if it has already been

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

0 commit comments

Comments
 (0)