{"action":"opened","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/issues/5801","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/issues/5801/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/issues/5801/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/issues/5801/events","html_url":"https://github.com/GoogleCloudPlatform/google-cloud-python/issues/5801","id":350527257,"node_id":"MDU6SXNzdWUzNTA1MjcyNTc=","number":5801,"title":"Datastore: Ability to override base URL","user":{"login":"eddavisson","id":2954278,"node_id":"MDQ6VXNlcjI5NTQyNzg=","avatar_url":"https://avatars1.githubusercontent.com/u/2954278?v=4","gravatar_id":"","url":"https://api.github.com/users/eddavisson","html_url":"https://github.com/eddavisson","followers_url":"https://api.github.com/users/eddavisson/followers","following_url":"https://api.github.com/users/eddavisson/following{/other_user}","gists_url":"https://api.github.com/users/eddavisson/gists{/gist_id}","starred_url":"https://api.github.com/users/eddavisson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddavisson/subscriptions","organizations_url":"https://api.github.com/users/eddavisson/orgs","repos_url":"https://api.github.com/users/eddavisson/repos","events_url":"https://api.github.com/users/eddavisson/events{/privacy}","received_events_url":"https://api.github.com/users/eddavisson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-14T17:38:02Z","updated_at":"2018-08-14T17:38:02Z","closed_at":null,"author_association":"NONE","body":"Seee https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/datastore/google/cloud/datastore/client.py.\r\n\r\nIt is currently only possible to override the base URL:\r\n\r\n`_DATASTORE_BASE_URL = 'https://datastore.googleapis.com'`\r\n\r\nby setting the `GCD_HOST` environment variable:\r\n\r\n```\r\n        try:\r\n            host = os.environ[GCD_HOST]\r\n            self._base_url = 'http://' + host\r\n        except KeyError:\r\n            self._base_url = _DATASTORE_BASE_URL\r\n```\r\n\r\nbut this is meant to be used with the emulator and so does not use SSL.\r\n\r\nIt would be helpful to be able to override base_url to an https address."}}
{"actor":{"display_login":"eddavisson"}}