|
86 | 86 | * Service Description: Cloud Spanner Database Admin API
|
87 | 87 | *
|
88 | 88 | * <p>The Cloud Spanner Database Admin API can be used to: * create, drop, and list databases
|
89 |
| - * * update the schema of pre-existing databases * create, delete and list backups for a |
90 |
| - * database * restore a database from an existing backup |
| 89 | + * * update the schema of pre-existing databases * create, delete, copy and list backups for |
| 90 | + * a database * restore a database from an existing backup |
91 | 91 | *
|
92 | 92 | * <p>This class provides the ability to make remote calls to the backing service through method
|
93 | 93 | * calls that map to API methods. Sample code to get started:
|
|
199 | 199 | * </tr>
|
200 | 200 | * <tr>
|
201 | 201 | * <td><p> UpdateDatabaseDdl</td>
|
202 |
| - * <td><p> Updates the schema of a Cloud Spanner database by creating/altering/dropping tables, columns, indexes, etc. The returned [long-running operation][google.longrunning.Operation] will have a name of the format `<database_name>/operations/<operation_id>` and can be used to track execution of the schema change(s). The [metadata][google.longrunning.Operation.metadata] field type is [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. The operation has no response.</td> |
| 202 | + * <td><p> Updates the schema of a Cloud Spanner database by creating/altering/dropping tables, columns, indexes, etc. The returned [long-running operation][google.longrunning.Operation] will have a name of the format `<database_name>/operations/<operation_id>` and can be used to track execution of the schema change(s). The [metadata][google.longrunning.Operation.metadata] field type is [UpdateDatabaseDdlMetadata][google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata]. The operation has no response.</td> |
203 | 203 | * <td>
|
204 | 204 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
|
205 | 205 | * <ul>
|
|
337 | 337 | * </tr>
|
338 | 338 | * <tr>
|
339 | 339 | * <td><p> CopyBackup</td>
|
340 |
| - * <td><p> Starts copying a Cloud Spanner Backup. The returned backup [long-running operation][google.longrunning.Operation] will have a name of the format `projects/<project>/instances/<instance>/backups/<backup>/operations/<operation_id>` and can be used to track copying of the backup. The operation is associated with the destination backup. The [metadata][google.longrunning.Operation.metadata] field type is [CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata]. The [response][google.longrunning.Operation.response] field type is [Backup][google.spanner.admin.database.v1.Backup], if successful. Cancelling the returned operation will stop the copying and delete the backup. Concurrent CopyBackup requests can run on the same source backup.</td> |
| 340 | + * <td><p> Starts copying a Cloud Spanner Backup. The returned backup [long-running operation][google.longrunning.Operation] will have a name of the format `projects/<project>/instances/<instance>/backups/<backup>/operations/<operation_id>` and can be used to track copying of the backup. The operation is associated with the destination backup. The [metadata][google.longrunning.Operation.metadata] field type is [CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata]. The [response][google.longrunning.Operation.response] field type is [Backup][google.spanner.admin.database.v1.Backup], if successful. Cancelling the returned operation will stop the copying and delete the destination backup. Concurrent CopyBackup requests can run on the same source backup.</td> |
341 | 341 | * <td>
|
342 | 342 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
|
343 | 343 | * <ul>
|
@@ -2459,8 +2459,8 @@ public final UnaryCallable<CreateBackupRequest, Operation> createBackupCallable(
|
2459 | 2459 | * [CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata]. The
|
2460 | 2460 | * [response][google.longrunning.Operation.response] field type is
|
2461 | 2461 | * [Backup][google.spanner.admin.database.v1.Backup], if successful. Cancelling the returned
|
2462 |
| - * operation will stop the copying and delete the backup. Concurrent CopyBackup requests can run |
2463 |
| - * on the same source backup. |
| 2462 | + * operation will stop the copying and delete the destination backup. Concurrent CopyBackup |
| 2463 | + * requests can run on the same source backup. |
2464 | 2464 | *
|
2465 | 2465 | * <p>Sample code:
|
2466 | 2466 | *
|
@@ -2517,8 +2517,8 @@ public final OperationFuture<Backup, CopyBackupMetadata> copyBackupAsync(
|
2517 | 2517 | * [CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata]. The
|
2518 | 2518 | * [response][google.longrunning.Operation.response] field type is
|
2519 | 2519 | * [Backup][google.spanner.admin.database.v1.Backup], if successful. Cancelling the returned
|
2520 |
| - * operation will stop the copying and delete the backup. Concurrent CopyBackup requests can run |
2521 |
| - * on the same source backup. |
| 2520 | + * operation will stop the copying and delete the destination backup. Concurrent CopyBackup |
| 2521 | + * requests can run on the same source backup. |
2522 | 2522 | *
|
2523 | 2523 | * <p>Sample code:
|
2524 | 2524 | *
|
@@ -2575,8 +2575,8 @@ public final OperationFuture<Backup, CopyBackupMetadata> copyBackupAsync(
|
2575 | 2575 | * [CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata]. The
|
2576 | 2576 | * [response][google.longrunning.Operation.response] field type is
|
2577 | 2577 | * [Backup][google.spanner.admin.database.v1.Backup], if successful. Cancelling the returned
|
2578 |
| - * operation will stop the copying and delete the backup. Concurrent CopyBackup requests can run |
2579 |
| - * on the same source backup. |
| 2578 | + * operation will stop the copying and delete the destination backup. Concurrent CopyBackup |
| 2579 | + * requests can run on the same source backup. |
2580 | 2580 | *
|
2581 | 2581 | * <p>Sample code:
|
2582 | 2582 | *
|
@@ -2633,8 +2633,8 @@ public final OperationFuture<Backup, CopyBackupMetadata> copyBackupAsync(
|
2633 | 2633 | * [CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata]. The
|
2634 | 2634 | * [response][google.longrunning.Operation.response] field type is
|
2635 | 2635 | * [Backup][google.spanner.admin.database.v1.Backup], if successful. Cancelling the returned
|
2636 |
| - * operation will stop the copying and delete the backup. Concurrent CopyBackup requests can run |
2637 |
| - * on the same source backup. |
| 2636 | + * operation will stop the copying and delete the destination backup. Concurrent CopyBackup |
| 2637 | + * requests can run on the same source backup. |
2638 | 2638 | *
|
2639 | 2639 | * <p>Sample code:
|
2640 | 2640 | *
|
@@ -2691,8 +2691,8 @@ public final OperationFuture<Backup, CopyBackupMetadata> copyBackupAsync(
|
2691 | 2691 | * [CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata]. The
|
2692 | 2692 | * [response][google.longrunning.Operation.response] field type is
|
2693 | 2693 | * [Backup][google.spanner.admin.database.v1.Backup], if successful. Cancelling the returned
|
2694 |
| - * operation will stop the copying and delete the backup. Concurrent CopyBackup requests can run |
2695 |
| - * on the same source backup. |
| 2694 | + * operation will stop the copying and delete the destination backup. Concurrent CopyBackup |
| 2695 | + * requests can run on the same source backup. |
2696 | 2696 | *
|
2697 | 2697 | * <p>Sample code:
|
2698 | 2698 | *
|
@@ -2733,8 +2733,8 @@ public final OperationFuture<Backup, CopyBackupMetadata> copyBackupAsync(
|
2733 | 2733 | * [CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata]. The
|
2734 | 2734 | * [response][google.longrunning.Operation.response] field type is
|
2735 | 2735 | * [Backup][google.spanner.admin.database.v1.Backup], if successful. Cancelling the returned
|
2736 |
| - * operation will stop the copying and delete the backup. Concurrent CopyBackup requests can run |
2737 |
| - * on the same source backup. |
| 2736 | + * operation will stop the copying and delete the destination backup. Concurrent CopyBackup |
| 2737 | + * requests can run on the same source backup. |
2738 | 2738 | *
|
2739 | 2739 | * <p>Sample code:
|
2740 | 2740 | *
|
@@ -2775,8 +2775,8 @@ public final OperationFuture<Backup, CopyBackupMetadata> copyBackupAsync(
|
2775 | 2775 | * [CopyBackupMetadata][google.spanner.admin.database.v1.CopyBackupMetadata]. The
|
2776 | 2776 | * [response][google.longrunning.Operation.response] field type is
|
2777 | 2777 | * [Backup][google.spanner.admin.database.v1.Backup], if successful. Cancelling the returned
|
2778 |
| - * operation will stop the copying and delete the backup. Concurrent CopyBackup requests can run |
2779 |
| - * on the same source backup. |
| 2778 | + * operation will stop the copying and delete the destination backup. Concurrent CopyBackup |
| 2779 | + * requests can run on the same source backup. |
2780 | 2780 | *
|
2781 | 2781 | * <p>Sample code:
|
2782 | 2782 | *
|
@@ -4069,7 +4069,7 @@ public final ListBackupOperationsPagedResponse listBackupOperations(
|
4069 | 4069 | * }</pre>
|
4070 | 4070 | *
|
4071 | 4071 | * @param parent Required. The database whose roles should be listed. Values are of the form
|
4072 |
| - * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`. |
| 4072 | + * `projects/<project>/instances/<instance>/databases/<database>`. |
4073 | 4073 | * @throws com.google.api.gax.rpc.ApiException if the remote call fails
|
4074 | 4074 | */
|
4075 | 4075 | public final ListDatabaseRolesPagedResponse listDatabaseRoles(DatabaseName parent) {
|
@@ -4101,7 +4101,7 @@ public final ListDatabaseRolesPagedResponse listDatabaseRoles(DatabaseName paren
|
4101 | 4101 | * }</pre>
|
4102 | 4102 | *
|
4103 | 4103 | * @param parent Required. The database whose roles should be listed. Values are of the form
|
4104 |
| - * `projects/<project>/instances/<instance>/databases/<database>/databaseRoles`. |
| 4104 | + * `projects/<project>/instances/<instance>/databases/<database>`. |
4105 | 4105 | * @throws com.google.api.gax.rpc.ApiException if the remote call fails
|
4106 | 4106 | */
|
4107 | 4107 | public final ListDatabaseRolesPagedResponse listDatabaseRoles(String parent) {
|
|
0 commit comments