Skip to content

Commit a17c4de

Browse files
1 parent f3c3986 commit a17c4de

File tree

8 files changed

+298
-16
lines changed

8 files changed

+298
-16
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-rev20250910-2.0.0</version>
25+
<version>v1-rev20250916-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-rev20250910-2.0.0'
38+
implementation 'com.google.apis:google-api-services-backupdr:v1-rev20250916-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: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,8 @@ public Get set(String parameterName, Object value) {
319319
* This request holds the parameters needed by the backupdr server. After setting any optional
320320
* parameters, call the {@link GetTrial#execute()} method to invoke the remote operation.
321321
*
322-
* @param name Required. The name of the trial to retrieve.
322+
* @param name Required. The project for which trial details need to be retrieved. Format:
323+
* projects/{project}/locations/{location} Supported Locations are - us, eu and asia.
323324
* @return the request
324325
*/
325326
public GetTrial getTrial(java.lang.String name) throws java.io.IOException {
@@ -346,7 +347,8 @@ public class GetTrial extends BackupdrRequest<com.google.api.services.backupdr.v
346347
* GetTrial#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
347348
* must be called to initialize this instance immediately after invoking the constructor. </p>
348349
*
349-
* @param name Required. The name of the trial to retrieve.
350+
* @param name Required. The project for which trial details need to be retrieved. Format:
351+
* projects/{project}/locations/{location} Supported Locations are - us, eu and asia.
350352
* @since 1.13
351353
*/
352354
protected GetTrial(java.lang.String name) {
@@ -424,17 +426,24 @@ public GetTrial setUploadProtocol(java.lang.String uploadProtocol) {
424426
return (GetTrial) super.setUploadProtocol(uploadProtocol);
425427
}
426428

427-
/** Required. The name of the trial to retrieve. */
429+
/**
430+
* Required. The project for which trial details need to be retrieved. Format:
431+
* projects/{project}/locations/{location} Supported Locations are - us, eu and asia.
432+
*/
428433
@com.google.api.client.util.Key
429434
private java.lang.String name;
430435

431-
/** Required. The name of the trial to retrieve.
436+
/** Required. The project for which trial details need to be retrieved. Format:
437+
projects/{project}/locations/{location} Supported Locations are - us, eu and asia.
432438
*/
433439
public java.lang.String getName() {
434440
return name;
435441
}
436442

437-
/** Required. The name of the trial to retrieve. */
443+
/**
444+
* Required. The project for which trial details need to be retrieved. Format:
445+
* projects/{project}/locations/{location} Supported Locations are - us, eu and asia.
446+
*/
438447
public GetTrial setName(java.lang.String name) {
439448
if (!getSuppressPatternChecks()) {
440449
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -10467,7 +10476,8 @@ public class Trial {
1046710476
* This request holds the parameters needed by the backupdr server. After setting any optional
1046810477
* parameters, call the {@link Subscribe#execute()} method to invoke the remote operation.
1046910478
*
10470-
* @param parent Required. The parent resource where this trial will be created.
10479+
* @param parent Required. The project where this trial will be created. Format:
10480+
* projects/{project}/locations/{location} Supported Locations are - us, eu and asia.
1047110481
* @param content the {@link com.google.api.services.backupdr.v1.model.SubscribeTrialRequest}
1047210482
* @return the request
1047310483
*/
@@ -10495,7 +10505,8 @@ public class Subscribe extends BackupdrRequest<com.google.api.services.backupdr.
1049510505
* Subscribe#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
1049610506
* must be called to initialize this instance immediately after invoking the constructor. </p>
1049710507
*
10498-
* @param parent Required. The parent resource where this trial will be created.
10508+
* @param parent Required. The project where this trial will be created. Format:
10509+
* projects/{project}/locations/{location} Supported Locations are - us, eu and asia.
1049910510
* @param content the {@link com.google.api.services.backupdr.v1.model.SubscribeTrialRequest}
1050010511
* @since 1.13
1050110512
*/
@@ -10564,17 +10575,24 @@ public Subscribe setUploadProtocol(java.lang.String uploadProtocol) {
1056410575
return (Subscribe) super.setUploadProtocol(uploadProtocol);
1056510576
}
1056610577

10567-
/** Required. The parent resource where this trial will be created. */
10578+
/**
10579+
* Required. The project where this trial will be created. Format:
10580+
* projects/{project}/locations/{location} Supported Locations are - us, eu and asia.
10581+
*/
1056810582
@com.google.api.client.util.Key
1056910583
private java.lang.String parent;
1057010584

10571-
/** Required. The parent resource where this trial will be created.
10585+
/** Required. The project where this trial will be created. Format:
10586+
projects/{project}/locations/{location} Supported Locations are - us, eu and asia.
1057210587
*/
1057310588
public java.lang.String getParent() {
1057410589
return parent;
1057510590
}
1057610591

10577-
/** Required. The parent resource where this trial will be created. */
10592+
/**
10593+
* Required. The project where this trial will be created. Format:
10594+
* projects/{project}/locations/{location} Supported Locations are - us, eu and asia.
10595+
*/
1057810596
public Subscribe setParent(java.lang.String parent) {
1057910597
if (!getSuppressPatternChecks()) {
1058010598
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
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+
* AlloyDBClusterDataSourceProperties represents the properties of a AlloyDB cluster resource that
21+
* are stored in the DataSource. .
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Backup and DR Service API. For a detailed explanation
25+
* see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class AlloyDBClusterDataSourceProperties extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Output only. Name of the AlloyDB cluster backed up by the datasource.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String name;
40+
41+
/**
42+
* Output only. Name of the AlloyDB cluster backed up by the datasource.
43+
* @return value or {@code null} for none
44+
*/
45+
public java.lang.String getName() {
46+
return name;
47+
}
48+
49+
/**
50+
* Output only. Name of the AlloyDB cluster backed up by the datasource.
51+
* @param name name or {@code null} for none
52+
*/
53+
public AlloyDBClusterDataSourceProperties setName(java.lang.String name) {
54+
this.name = name;
55+
return this;
56+
}
57+
58+
@Override
59+
public AlloyDBClusterDataSourceProperties set(String fieldName, Object value) {
60+
return (AlloyDBClusterDataSourceProperties) super.set(fieldName, value);
61+
}
62+
63+
@Override
64+
public AlloyDBClusterDataSourceProperties clone() {
65+
return (AlloyDBClusterDataSourceProperties) super.clone();
66+
}
67+
68+
}
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
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+
* AlloyDbClusterBackupProperties represents AlloyDB cluster backup properties. .
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 AlloyDbClusterBackupProperties extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. The chain id of this backup. Backups belonging to the same chain are sharing the
35+
* same chain id. This property is calculated and maintained by BackupDR.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String chainId;
40+
41+
/**
42+
* Output only. The PostgreSQL major version of the AlloyDB cluster when the backup was taken.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String databaseVersion;
47+
48+
/**
49+
* An optional text description for the backup.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String description;
54+
55+
/**
56+
* Output only. Storage usage of this particular backup
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
60+
private java.lang.Long storedBytes;
61+
62+
/**
63+
* Output only. The chain id of this backup. Backups belonging to the same chain are sharing the
64+
* same chain id. This property is calculated and maintained by BackupDR.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getChainId() {
68+
return chainId;
69+
}
70+
71+
/**
72+
* Output only. The chain id of this backup. Backups belonging to the same chain are sharing the
73+
* same chain id. This property is calculated and maintained by BackupDR.
74+
* @param chainId chainId or {@code null} for none
75+
*/
76+
public AlloyDbClusterBackupProperties setChainId(java.lang.String chainId) {
77+
this.chainId = chainId;
78+
return this;
79+
}
80+
81+
/**
82+
* Output only. The PostgreSQL major version of the AlloyDB cluster when the backup was taken.
83+
* @return value or {@code null} for none
84+
*/
85+
public java.lang.String getDatabaseVersion() {
86+
return databaseVersion;
87+
}
88+
89+
/**
90+
* Output only. The PostgreSQL major version of the AlloyDB cluster when the backup was taken.
91+
* @param databaseVersion databaseVersion or {@code null} for none
92+
*/
93+
public AlloyDbClusterBackupProperties setDatabaseVersion(java.lang.String databaseVersion) {
94+
this.databaseVersion = databaseVersion;
95+
return this;
96+
}
97+
98+
/**
99+
* An optional text description for the backup.
100+
* @return value or {@code null} for none
101+
*/
102+
public java.lang.String getDescription() {
103+
return description;
104+
}
105+
106+
/**
107+
* An optional text description for the backup.
108+
* @param description description or {@code null} for none
109+
*/
110+
public AlloyDbClusterBackupProperties setDescription(java.lang.String description) {
111+
this.description = description;
112+
return this;
113+
}
114+
115+
/**
116+
* Output only. Storage usage of this particular backup
117+
* @return value or {@code null} for none
118+
*/
119+
public java.lang.Long getStoredBytes() {
120+
return storedBytes;
121+
}
122+
123+
/**
124+
* Output only. Storage usage of this particular backup
125+
* @param storedBytes storedBytes or {@code null} for none
126+
*/
127+
public AlloyDbClusterBackupProperties setStoredBytes(java.lang.Long storedBytes) {
128+
this.storedBytes = storedBytes;
129+
return this;
130+
}
131+
132+
@Override
133+
public AlloyDbClusterBackupProperties set(String fieldName, Object value) {
134+
return (AlloyDbClusterBackupProperties) super.set(fieldName, value);
135+
}
136+
137+
@Override
138+
public AlloyDbClusterBackupProperties clone() {
139+
return (AlloyDbClusterBackupProperties) super.clone();
140+
}
141+
142+
}

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

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

33+
/**
34+
* Output only. AlloyDB specific backup properties.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private AlloyDbClusterBackupProperties alloyDbBackupProperties;
39+
3340
/**
3441
* Output only. Backup Appliance specific backup properties.
3542
* The value may be {@code null}.
@@ -181,6 +188,23 @@ public final class Backup extends com.google.api.client.json.GenericJson {
181188
@com.google.api.client.util.Key
182189
private String updateTime;
183190

191+
/**
192+
* Output only. AlloyDB specific backup properties.
193+
* @return value or {@code null} for none
194+
*/
195+
public AlloyDbClusterBackupProperties getAlloyDbBackupProperties() {
196+
return alloyDbBackupProperties;
197+
}
198+
199+
/**
200+
* Output only. AlloyDB specific backup properties.
201+
* @param alloyDbBackupProperties alloyDbBackupProperties or {@code null} for none
202+
*/
203+
public Backup setAlloyDbBackupProperties(AlloyDbClusterBackupProperties alloyDbBackupProperties) {
204+
this.alloyDbBackupProperties = alloyDbBackupProperties;
205+
return this;
206+
}
207+
184208
/**
185209
* Output only. Backup Appliance specific backup properties.
186210
* @return value or {@code null} for none

0 commit comments

Comments
 (0)