Skip to content

Commit eb2f5d1

Browse files
1 parent 7a57329 commit eb2f5d1

File tree

7 files changed

+148
-30
lines changed

7 files changed

+148
-30
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-rev20240913-2.0.0</version>
25+
<version>v1-rev20240918-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-rev20240913-2.0.0'
38+
implementation 'com.google.apis:google-api-services-backupdr:v1-rev20240918-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: 76 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2258,6 +2258,8 @@ public BackupVaults backupVaults() {
22582258
public class BackupVaults {
22592259

22602260
/**
2261+
* Creates a new BackupVault in a given project and location.
2262+
*
22612263
* Create a request for the method "backupVaults.create".
22622264
*
22632265
* This request holds the parameters needed by the backupdr server. After setting any optional
@@ -2281,6 +2283,8 @@ public class Create extends BackupdrRequest<com.google.api.services.backupdr.v1.
22812283
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
22822284

22832285
/**
2286+
* Creates a new BackupVault in a given project and location.
2287+
*
22842288
* Create a request for the method "backupVaults.create".
22852289
*
22862290
* This request holds the parameters needed by the the backupdr server. After setting any
@@ -3378,7 +3382,10 @@ public List set(String parameterName, Object value) {
33783382
* This request holds the parameters needed by the backupdr server. After setting any optional
33793383
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
33803384
*
3381-
* @param name Output only. Identifier. The resource name.
3385+
* @param name Output only. Identifier. Name of the backup vault to create. It must have the
3386+
* format`"projects/{project}/locations/{location}/backupVaults/{backupvault}"`.
3387+
* `{backupvault}` cannot be changed after creation. It must be between 3-63 characters long
3388+
* and must be unique within the project and location.
33823389
* @param content the {@link com.google.api.services.backupdr.v1.model.BackupVault}
33833390
* @return the request
33843391
*/
@@ -3406,7 +3413,10 @@ public class Patch extends BackupdrRequest<com.google.api.services.backupdr.v1.m
34063413
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
34073414
* be called to initialize this instance immediately after invoking the constructor. </p>
34083415
*
3409-
* @param name Output only. Identifier. The resource name.
3416+
* @param name Output only. Identifier. Name of the backup vault to create. It must have the
3417+
* format`"projects/{project}/locations/{location}/backupVaults/{backupvault}"`.
3418+
* `{backupvault}` cannot be changed after creation. It must be between 3-63 characters long
3419+
* and must be unique within the project and location.
34103420
* @param content the {@link com.google.api.services.backupdr.v1.model.BackupVault}
34113421
* @since 1.13
34123422
*/
@@ -3475,17 +3485,30 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
34753485
return (Patch) super.setUploadProtocol(uploadProtocol);
34763486
}
34773487

3478-
/** Output only. Identifier. The resource name. */
3488+
/**
3489+
* Output only. Identifier. Name of the backup vault to create. It must have the
3490+
* format`"projects/{project}/locations/{location}/backupVaults/{backupvault}"`.
3491+
* `{backupvault}` cannot be changed after creation. It must be between 3-63 characters
3492+
* long and must be unique within the project and location.
3493+
*/
34793494
@com.google.api.client.util.Key
34803495
private java.lang.String name;
34813496

3482-
/** Output only. Identifier. The resource name.
3497+
/** Output only. Identifier. Name of the backup vault to create. It must have the
3498+
format`"projects/{project}/locations/{location}/backupVaults/{backupvault}"`. `{backupvault}`
3499+
cannot be changed after creation. It must be between 3-63 characters long and must be unique within
3500+
the project and location.
34833501
*/
34843502
public java.lang.String getName() {
34853503
return name;
34863504
}
34873505

3488-
/** Output only. Identifier. The resource name. */
3506+
/**
3507+
* Output only. Identifier. Name of the backup vault to create. It must have the
3508+
* format`"projects/{project}/locations/{location}/backupVaults/{backupvault}"`.
3509+
* `{backupvault}` cannot be changed after creation. It must be between 3-63 characters
3510+
* long and must be unique within the project and location.
3511+
*/
34893512
public Patch setName(java.lang.String name) {
34903513
if (!getSuppressPatternChecks()) {
34913514
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -4730,7 +4753,10 @@ public List set(String parameterName, Object value) {
47304753
* This request holds the parameters needed by the backupdr server. After setting any optional
47314754
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
47324755
*
4733-
* @param name Output only. Identifier. The resource name.
4756+
* @param name Output only. Identifier. Name of the datasource to create. It must have the format`"projects/{projec
4757+
* t}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}"`.
4758+
* `{datasource}` cannot be changed after creation. It must be between 3-63 characters long
4759+
* and must be unique within the backup vault.
47344760
* @param content the {@link com.google.api.services.backupdr.v1.model.DataSource}
47354761
* @return the request
47364762
*/
@@ -4758,7 +4784,10 @@ public class Patch extends BackupdrRequest<com.google.api.services.backupdr.v1.m
47584784
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
47594785
* be called to initialize this instance immediately after invoking the constructor. </p>
47604786
*
4761-
* @param name Output only. Identifier. The resource name.
4787+
* @param name Output only. Identifier. Name of the datasource to create. It must have the format`"projects/{projec
4788+
* t}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}"`.
4789+
* `{datasource}` cannot be changed after creation. It must be between 3-63 characters long
4790+
* and must be unique within the backup vault.
47624791
* @param content the {@link com.google.api.services.backupdr.v1.model.DataSource}
47634792
* @since 1.13
47644793
*/
@@ -4827,17 +4856,30 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
48274856
return (Patch) super.setUploadProtocol(uploadProtocol);
48284857
}
48294858

4830-
/** Output only. Identifier. The resource name. */
4859+
/**
4860+
* Output only. Identifier. Name of the datasource to create. It must have the format`"p
4861+
* rojects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{dataso
4862+
* urce}"`. `{datasource}` cannot be changed after creation. It must be between 3-63
4863+
* characters long and must be unique within the backup vault.
4864+
*/
48314865
@com.google.api.client.util.Key
48324866
private java.lang.String name;
48334867

4834-
/** Output only. Identifier. The resource name.
4868+
/** Output only. Identifier. Name of the datasource to create. It must have the format`"projects/{proje
4869+
ct}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}"`. `{datasource}`
4870+
cannot be changed after creation. It must be between 3-63 characters long and must be unique within
4871+
the backup vault.
48354872
*/
48364873
public java.lang.String getName() {
48374874
return name;
48384875
}
48394876

4840-
/** Output only. Identifier. The resource name. */
4877+
/**
4878+
* Output only. Identifier. Name of the datasource to create. It must have the format`"p
4879+
* rojects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{dataso
4880+
* urce}"`. `{datasource}` cannot be changed after creation. It must be between 3-63
4881+
* characters long and must be unique within the backup vault.
4882+
*/
48414883
public Patch setName(java.lang.String name) {
48424884
if (!getSuppressPatternChecks()) {
48434885
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -5838,7 +5880,10 @@ public List set(String parameterName, Object value) {
58385880
* This request holds the parameters needed by the backupdr server. After setting any optional
58395881
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
58405882
*
5841-
* @param name Output only. Identifier. Name of the resource.
5883+
* @param name Output only. Identifier. Name of the backup to create. It must have the
5884+
* format`"projects//locations//backupVaults//dataSources/{datasource}/backups/{backup}"`.
5885+
* `{backup}` cannot be changed after creation. It must be between 3-63 characters long and
5886+
* must be unique within the datasource.
58425887
* @param content the {@link com.google.api.services.backupdr.v1.model.Backup}
58435888
* @return the request
58445889
*/
@@ -5866,7 +5911,10 @@ public class Patch extends BackupdrRequest<com.google.api.services.backupdr.v1.m
58665911
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
58675912
* be called to initialize this instance immediately after invoking the constructor. </p>
58685913
*
5869-
* @param name Output only. Identifier. Name of the resource.
5914+
* @param name Output only. Identifier. Name of the backup to create. It must have the
5915+
* format`"projects//locations//backupVaults//dataSources/{datasource}/backups/{backup}"`.
5916+
* `{backup}` cannot be changed after creation. It must be between 3-63 characters long and
5917+
* must be unique within the datasource.
58705918
* @param content the {@link com.google.api.services.backupdr.v1.model.Backup}
58715919
* @since 1.13
58725920
*/
@@ -5935,17 +5983,30 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
59355983
return (Patch) super.setUploadProtocol(uploadProtocol);
59365984
}
59375985

5938-
/** Output only. Identifier. Name of the resource. */
5986+
/**
5987+
* Output only. Identifier. Name of the backup to create. It must have the format`"pro
5988+
* jects//locations//backupVaults//dataSources/{datasource}/backups/{backup}"`.
5989+
* `{backup}` cannot be changed after creation. It must be between 3-63 characters
5990+
* long and must be unique within the datasource.
5991+
*/
59395992
@com.google.api.client.util.Key
59405993
private java.lang.String name;
59415994

5942-
/** Output only. Identifier. Name of the resource.
5995+
/** Output only. Identifier. Name of the backup to create. It must have the
5996+
format`"projects//locations//backupVaults//dataSources/{datasource}/backups/{backup}"`. `{backup}`
5997+
cannot be changed after creation. It must be between 3-63 characters long and must be unique within
5998+
the datasource.
59435999
*/
59446000
public java.lang.String getName() {
59456001
return name;
59466002
}
59476003

5948-
/** Output only. Identifier. Name of the resource. */
6004+
/**
6005+
* Output only. Identifier. Name of the backup to create. It must have the format`"pro
6006+
* jects//locations//backupVaults//dataSources/{datasource}/backups/{backup}"`.
6007+
* `{backup}` cannot be changed after creation. It must be between 3-63 characters
6008+
* long and must be unique within the datasource.
6009+
*/
59496010
public Patch setName(java.lang.String name) {
59506011
if (!getSuppressPatternChecks()) {
59516012
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,10 @@ public final class Backup extends com.google.api.client.json.GenericJson {
115115
private java.util.Map<String, java.lang.String> labels;
116116

117117
/**
118-
* Output only. Identifier. Name of the resource.
118+
* Output only. Identifier. Name of the backup to create. It must have the
119+
* format`"projects//locations//backupVaults//dataSources/{datasource}/backups/{backup}"`.
120+
* `{backup}` cannot be changed after creation. It must be between 3-63 characters long and must
121+
* be unique within the datasource.
119122
* The value may be {@code null}.
120123
*/
121124
@com.google.api.client.util.Key
@@ -355,15 +358,21 @@ public Backup setLabels(java.util.Map<String, java.lang.String> labels) {
355358
}
356359

357360
/**
358-
* Output only. Identifier. Name of the resource.
361+
* Output only. Identifier. Name of the backup to create. It must have the
362+
* format`"projects//locations//backupVaults//dataSources/{datasource}/backups/{backup}"`.
363+
* `{backup}` cannot be changed after creation. It must be between 3-63 characters long and must
364+
* be unique within the datasource.
359365
* @return value or {@code null} for none
360366
*/
361367
public java.lang.String getName() {
362368
return name;
363369
}
364370

365371
/**
366-
* Output only. Identifier. Name of the resource.
372+
* Output only. Identifier. Name of the backup to create. It must have the
373+
* format`"projects//locations//backupVaults//dataSources/{datasource}/backups/{backup}"`.
374+
* `{backup}` cannot be changed after creation. It must be between 3-63 characters long and must
375+
* be unique within the datasource.
367376
* @param name name or {@code null} for none
368377
*/
369378
public Backup setName(java.lang.String name) {

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

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

33+
/**
34+
* Optional. Note: This field is added for future use case and will not be supported in the
35+
* current release. Optional. Access restriction for the backup vault. Default value is
36+
* WITHIN_ORGANIZATION if not provided during creation.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String accessRestriction;
41+
3342
/**
3443
* Optional. User annotations. See https://google.aip.dev/128#annotations Stores small amounts of
3544
* arbitrary data.
@@ -97,7 +106,10 @@ public final class BackupVault extends com.google.api.client.json.GenericJson {
97106
private java.util.Map<String, java.lang.String> labels;
98107

99108
/**
100-
* Output only. Identifier. The resource name.
109+
* Output only. Identifier. Name of the backup vault to create. It must have the
110+
* format`"projects/{project}/locations/{location}/backupVaults/{backupvault}"`. `{backupvault}`
111+
* cannot be changed after creation. It must be between 3-63 characters long and must be unique
112+
* within the project and location.
101113
* The value may be {@code null}.
102114
*/
103115
@com.google.api.client.util.Key
@@ -140,6 +152,27 @@ public final class BackupVault extends com.google.api.client.json.GenericJson {
140152
@com.google.api.client.util.Key
141153
private String updateTime;
142154

155+
/**
156+
* Optional. Note: This field is added for future use case and will not be supported in the
157+
* current release. Optional. Access restriction for the backup vault. Default value is
158+
* WITHIN_ORGANIZATION if not provided during creation.
159+
* @return value or {@code null} for none
160+
*/
161+
public java.lang.String getAccessRestriction() {
162+
return accessRestriction;
163+
}
164+
165+
/**
166+
* Optional. Note: This field is added for future use case and will not be supported in the
167+
* current release. Optional. Access restriction for the backup vault. Default value is
168+
* WITHIN_ORGANIZATION if not provided during creation.
169+
* @param accessRestriction accessRestriction or {@code null} for none
170+
*/
171+
public BackupVault setAccessRestriction(java.lang.String accessRestriction) {
172+
this.accessRestriction = accessRestriction;
173+
return this;
174+
}
175+
143176
/**
144177
* Optional. User annotations. See https://google.aip.dev/128#annotations Stores small amounts of
145178
* arbitrary data.
@@ -300,15 +333,21 @@ public BackupVault setLabels(java.util.Map<String, java.lang.String> labels) {
300333
}
301334

302335
/**
303-
* Output only. Identifier. The resource name.
336+
* Output only. Identifier. Name of the backup vault to create. It must have the
337+
* format`"projects/{project}/locations/{location}/backupVaults/{backupvault}"`. `{backupvault}`
338+
* cannot be changed after creation. It must be between 3-63 characters long and must be unique
339+
* within the project and location.
304340
* @return value or {@code null} for none
305341
*/
306342
public java.lang.String getName() {
307343
return name;
308344
}
309345

310346
/**
311-
* Output only. Identifier. The resource name.
347+
* Output only. Identifier. Name of the backup vault to create. It must have the
348+
* format`"projects/{project}/locations/{location}/backupVaults/{backupvault}"`. `{backupvault}`
349+
* cannot be changed after creation. It must be between 3-63 characters long and must be unique
350+
* within the project and location.
312351
* @param name name or {@code null} for none
313352
*/
314353
public BackupVault setName(java.lang.String name) {

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ public final class DataSource extends com.google.api.client.json.GenericJson {
9191
private java.util.Map<String, java.lang.String> labels;
9292

9393
/**
94-
* Output only. Identifier. The resource name.
94+
* Output only. Identifier. Name of the datasource to create. It must have the format`"projects/{p
95+
* roject}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}"`.
96+
* `{datasource}` cannot be changed after creation. It must be between 3-63 characters long and
97+
* must be unique within the backup vault.
9598
* The value may be {@code null}.
9699
*/
97100
@com.google.api.client.util.Key
@@ -261,15 +264,21 @@ public DataSource setLabels(java.util.Map<String, java.lang.String> labels) {
261264
}
262265

263266
/**
264-
* Output only. Identifier. The resource name.
267+
* Output only. Identifier. Name of the datasource to create. It must have the format`"projects/{p
268+
* roject}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}"`.
269+
* `{datasource}` cannot be changed after creation. It must be between 3-63 characters long and
270+
* must be unique within the backup vault.
265271
* @return value or {@code null} for none
266272
*/
267273
public java.lang.String getName() {
268274
return name;
269275
}
270276

271277
/**
272-
* Output only. Identifier. The resource name.
278+
* Output only. Identifier. Name of the datasource to create. It must have the format`"projects/{p
279+
* roject}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}"`.
280+
* `{datasource}` cannot be changed after creation. It must be between 3-63 characters long and
281+
* must be unique within the backup vault.
273282
* @param name name or {@code null} for none
274283
*/
275284
public DataSource setName(java.lang.String name) {

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-rev20240913-2.0.0</version>
12-
<name>Backup and DR Service API v1-rev20240913-2.0.0</name>
11+
<version>v1-rev20240918-2.0.0</version>
12+
<name>Backup and DR Service API v1-rev20240918-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)