diff --git a/google-cloud-clients/google-cloud-bigtable/README.md b/google-cloud-clients/google-cloud-bigtable/README.md index 262b8084d831..825529cb763e 100644 --- a/google-cloud-clients/google-cloud-bigtable/README.md +++ b/google-cloud-clients/google-cloud-bigtable/README.md @@ -85,8 +85,7 @@ String instanceId = "my-database"; String tableId = "my-table"; // Create the client -BigtableDataClient dataClient = BigtableDataClient.create( - InstanceName.of(projectId, instanceId)); +BigtableDataClient dataClient = BigtableDataClient.create(projectId, instanceId); try { // Query a table