Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
Update Quickstart.java
Browse files Browse the repository at this point in the history
  • Loading branch information
stephaniewang526 committed Jul 15, 2021
1 parent b8a8965 commit f78d2a4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ public static void createTags(String projectId, String tagTemplateId) throws IOE
// -------------------------------
// Lookup Data Catalog's Entry referring to the table.
// -------------------------------
String linkedResource =
"//bigquery.googleapis.com/projects/bigquery-public-data/"
+ "datasets/new_york_taxi_trips/"
+ "tables/taxi_zone_geom";
String linkedResource =
String.format(
"//bigquery.googleapis.com/projects/%s/datasets/test_dataset/tables/test_table",
projectId);
LookupEntryRequest lookupEntryRequest =
LookupEntryRequest.newBuilder().setLinkedResource(linkedResource).build();
Entry tableEntry = dataCatalogClient.lookupEntry(lookupEntryRequest);
Expand Down

0 comments on commit f78d2a4

Please sign in to comment.