Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update the comments in Cloud Bigtable RestoreTable API to reflect the new API capability #804

Merged
merged 1 commit into from May 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -2621,7 +2621,7 @@ public final UnaryCallable<ListBackupsRequest, ListBackupsResponse> listBackupsC
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Create a new table by restoring from a completed backup. The new table must be in the same
* instance as the instance containing the backup. The returned table [long-running
* project as the instance containing the backup. The returned table [long-running
* operation][google.longrunning.Operation] can be used to track the progress of the operation,
* and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is
* [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The
Expand Down Expand Up @@ -2653,7 +2653,7 @@ public final OperationFuture<Table, RestoreTableMetadata> restoreTableAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Create a new table by restoring from a completed backup. The new table must be in the same
* instance as the instance containing the backup. The returned table [long-running
* project as the instance containing the backup. The returned table [long-running
* operation][google.longrunning.Operation] can be used to track the progress of the operation,
* and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is
* [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The
Expand Down Expand Up @@ -2685,7 +2685,7 @@ public final OperationFuture<Table, RestoreTableMetadata> restoreTableAsync(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Create a new table by restoring from a completed backup. The new table must be in the same
* instance as the instance containing the backup. The returned table [long-running
* project as the instance containing the backup. The returned table [long-running
* operation][google.longrunning.Operation] can be used to track the progress of the operation,
* and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is
* [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The
Expand Down
Expand Up @@ -1363,7 +1363,7 @@ public void listBackups(
*
* <pre>
* Create a new table by restoring from a completed backup. The new table
* must be in the same instance as the instance containing the backup. The
* must be in the same project as the instance containing the backup. The
* returned table [long-running operation][google.longrunning.Operation] can
* be used to track the progress of the operation, and to cancel it. The
* [metadata][google.longrunning.Operation.metadata] field type is
Expand Down Expand Up @@ -1929,7 +1929,7 @@ public void listBackups(
*
* <pre>
* Create a new table by restoring from a completed backup. The new table
* must be in the same instance as the instance containing the backup. The
* must be in the same project as the instance containing the backup. The
* returned table [long-running operation][google.longrunning.Operation] can
* be used to track the progress of the operation, and to cancel it. The
* [metadata][google.longrunning.Operation.metadata] field type is
Expand Down Expand Up @@ -2308,7 +2308,7 @@ public com.google.bigtable.admin.v2.ListBackupsResponse listBackups(
*
* <pre>
* Create a new table by restoring from a completed backup. The new table
* must be in the same instance as the instance containing the backup. The
* must be in the same project as the instance containing the backup. The
* returned table [long-running operation][google.longrunning.Operation] can
* be used to track the progress of the operation, and to cancel it. The
* [metadata][google.longrunning.Operation.metadata] field type is
Expand Down Expand Up @@ -2678,7 +2678,7 @@ protected BigtableTableAdminFutureStub build(
*
* <pre>
* Create a new table by restoring from a completed backup. The new table
* must be in the same instance as the instance containing the backup. The
* must be in the same project as the instance containing the backup. The
* returned table [long-running operation][google.longrunning.Operation] can
* be used to track the progress of the operation, and to cancel it. The
* [metadata][google.longrunning.Operation.metadata] field type is
Expand Down
Expand Up @@ -178,8 +178,8 @@ public SourceCase getSourceCase() {
*
* <pre>
* Required. The name of the instance in which to create the restored
* table. This instance must be the parent of the source backup. Values are
* of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
* table. This instance must be in the same project as the source backup.
* Values are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
* </pre>
*
* <code>
Expand All @@ -205,8 +205,8 @@ public java.lang.String getParent() {
*
* <pre>
* Required. The name of the instance in which to create the restored
* table. This instance must be the parent of the source backup. Values are
* of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
* table. This instance must be in the same project as the source backup.
* Values are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
* </pre>
*
* <code>
Expand Down Expand Up @@ -751,8 +751,8 @@ public Builder clearSource() {
*
* <pre>
* Required. The name of the instance in which to create the restored
* table. This instance must be the parent of the source backup. Values are
* of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
* table. This instance must be in the same project as the source backup.
* Values are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
* </pre>
*
* <code>
Expand All @@ -777,8 +777,8 @@ public java.lang.String getParent() {
*
* <pre>
* Required. The name of the instance in which to create the restored
* table. This instance must be the parent of the source backup. Values are
* of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
* table. This instance must be in the same project as the source backup.
* Values are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
* </pre>
*
* <code>
Expand All @@ -803,8 +803,8 @@ public com.google.protobuf.ByteString getParentBytes() {
*
* <pre>
* Required. The name of the instance in which to create the restored
* table. This instance must be the parent of the source backup. Values are
* of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
* table. This instance must be in the same project as the source backup.
* Values are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
* </pre>
*
* <code>
Expand All @@ -828,8 +828,8 @@ public Builder setParent(java.lang.String value) {
*
* <pre>
* Required. The name of the instance in which to create the restored
* table. This instance must be the parent of the source backup. Values are
* of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
* table. This instance must be in the same project as the source backup.
* Values are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
* </pre>
*
* <code>
Expand All @@ -849,8 +849,8 @@ public Builder clearParent() {
*
* <pre>
* Required. The name of the instance in which to create the restored
* table. This instance must be the parent of the source backup. Values are
* of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
* table. This instance must be in the same project as the source backup.
* Values are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
* </pre>
*
* <code>
Expand Down
Expand Up @@ -28,8 +28,8 @@ public interface RestoreTableRequestOrBuilder
*
* <pre>
* Required. The name of the instance in which to create the restored
* table. This instance must be the parent of the source backup. Values are
* of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
* table. This instance must be in the same project as the source backup.
* Values are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
* </pre>
*
* <code>
Expand All @@ -44,8 +44,8 @@ public interface RestoreTableRequestOrBuilder
*
* <pre>
* Required. The name of the instance in which to create the restored
* table. This instance must be the parent of the source backup. Values are
* of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
* table. This instance must be in the same project as the source backup.
* Values are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
* </pre>
*
* <code>
Expand Down
Expand Up @@ -270,7 +270,7 @@ service BigtableTableAdmin {
}

// Create a new table by restoring from a completed backup. The new table
// must be in the same instance as the instance containing the backup. The
// must be in the same project as the instance containing the backup. The
// returned table [long-running operation][google.longrunning.Operation] can
// be used to track the progress of the operation, and to cancel it. The
// [metadata][google.longrunning.Operation.metadata] field type is
Expand Down Expand Up @@ -335,8 +335,8 @@ service BigtableTableAdmin {
// [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].
message RestoreTableRequest {
// Required. The name of the instance in which to create the restored
// table. This instance must be the parent of the source backup. Values are
// of the form `projects/<project>/instances/<instance>`.
// table. This instance must be in the same project as the source backup.
// Values are of the form `projects/<project>/instances/<instance>`.
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-bigtable.git",
"sha": "83e0e8cf2cdbc143c10ce0f8b053096d61d5686f"
"sha": "5ccc4be2ec871f0736b49a1990bc2a11993e65f4"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "1305ca41d554eb0725237561e34129373bb8cbc1",
"internalRef": "362856902"
"sha": "43d201c7deb4639441d0cbb1c734f1e974b566eb",
"internalRef": "372995286"
}
},
{
Expand Down