Skip to content

Commit

Permalink
Add region tags to support Data Catalog docs [(#2169)](GoogleCloudPla…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Mendes authored and tswast committed May 21, 2019
1 parent 4ad40df commit e21c80e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/snippets/cloud-client/lookup_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@


def lookup_bigquery_dataset(project_id, dataset_id):
# [START datacatalog_lookup_dataset]
"""Retrieves Data Catalog entry for the given BigQuery Dataset."""
from google.cloud import datacatalog_v1beta1

Expand All @@ -34,6 +35,7 @@ def lookup_bigquery_dataset(project_id, dataset_id):
.format(project_id, dataset_id)

return datacatalog.lookup_entry(linked_resource=resource_name)
# [END datacatalog_lookup_dataset]


def lookup_bigquery_dataset_sql_resource(project_id, dataset_id):
Expand Down

0 comments on commit e21c80e

Please sign in to comment.