diff --git a/packages/google-cloud-resource-manager/google/cloud/resource_manager/__init__.py b/packages/google-cloud-resource-manager/google/cloud/resource_manager/__init__.py index 9b172f4f3223..65a45126b52b 100644 --- a/packages/google-cloud-resource-manager/google/cloud/resource_manager/__init__.py +++ b/packages/google-cloud-resource-manager/google/cloud/resource_manager/__init__.py @@ -16,7 +16,6 @@ from google.cloud.resource_manager.client import Client -from google.cloud.resource_manager.connection import Connection from google.cloud.resource_manager.project import Project diff --git a/packages/google-cloud-resource-manager/google/cloud/resource_manager/connection.py b/packages/google-cloud-resource-manager/google/cloud/resource_manager/_http.py similarity index 100% rename from packages/google-cloud-resource-manager/google/cloud/resource_manager/connection.py rename to packages/google-cloud-resource-manager/google/cloud/resource_manager/_http.py diff --git a/packages/google-cloud-resource-manager/google/cloud/resource_manager/client.py b/packages/google-cloud-resource-manager/google/cloud/resource_manager/client.py index e1258ea1af70..83623d4f6629 100644 --- a/packages/google-cloud-resource-manager/google/cloud/resource_manager/client.py +++ b/packages/google-cloud-resource-manager/google/cloud/resource_manager/client.py @@ -17,7 +17,8 @@ from google.cloud.client import Client as BaseClient from google.cloud.iterator import HTTPIterator -from google.cloud.resource_manager.connection import Connection + +from google.cloud.resource_manager._http import Connection from google.cloud.resource_manager.project import Project diff --git a/packages/google-cloud-resource-manager/unit_tests/test_connection.py b/packages/google-cloud-resource-manager/unit_tests/test__http.py similarity index 95% rename from packages/google-cloud-resource-manager/unit_tests/test_connection.py rename to packages/google-cloud-resource-manager/unit_tests/test__http.py index 59747cd0541b..f9204492eeac 100644 --- a/packages/google-cloud-resource-manager/unit_tests/test_connection.py +++ b/packages/google-cloud-resource-manager/unit_tests/test__http.py @@ -19,7 +19,7 @@ class TestConnection(unittest.TestCase): @staticmethod def _get_target_class(): - from google.cloud.resource_manager.connection import Connection + from google.cloud.resource_manager._http import Connection return Connection diff --git a/packages/google-cloud-resource-manager/unit_tests/test_client.py b/packages/google-cloud-resource-manager/unit_tests/test_client.py index 4425e76c5f9f..0b9535cf34b8 100644 --- a/packages/google-cloud-resource-manager/unit_tests/test_client.py +++ b/packages/google-cloud-resource-manager/unit_tests/test_client.py @@ -35,7 +35,7 @@ def _make_one(self, *args, **kw): return self._get_target_class()(*args, **kw) def test_constructor(self): - from google.cloud.resource_manager.connection import Connection + from google.cloud.resource_manager._http import Connection http = object() credentials = _make_credentials()