public final class RestoreTableRequest extends Object
RestoreTableRequest| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static RestoreTableRequest |
of(String sourceClusterId,
String sourceBackupId)
Create a
RestoreTableRequest object. |
static RestoreTableRequest |
of(String sourceInstanceId,
String sourceClusterId,
String sourceBackupId)
Create a
RestoreTableRequest object. |
static RestoreTableRequest |
of(String sourceInstanceId,
String sourceClusterId,
String sourceBackupId,
String sourceProjectId)
Create a
RestoreTableRequest object. |
RestoreTableRequest |
setTableId(String tableId) |
RestoreTableRequest |
toProto(String projectId,
String instanceId) |
public static RestoreTableRequest of(String sourceClusterId, String sourceBackupId)
RestoreTableRequest object. It assumes the source backup locates in the same
instance and project as the destination table. To restore a table from a backup in another
instance, use of method. To restore a table from a backup
in another project, use of method.public static RestoreTableRequest of(String sourceInstanceId, String sourceClusterId, String sourceBackupId)
RestoreTableRequest object. The source backup could locate in the same or a
different instance but the same project as the destination table. To restore a table from a
backup in another project, use of method.public static RestoreTableRequest of(String sourceInstanceId, String sourceClusterId, String sourceBackupId, String sourceProjectId)
RestoreTableRequest object. The source backup could locate in the same or a
different instance and/or project.public RestoreTableRequest setTableId(String tableId)
@InternalApi public RestoreTableRequest toProto(@Nonnull String projectId, @Nonnull String instanceId)
Copyright © 2023 Google LLC. All rights reserved.