Skip to content

Commit fef2506

Browse files
committed
Switch to google.cloud.
1 parent 33f87ea commit fef2506

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

bigquery/cloud-client/quickstart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# [START bigquery_quickstart]
1818
# Imports the Google Cloud client library
19-
from gcloud import bigquery
19+
from google.cloud import bigquery
2020

2121
# Your Google Cloud Platform project ID
2222
project_id = 'YOUR_PROJECT_ID'

datastore/api/quickstart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# [START datastore_quickstart]
1818
# Imports the Google Cloud client library
19-
from gcloud import datastore
19+
from google.cloud import datastore
2020

2121
# Your Google Cloud Platform project ID
2222
project_id = 'YOUR_PROJECT_ID'

logging/cloud-client/quickstart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# [START logging_quickstart]
1818
# Imports the Google Cloud client library
19-
from gcloud import logging
19+
from google.cloud import logging
2020

2121
# Your Google Cloud Platform project ID
2222
project_id = 'YOUR_PROJECT_ID'

pubsub/cloud-client/quickstart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# [START pubsub_quickstart]
1818
# Imports the Google Cloud client library
19-
from gcloud import pubsub
19+
from google.cloud import pubsub
2020

2121
# Your Google Cloud Platform project ID
2222
project_id = 'YOUR_PROJECT_ID'

storage/cloud-client/quickstart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# [START storage_quickstart]
1818
# Imports the Google Cloud client library
19-
from gcloud import storage
19+
from google.cloud import storage
2020

2121
# Your Google Cloud Platform project ID
2222
project_id = 'YOUR_PROJECT_ID'

translate/cloud-client/quickstart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# [START translate_quickstart]
1818
# Imports the Google Cloud client library
19-
from gcloud import translate
19+
from google.cloud import translate
2020

2121
# Your Translate API key
2222
api_key = 'YOUR_API_KEY'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
gcloud==0.18.1
1+
google-cloud-translate==0.20.0

0 commit comments

Comments
 (0)