Skip to content

Commit b3c101c

Browse files
1 parent 7768d78 commit b3c101c

10 files changed

Lines changed: 242 additions & 201 deletions

File tree

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

clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/Spanner.java

Lines changed: 107 additions & 84 deletions
Large diffs are not rendered by default.

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

Lines changed: 42 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public final class Backup extends com.google.api.client.json.GenericJson {
5252
/**
5353
* Required for the CreateBackup operation. Name of the database from which this backup was
5454
* created. This needs to be in the same instance as the backup. Values are of the form
55-
* `projects//instances//databases/`.
55+
* `projects/{project}/instances/{instance}/databases/{database}`.
5656
* The value may be {@code null}.
5757
*/
5858
@com.google.api.client.util.Key
@@ -155,10 +155,10 @@ public final class Backup extends com.google.api.client.json.GenericJson {
155155
/**
156156
* Output only for the CreateBackup operation. Required for the UpdateBackup operation. A globally
157157
* unique identifier for the backup which cannot be changed. Values are of the form
158-
* `projects//instances//backups/a-z*[a-z0-9]` The final segment of the name must be between 2 and
159-
* 60 characters in length. The backup is stored in the location(s) specified in the instance
160-
* configuration of the instance containing the backup, identified by the prefix of the backup
161-
* name of the form `projects//instances/`.
158+
* `projects/{project}/instances/{instance}/backups/a-z*[a-z0-9]` The final segment of the name
159+
* must be between 2 and 60 characters in length. The backup is stored in the location(s)
160+
* specified in the instance configuration of the instance containing the backup, identified by
161+
* the prefix of the backup name of the form `projects/{project}/instances/{instance}`.
162162
* The value may be {@code null}.
163163
*/
164164
@com.google.api.client.util.Key
@@ -177,21 +177,22 @@ public final class Backup extends com.google.api.client.json.GenericJson {
177177

178178
/**
179179
* Output only. The names of the destination backups being created by copying this source backup.
180-
* The backup names are of the form `projects//instances//backups/`. Referencing backups may exist
181-
* in different instances. The existence of any referencing backup prevents the backup from being
182-
* deleted. When the copy operation is done (either successfully completed or cancelled or the
183-
* destination backup is deleted), the reference to the backup is removed.
180+
* The backup names are of the form `projects/{project}/instances/{instance}/backups/{backup}`.
181+
* Referencing backups may exist in different instances. The existence of any referencing backup
182+
* prevents the backup from being deleted. When the copy operation is done (either successfully
183+
* completed or cancelled or the destination backup is deleted), the reference to the backup is
184+
* removed.
184185
* The value may be {@code null}.
185186
*/
186187
@com.google.api.client.util.Key
187188
private java.util.List<java.lang.String> referencingBackups;
188189

189190
/**
190191
* Output only. The names of the restored databases that reference the backup. The database names
191-
* are of the form `projects//instances//databases/`. Referencing databases may exist in different
192-
* instances. The existence of any referencing database prevents the backup from being deleted.
193-
* When a restored database from the backup enters the `READY` state, the reference to the backup
194-
* is removed.
192+
* are of the form `projects/{project}/instances/{instance}/databases/{database}`. Referencing
193+
* databases may exist in different instances. The existence of any referencing database prevents
194+
* the backup from being deleted. When a restored database from the backup enters the `READY`
195+
* state, the reference to the backup is removed.
195196
* The value may be {@code null}.
196197
*/
197198
@com.google.api.client.util.Key
@@ -270,7 +271,7 @@ public Backup setCreateTime(String createTime) {
270271
/**
271272
* Required for the CreateBackup operation. Name of the database from which this backup was
272273
* created. This needs to be in the same instance as the backup. Values are of the form
273-
* `projects//instances//databases/`.
274+
* `projects/{project}/instances/{instance}/databases/{database}`.
274275
* @return value or {@code null} for none
275276
*/
276277
public java.lang.String getDatabase() {
@@ -280,7 +281,7 @@ public java.lang.String getDatabase() {
280281
/**
281282
* Required for the CreateBackup operation. Name of the database from which this backup was
282283
* created. This needs to be in the same instance as the backup. Values are of the form
283-
* `projects//instances//databases/`.
284+
* `projects/{project}/instances/{instance}/databases/{database}`.
284285
* @param database database or {@code null} for none
285286
*/
286287
public Backup setDatabase(java.lang.String database) {
@@ -509,10 +510,10 @@ public Backup setMinimumRestorableEdition(java.lang.String minimumRestorableEdit
509510
/**
510511
* Output only for the CreateBackup operation. Required for the UpdateBackup operation. A globally
511512
* unique identifier for the backup which cannot be changed. Values are of the form
512-
* `projects//instances//backups/a-z*[a-z0-9]` The final segment of the name must be between 2 and
513-
* 60 characters in length. The backup is stored in the location(s) specified in the instance
514-
* configuration of the instance containing the backup, identified by the prefix of the backup
515-
* name of the form `projects//instances/`.
513+
* `projects/{project}/instances/{instance}/backups/a-z*[a-z0-9]` The final segment of the name
514+
* must be between 2 and 60 characters in length. The backup is stored in the location(s)
515+
* specified in the instance configuration of the instance containing the backup, identified by
516+
* the prefix of the backup name of the form `projects/{project}/instances/{instance}`.
516517
* @return value or {@code null} for none
517518
*/
518519
public java.lang.String getName() {
@@ -522,10 +523,10 @@ public java.lang.String getName() {
522523
/**
523524
* Output only for the CreateBackup operation. Required for the UpdateBackup operation. A globally
524525
* unique identifier for the backup which cannot be changed. Values are of the form
525-
* `projects//instances//backups/a-z*[a-z0-9]` The final segment of the name must be between 2 and
526-
* 60 characters in length. The backup is stored in the location(s) specified in the instance
527-
* configuration of the instance containing the backup, identified by the prefix of the backup
528-
* name of the form `projects//instances/`.
526+
* `projects/{project}/instances/{instance}/backups/a-z*[a-z0-9]` The final segment of the name
527+
* must be between 2 and 60 characters in length. The backup is stored in the location(s)
528+
* specified in the instance configuration of the instance containing the backup, identified by
529+
* the prefix of the backup name of the form `projects/{project}/instances/{instance}`.
529530
* @param name name or {@code null} for none
530531
*/
531532
public Backup setName(java.lang.String name) {
@@ -560,10 +561,11 @@ public Backup setOldestVersionTime(String oldestVersionTime) {
560561

561562
/**
562563
* Output only. The names of the destination backups being created by copying this source backup.
563-
* The backup names are of the form `projects//instances//backups/`. Referencing backups may exist
564-
* in different instances. The existence of any referencing backup prevents the backup from being
565-
* deleted. When the copy operation is done (either successfully completed or cancelled or the
566-
* destination backup is deleted), the reference to the backup is removed.
564+
* The backup names are of the form `projects/{project}/instances/{instance}/backups/{backup}`.
565+
* Referencing backups may exist in different instances. The existence of any referencing backup
566+
* prevents the backup from being deleted. When the copy operation is done (either successfully
567+
* completed or cancelled or the destination backup is deleted), the reference to the backup is
568+
* removed.
567569
* @return value or {@code null} for none
568570
*/
569571
public java.util.List<java.lang.String> getReferencingBackups() {
@@ -572,10 +574,11 @@ public java.util.List<java.lang.String> getReferencingBackups() {
572574

573575
/**
574576
* Output only. The names of the destination backups being created by copying this source backup.
575-
* The backup names are of the form `projects//instances//backups/`. Referencing backups may exist
576-
* in different instances. The existence of any referencing backup prevents the backup from being
577-
* deleted. When the copy operation is done (either successfully completed or cancelled or the
578-
* destination backup is deleted), the reference to the backup is removed.
577+
* The backup names are of the form `projects/{project}/instances/{instance}/backups/{backup}`.
578+
* Referencing backups may exist in different instances. The existence of any referencing backup
579+
* prevents the backup from being deleted. When the copy operation is done (either successfully
580+
* completed or cancelled or the destination backup is deleted), the reference to the backup is
581+
* removed.
579582
* @param referencingBackups referencingBackups or {@code null} for none
580583
*/
581584
public Backup setReferencingBackups(java.util.List<java.lang.String> referencingBackups) {
@@ -585,10 +588,10 @@ public Backup setReferencingBackups(java.util.List<java.lang.String> referencing
585588

586589
/**
587590
* Output only. The names of the restored databases that reference the backup. The database names
588-
* are of the form `projects//instances//databases/`. Referencing databases may exist in different
589-
* instances. The existence of any referencing database prevents the backup from being deleted.
590-
* When a restored database from the backup enters the `READY` state, the reference to the backup
591-
* is removed.
591+
* are of the form `projects/{project}/instances/{instance}/databases/{database}`. Referencing
592+
* databases may exist in different instances. The existence of any referencing database prevents
593+
* the backup from being deleted. When a restored database from the backup enters the `READY`
594+
* state, the reference to the backup is removed.
592595
* @return value or {@code null} for none
593596
*/
594597
public java.util.List<java.lang.String> getReferencingDatabases() {
@@ -597,10 +600,10 @@ public java.util.List<java.lang.String> getReferencingDatabases() {
597600

598601
/**
599602
* Output only. The names of the restored databases that reference the backup. The database names
600-
* are of the form `projects//instances//databases/`. Referencing databases may exist in different
601-
* instances. The existence of any referencing database prevents the backup from being deleted.
602-
* When a restored database from the backup enters the `READY` state, the reference to the backup
603-
* is removed.
603+
* are of the form `projects/{project}/instances/{instance}/databases/{database}`. Referencing
604+
* databases may exist in different instances. The existence of any referencing database prevents
605+
* the backup from being deleted. When a restored database from the backup enters the `READY`
606+
* state, the reference to the backup is removed.
604607
* @param referencingDatabases referencingDatabases or {@code null} for none
605608
*/
606609
public Backup setReferencingDatabases(java.util.List<java.lang.String> referencingDatabases) {

clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/BackupInstancePartition.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ public final class BackupInstancePartition extends com.google.api.client.json.Ge
3131

3232
/**
3333
* A unique identifier for the instance partition. Values are of the form
34-
* `projects//instances//instancePartitions/`
34+
* `projects/{project}/instances/{instance}/instancePartitions/{instance_partition_id}`
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
3838
private java.lang.String instancePartition;
3939

4040
/**
4141
* A unique identifier for the instance partition. Values are of the form
42-
* `projects//instances//instancePartitions/`
42+
* `projects/{project}/instances/{instance}/instancePartitions/{instance_partition_id}`
4343
* @return value or {@code null} for none
4444
*/
4545
public java.lang.String getInstancePartition() {
@@ -48,7 +48,7 @@ public java.lang.String getInstancePartition() {
4848

4949
/**
5050
* A unique identifier for the instance partition. Values are of the form
51-
* `projects//instances//instancePartitions/`
51+
* `projects/{project}/instances/{instance}/instancePartitions/{instance_partition_id}`
5252
* @param instancePartition instancePartition or {@code null} for none
5353
*/
5454
public BackupInstancePartition setInstancePartition(java.lang.String instancePartition) {

0 commit comments

Comments
 (0)