Skip to content

Commit 81f6ae9

Browse files
Jon Wayne Parrottplamut
Jon Wayne Parrott
authored andcommitted
1 parent 6f37fba commit 81f6ae9

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

samples/snippets/iam.py

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

2424
import argparse
2525

26-
from gcloud import pubsub
26+
from google.cloud import pubsub
2727

2828

2929
def get_topic_policy(topic_name):

samples/snippets/iam_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from gcloud import pubsub
15+
from google.cloud import pubsub
1616
import pytest
1717

1818
import iam

samples/snippets/publisher.py

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

2424
import argparse
2525

26-
from gcloud import pubsub
26+
from google.cloud import pubsub
2727

2828

2929
def list_topics():

samples/snippets/publisher_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from gcloud import pubsub
1615
from gcp.testing import eventually_consistent
16+
from google.cloud import pubsub
1717
import pytest
1818

1919
import publisher

samples/snippets/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
gcloud==0.18.3
1+
google-cloud-pubsub==0.20.0

samples/snippets/subscriber.py

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

2424
import argparse
2525

26-
from gcloud import pubsub
26+
from google.cloud import pubsub
2727

2828

2929
def list_subscriptions(topic_name):

samples/snippets/subscriber_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from gcloud import pubsub
1615
from gcp.testing import eventually_consistent
16+
from google.cloud import pubsub
1717
import pytest
1818

1919
import subscriber

0 commit comments

Comments
 (0)