Skip to content

Commit f5e5d5a

Browse files
docs: update the comments in Cloud Bigtable RestoreTable API to reflect the new API capability (#804)
Committer: @liubonan PiperOrigin-RevId: 372995286 Source-Author: Google APIs <[email protected]> Source-Date: Mon May 10 13:05:07 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: 43d201c7deb4639441d0cbb1c734f1e974b566eb Source-Link: googleapis/googleapis@43d201c
1 parent a498687 commit f5e5d5a

File tree

6 files changed

+31
-31
lines changed

6 files changed

+31
-31
lines changed

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -2621,7 +2621,7 @@ public final UnaryCallable<ListBackupsRequest, ListBackupsResponse> listBackupsC
26212621
// AUTO-GENERATED DOCUMENTATION AND METHOD.
26222622
/**
26232623
* Create a new table by restoring from a completed backup. The new table must be in the same
2624-
* instance as the instance containing the backup. The returned table [long-running
2624+
* project as the instance containing the backup. The returned table [long-running
26252625
* operation][google.longrunning.Operation] can be used to track the progress of the operation,
26262626
* and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is
26272627
* [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The
@@ -2653,7 +2653,7 @@ public final OperationFuture<Table, RestoreTableMetadata> restoreTableAsync(
26532653
// AUTO-GENERATED DOCUMENTATION AND METHOD.
26542654
/**
26552655
* Create a new table by restoring from a completed backup. The new table must be in the same
2656-
* instance as the instance containing the backup. The returned table [long-running
2656+
* project as the instance containing the backup. The returned table [long-running
26572657
* operation][google.longrunning.Operation] can be used to track the progress of the operation,
26582658
* and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is
26592659
* [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The
@@ -2685,7 +2685,7 @@ public final OperationFuture<Table, RestoreTableMetadata> restoreTableAsync(
26852685
// AUTO-GENERATED DOCUMENTATION AND METHOD.
26862686
/**
26872687
* Create a new table by restoring from a completed backup. The new table must be in the same
2688-
* instance as the instance containing the backup. The returned table [long-running
2688+
* project as the instance containing the backup. The returned table [long-running
26892689
* operation][google.longrunning.Operation] can be used to track the progress of the operation,
26902690
* and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is
26912691
* [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The

grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,7 @@ public void listBackups(
13631363
*
13641364
* <pre>
13651365
* Create a new table by restoring from a completed backup. The new table
1366-
* must be in the same instance as the instance containing the backup. The
1366+
* must be in the same project as the instance containing the backup. The
13671367
* returned table [long-running operation][google.longrunning.Operation] can
13681368
* be used to track the progress of the operation, and to cancel it. The
13691369
* [metadata][google.longrunning.Operation.metadata] field type is
@@ -1929,7 +1929,7 @@ public void listBackups(
19291929
*
19301930
* <pre>
19311931
* Create a new table by restoring from a completed backup. The new table
1932-
* must be in the same instance as the instance containing the backup. The
1932+
* must be in the same project as the instance containing the backup. The
19331933
* returned table [long-running operation][google.longrunning.Operation] can
19341934
* be used to track the progress of the operation, and to cancel it. The
19351935
* [metadata][google.longrunning.Operation.metadata] field type is
@@ -2308,7 +2308,7 @@ public com.google.bigtable.admin.v2.ListBackupsResponse listBackups(
23082308
*
23092309
* <pre>
23102310
* Create a new table by restoring from a completed backup. The new table
2311-
* must be in the same instance as the instance containing the backup. The
2311+
* must be in the same project as the instance containing the backup. The
23122312
* returned table [long-running operation][google.longrunning.Operation] can
23132313
* be used to track the progress of the operation, and to cancel it. The
23142314
* [metadata][google.longrunning.Operation.metadata] field type is
@@ -2678,7 +2678,7 @@ protected BigtableTableAdminFutureStub build(
26782678
*
26792679
* <pre>
26802680
* Create a new table by restoring from a completed backup. The new table
2681-
* must be in the same instance as the instance containing the backup. The
2681+
* must be in the same project as the instance containing the backup. The
26822682
* returned table [long-running operation][google.longrunning.Operation] can
26832683
* be used to track the progress of the operation, and to cancel it. The
26842684
* [metadata][google.longrunning.Operation.metadata] field type is

proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java

+14-14
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ public SourceCase getSourceCase() {
178178
*
179179
* <pre>
180180
* Required. The name of the instance in which to create the restored
181-
* table. This instance must be the parent of the source backup. Values are
182-
* of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
181+
* table. This instance must be in the same project as the source backup.
182+
* Values are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
183183
* </pre>
184184
*
185185
* <code>
@@ -205,8 +205,8 @@ public java.lang.String getParent() {
205205
*
206206
* <pre>
207207
* Required. The name of the instance in which to create the restored
208-
* table. This instance must be the parent of the source backup. Values are
209-
* of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
208+
* table. This instance must be in the same project as the source backup.
209+
* Values are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
210210
* </pre>
211211
*
212212
* <code>
@@ -751,8 +751,8 @@ public Builder clearSource() {
751751
*
752752
* <pre>
753753
* Required. The name of the instance in which to create the restored
754-
* table. This instance must be the parent of the source backup. Values are
755-
* of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
754+
* table. This instance must be in the same project as the source backup.
755+
* Values are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
756756
* </pre>
757757
*
758758
* <code>
@@ -777,8 +777,8 @@ public java.lang.String getParent() {
777777
*
778778
* <pre>
779779
* Required. The name of the instance in which to create the restored
780-
* table. This instance must be the parent of the source backup. Values are
781-
* of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
780+
* table. This instance must be in the same project as the source backup.
781+
* Values are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
782782
* </pre>
783783
*
784784
* <code>
@@ -803,8 +803,8 @@ public com.google.protobuf.ByteString getParentBytes() {
803803
*
804804
* <pre>
805805
* Required. The name of the instance in which to create the restored
806-
* table. This instance must be the parent of the source backup. Values are
807-
* of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
806+
* table. This instance must be in the same project as the source backup.
807+
* Values are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
808808
* </pre>
809809
*
810810
* <code>
@@ -828,8 +828,8 @@ public Builder setParent(java.lang.String value) {
828828
*
829829
* <pre>
830830
* Required. The name of the instance in which to create the restored
831-
* table. This instance must be the parent of the source backup. Values are
832-
* of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
831+
* table. This instance must be in the same project as the source backup.
832+
* Values are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
833833
* </pre>
834834
*
835835
* <code>
@@ -849,8 +849,8 @@ public Builder clearParent() {
849849
*
850850
* <pre>
851851
* Required. The name of the instance in which to create the restored
852-
* table. This instance must be the parent of the source backup. Values are
853-
* of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
852+
* table. This instance must be in the same project as the source backup.
853+
* Values are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
854854
* </pre>
855855
*
856856
* <code>

proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ public interface RestoreTableRequestOrBuilder
2828
*
2929
* <pre>
3030
* Required. The name of the instance in which to create the restored
31-
* table. This instance must be the parent of the source backup. Values are
32-
* of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
31+
* table. This instance must be in the same project as the source backup.
32+
* Values are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
3333
* </pre>
3434
*
3535
* <code>
@@ -44,8 +44,8 @@ public interface RestoreTableRequestOrBuilder
4444
*
4545
* <pre>
4646
* Required. The name of the instance in which to create the restored
47-
* table. This instance must be the parent of the source backup. Values are
48-
* of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
47+
* table. This instance must be in the same project as the source backup.
48+
* Values are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
4949
* </pre>
5050
*
5151
* <code>

proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto

+3-3
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ service BigtableTableAdmin {
270270
}
271271

272272
// Create a new table by restoring from a completed backup. The new table
273-
// must be in the same instance as the instance containing the backup. The
273+
// must be in the same project as the instance containing the backup. The
274274
// returned table [long-running operation][google.longrunning.Operation] can
275275
// be used to track the progress of the operation, and to cancel it. The
276276
// [metadata][google.longrunning.Operation.metadata] field type is
@@ -335,8 +335,8 @@ service BigtableTableAdmin {
335335
// [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].
336336
message RestoreTableRequest {
337337
// Required. The name of the instance in which to create the restored
338-
// table. This instance must be the parent of the source backup. Values are
339-
// of the form `projects/<project>/instances/<instance>`.
338+
// table. This instance must be in the same project as the source backup.
339+
// Values are of the form `projects/<project>/instances/<instance>`.
340340
string parent = 1 [
341341
(google.api.field_behavior) = REQUIRED,
342342
(google.api.resource_reference) = {

synth.metadata

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-bigtable.git",
7-
"sha": "83e0e8cf2cdbc143c10ce0f8b053096d61d5686f"
7+
"sha": "5ccc4be2ec871f0736b49a1990bc2a11993e65f4"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "1305ca41d554eb0725237561e34129373bb8cbc1",
15-
"internalRef": "362856902"
14+
"sha": "43d201c7deb4639441d0cbb1c734f1e974b566eb",
15+
"internalRef": "372995286"
1616
}
1717
},
1818
{

0 commit comments

Comments
 (0)